Subscribe to a custom:<name> stream extension — most-recent
payload emitted by the transformer, scoped to the target namespace.
name accepts either a plain string or a getter so component
state can drive the extension name at runtime.
useExtension<
T = unknown
>(
stream: AnyStream,
name: ValueOrGetter<string>,
target: ValueOrGetter<SelectorTarget>
| Name | Type | Description |
|---|---|---|
stream* | AnyStream | |
name* | ValueOrGetter<string> | |
target | ValueOrGetter<SelectorTarget> |