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

Allow @finos/perspective to run in single-threaded mode #1737

Merged
merged 1 commit into from
Mar 4, 2022

Conversation

texodus
Copy link
Member

@texodus texodus commented Mar 4, 2022

In 2022, there are still some contexts where Web Workers are not allowed, but (somehow) Web Assembly is. This PR adds single-threaded mode to @finos/perspective, such that the Web Assembly engine will run synchronously on the main browser thread when Web Worker instantiation fails.

@texodus texodus merged commit c3122ef into master Mar 4, 2022
@texodus texodus deleted the worker-single-thread-fallback branch March 4, 2022 06:50
@texodus texodus added the enhancement Feature requests or improvements label Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature requests or improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant