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.

-Boris
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to