once (target, method, args*) Object
public
Schedule a function to run one time during the current RunLoop. This is equivalent to calling scheduleOnce
with the "actions" queue.
Parameters:
-
target
[Object]
- The target of the method to invoke.
-
method
Function|String
- The method to invoke. If you pass a string it will be resolved on the target at the time the method is invoked.
-
args*
[Object]
- Optional arguments to pass to the timeout.
Returns:
-
Object
- Timer information for use in cancelling, see `run.cancel`.
Please login to continue.