1
0
mirror of https://github.com/danog/amp.git synced 2024-12-14 18:37:30 +01:00
amp/lib/SignalReactor.php
2014-08-06 00:32:13 -04:00

16 lines
350 B
PHP

<?php
namespace Alert;
interface SignalReactor extends Reactor {
/**
* React to process control signals
*
* @param int $signo The signal number to watch for
* @param callable $onSignal
* @return int Returns a unique integer watcher ID
*/
public function onSignal($signo, callable $onSignal);
}