Signal
in package
Process Signal Helper.
Tags
Table of Contents
Properties
- $exit : mixed
Methods
- isExit() : bool
- Checks exit signals Used mainly by [[yii\queue\Queue]] to check, whether job execution loop can be continued.
- setExitFlag() : mixed
- Sets exit flag to `true` Method can be used to simulate exit signal for methods that use [[isExit()]] to check whether execution loop can be continued.
Properties
$exit
private
static mixed
$exit
= false
Methods
isExit()
Checks exit signals Used mainly by [[yii\queue\Queue]] to check, whether job execution loop can be continued.
public
static isExit() : bool
Return values
boolsetExitFlag()
Sets exit flag to `true` Method can be used to simulate exit signal for methods that use [[isExit()]] to check whether execution loop can be continued.
public
static setExitFlag() : mixed