lucabaggi
lucabaggi10mo ago

Async Code

How can I use marimo with async code?
2 Replies
Akshay
Akshay10mo ago
We don’t support top level await right now. Can you use asyncio in your notebook in the meantime? https://github.com/marimo-team/marimo/issues/590
GitHub
Support async/await in cells · Issue #590 · marimo-team/marimo
Description It would be great to support await within a cell. For example it would be great to do something like: from my_lib import func_from_my_lib await func_from_my_lib() Currently it gives an ...
lucabaggi
lucabaggiOP10mo ago
Let me double check this today. By the way, IPython supports this natively, it’s really handy.