MCPcopy Create free account
hub / github.com/pybind/pybind11 / event_loop

Function event_loop

tests/test_async.py:15–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14@pytest.fixture
15def event_loop():
16 loop = asyncio.new_event_loop()
17 yield loop
18 loop.close()
19
20
21async def get_await_result(x):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected