Skip to content

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

Merged
texodus merged 1 commit intomasterfrom
worker-single-thread-fallback
Mar 4, 2022
Merged

Allow @finos/perspective to run in single-threaded mode#1737
texodus merged 1 commit intomasterfrom
worker-single-thread-fallback

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

Development

Successfully merging this pull request may close these issues.

1 participant