The few things the protocol needs from the platform, as structural types, so the package carries no DOM dependency and tests can use Node's MessageChannel.
MessageChannel
Optional
Where available (browsers that ship it, Node): fired when the other side closed or was collected.
The few things the protocol needs from the platform, as structural types, so the package carries no DOM dependency and tests can use Node's
MessageChannel.