dispose_scope 2.0.0
dispose_scope: ^2.0.0 copied to clipboard
Simple package making it easy to dispose (aka cancel, aka close) your objects.
2.0.0 #
- Add safety checks (#25)
- Throw
StateErrorifDisposeScope.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 forProcessfromdart:io(#19)
1.0.0 #
- Initial Release