isolate_event library

Classes

IsolateRemoteServer<T>
创建一个Isolate
KeyController
LocalRemoteServer<T>
entryPoint创建
Messager
NullRemoteServer
通常由其他RemoteServer代理时 为其提供一个句柄
ReceiveHandle
ReceiveMessage
RemoteServer
远程服务/主机 提供kill接口
RemoteServerBase
不是由当前的对象创建的RemoteServer 由用户管理生命周期
Runner
SenderCompleter<T>
共享单一端口
SenderCompleterPrivateHandle<T>
SenderStreamController<T>
SenderStreamPrivateHandle<T>
SendEvent
SendHandle
SendHandleName
SendHandleOwner
隔离之间互通信所需要的SendHandles 调用:
SendMessage
ServerConfigurations<T>
ServerName
StreamSubscriptionOwner

Mixins

IsolateAutoInitAndCloseMixin
ListenMixin
端口创建/监听 初始化
Resolve
ResolveMultiRecievedMixin
子隔离 连接 其他隔离 的实现 比如: 加入xxxxxxMessagergetProtocols中获取协议
SendCacheMixin
Sender
SenderOnReceivedMixin
SenderPrivateHandle
独立端口
SendEventFutureMixin
每个任务都有一个独立的端口
SendEventMixin
在主隔离的所有消息接受操作都由add处理
SendEventPortMixin
每个任务都有一个独立的端口
SendEventPortStreamMixin
每个任务都有一个独立的端口
SendEventResolve
不需要调用ResolveonResumeListenSendEvent为主
SendInitCloseMixin
提供安全的调用接口
SendMultiServerMixin
管理多个 RemoteServer
TransferType<D>
TransferTypeMapData<T>
TransferTypeMapDataList<E, D, T>

Extensions

SendMessageOption on Messager

Functions

materialize(dynamic data) → dynamic

Typedefs

AddTask = void Function(FutureOr task)
KeyControllerCallback = void Function(dynamic identityKey, KeyType keyType, String? isolateName)
RemoteEntryPoint<T> = FutureOr<Runner> Function(ServerConfigurations<T> args)

Exceptions / Errors

NopUseDynamicVersionExection