summaryrefslogtreecommitdiff
path: root/cli/tsc
diff options
context:
space:
mode:
authorTrevor Manz <trevor.j.manz@gmail.com>2023-10-04 07:05:20 -0400
committerGitHub <noreply@github.com>2023-10-04 13:05:20 +0200
commit9a46a824bd897e240af8a14f9d950ab6d95f42a5 (patch)
tree9c6bf70579452767b194112d6a531c14feec5652 /cli/tsc
parentda0b945804f19903beac71b23ff1040ebdb9b554 (diff)
feat(jupyter): send binary data with `Deno.jupyter.broadcast` (#20755)
Adds `buffers` to the `Deno.jupyter.broadcast` API to send binary data via comms. This affords the ability to send binary data via websockets to the jupyter widget frontend.
Diffstat (limited to 'cli/tsc')
-rw-r--r--cli/tsc/dts/lib.deno.unstable.d.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts
index 4d909a789..782e8eba4 100644
--- a/cli/tsc/dts/lib.deno.unstable.d.ts
+++ b/cli/tsc/dts/lib.deno.unstable.d.ts
@@ -2101,6 +2101,7 @@ declare namespace Deno {
content: Record<string, unknown>,
extra?: {
metadata?: Record<string, unknown>;
+ buffers?: Uint8Array[];
},
): Promise<void>;
}