ilkersevim_async_lifecycle 0.1.5 copy "ilkersevim_async_lifecycle: ^0.1.5" to clipboard
ilkersevim_async_lifecycle: ^0.1.5 copied to clipboard

Avoid double completion and StreamController add-after-close errors with reusable, dependency-free Dart lifecycle helpers.

Changelog #

0.1.5 #

  • Raise minimum SDK to Dart >=3.13.0.
  • Pin CI to Dart 3.13.2 stable.

0.1.4 #

  • CompleterHelper.reset now completes pending waiters with StateError (or a caller-supplied error) so abandoned futures cannot hang forever.

0.1.3 #

  • Explain how lifecycle helpers prevent double completion and stream emissions after teardown.
  • Link general resource cleanup to ilkersevim_disposables.
  • Rewrite package metadata around those use cases.

0.1.2 #

  • Prove GitHub Actions OIDC publish path after Pub.dev Admin enablement.

0.1.1 #

  • Patch release after OIDC first attempt; published manually while Pub.dev Admin GitHub Actions publishing was still disabled for this package.

0.1.0 #

  • Initial release: CompleterHelper, StreamControllerSafeEmit, and StreamControllerLifecycle.
1
likes
160
points
350
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Avoid double completion and StreamController add-after-close errors with reusable, dependency-free Dart lifecycle helpers.

Repository (GitHub)
View/report issues

Topics

#async #streams #dart

License

Apache-2.0 (license)

More

Packages that depend on ilkersevim_async_lifecycle