App-level signal emit bridge for negotiation and handlers.
realtime.emit_bridge
| 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
register_emit_impl
function
def register_emit_impl(fn: Callable[..., None]) -> None
Register the app'semitimplementation (called once at freeze).
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
fn
|
Callable[..., None]
|
— |
emit_signal
function
def emit_signal(name: str, value: Any, *, audience_key: str | None = None) -> None
Emit a signal during request handling using the registered app emitter.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
name
|
str
|
— | |
value
|
Any
|
— | |
audience_key
|
str | None
|
None
|
clear_emit_impl
function
def clear_emit_impl() -> None
Reset the bridge (tests).
No parameters.
View source · /home/runner/work/chirp/chirp/site/../src/chirp/realtime/emit_bridge.py:1