rpc_dart_isolate library

Isolate transports for rpc_dart (IO + web/wasm).

Classes

RpcIsolateTransport
Fallback for a platform with NEITHER dart:isolate NOR dart:js_interop.

Constants

isolateManagerCustomWorker → const _IsolateManagerCustomWorker
An annotation that you want to use for the custom function.

Functions

runRpcIsolateManagerWorker(RpcIsolateEntrypoint entrypoint, {RpcSecurityPolicy? policy}) → void

Typedefs

RpcIsolateEntrypoint = void Function(IRpcTransport transport, Map<String, dynamic> customParams)
The function a spawned isolate or worker runs with its end of the connection and the spawner's customParams.