Skip to content

Prevent double triggering with MaxCalls or MaxWait options#9

Merged
floatdrop merged 2 commits intomasterfrom
fix-double-call-bug
Jun 15, 2025
Merged

Prevent double triggering with MaxCalls or MaxWait options#9
floatdrop merged 2 commits intomasterfrom
fix-double-call-bug

Conversation

@floatdrop
Copy link
Owner

No description provided.

@github-actions
Copy link

📊 Coverage Report

Total Coverage: 97.1%

Coverage Details

github.com/floatdrop/debounce/debounce.go:26:	WithMaxCalls		100.0%
github.com/floatdrop/debounce/debounce.go:33:	WithMaxWait		100.0%
github.com/floatdrop/debounce/debounce.go:44:	New			92.3%
github.com/floatdrop/debounce/debounce.go:74:	NewFunc			100.0%
github.com/floatdrop/debounce/debounce.go:97:	callLimitReached	100.0%
github.com/floatdrop/debounce/debounce.go:101:	timeLimitReached	100.0%
github.com/floatdrop/debounce/debounce.go:105:	debouncedCall		100.0%
total:						(statements)		97.1%

@github-actions
Copy link

📊 Coverage Report

Total Coverage: 94.3%

Coverage Details

github.com/floatdrop/debounce/debounce.go:26:	WithMaxCalls		100.0%
github.com/floatdrop/debounce/debounce.go:33:	WithMaxWait		100.0%
github.com/floatdrop/debounce/debounce.go:44:	New			85.7%
github.com/floatdrop/debounce/debounce.go:76:	NewFunc			100.0%
github.com/floatdrop/debounce/debounce.go:99:	callLimitReached	100.0%
github.com/floatdrop/debounce/debounce.go:103:	timeLimitReached	100.0%
github.com/floatdrop/debounce/debounce.go:107:	debouncedCall		100.0%
total:						(statements)		94.3%

@floatdrop floatdrop merged commit 7c9896d into master Jun 15, 2025
7 checks passed
@floatdrop floatdrop deleted the fix-double-call-bug branch June 15, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant