略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: parallel\Events\Event\Type

2024-11-12

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 noteadd a note

User Contributed Notes 1 note

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

官方地址:https://www.php.net/manual/en/class.parallel-events-event-type.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3