@curiousmedia/delay-timer
v1.1.0
Published
DelayTimer controls the playing, stopping, pausing, and resuming of a setTimeout delay. Performs a callback when setTimeout resolves.
Downloads
17
Keywords
Readme
DelayTimer
Controls the playing, stopping, pausing, and resuming of a setTimeout delay.
When the setTimeout resolves it will perform a callback function passed into the DelayTimer constructor.
This is used internally by the @curiousmedia VOPlayer, SFXPlayer,and MusicPlayer NPM modules.