summaryrefslogtreecommitdiff
path: root/extmod/modasyncio.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-06-18 17:35:24 +1000
committerDamien George <damien@micropython.org>2024-06-18 22:23:16 +1000
commite9c898cb3312c2e2cf9e0da1d099541bf7bdf4d2 (patch)
tree0f99a3264aa04767883a85cd8d173a88c3ba06cf /extmod/modasyncio.c
parenta053e639147d97c4a306ab272c12d9520a80e805 (diff)
webassembly/asyncio: Support top-level await of asyncio Task and Event.
This change allows doing a top-level await on an asyncio primitive like Task and Event. This feature enables a better interaction and synchronisation between JavaScript and Python, because `api.runPythonAsync` can now be used (called from JavaScript) to await on the completion of asyncio primitives. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/modasyncio.c')
0 files changed, 0 insertions, 0 deletions