-
Notifications
You must be signed in to change notification settings - Fork 421
Open
Description
Let's say we have the main thread A and the web worker B which is spawned by A and the web worker C which is spawned by B. Now we create a callback function within C that we want to attach to some event in A. In C we proxy the callback function as follows: const proxyListener = Comlink.proxy(listener); and then pass the proxy to B. Is it necessary to re-proxy the proxy from C in B to A? I tested it and it works without re-proxying but I don't know if this is the right way of doing it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels