Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TaskState

Hierarchy

  • TaskState

Implements

  • ITaskRunResult

Index

Constructors

constructor

Properties

counters

counters: Counters = ...

Statistical counters which can be used in task processing

this.counters.get('item.active').inc()

created

created: Date = ...

done

done: boolean = false

duration

duration: number

error

error: Error = null

has_error

has_error: boolean = false

incoming

incoming: any = {}

name

name: string

nr

nr: number

outgoing

outgoing: any = {}

progress

progress: number = 0

result

result: any = null

running

running: boolean = false

start

start: Date

stop

stop: Date

tasksId

tasksId: string

total

total: number = 1

weight

weight: number = 0

Methods

calcDuration

  • calcDuration(): void

Generated using TypeDoc