diff options
| author | mash-graz <mash-graz@users.noreply.github.com> | 2024-03-11 00:23:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-11 00:23:06 +0100 |
| commit | 80dbcd3ddf589d20ae7786c716959c6d48ea1f1e (patch) | |
| tree | 55967de66db8f4654539f462e6eea33385179aa3 /ext/web/13_message_port.js | |
| parent | 16dbbfa64a5d2905580535c52c1db51d1cf5b89f (diff) | |
fix(ext/node) implement receiveMessageOnPort for node:worker_threads (#22766)
Implementation of `receiveMessageOnPort` for `node:worker_threads`
Fixes: #22702
Diffstat (limited to 'ext/web/13_message_port.js')
| -rw-r--r-- | ext/web/13_message_port.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/web/13_message_port.js b/ext/web/13_message_port.js index b6a308716..bd7712c5f 100644 --- a/ext/web/13_message_port.js +++ b/ext/web/13_message_port.js @@ -83,6 +83,7 @@ webidl.configureInterface(MessageChannel); const MessageChannelPrototype = MessageChannel.prototype; const _id = Symbol("id"); +const MessagePortIdSymbol = _id; const _enabled = Symbol("enabled"); /** @@ -380,6 +381,7 @@ export { deserializeJsMessageData, MessageChannel, MessagePort, + MessagePortIdSymbol, MessagePortPrototype, serializeJsMessageData, structuredClone, |
