Unverified Commit fe8972a4 authored by Anna Henningsen's avatar Anna Henningsen
Browse files

worker: implement worker.moveMessagePortToContext()

This enables using `MessagePort`s in different `vm.Context`s,
aiding with the isolation that the `vm` module seeks to provide.

Refs: https://github.com/ayojs/ayo/pull/111

PR-URL: https://github.com/nodejs/node/pull/26497


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent b0de48e8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment