Standardize ES Worker
bzbarsky at mit.edu
Fri Oct 28 01:42:25 UTC 2016
On 10/27/16 6:18 PM, Isiah Meadows wrote:
> 1. Add a new `import.fork(script): Promise<Worker>` method-like
> expression that loads the worker and resolves when done/rejects if it
> couldn't for some reason.
What does "done" mean in this case?
> - `worker.send(message, sharedBuffers?)` - Send a message and return a
> Promise to its result.
What if the "result" of the message is a sequence of messages back?
This is a common thing to do with web workers: ask it to do something,
and it sends the answer back in chunks.
More information about the es-discuss