phasync\DeadmanSwitch::trigger() public

Documentation

Manually trigger the switch, executing the callback.

Can only be triggered once.

Signature

public function trigger(): void

Returns

void

Source

src/DeadmanSwitch.php:53-63