yera.events.blocks.exit
Exit block implementation.
Symbols
quit_event
quit_event() → NonePush a success exit event for a user-initiated quit.
unsupported_block_event
unsupported_block_event(
block_type: str,
) → NonePush an exit event for an unsupported await_user block (e.g. form).
Block factories use this when is_restricted_stream() is True, then raise UnsupportedAwaitUserBlockError. Uses exit_event() so the event has the correct app_instance from the current context.