StreamedLogAsync
Index
Methods
Methods
__aenter__
Start the streaming task within the context. Exiting the context will cancel the streaming task.
Returns Self
__aexit__
Cancel the streaming task.
Parameters
exc_type: type[BaseException] | None
exc_val: BaseException | None
exc_tb: TracebackType | None
Returns None
start
Start the streaming task. The caller has to handle any cleanup by manually calling the
stopmethod.Returns Task
stop
Stop the streaming task.
Returns None
Async variant of
StreamedLogthat is logging in tasks.