MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / buffer

Function buffer

tests/test_websocket_data_queue.py:17–20  ·  view source on GitHub ↗
(
    loop: asyncio.AbstractEventLoop, protocol: BaseProtocol
)

Source from the content-addressed store, hash-verified

15
16@pytest.fixture
17def buffer(
18 loop: asyncio.AbstractEventLoop, protocol: BaseProtocol
19) -> WebSocketDataQueue:
20 return WebSocketDataQueue(protocol, limit=1, loop=loop)
21
22
23class TestWebSocketDataQueue:

Callers

nothing calls this directly

Calls 1

WebSocketDataQueueClass · 0.90

Tested by

no test coverage detected