« parallel\Events\Input::remove
parallel\Events\Event\Type »

The parallel\Events\Event class

(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 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;
}
関連キーワード:
Event   parallel   Events   event   Input   Type   returned   removed   remove   Objects   loop   write   also   概要   final   constants   type   target   Future   Channel   Read   events
関連する関数・ページ:
class.parallel-events-event-type   parallel-events.poll   class.parallel-events   parallel-events-input.remove   parallel-events.setinput   class.parallel-events-input