asyncio.Task.all_tasks()

classmethod all_tasks(loop=None) Return a set of all tasks for an event loop. By default all tasks for the current event loop are returned.

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.process_exited()

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

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.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.SubprocessProtocol

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

asyncio.StreamWriter.write_eof()

write_eof() Close the write end of the transport after flushing buffered data: see WriteTransport.write_eof().

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().

asyncio.StreamWriter.transport

transport Transport.