1
0
mirror of https://github.com/danog/amp.git synced 2024-11-27 12:35:02 +01:00
amp/lib/Watcher.php
2015-04-03 11:56:16 -04:00

23 lines
460 B
PHP

<?php
namespace Amp;
class Watcher {
use Struct;
const IMMEDIATE = 0b00000001;
const TIMER = 0b00000010;
const TIMER_ONCE = 0b00000110;
const TIMER_REPEAT = 0b00001010;
const IO = 0b00010000;
const IO_READER = 0b00110000;
const IO_WRITER = 0b01010000;
const SIGNAL = 0b10000000;
public $id;
public $type;
public $callback;
public $callbackData;
public $isEnabled;
}