init static method
Initialization. Provide a top-level or static method with Stream<WorkerData> as an argument.
Implementation
static Future<IsoWorker> init(IsoFunction func) async {
final instance = IsoWorker._();
await instance._init(func);
return instance;
}