mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
48bb3b2b0f
Allows `Jupyter.display` to return a promise. Example: ```javascript class WikiPage { constructor(public name) {} async [Symbol.for("Jupyter.display")]() { let response = await fetch("https://en.wikipedia.org/wiki/" + this.name); return { "text/html": await response.text() } } } new WikiPage("Deno_(software)") ``` |
||
---|---|---|
.. | ||
resources | ||
install.rs | ||
jupyter_msg.rs | ||
mod.rs | ||
server.rs |