mirror of
https://github.com/denoland/deno.git
synced 2025-02-10 08:02:18 -05:00
![]() 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)") ``` |
||
---|---|---|
.. | ||
integration_test.ipynb |