GoogleChromeLabs / GoogleChromeLabs/comlink

MessageChannel not defined in nodejs

Open
#466 6 comments 5 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
12.8k
Forks
435
PR merge metrics
No merged PRs in 30d

Description

> (node:9929) UnhandledPromiseRejectionWarning: ReferenceError: MessageChannel is not defined

`MessageChannel` comes from `worker_threads` package but comlink is using the global one.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.