Open stevesims opened 1 year ago
It would be very useful to be able to do delayed calls to buffers.
Possible use cases for this are for queueing up notes to play in the audio system, or a persistent on-screen clock that updates every second.
This is conceptually similar to setTimeout in JS. A similar setInterval type of call may also be useful.
setTimeout
setInterval
Much like the JS equivalents, it should be possible to cancel delayed calls.
It would be very useful to be able to do delayed calls to buffers.
Possible use cases for this are for queueing up notes to play in the audio system, or a persistent on-screen clock that updates every second.
This is conceptually similar to
setTimeout
in JS. A similarsetInterval
type of call may also be useful.Much like the JS equivalents, it should be possible to cancel delayed calls.