dispose_scope 2.0.0 copy "dispose_scope: ^2.0.0" to clipboard
dispose_scope: ^2.0.0 copied to clipboard

outdated

Simple package making it easy to dispose (aka cancel, aka close) your objects.

2.0.0 #

  • Add safety checks (#25)
    • Throw StateError if DisposeScope.dispose() is called more than once
    • Add DisposeScope.run() which will run a callback only if dispose scope is not disposed
  • Rename extensions from disposed() to disposedBy (#24)
  • Add disposedBy() extension for Process from dart:io (#19)

1.0.0 #

  • Initial Release
12
likes
0
pub points
75%
popularity

Publisher

verified publisherodrowaz.dev

Simple package making it easy to dispose (aka cancel, aka close) your objects.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on dispose_scope