mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
refactor: use core ResourceTable in cli (#3206)
This commit is contained in:
parent
2f0f236d56
commit
a7992e7703
10 changed files with 261 additions and 270 deletions
|
@ -274,6 +274,7 @@ impl TsCompiler {
|
|||
let compiler_rid = resource.rid;
|
||||
let first_msg_fut =
|
||||
resources::post_message_to_worker(compiler_rid, req_msg)
|
||||
.expect("Bad compiler rid")
|
||||
.then(move |_| worker)
|
||||
.then(move |result| {
|
||||
if let Err(err) = result {
|
||||
|
@ -382,6 +383,7 @@ impl TsCompiler {
|
|||
let compiler_rid = resource.rid;
|
||||
let first_msg_fut =
|
||||
resources::post_message_to_worker(compiler_rid, req_msg)
|
||||
.expect("Bad compiler rid")
|
||||
.then(move |_| worker)
|
||||
.then(move |result| {
|
||||
if let Err(err) = result {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue