initializeIsolateWorkerModule function
Future<void>
initializeIsolateWorkerModule(
- IsolateInitializer initializer, [
- IsolateInitializeArguments args = const IsolateInitializeArguments({})
Implementation
Future<void> initializeIsolateWorkerModule(
IsolateInitializer initializer,
[IsolateInitializeArguments args = const IsolateInitializeArguments({})]
) async {
await IsolateWorkerManager.initialize(
initializer,
kIsWeb? WebIsolateManagerImpl.createIsolate
: IsolateManagerImpl.createIsolate,
args
);
}