parallel parallel\Events\Event 클래스
(0.9.0)
이벤트 개체
이벤트가 반환될 때 Event::$object는 이벤트를 반환한 루프에서 제거되어야 하며, 이벤트가 쓰기 이벤트인 경우 Event::$source에 대한 Input도 제거되어야 합니다.
클래스 개요
final class parallel\Events\Event {
/* Shall be one of Event\Type constants */
public int $type;
/* Shall be the source of the event (target name) */
public string $source;
/* Shall be either Future or Channel */
public object $object;
/* Shall be set for Read/Error events */
public $value;
}