watch/debounce
src/watch/debounce.tur
burst-collapse + coalesce helpers for batched events.
defn
debounce-batch-make
(debounce-batch-make)
allocate a new empty batch.
defn
debounce-batch-free
(debounce-batch-free [batch : int])
free batch + all contained event handles.
defn
debounce-batch-push
(debounce-batch-push [batch : int event : int])
append an event handle to the batch.
defn
debounce-batch-coalesce
(debounce-batch-coalesce [batch : int])
collapse same-path runs to the latest event.