2014-11-26 22:27:30 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Amp;
|
2016-09-04 14:46:12 +02:00
|
|
|
|
2015-07-30 05:23:53 +02:00
|
|
|
/**
|
2016-09-04 14:46:12 +02:00
|
|
|
* This class exists to provide faux enum values in internal code.
|
|
|
|
*
|
|
|
|
* Warning: Applications should not rely upon these values as part of the public API.
|
|
|
|
*
|
|
|
|
* @internal
|
2015-07-30 05:23:53 +02:00
|
|
|
*/
|
|
|
|
final class Watcher {
|
2014-11-26 22:27:30 +01:00
|
|
|
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;
|
|
|
|
}
|