impulse 0.8.0
impulse: ^0.8.0 copied to clipboard
Minimalist state management and dependency injection.
0.8.0 #
- Removed
AsyncResult
0.7.0 #
- Changed
ImpulseNotifierimplementation to higher performance variant (based on flutters implementation) - Renamed:
TasktoFutureNotifier,StreamTasktoStreamNotifier,ResultContainertoResultListenableand - Removed the record based error handling pattern in favour of
AsyncStatesealed class pattern matching
0.6.3 #
- Made interface for
TaskandStreamTask.
0.6.2 #
- Added some getters to the
ResultExtension.
0.6.1 #
- bumped version to match version of other packages.
- added
streamRefandStreamTask.
0.6.0 #
- Jumped multiple versions to sync up with the other packages.
- Added
TaskandtaskRef. - Added
disposedflag toImpulseNotifier.
0.3.0 #
- Simplified reference creation:
Ref,FactoryRef, andSingletonRefnow directly inherit fromImpulseReference. - Removed
KeylessRefinterface and empty invocation parentheses()when retrieving or watching refs (e.g. usestore.get(myRef)instead ofstore.get(myRef())). - Integrated
withScopedirectly into theStoreclass now its namedStore.act, removed the standalonescope.dartfile. - Removed redundant
ref.getmethods (usestore.get(ref)instead).
0.2.0 #
- Added error handling method
attemptandResult<T>record typedef. - Added
selectmethod to the store to react only to specific value changes. - Made
watchandselectuse reference counting for consitency. - Made documentation improvements
0.1.1 #
- Minor readme improvements
- Added a guard against circular dependencies in refs and family refs.
0.1.0 #
- Initial version.