Discover Packages
github.com/wtsi-hgi/go-softpack-builder
debounce
package
Version:
v1.9.0
Opens a new window with list of versions in this module.
Published: Jul 2, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Debounce lets you run a function unless it is already running, queueing a run
after any existing run.
Run starts running our op, but not if the function is still running. Instead,
a single run will start after the existing one completes (regardless of how
many Run()s were called during the existing run).
Wait waits until all operations complete. Also waits until at least 1
operation has run for this Debounce.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.