Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/reactive-python/reactpy
/ recv
Function
recv
src/py/reactpy/tests/test_core/test_serve.py:38–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
36
raise
Exception(
"Stop running"
)
37
38
async
def
recv():
39
await sem.acquire()
40
try
:
41
return
events_to_inject.pop(0)
42
except
IndexError:
43
# wait forever
44
await asyncio.Event().wait()
45
46
return
changes, send, recv
47
Callers
nothing calls this directly
Calls
1
wait
Method · 0.80
Tested by
no test coverage detected