IsolateWorker typedef
IsolateWorker =
void Function(SendPort)
Function signature for a worker isolate entry callback.
A worker receives a SendPort that can be used to communicate back to the spawning isolate.
Example:
void worker(SendPort sendPort) {
sendPort.send('ready');
}
Implementation
typedef IsolateWorker = void Function(SendPort);