ReceiveTimeout
in package
implements
Signal
Read onlyYes
FinalYes
Lifecycle signal delivered to an actor when no user message has arrived within the duration configured via ActorContext::setReceiveTimeout().
Handle via behavior->onSignal(...). Typical use: return Behavior::stopped() to passivate. The actor's PostStop handler runs as normal — release any resources there.
Tags
Table of Contents
Interfaces
- Signal
- Marker interface for actor lifecycle signals.
Properties
Methods
- __construct() : mixed
Properties
$configured
public
Duration
$configured
Methods
__construct()
public
__construct(Duration $configured) : mixed
Parameters
- $configured : Duration
-
the idle timeout that triggered this signal