MCPcopy Create free account
hub / github.com/dot-agent/nextpy / _coro

Function _coro

tests/test_state.py:1481–1484  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1479 state.num1 = 0
1480
1481 async def _coro():
1482 async with state_manager.modify_state(token) as state:
1483 await asyncio.sleep(0.01)
1484 state.num1 += 1
1485
1486 tasks = [asyncio.create_task(_coro()) for _ in range(n_coroutines)]
1487

Callers 2

_process_backgroundMethod · 0.85

Calls 1

modify_stateMethod · 0.45

Tested by

no test coverage detected