Skip to content

@epikodelabs/streamix


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

Interface: Scheduler ​

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

Properties ​

pending? ​

readonly optional pending?: number

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

Diagnostics: number of nodes with queued work. Optional for custom schedulers.


isPaused? ​

readonly optional isPaused?: boolean

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

Diagnostics: true while flushing is paused. Optional for custom schedulers.

Accessors ​

isDirty ​

Get Signature ​

get isDirty(): boolean

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

Returns ​

boolean

Methods ​

queueFlush() ​

queueFlush(node): void

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

Parameters ​

node ​

SchedulableNode

Returns ​

void


flush() ​

flush(): void

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

Returns ​

void


remove() ​

remove(node): void

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

Parameters ​

node ​

SchedulableNode

Returns ​

void


flushImmediately()? ​

optional flushImmediately(node): void

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

Optional targeted flush hook; the runtime currently uses flush().

Parameters ​

node ​

SchedulableNode

Returns ​

void

Released under the MIT License.