alive property
int
get
alive
How many are still running.
Lower than size once a spawned isolate has died. It cannot be replaced: killing an isolate does not release the socket it bound, so a new one cannot take the port back. Recovery is replacing the process, which is what a supervisor outside it does.
Worth watching, because nothing else reports the loss — the port stays bound by the survivors and traffic keeps flowing at reduced capacity.
Implementation
int get alive => size - _dead.length;