Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Worker compability #118

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Web Worker compability #118

merged 1 commit into from
Jul 17, 2024

Conversation

carlhoerberg
Copy link
Member

window is not available in Web Worker, but navigator should be. navigator should also be a top-level object in window context.

Fixes #117

`window` is not available in Web Worker, but `navigator` should be.
`navigator` should also be a top-level object in window context.

Fixes #117
@carlhoerberg carlhoerberg merged commit ba0d674 into main Jul 17, 2024
0 of 4 checks passed
@carlhoerberg carlhoerberg deleted the webworker-comp branch July 17, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WebSocketClient is not usable inside Web Workers
2 participants