ServerRuntime
in package
AbstractYes
Table of Contents
Properties
- $app : CompiledApplication|null
- $failureBucket : array{count: int, since: float}
- $system : ActorSystem|null
- $transport : WorkerTransport|null
- Optional worker-pool transport (e.g. ThreadQueueTransport in the Swoole-threads variant). When present, bindWorkerStop calls stop() on it so the transport's receive loop exits cooperatively — without this, the coroutine blocks on its poll loop and the worker can't exit, triggering Swoole's "all coroutines asleep - deadlock" fatal.
Methods
- reset() : void
Properties
$app
public
CompiledApplication|null
$app
= null
$failureBucket
public
array{count: int, since: float}
$failureBucket
= ['count' => 0, 'since' => 0.0]
$system
public
ActorSystem|null
$system
= null
$transport
Optional worker-pool transport (e.g. ThreadQueueTransport in the Swoole-threads variant). When present, bindWorkerStop calls stop() on it so the transport's receive loop exits cooperatively — without this, the coroutine blocks on its poll loop and the worker can't exit, triggering Swoole's "all coroutines asleep - deadlock" fatal.
public
WorkerTransport|null
$transport
= null
Methods
reset()
public
reset() : void