mirror of
https://github.com/danog/amp.git
synced 2024-12-12 09:29:45 +01:00
Create WatcherInterface.php
This commit is contained in:
parent
09a4083fe1
commit
427386ad73
21
src/WatcherInterface.php
Normal file
21
src/WatcherInterface.php
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Interop\Async\EventLoop;
|
||||||
|
|
||||||
|
interface WatcherInterface
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function enable();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function disable();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function cancel();
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user