Function: throttled()
throttled<
T>(box,hz):ThrottledBox<T>
Defined in: throttle.ts:55
Rate-limit a signal's writes to at most hz commits per second, keeping the latest value and never losing the last one. See the module docblock.
Type Parameters
T
T
Parameters
box
SignalBox<T>
hz
number
Returns
ThrottledBox<T>