module documentation
Typed topic handles for Workflow Streams.
A topic handle is a thin typed view over an underlying publisher. It carries the topic name and the value type T so call sites do not have to repeat them on every publish, and so cross-language SDKs can mirror the binding cleanly.
Type-uniformity is enforced per publisher instance: each
WorkflowStreamClient (or WorkflowStream) maps a topic
name to exactly one bound T. Re-binding the same name to an
unequal type raises RuntimeError. The check uses Python equality
on the type object — primitives, dataclasses, generic aliases, and
unions all compare structurally — and intentionally does not attempt
to recognize subtype or union-superset relationships.
| Type Variable | T |
Undocumented |