yera.events.blocks.action

Action block implementation.

Symbols

class ActionStream — Stream handle for creating multiple chunks of the same action block.

ActionStream

Inherits: _StreamHandle

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

Methods

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

ActionStream.__enter__

__enter__()

ActionStream.__exit__

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

ActionStream.update

update(
    message: str,
) → None

Create an update chunk with status 'active'.