abstract public delay ( integer $delay, callable $callback, mixed $data = null ) : string | ||
$delay | integer | The amount of time, in milliseconds, to delay the execution for. |
$callback | callable | |
$data | mixed | Arbitrary data given to the callback function as the `$data` parameter. |
return | string | An unique identifier that can be used to cancel, enable or disable the watcher. |