@crikey/stores-temporal
v0.0.16
Published
Provides time-based store transformations such as `debounce` and `throttle`.
Downloads
30
Readme
@crikey/stores-temporal
Provides time-based store transformations such as debounce
and throttle
.
See @crikey/stores-temporal for full documentation.
API
Store creation functions:
debounce
- only signal store change after a specified amount of inactivitythrottle
- rate limit store updates
Installation
# pnpm
$ pnpm add @crikey/stores-temporal
# npm
$ npm add @crikey/stores-temporal
# yarn
$ yarn add @crikey/stores-temporal