The PHP Online Conference 2021

The parallel\Events\Event class


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.

Sinopsisul clasei

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 ;
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top