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

feat(BrowserAPI): Return and accept the web worker used for computation #121

Merged
merged 3 commits into from
Apr 18, 2018

Conversation

thewtex
Copy link
Member

@thewtex thewtex commented Apr 16, 2018

This enables re-use of the web worker or calling terminate() on the worker to free resources. We
also fix a bug -- previously only a single worker was being used by the
app.

BREAKING CHANGE: Calls to the browser API must now pass null or a previously generated web worker as
their first argument. The browser API function now return objects with a webWorker member.

This enables re-use of the web worker or calling `terminate()` on the worker to free resources. We
also fix a bug -- previously only a single worker was being used by the
app.

BREAKING CHANGE: Calls to the browser API must now pass null or a previously generated web worker as
their first argument. The browser API function now return objects with a `webWorker` member.
@thewtex thewtex merged commit 53f5eae into InsightSoftwareConsortium:master Apr 18, 2018
@thewtex thewtex deleted the return-workers branch April 18, 2018 21:49
@thewtex thewtex restored the return-workers branch April 19, 2018 04:03
@thewtex thewtex deleted the return-workers branch February 1, 2022 20:41
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.

None yet

1 participant