Interfaces, Classes, Traits and Enums
- TaskQueueInterface
Table of Contents
-
$enableShutdown
: bool
-
$queue
: array<string|int, mixed>
-
__construct()
: mixed
-
add()
: mixed
-
disableShutdown()
: mixed
-
isEmpty()
: bool
-
run()
: mixed
$enableShutdown
private
bool
$enableShutdown
= true
$queue
private
array<string|int, mixed>
$queue
= []
__construct()
public
__construct([mixed $withShutdown = true ]) : mixed
Parameters
-
$withShutdown
: mixed
= true
-
Return values
mixed
—
add()
public
add(callable $task) : mixed
Parameters
-
$task
: callable
-
Return values
mixed
—
disableShutdown()
public
disableShutdown() : mixed
Return values
mixed
—
isEmpty()
public
isEmpty() : bool
Return values
bool
—
run()
public
run() : mixed
Return values
mixed
—