Private memory/Redis data plane for Chirp signals.
The public signal API stays onApp; this module owns only
the lifecycle-bound transport selected fromAppConfig.redis_url.
realtime.signal_backplane
| 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
Fail-loud private transport error without broker-sensitive details.
Compile the immutable private transport selection without importing Redis.
Derive the stable opaque Redis subject accepted by RFC 023.
One exact-subject subscription owned by its SSE iterator.
Lifecycle owner for the private memory-or-Redis signal adapter.
_SignalBackplaneError
class
Fail-loud private transport error without broker-sensitive details.
_SignalBackplaneDescriptor
class
_SignalBackplanePlan
class
_SignalPublication
class
compile_signal_backplane_plan
function
def compile_signal_backplane_plan(*, redis_url: str | None, secret_key: str) -> _SignalBackplanePlan
Compile the immutable private transport selection without importing Redis.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
redis_url
|
str | None
|
— | |
secret_key
|
str
|
— |
signal_subject
function
def signal_subject(key: bytes, *, audience: Literal['global', 'session'], audience_key: str, name: str) -> str
Derive the stable opaque Redis subject accepted by RFC 023.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
key
|
bytes
|
— | |
audience
|
Literal['global', 'session']
|
— | |
audience_key
|
str
|
— | |
name
|
str
|
— |
_RedisSubscription
class
One exact-subject subscription owned by its SSE iterator.
_SignalBackplaneCoordinator
class
Lifecycle owner for the private memory-or-Redis signal adapter.
View source · /home/runner/work/chirp/chirp/site/../src/chirp/realtime/signal_backplane.py:1