1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 00:59:24 -05:00
denoland-deno/op_crates/timers
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
..
01_timers.js refactor: move timers to deno_timers op crate (#10179) 2021-04-14 21:10:48 +02:00
Cargo.toml chore: release crates (#10327) 2021-04-23 15:05:12 +02:00
lib.rs core: introduce extensions (#9800) 2021-04-28 18:41:50 +02:00
README.md refactor: move timers to deno_timers op crate (#10179) 2021-04-14 21:10:48 +02:00

deno_timers

This crate implements the timers API.

Spec: https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers