Method | Description | |
---|---|---|
SimpleTask ( [ name, [ work, [ cancellationCallback = null ) : System |
Creates a new simple task.
|
Method | Description | |
---|---|---|
Execute ( ) : void |
public SimpleTask ( [ name, [ work, [ cancellationCallback = null ) : System | ||
name | [ | A name describing the task in human-readable form. |
work | [ | The code to be executed by the task. May throw |
cancellationCallback | [ | A callback to be called when cancellation is requested via a |
return | System |