mirror of
https://github.com/danog/amp.git
synced 2024-12-02 17:37:50 +01:00
Switched from timer/period to once/repeat
This commit is contained in:
parent
c540de2483
commit
70b71d11de
@ -27,12 +27,12 @@ interface EventLoopInterface
|
||||
/**
|
||||
* @return WatcherInterface
|
||||
*/
|
||||
public function timer(callable $callback, float $time, $data = null);
|
||||
public function once(callable $callback, float $time, $data = null);
|
||||
|
||||
/**
|
||||
* @return WatcherInterface
|
||||
*/
|
||||
public function periodic(callable $callback, float $interval, $data = null);
|
||||
public function repeat(callable $callback, float $interval, $data = null);
|
||||
|
||||
/**
|
||||
* @return WatcherInterface
|
||||
|
Loading…
Reference in New Issue
Block a user