v2.2.5
executor
最大並行性とレートを設定可能な非同期タスクを実行します。
33いいね 842030日間ダウンロード160Pub ポイント
AndroidiOSWebmacOSWindowsLinux
Dart用の非同期タスク実行者
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Executes async tasks with a configurable maximum concurrency and rate.
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();
依存関係一覧 3 件
>=1.9.0 <2.0.0^5.0.0^1.3.0用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗