Function task
Adds a function to run in the task queue when it is next run()
and returns
a promise that is fulfilled or rejected with the result.
callable |
$task |
Task function to run. |
|
PromiseInterface |
Adds a function to run in the task queue when it is next run()
and returns
a promise that is fulfilled or rejected with the result.
callable |
$task |
Task function to run. |
|
PromiseInterface |