Php/docs/class.parallel-events-event

提供:Dev Guides
< Php
2020年12月14日 (月) 11:31時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

(0.9.0)

Event Objects

When an Event is returned, Event::$object shall be removed from the loop that returned it, should the event be a write event the Input for Event::$source shall also be removed.


クラス概要


final 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

}