1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 08:39:09 -05:00
denoland-deno/op_crates
Aaron O'Mullan 0260b488fb
core: introduce extensions (#9800)
Extensions allow declarative extensions to "JsRuntime" (ops, state, JS or middleware).

This allows for:
- `op_crates` to be plug-and-play & self-contained, reducing complexity leaked to consumers
- op middleware (like metrics_op) to be opt-in and for new middleware (unstable, tracing,...)
- `MainWorker` and `WebWorker` to be composable, allowing users to extend workers with their ops whilst benefiting from the other infrastructure (inspector, etc...)

In short extensions improve deno's modularity, reducing complexity and leaky abstractions for embedders and the internal codebase.
2021-04-28 18:41:50 +02:00
..
console core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
crypto core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
fetch core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
file core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
timers core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
url core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
web core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
webgpu core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
webidl core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
websocket core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00