1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 08:39:09 -05:00
denoland-deno/cli/compilers
Bartek Iwańczuk 79b3bc05d6
workers: basic event loop (#3828)
* establish basic event loop for workers
* make "self.close()" inside worker
* remove "runWorkerMessageLoop() - instead manually call global function 
  in Rust when message arrives. This is done in preparation for structured clone
* refactor "WorkerChannel" and use distinct structs for internal 
  and external channels;  "WorkerChannelsInternal" and "WorkerHandle"
* move "State.worker_channels_internal" to "Worker.internal_channels"
* add "WorkerEvent" enum for child->host communication; 
  currently "Message(Buf)" and  "Error(ErrBox)" variants are supported
* add tests for nested workers
* add tests for worker throwing error on startup
2020-02-11 10:04:59 +01:00
..
compiler_worker.rs workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
js.rs fix 015_duplicate_parallel_import (#3904) 2020-02-06 21:24:51 -05:00
json.rs fix 015_duplicate_parallel_import (#3904) 2020-02-06 21:24:51 -05:00
mod.rs refactor: Use Tokio's single-threaded runtime (#3844) 2020-02-03 18:08:44 -05:00
ts.rs workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
wasm.rs workers: basic event loop (#3828) 2020-02-11 10:04:59 +01:00
wasm_wrap.js Loader: support .wasm imports (#3328) 2019-11-14 08:31:39 -05:00