Skip to content

@epikodelabs/streamix


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

Interface: ExecutionSpan ​

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

One live execution observed by diagnostics: accounting plus bus events.

Properties ​

reports ​

readonly reports: boolean

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

True when execution events are published on the bus; callers may skip timing work otherwise.

Methods ​

next() ​

next(value, requestedAt?): void

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

Records one emitted value. requestedAt is the pull-start performance.now() timestamp.

Parameters ​

value ​

unknown

requestedAt? ​

number

Returns ​

void


finish() ​

finish(exit, error?): void

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

Closes the execution: the token is retired and the exit event published.

Parameters ​

exit ​

FlowExit

error? ​

unknown

Returns ​

void

Released under the MIT License.