API Documentation for: 1.0.0
Show:

TaskEvent Class

Defined in: TaskEvent:6
Namespace: cloudkid

Task events are used by the task manager to communicate when tasks change

Constructor

TaskEvent

(
  • type
  • task
  • data
)

Defined in TaskEvent:6

Parameters:

  • type String

    The type of event

  • task Task

    The task this event relates to

  • data Object

    description

Item Index

Methods

Properties

Methods

initialize

(
  • type
  • task
  • data
)

Defined in initialize:63

Init the event

Parameters:

  • type String

    The type of event

  • task Task

    The task attached to this event

  • data

    The data result associated with this task

Properties

data

Defined in data:49

The task result

task

Task

Defined in task:42

Task this event pertains to

type

String

Defined in type:56

The type of event

Events

onItemAboutToLoad

A task is about to start

onItemLoaded

Defined in onItemLoaded:36

An task is done. The data of this event is the task's result.