Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/livekit/agents
/ new_event_loop
Method
new_event_loop
tests/virtual_time.py:320–321 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
318
319
class
_VirtualTimePolicy(asyncio.DefaultEventLoopPolicy):
320
def
new_event_loop(self) -> asyncio.AbstractEventLoop:
321
return
_VirtualTimeLoop()
322
323
324
@pytest.fixture
Callers
6
__init__
Method · 0.80
connect
Function · 0.80
_run_tcp_console
Function · 0.80
_run_worker
Function · 0.80
run
Method · 0.80
_current_event_loop
Function · 0.80
Calls
1
_VirtualTimeLoop
Class · 0.85
Tested by
no test coverage detected