PackageTrack
Sign in Get early access

pool

Manage a finite pool of resources. Useful for controlling concurrent file system or network requests.

1.5.2 9.3M downloads/mo #41 most downloaded on pub.dev dart-lang/tools

What this package is like to depend on

Last release 11 months ago

17 Sep 2025

Ships unpredictably

gaps range from 2 weeks to 3.3 years

Nearly every release is documented

notes for 19 of 20 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

24 releases · first in 2014

1 release in the last 12 months

see the full history below

Release timeline

24 releases · Jul 2014 to Sep 2025
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 24
  1. 1.5.2 17 Sep 2025
    Release notes
    • Require Dart 3.4.
    • Move to dart-lang/tools monorepo.
    Open source →
  2. 1.5.1 15 Jun 2022
    Release notes
    • Populate the pubspec repository field.
    Open source →
  3. 1.5.0 03 Feb 2021
    Release notes
    • Stable release for null safety.
    Open source →
  4. 1.5.0-nullsafety.3 03 Nov 2020 pre-release
    Release notes
    • Update SDK constraints to >=2.12.0-0 <3.0.0 based on beta release guidelines.
    Open source →
  5. 1.5.0-nullsafety.2 23 Oct 2020 pre-release
    Release notes
    • Allow prerelease versions of the 2.12 sdk.
    Open source →
  6. 1.5.0-nullsafety.1 22 Sep 2020 pre-release
    Release notes
    • Allow 2.10 stable and 2.11.0 dev SDK versions.
    Open source →
  7. 1.5.0-nullsafety 29 Jul 2020 pre-release
    Release notes
    • Migrate to null safety.
    • forEach: Avoid await null if the Stream is not paused. Improves trivial benchmark by 40%.
    Open source →
  8. 1.4.0 09 Jan 2019
    Release notes
    • Add forEach to Pool to support efficient async processing of an Iterable.

    • Throw ArgumentError if poolSize <= 0

    Open source →
  9. 1.3.6 20 Jul 2018
    Release notes
    • Set max SDK version to <3.0.0, and adjust other dependencies.
    Open source →
  10. 1.3.5 18 May 2018
    Release notes
    • Updated SDK version to 2.0.0-dev.17.0
    Open source →
  11. 1.3.4 04 Jan 2018
    Release notes
    • Modify code to eliminate Future flattening.
    Open source →
  12. 1.3.3 22 Sep 2017
    Release notes
    • Declare support for async 2.0.0.
    Open source →
  13. 1.3.2 21 Sep 2017
    Release notes
    • Update to make the code work with strong-mode clean Zone API.

    • Required minimum SDK of 1.23.0.

    Open source →
  14. 1.3.1 17 May 2017
    Release notes
    • Fix the type annotation of Pool.withResource() to indicate that it takes () -> FutureOr<T>.
    Open source →
  15. 1.3.0 16 Feb 2017
    Release notes
    • Add a Pool.done getter that returns the same future returned by Pool.close().
    Open source →
  16. 1.2.4 03 May 2016
    Release notes
    • Fix a strong-mode error.
    Open source →
  17. 1.2.3 04 Apr 2016
    Release notes
    • Fix a bug in which Pool.withResource() could throw a StateError when called immediately before closing the pool.
    Open source →
  18. 1.2.2 31 Mar 2016
    Release notes
    • Fix strong mode warnings and add generic method annotations.
    Open source →
  19. 1.2.1 28 Oct 2015
    Release notes
    • Internal changes only.
    Open source →
  20. 1.2.0 09 Oct 2015
    Release notes
    • Add Pool.close(), which forbids new resource requests and releases all releasable resources.
    Open source →
  21. 1.1.0 24 Jun 2015
    Release notes
    • Add PoolResource.allowRelease(), which allows a resource to indicate that it can be released without forcing it to deallocate immediately.
    Open source →
  22. 1.0.2 23 May 2015
    Release notes
    • Fixed the homepage.
    Open source →
  23. 1.0.1 24 Jul 2014
    Release notes
    • A TimeoutException is now correctly thrown if the pool detects a deadlock.
    Open source →
  24. 1.0.0 24 Jul 2014

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive