Commit 16c9616
authored
feat: worker thread pool (#41)
* feat: generic typesafe worker threadpool
* feat: update WorkerManager with changes from SNP repo
* chore: misc cleanup
* chore: cleanup worker thread overhead
* chore: add better abort support
* chore: simplify error serialization
* chore: simplify error serialization
* test: ensure AggregateError is serialized correctly
* chore: simplify error serialization
* fix: serialize AbortError (DOMException) errors correctly
* test: ensure task queuing works as expected1 parent 66f44d5 commit 16c9616
File tree
12 files changed
+964
-66
lines changed- src/helpers
- __tests__
12 files changed
+964
-66
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
5 | 2 | | |
| 3 | + | |
6 | 4 | | |
7 | 5 | | |
8 | 6 | | |
| |||
0 commit comments