yera.events.blocks.spinner

Spinner block implementation.

Symbols

class SpinnerStream — Stream handle for creating multiple chunks of the same spinner block.

SpinnerStream

Inherits: _StreamHandle

Stream handle for creating multiple chunks of the same spinner block.

Methods

update — Create an update chunk with status 'active'.

SpinnerStream.__enter__

__enter__()

SpinnerStream.__exit__

__exit__(
    exc_type: type[BaseException],
    exc_value: BaseException | None,
    traceback: TracebackType,
)

SpinnerStream.update

update(
    message: str,
) → None

Create an update chunk with status 'active'.