php8.5
Home/ Manual/ reference / parallel/ The parallel\Events class

The parallel\Events class

The Event loop monitors the state of sets of futures and or channels (targets) in order to perform read (parallel\Future::value, parallel\Channel::recv) and write (parallel\Channel::send) operations as the targets become available and the operations may be performed without blocking the event loop.

The Event Loop

The Event loop monitors the state of sets of futures and or channels (targets) in order to perform read (parallel\Future::value, parallel\Channel::recv) and write (parallel\Channel::send) operations as the targets become available and the operations may be performed without blocking the event loop.

Class synopsis

class parallel\Events { }

Setblocking Settimeout Setinput Addchannel Addfuture Remove Poll

Source: reference/parallel/parallel.events.xml · from the official PHP manual (php/doc-en)