mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 23:04:45 -05:00
fd62379eaf
- removes global `RESOURCE_TABLE` - resource tables are now created per `Worker` in `State` - renames `CliResource` to `StreamResource` and moves all logic related to it to `cli/ops/io.rs` - removes `cli/resources.rs` - adds `state` argument to `op_read` and `op_write` and consequently adds `stateful_minimal_op` to `State` - IMPORTANT NOTE: workers don't have access to process stdio - this is caused by fact that dropping worker would close stdout for process (because it's constructed from raw handle, which closes underlying file descriptor on drop) |
||
---|---|---|
.. | ||
compiler.rs | ||
dispatch_json.rs | ||
dispatch_minimal.rs | ||
errors.rs | ||
fetch.rs | ||
files.rs | ||
fs.rs | ||
io.rs | ||
mod.rs | ||
net.rs | ||
os.rs | ||
permissions.rs | ||
process.rs | ||
random.rs | ||
repl.rs | ||
resources.rs | ||
timers.rs | ||
tls.rs | ||
workers.rs |