ComputePool.createWith constructor

ComputePool.createWith({
  1. int workersCount = 2,
})

Create a new compute pool with the requested number of worker isolates

Implementation

factory ComputePool.createWith({int workersCount = 2}) =>
    ComputePoolImpl.createWith(workersCount: workersCount);