class Timebox (View source)
| bool | $earlyReturn | Indicates if the timebox is allowed to return early. |
| TCallReturnType | call(callable $callback, int $microseconds)
Invoke the given callback within the specified timebox minimum. | |
| $this | returnEarly()
Indicate that the timebox can return early. | |
| $this | dontReturnEarly()
Indicate that the timebox cannot return early. | |
| void | usleep(int $microseconds)
Sleep for the specified number of microseconds. |
Invoke the given callback within the specified timebox minimum.
Indicate that the timebox can return early.
Indicate that the timebox cannot return early.
Sleep for the specified number of microseconds.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Support/Timebox.html