Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ drainer
Method
drainer
Lib/test/test_asyncio/test_streams.py:873–876 ·
view source on GitHub ↗
(stream)
Source
from the content-addressed store, hash-verified
871
drained = 0
872
873
async
def
drainer(stream):
874
nonlocal drained
875
await stream._drain_helper()
876
drained += 1
877
878
async
def
main():
879
loop = asyncio.get_running_loop()
Callers
nothing calls this directly
Calls
1
_drain_helper
Method · 0.80
Tested by
no test coverage detected