FunctionTask Class
A task to do some generic async function task
Constructor
Item Index
Properties
Methods
cancel
()
Bool
Cancel the task - for use in inherited classes
Returns:
Bool:
If the cancel was successful
destroy
()
Destroy this load task and don't use after this
done
(
-
result
-
manager
Called from the task manager when a Task is finished
Parameters:
-
result
TypeThe resulting data from the return
-
manager
TaskManagerThe reference to the manager
initialize
(
-
id
-
serviceCall
-
callback
-
args
Create the service task
start
(
-
callback
Start the load
Parameters:
-
callback
FunctionCallback to call when the load is done