dispose_scope 2.0.1 icon indicating copy to clipboard operation
dispose_scope: ^2.0.1 copied to clipboard

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

2.0.1 #

  • Add annotations to Disposable's methods (#32)

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
6
likes
140
pub points
35%
popularity

Publisher

verified publisher iconodrowaz.dev

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

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

meta

More

Packages that depend on dispose_scope