Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/reactive-python/reactpy
/ block_forever
Function
block_forever
src/py/reactpy/tests/test_core/test_serve.py:116–118 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
114
def
ComponentWithTwoEventHandlers():
115
@blocked_handler.use
116
async
def
block_forever():
117
will_block.set()
118
await block_and_never_set.wait()
119
120
@non_blocked_handler.use
121
async
def
handle_event():
Callers
nothing calls this directly
Calls
1
wait
Method · 0.80
Tested by
no test coverage detected