Aller au contenu
Français

DEFAULT_MESSAGE_BOUNDARY_STRUCTURED_CLONE

Ce contenu n’est pas encore disponible dans votre langue.

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).