addIsolateInitializerWithParam<P> method
Adds an initializer - this is run on each isolate that's spawned, and contains any common setup.
Implementation
void addIsolateInitializerWithParam<P>(
RunInsideIsolateInitializer<P> init, P param) {
isolateInitializers.add(InitializerWithParam.of<P>(param, init));
}