Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Task

Hierarchy

  • Task

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Protected _taskData

_taskData: ITaskData

Accessors

enabled

  • get enabled(): boolean
  • set enabled(enabled: boolean): void

value

  • get value(): any

Methods

Private _to

  • _to(index: number): this

add

destroy

  • destroy(): void

done

  • done(...args: any[]): any
  • Execute the current task.

    Parameters

    • Rest ...args: any[]

    Returns any

finish

  • finish(): this
  • Skips all tasks and changes to the finished state.

    Returns this

first

  • first(): this

next

  • next(): this

prev

  • prev(): this

reset

  • reset(): this

to

  • to(index: number): this
  • Change the current task to the specified task.

    Parameters

    • index: number

    Returns this

Generated using TypeDoc