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:
-
resultTypeThe resulting data from the return
-
managerTaskManagerThe reference to the manager
initialize
(
-
id -
serviceCall -
callback -
args
Create the service task
start
(
-
callback
Start the load
Parameters:
-
callbackFunctionCallback to call when the load is done
