this repository is archived, not because the project is dead, but because I'm moving my open source work towards codeberg.org
you'll find my new riverpod related mono repo here, with plenty of updates.
A collection of utilities and extensions for Riverpod.
Here's what you can do with this package.
cacheFor: cache the value for a specified durationaddDisposeDelay: delay the disposal of a provider by a specified duration
debounceFor: debounce a provider for a specified durationtimeout: triggers a callback after a specified durationonRepeat: triggers a callback repeatedly, with the specified intervalrun: executes an async provider, keeping it alive until its futures completes
invalidateSelfAfter: self-invalidates after a specified durationinvalidatePeriodically: invalidates a provider periodically at the specified interval
update: update the state based on the previous state, similarly to AsyncNotifier'supdatemethod.
See the example folder for more details.
Please read the API docs carefully before using any of the above utilities.