8000 feat: support choosing custom worker backend by aminya · Pull Request #290 · andywer/threads.js · GitHub
[go: up one dir, main page]

Skip to content

feat: support choosing custom worker backend #290

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

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
086ed70
feat: add createWorker function
aminya Aug 9, 2020
cc1c915
feat: only import the needed function
aminya Aug 9, 2020
5da90ce
feat: use the correct types for WorkerConstructor and workerPath
aminya Aug 9, 2020
a6e3c41
feat: select between tiny and node
aminya Aug 9, 2020
2734f8b
extend ThreadsWorkerOptions in CreateWorkerOptions
aminya Aug 25, 2020
5785b5a
move CreateWorkerOptions to types file
aminya Aug 25, 2020
075e368
add docs for the options
aminya Aug 25, 2020
bcacf38
Use dynamic imports and make createWorker async
aminya Jan 10, 2021
209808a
Add top level files
aminya Jan 10, 2021
9a62784
Rename implementation-node to prevent conflicts with native node addons
aminya Jan 10, 2021
78c4b6a
Add rollup test for createWorker
aminya Jan 10, 2021
a3d1e25
include src in the pack (allow directly importing ts)
aminya Jan 10, 2021
b819c49
Add createWorker to the docs
aminya Jan 10, 2021
eee7976
Mention the possibility of passing WorkerOptions
aminya Jan 10, 2021
3be9a05
Don't export createWorker from index
aminya Mar 27, 2021
c323c34
Make the backend a required argument in createWorker
aminya Mar 27, 2021
d813a9c
Directly import the implementation function
aminya Mar 27, 2021
1dca8f9
Merge remote-tracking branch 'upstream/master' into createWorker
aminya Mar 29, 2021
93eb19e
Move app-createWorker test to test-tooling folder
aminya Mar 29, 2021
faceaca
Add types for root level index
aminya Apr 30, 2021
c4e0a57
Add documentation for createWorker return
aminya Apr 30, 2021
4fdfda9
Add createWorker tests
aminya Apr 30, 2021
5f498fb
Merge branch 'master' into createWorker
aminya Apr 30, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
A30C
Diff view
Prev Previous commit
Next Next commit
Add types for root level index
  • Loading branch information
aminya committed Apr 30, 2021
commit faceacab34c9fc8d2bbf3e581b9126890f9a319f
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { registerSerializer, spawn, DefaultSerializer, Pool, Thread, Transfer, Worker } from "./src/index.js"
0