WorkerInit typedef
The worker init function of a WorkerPool. Like EventBusIsolate.onInit, it runs INSIDE the worker isolate and must be top-level or static.
Implementation
typedef WorkerInit = FutureOr<void> Function(EventBus bus, Object? initialData);