maxConcurrentTasks property

int get maxConcurrentTasks

The maximum number of concurrent tasks allowed.

Defaults to a very large number (effectively infinite). Override this getter to enforce a limit (e.g., 3 for a connection pool).

Implementation

int get maxConcurrentTasks => 100000;