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

URL constructor for Worker #857

Merged
merged 3 commits into from
Oct 4, 2024
Merged

Conversation

JPonte
Copy link
Contributor

@JPonte JPonte commented Sep 18, 2024

This PR adds two constructors for the Worker class which use the URL object rather than a String. This is relevant because some bundles like Parcel, even enforce you to use URL rather than a string.
More info about it here: https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker#url

@zetashift zetashift merged commit 5a85518 into scala-js:main Oct 4, 2024
5 checks passed
@JPonte JPonte deleted the webworker-overload branch October 5, 2024 20:32
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.

2 participants