ListenerOptions
class ListenerOptions extends WorkerOptions
Properties
| string|null | $environment | The environment the worker should run in. |
Methods
__construct(string $name = 'default', string|null $environment = null, array|int $backoff = 0, float $memory = 128, int $timeout = 60, int $sleep = 3, int $maxTries = 1, bool $force = false, int $rest = 0)
Create a new listener options instance.
Details
at line 19
__construct(string $name = 'default', string|null $environment = null, array|int $backoff = 0, float $memory = 128, int $timeout = 60, int $sleep = 3, int $maxTries = 1, bool $force = false, int $rest = 0)
Create a new listener options instance.