1
0
mirror of https://github.com/danog/amp.git synced 2025-01-22 05:11:42 +01:00

Update EventLoopInterface.php

This commit is contained in:
Andrew Carter 2016-02-17 15:47:18 +00:00
parent 4da85097d5
commit c540de2483

View File

@ -20,37 +20,37 @@ interface EventLoopInterface
public function stop();
/**
* @return Watcher
* @return WatcherInterface
*/
public function queue(callable $callback, ...$args);
/**
* @return Watcher
* @return WatcherInterface
*/
public function timer(callable $callback, float $time, $data = null);
/**
* @return Watcher
* @return WatcherInterface
*/
public function periodic(callable $callback, float $interval, $data = null);
/**
* @return Watcher
* @return WatcherInterface
*/
public function onReadable($stream, callable $callback, $data = null);
/**
* @return Watcher
* @return WatcherInterface
*/
public function onWritable($stream, callable $callback, $data = null);
/**
* @return Watcher
* @return WatcherInterface
*/
public function onSignal(int $signo, callable $callback, $data = null);
/**
* @return Watcher
* @return WatcherInterface
*/
public function onError(callable $callback);
}