0 follower

Interface Yiisoft\Queue\Middleware\Push\Implementation\DelayMiddlewareInterface

ExtendsYiisoft\Queue\Middleware\Push\MiddlewarePushInterface

A middleware interface for message delaying. It must be implemented in an adapter package or in a project.

Method Details

Hide inherited methods

withDelay() public abstract method

Set a new delay value into the middleware object

public abstract $this withDelay ( float $seconds )
$seconds float

Delay value in seconds

return $this

A new middleware object with changed delay value

                public function withDelay(float $seconds): self;