Skip to content

@epikodelabs/streamix


@epikodelabs/streamix / src/public-api / NodeDiagnostics

Interface: NodeDiagnostics ​

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:71

Per-node diagnostics merged from the graph, the scheduler, and execution records.

Properties ​

node ​

readonly node: object

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:73

The node these diagnostics describe.


name? ​

readonly optional name?: string

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:75

Label captured at execution start (operator name) or read from the node's name property.


origin? ​

readonly optional origin?: RuntimeOrigin

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:77

Creation site of the node, captured automatically in dev builds.


depth? ​

readonly optional depth?: number

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:79

Scheduler depth (shallow dependencies first). Present only for schedulable nodes.


queued ​

readonly queued: boolean

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:81

True when invalidation work is queued but not flushed yet.


active ​

readonly active: boolean

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:83

True while an execution started by this node is still running.


runs ​

readonly runs: number

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:85

Number of executions started by this node since registration.


emitted ​

readonly emitted: number

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:87

Values emitted across all executions of this node.


completed ​

readonly completed: number

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:89

Executions of this node that completed since registration.


cancelled ​

readonly cancelled: number

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:91

Executions of this node cancelled since registration.


errors ​

readonly errors: number

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:93

Executions of this node that failed since registration.


lastExit? ​

readonly optional lastExit?: FlowExit

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:95

Exit kind of the most recently finished execution.


lastError? ​

readonly optional lastError?: unknown

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:97

Error captured by the most recently failed execution, if any.


dependencies ​

readonly dependencies: number

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:99

Current upstream dependency count from the graph.


dependents ​

readonly dependents: number

Defined in: projects/libraries/streamix/src/lib/runtime/runtime.ts:101

Current downstream dependent count from the graph.

Released under the MIT License.