asyncio.TimeoutError

exception asyncio.TimeoutError The operation exceeded the given deadline.

asyncio.SubprocessProtocol

class asyncio.SubprocessProtocol The base class for implementing protocols communicating with child processes (through a set of unidirectional pipes).

asyncio.SubprocessProtocol.process_exited()

SubprocessProtocol.process_exited() Called when the child process has exited.

asyncio.SubprocessProtocol.pipe_connection_lost()

SubprocessProtocol.pipe_connection_lost(fd, exc) Called when one of the pipes communicating with the child process is closed. fd is the integer file descriptor that was closed.

asyncio.Task

class asyncio.Task(coro, *, loop=None) Schedule the execution of a coroutine: wrap it in a future. A task is a subclass of Future. A task is responsible for executing a coroutine object in an event loop. If the wrapped coroutine yields from a future, the task suspends the execution of the wrapped coroutine and waits for the completition of the future. When the future is done, the execution of the wrapped coroutine restarts with the result or the exception of the future. Event loops use coope

asyncio.SubprocessProtocol.pipe_data_received()

SubprocessProtocol.pipe_data_received(fd, data) Called when the child process writes data into its stdout or stderr pipe. fd is the integer file descriptor of the pipe. data is a non-empty bytes object containing the data.

asyncio.StreamWriter.transport

transport Transport.

asyncio.StreamWriter.drain()

coroutine drain() Let the write buffer of the underlying transport a chance to be flushed. The intended use is to write: w.write(data) yield from w.drain() When the size of the transport buffer reaches the high-water limit (the protocol is paused), block until the size of the buffer is drained down to the low-water limit and the protocol is resumed. When there is nothing to wait for, the yield-from continues immediately. Yielding from drain() gives the opportunity for the loop to schedule t

asyncio.StreamWriter.writelines()

writelines(data) Write a list (or any iterable) of data bytes to the transport: see WriteTransport.writelines().

asyncio.StreamWriter.write()

write(data) Write some data bytes to the transport: see WriteTransport.write().