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 2025Releases
latest 24-
1.5.217 Sep 2025 -
1.5.115 Jun 2022 -
1.5.003 Feb 2021 -
1.5.0-nullsafety.303 Nov 2020 pre-releaseRelease notes
Open source →- Update SDK constraints to
>=2.12.0-0 <3.0.0based on beta release guidelines.
- Update SDK constraints to
-
1.5.0-nullsafety.223 Oct 2020 pre-release -
1.5.0-nullsafety.122 Sep 2020 pre-release -
1.5.0-nullsafety29 Jul 2020 pre-releaseRelease notes
Open source →- Migrate to null safety.
forEach: Avoidawait nullif theStreamis not paused. Improves trivial benchmark by 40%.
-
1.4.009 Jan 2019Release notes
Open source →-
Add
forEachtoPoolto support efficient async processing of anIterable. -
Throw ArgumentError if poolSize <= 0
-
-
1.3.620 Jul 2018 -
1.3.518 May 2018 -
1.3.404 Jan 2018 -
1.3.322 Sep 2017 -
1.3.221 Sep 2017Release notes
Open source →-
Update to make the code work with strong-mode clean Zone API.
-
Required minimum SDK of 1.23.0.
-
-
1.3.117 May 2017Release notes
Open source →- Fix the type annotation of
Pool.withResource()to indicate that it takes() -> FutureOr<T>.
- Fix the type annotation of
-
1.3.016 Feb 2017Release notes
Open source →- Add a
Pool.donegetter that returns the same future returned byPool.close().
- Add a
-
1.2.403 May 2016 -
1.2.304 Apr 2016Release notes
Open source →- Fix a bug in which
Pool.withResource()could throw aStateErrorwhen called immediately before closing the pool.
- Fix a bug in which
-
1.2.231 Mar 2016 -
1.2.128 Oct 2015 -
1.2.009 Oct 2015Release notes
Open source →- Add
Pool.close(), which forbids new resource requests and releases all releasable resources.
- Add
-
1.1.024 Jun 2015Release notes
Open source →- Add
PoolResource.allowRelease(), which allows a resource to indicate that it can be released without forcing it to deallocate immediately.
- Add
-
1.0.223 May 2015 -
1.0.124 Jul 2014Release notes
Open source →- A
TimeoutExceptionis now correctly thrown if the pool detects a deadlock.
- A
-
1.0.024 Jul 2014Nothing published for this version