FLUTTER ECOSYSTEM

agilord/executor

Async task executor for Dart

executor project cover
Stars
16
Forks
2
Last push (UTC)
Apr 13, 2025
Project status
Active
Agilord, LLC GitHub avatar
GITHUB Organization

Agilord, LLC ↗

LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 3 items

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

Async task executor for Dart

Executes async tasks with a configurable maximum concurrency and rate.

Usage

A simple usage example:

final executor = Executor(concurrency: 10);
// only 10 of them will be running at a time
for (var i = 0; i < 20; i++) {
  // ignore: unawaited_futures
  executor.scheduleTask(() async {
    // await longDatabaseTask()
    // await anotherProcessing()
  });
}
await executor.join(withWaiting: true);
await executor.close();

Links