mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
e55b448730
This implements two macros to simplify extension registration and centralize a lot of the boilerplate as a base for future improvements: * `deno_core::ops!` registers a block of `#[op]`s, optionally with type parameters, useful for places where we share lists of ops * `deno_core::extension!` is used to register an extension, and creates two methods that can be used at runtime/snapshot generation time: `init_ops` and `init_ops_and_esm`. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> |
||
---|---|---|
.. | ||
01_broadcast_channel.js | ||
Cargo.toml | ||
in_memory_broadcast_channel.rs | ||
lib.deno_broadcast_channel.d.ts | ||
lib.rs | ||
README.md |
deno_broadcast_channel
This crate implements the BroadcastChannel functions of Deno.
Spec: https://html.spec.whatwg.org/multipage/web-messaging.html