mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
b0a23beb8f
* Refactored the way worker polling is scheduled and errors are handled. * Share the worker future as a Shared
7 lines
94 B
TypeScript
7 lines
94 B
TypeScript
onmessage = function(e) {
|
|
console.log(e.data);
|
|
|
|
postMessage(e.data);
|
|
|
|
workerClose();
|
|
};
|