2.0.0-beta.0
Pre-release
Pre-release
octet-stream
released this
09 Apr 21:24
·
22 commits
to main
since this release
Update
- Rewrite project with TypeScript;
- Rewrite documentation;
- Expand cache so it can hold multiple operations. With that, when
useSuspender
is called with different arguments - each call will create a new operation. However, if called with the same arguments, the same operation will be thrown unless finished.
Add
- Expose
cache
property fromuseSuspender
hook for manual control over the internal cache. The cache has two properties:size
andclear
. This feature is experimental and not documented yet!
All changes: v1.1.0...v2.0.0-beta.0