跳转到内容
简体中文

MessageBoundaryOptionsType

此内容尚不支持你的语言。

MessageBoundaryOptionsType = object

Defined in: src/diagnostics/MessageBoundaryOptions.ts:30

Plain options-object shape layered over actor-ts.diagnostics.message-boundary.*.

readonly optional serializerRoundTrip?: MessageBoundaryMode

Defined in: src/diagnostics/MessageBoundaryOptions.ts:42

Every local tell is encoded and decoded through the serialization extension, as it would be for a cluster wire; a message no serializer accepts is reported.


readonly optional structuredClone?: MessageBoundaryMode

Defined in: src/diagnostics/MessageBoundaryOptions.ts:36

Every local tell is checked against the worker hop: an object that would lose its prototype under structuredClone, or cannot be cloned at all, is reported with its type and the recipient.