dispose_scope 2.1.0 dispose_scope: ^2.1.0 copied to clipboard
Simple package making it easy to dispose (aka cancel, aka close) your objects.
2.1.0 #
- Allow for synchronous
Dispose
throughFutureOr
(#34)
2.0.1 #
- Add annotations to
Disposable
's methods (#32)
2.0.0 #
- Add safety checks (#25)
- Throw
StateError
ifDisposeScope.dispose()
is called more than once - Add
DisposeScope.run()
which will run a callback only if dispose scope is not disposed
- Throw
- Rename extensions from
disposed()
todisposedBy
(#24) - Add
disposedBy()
extension forProcess
fromdart:io
(#19)
1.0.0 #
- Initial release