Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/bslatkin/effectivepython
/ write_async
Function
write_async
example_code/item_078.py:59–60 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
57
try
:
58
59
async
def
write_async(data):
60
await loop.run_in_executor(None, output.write, data)
61
62
async
with
asyncio.TaskGroup()
as
group:
63
for
handle in handles:
Callers
nothing calls this directly
Calls
1
write
Method · 0.80
Tested by
no test coverage detected