Debounce style. See DebounceStyle for more details.
Duration between debounces.
Optional
callback: (() => MaybePromise<void>)Set the callback to be triggered on .execute()
. If this is not set, the callback to be
called can be passed in .execute()
instead.
Optional
callbackSet the callback to be triggered on .execute()
. If this is not set, the callback to be
called can be passed in .execute()
instead.
Duration between debounces.
Debounce style. See DebounceStyle for more details.
Call the callback, if one has been set yet, if the current debounce timer is up.
Optional
callback: (() => MaybePromise<void>)
Enable debouncing of callbacks, with various styles of debounce supported in DebounceStyle (see its docs for debounce style details). A callback can be provided on construction or to the
.execute()
method.Example
Package
@augment-vir/common