ES6 Proxies with Comlink #2
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vlw/monkeydo!2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/2/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Abstracting
MessageEventReplaced direct calls to
postMessage()to communicate between the initiator- and worker threads with the RPC-like libraryComlink.TASKwill be unaffectedComlink's proxying causes an ever so slight performance drop that can be avoided by running the
TASKevent (emitted by the worker) directly throughtpostMessage(). This event is unidirectional and doesn't [need to] wait for an acknowledgement from the parent. This UDP-like behaviour makes Comlink potentially overkill.