1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli/tools/jupyter
Trevor Manz 48bb3b2b0f
feat(unstable): Await return from Jupyter.display (#20807)
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)")
```
2023-10-06 21:26:11 +00:00
..
resources fix(jupyter): Rename logo assets so they are discoverable (#20806) 2023-10-06 22:31:12 +02:00
install.rs fix(jupyter): Rename logo assets so they are discoverable (#20806) 2023-10-06 22:31:12 +02:00
jupyter_msg.rs feat(jupyter): send binary data with Deno.jupyter.broadcast (#20755) 2023-10-04 13:05:20 +02:00
mod.rs feat(jupyter): support Deno.test() (#20778) 2023-10-05 21:45:11 +01:00
server.rs feat(unstable): Await return from Jupyter.display (#20807) 2023-10-06 21:26:11 +00:00