phasync\DeadmanSwitch::disarm() public

Documentation

Disarm the switch, preventing the callback from being executed.

Use this when the resource was closed normally.

Signature

public function disarm(): void

Returns

void

Source

src/DeadmanSwitch.php:69-73