跳转到内容
简体中文

DEFAULT_MESSAGE_BOUNDARY_STRUCTURED_CLONE

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

const DEFAULT_MESSAGE_BOUNDARY_STRUCTURED_CLONE: MessageBoundaryMode = 'off'

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

Off in production. The check costs a walk over every local message, and a running system has no one on the stack to tell; the place to find out that a message class does not cross a thread is a test. TestKit turns the structured-clone half to fail (#1386).