Skip to content

wip(refactor): overhaul implementation, options, and tests#5

Draft
jimeh wants to merge 12 commits into
mainfrom
refactor-for-more-options
Draft

wip(refactor): overhaul implementation, options, and tests#5
jimeh wants to merge 12 commits into
mainfrom
refactor-for-more-options

Conversation

@jimeh

@jimeh jimeh commented Jul 11, 2025

Copy link
Copy Markdown
Member

No description provided.

@jimeh jimeh force-pushed the refactor-for-more-options branch from e515e70 to 22252db Compare July 11, 2025 00:39
@jimeh jimeh force-pushed the refactor-for-more-options branch from 4d9e6ac to f32a725 Compare July 12, 2025 16:17
jimeh added 4 commits July 12, 2025 19:47
Add atomic pointer for function storage and introduce mutable 
debouncer functionality. This change allows the debounced function
to be changed dynamically by adding a new DebounceWith method and
a NewMutable constructor.

The implementation uses sync/atomic for thread-safe function updates
and properly handles nil function cases. Reordered timer callback
method for better code organization.
@jimeh jimeh force-pushed the refactor-for-more-options branch from 0524185 to d12237e Compare July 13, 2025 21:21
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