From 9a46a824bd897e240af8a14f9d950ab6d95f42a5 Mon Sep 17 00:00:00 2001 From: Trevor Manz Date: Wed, 4 Oct 2023 07:05:20 -0400 Subject: 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. --- cli/tsc/dts/lib.deno.unstable.d.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/tsc') 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, extra?: { metadata?: Record; + buffers?: Uint8Array[]; }, ): Promise; } -- cgit v1.2.3