PHPのお勉強!

PHP TOP

The parallel\Events\Event\Type class

(0.9.0)

クラス概要

final class parallel\Events\Event\Type {
/* Event::$object was read into Event::$value */
const Read;
/* Input for Event::$source written to Event::$object */
const Write;
/* Event::$object (Channel) was closed */
const Close;
/* Event::$object (Future) was cancelled */
const Cancel;
/* Runtime executing Event::$object (Future) was killed */
const Kill;
/* Event::$object (Future) raised error */
const Error;
}
add a note

User Contributed Notes 1 note

up
1
abolfazl dot ziaratban at gmail dot com
3 years ago
array(6) {
["Read"]=>
int(1)
["Write"]=>
int(2)
["Close"]=>
int(3)
["Cancel"]=>
int(5)
["Kill"]=>
int(6)
["Error"]=>
int(4)
}
To Top