Interface: BaseStreamSourceASTNode<TType, TEvent>
Defined in: ast/base/base-stream-source-ast-node.ts:10
Domain-agnostic base AST node contract for asynchronous event stream sources (StreamSourceASTNode).
Resolved via RuntimeExecutorRegistry.streamSources[node.type] into a StreamSource subscribed to by P.stream().
Extended by
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TType extends string | string | String-literal discriminant of the stream source node. |
TEvent | unknown | Raw event payload type emitted by the stream source. |
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
__eventBrand? | readonly | TEvent | Phantom type brand preserving the stream event payload type. | ast/base/base-stream-source-ast-node.ts:14 |
type | readonly | TType | Unique string-literal discriminant of the stream source node. | ast/base/base-stream-source-ast-node.ts:12 |