HumHub Documentation (unofficial)

Signal
in package

Process Signal Helper.

Tags
deprecated

since 2.0.2 and will be removed in 3.0. Use SignalLoop instead.

author

Roman Zhuravlev zhuravljov@gmail.com

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
bool

setExitFlag()

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

        
On this page

Search results