PyDocs

Nav

Networking and Interprocess Communication

StreamWriter.drain

asyncio

async method of StreamWriter (source) not WASI
  • StreamWriter.drain()
Flush the write buffer.

The intended use is to write

  w.write(data)
  await w.drain()
0 Examples
No examples for asyncio/StreamWriter.drain.
See Also
No see-alsos for asyncio/StreamWriter.drain
0 Notes
No notes for StreamWriter.drain