class DebounceFor (View source)

Methods

__construct(int $debounceFor, int|null $maxWait = null)

Create a new attribute instance.

Details

__construct(int $debounceFor, int|null $maxWait = null)

Create a new attribute instance.

Parameters

int $debounceFor

Seconds to debounce the job for.

int|null $maxWait

The maximum number of seconds the job can be deferred before it is forced to run.