MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / c

Function c

tests/python/test_event_loop.py:257–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255 return a()
256
257 async def c():
258 await asyncio.sleep(0.01)
259 return b()
260 # JS `await` supports chaining. However, on Python-land, it actually requires `await (await (await c()))`
261 assert "nested" == await pm.eval("async (promise) => await promise")(c())
262 assert "nested" == await pm.eval("async (promise) => await promise")(await c())

Callers 1

async_fnFunction · 0.70

Calls 1

bFunction · 0.70

Tested by

no test coverage detected