blob: 8cdf0789a93e2fa4e8fa78db17edd145be09979e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const core = globalThis.Deno.core;
const internals = globalThis.__bootstrap.internals;
import { denoNsUnstable } from "ext:runtime/90_deno_ns.js";
function enableJupyter() {
denoNsUnstable.jupyter = {
async broadcast(msgType, content) {
await core.opAsync("op_jupyter_broadcast", msgType, content);
},
};
}
internals.enableJupyter = enableJupyter;
|