Reactive event bus for change event broadcasting.
pages.reactive.bus
| Name | Type | Default | Description |
|---|---|---|---|
type
|
|
— | |
qualified_name
|
|
— | |
element_type
|
|
— | |
description
|
|
— | |
source_file
|
|
— | |
line_number
|
|
— | |
is_autodoc
|
|
— | |
autodoc_element
|
|
— | |
_autodoc_template
|
|
— | |
_autodoc_url_path
|
|
— | |
_autodoc_page_type
|
|
— | |
title
|
|
— | |
doc_content_hash
|
|
— |
Symbols on this page
ReactiveBus
class
Broadcast channel for data change events.
Thread-safe. Each call tosubscribe(scope)returns an async
iterator that yieldsChangeEvents for that scope. When
emit()is called, the event is placed into every matching
subscriber's queue.
Modeled on chirp'sToolEventBusbut scoped per-key.
View source · /home/runner/work/chirp/chirp/site/../src/chirp/pages/reactive/bus.py:1