Concurrency.bounded constructor

const Concurrency.bounded(
  1. int poolSize
)

Creates a bounded concurrency strategy with a worker pool of poolSize active tasks.

Implementation

const factory Concurrency.bounded(int poolSize) = Concurrency._;