Skip to content

feat - Shared Workers #402

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

Draft
wants to merge 50 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
a00b452
chore: Add a stub for shared worker code
bebraw Oct 5, 2021
9dea04c
chore: Refine shared worker implementation
bebraw Oct 5, 2021
98555a8
chore: Add initial docs
bebraw Oct 5, 2021
f224972
test: Add initial tests
bebraw Oct 5, 2021
2f5d1c0
chore: Sketch out spawn for shared workers
bebraw Oct 6, 2021
3e74bd8
chore: Refine type check
bebraw Oct 6, 2021
e807f5b
fix: Use instanceof for shared worker checks
bebraw Oct 6, 2021
9a0c7ab
fix: Start shared worker when events are added
bebraw Oct 6, 2021
66d9e2d
chore: Add a todo
bebraw Oct 6, 2021
dc8f1df
fix: Make shared optional
bebraw Oct 11, 2021
c742173
fix: Add a check against possibly missing port
bebraw Oct 11, 2021
bebb1af
fix: Include shared worker to ts
bebraw Oct 11, 2021
5a9b2a9
fix: Add a missing browser field
bebraw Oct 12, 2021
aed0dda
fix: Drop @types/sharedworker
bebraw Oct 12, 2021
ad356b1
fix: Fix test paths
bebraw Oct 12, 2021
6a70a09
chore: Add a todo
bebraw Oct 12, 2021
cf06ee9
fix: Implement terminate for shared workers
bebraw Oct 12, 2021
ebecb9e
chore: Improve spacing
bebraw Oct 12, 2021
e373b20
chore: Clean up formatting
bebraw Oct 18, 2021
b661764
chore: Remove unnecessary formatting from readme
bebraw Oct 18, 2021
1c22039
chore: Drop ;'s
bebraw Oct 18, 2021
9828320
chore: Drop ;'s
bebraw Oct 18, 2021
f594466
chore: Remove unnecessary formatting from readme
bebraw Oct 18, 2021
bdee01a
chore: Drop ,'s
bebraw Oct 18, 2021
8073c52
chore: Revert formatting
bebraw Oct 18, 2021
2d004ab
chore: Revert formatting
bebraw Oct 18, 2021
5c1f8ac
chore: Revert formatting
bebraw Oct 18, 2021
e232ee6
chore: Revert formatting
bebraw Oct 18, 2021
1594e2c
chore: Drop semicolons
bebraw Oct 20, 2021
127c55d
chore: Simplify code
bebraw Oct 20, 2021
2b7d881
refactor: Simplify implementation
bebraw Oct 20, 2021
04554a8
chore: Drop formatting
bebraw Oct 20, 2021
a906d77
chore: Drop formatting
bebraw Oct 20, 2021
42d15bf
chore: Drop formatting
bebraw Oct 20, 2021
9138fd5
chore: Drop formatting
bebraw Oct 20, 2021
fdf90a3
chore: Drop formatting
bebraw Oct 20, 2021
a1b837b
chore: Drop formatting
bebraw Oct 20, 2021
4606977
chore: Drop formatting
bebraw Oct 20, 2021
7f1a625
chore: Drop formatting
bebraw Oct 20, 2021
8663a6d
chore: Drop formatting
bebraw Oct 20, 2021
cf5cf41
chore: Mark a todo
bebraw Oct 20, 2021
2ea1d55
chore: Drop a reference
bebraw Oct 20, 2021
4c9d072
chore: Drop formatting
bebraw Oct 20, 2021
5aef0bd
chore: Drop formatting
bebraw Oct 20, 2021
3c00490
chore: Drop formatting
bebraw Oct 20, 2021
8e008d5
refactor: Merge shared worker tests with spawn tests
bebraw Oct 22, 2021
de025a1
fix: Solve the proxy type issue
bebraw Oct 22, 2021
b3dfead
fix: Fix shared worker checks within a worker
bebraw Oct 25, 2021
aceed4b
chore: Add a debug print
bebraw Oct 25, 2021
cffac58
chore: Sketch out onconnect
bebraw Oct 25, 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
Diff view
Prev Previous commit
Next Next commit
chore: Drop formatting
  • Loading branch information
bebraw committed Oct 20, 2021
commit 04554a82e409a8586714f1164a6203a43c9ad7be
7 changes: 1 addition & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
export { registerSerializer } from "./common"
export * from "./master/index"
export { expose } from "./worker/index"
export {
DefaultSerializer,
JsonSerializable,
Serializer,
SerializerImplementation,
} from "./serializers"
export { DefaultSerializer, JsonSerializable, Serializer, SerializerImplementation } from "./serializers"
export { Transfer, TransferDescriptor } from "./transferable"