executor
Executes async tasks with a configurable maximum concurrency and rate.
2.2.5
10K downloads/mo
#2943 most downloaded on pub.dev
agilord/executor
What this package is like to depend on
Last release 1 years ago
13 Apr 2025
Release timing varies
gaps range from 1 weeks to 1.9 years
Most releases are documented
notes for 14 of 19 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
19 releases · first in 2016
0 releases in the last 12 months
see the full history below
Release timeline
19 releases · Dec 2016 to Apr 2025Releases
latest 19-
2.2.513 Apr 2025 -
2.2.423 Sep 2024 -
2.2.303 Feb 2023Release notes
Open source →- Fix tasks with non-nullable return types when an error is thrown. (#4 by davidmartos96)
-
2.2.223 Feb 2021 -
2.2.121 Feb 2020Release notes
Open source →- Updated code to Dart 2.7.0 and latest lints.
- Fix: task completion updates the running count immediately.
-
2.2.018 Aug 2019Release notes
Open source →- Removed
newkeyword, and updated to followpackage:pedanticrules. Executor.joinwill registerFuture.catchErroron task futures, preventing uncaught exceptions from blocking further execution.- Simplified execution and trigger mechanism.
- Removed
-
2.1.224 Sep 2018 -
2.1.121 Sep 2018Release notes
Open source →- Improved design on loop and scheduling, preserving caller stacktrace with full details.
-
2.1.011 Sep 2018Release notes
Open source →- Removed
Timers to schedule tasks, using a simple loop instead. - Better distribution for rate-limited executions.
- Removed
-
2.0.012 Aug 2018 -
1.0.112 May 2018 -
1.0.019 Sep 2017Release notes
Open source →Breaking changes
- Removed deprecated member
limit. - Renamed
ExecutorTask->AsyncTask, return value toFutureOr. - Renamed
Rate.limit->Rate.maximum.
New features
- Added
Executor.onChange. Clients can use this to monitor the currentscheduledCountand queue more tasks to ensureExecutoris running on full capacity.
Housekeeping
- Added example.
- Added a few tests.
- Removed deprecated member
-
0.1.203 May 2017Release notes
Open source →- Expose internal stats:
runningCount,waitingCount,scheduledCount. - Enable sync-points with
join(), which allows to track the completion of the currently running (and optionally the waiting) tasks.
- Expose internal stats:
-
0.1.103 May 2017Release notes
Open source →- Fix missing heartbeat check on
Executor.close(), without it theFuturemight not have completed.
- Fix missing heartbeat check on
-
0.1.030 Mar 2017Nothing published for this version
-
0.0.401 Jan 2017Nothing published for this version
-
0.0.329 Dec 2016Nothing published for this version
-
0.0.228 Dec 2016Nothing published for this version
-
0.0.127 Dec 2016Nothing published for this version