mirror of
https://github.com/danog/amp.git
synced 2024-12-11 17:09:40 +01:00
22 lines
523 B
PHP
22 lines
523 B
PHP
<?php
|
|
|
|
namespace Amp;
|
|
|
|
/**
|
|
* 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
|
|
*/
|
|
final class Watcher {
|
|
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;
|
|
}
|