workerCount property

int workerCount
final

How many isolates the app was configured for — AppConfig.workers.

1 when the app runs single-isolate. Every isolate reports the same value, including the parent, so index and workerCount together describe the whole fleet from inside any member of it.

Implementation

final int workerCount;