diff options
Diffstat (limited to 'lib/worker_threads.js')
-rw-r--r-- | lib/worker_threads.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/worker_threads.js b/lib/worker_threads.js index 2fe1a87246..722e47caf1 100644 --- a/lib/worker_threads.js +++ b/lib/worker_threads.js @@ -8,13 +8,15 @@ const { const { MessagePort, - MessageChannel + MessageChannel, + moveMessagePortToContext, } = require('internal/worker/io'); module.exports = { isMainThread, MessagePort, MessageChannel, + moveMessagePortToContext, threadId, Worker, parentPort: null, |