Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TaskEvent

Id is the runner id

Hierarchy

Implements

Index

Constructors

constructor

Properties

created

created: Date = ...

creation date of this task

data

error

error: Error | { message: string; name: string }

Error

errors

errors: IError[] = []

Errors

id

id: string

Id of event itself

instNr

instNr: number

Nr of nodeId instance if multiple are running

log

log: any[]

log data

nodeId

nodeId: string

Id of system node which created the event

Optional parameters

parameters: {}

Arguments to pass to task runner

Type declaration

  • [name: string]: any

reqEventId

reqEventId: string

Id of requesting event id node

respId

respId: string

Id of responding system node

seqNr

seqNr: number = 0

For multiparted messages

skipping

skipping: boolean = false

response exists but shouldn't be ad to results

state

state: TASK_STATES = 'proposed'

Current state of task

targetIds

targetIds: string[]

Id of target system node

Used for direct task allocation

taskSpec

Name or names of task(s) to execute

topic

topic: "log" | "data" = 'data'

Topic of this event

Static inc

inc: number = 0

Methods

addParameter

  • addParameter(key: string, value: any): void

of

  • of(system: { instNr: number; nodeId: string }): void

Generated using TypeDoc