MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / bg_task

Function bg_task

tests/unit/utils/test_async_utils.py:125–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

123 events = []
124
125 async def bg_task():
126 # This background task should finish after the dummy task
127 events.append('bg_started')
128 asyncio.sleep(0.2)
129 events.append('bg_finished')
130
131 async def dummy(value: int):
132 events.append('dummy_started')

Callers 1

dummyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected