phpday 2027 - Call for Papers

parallel\Events::poll

(0.9.0)

parallel\Events::poll — Polling

Açıklama

public function parallel\Events::poll(): ?parallel\Events\Event

Shall poll for the next event

Dönen Değerler

Should there be no targets remaining, null shall be returned

Should this be a non-blocking loop, and blocking would occur, null shall be returned

Otherwise, the parallel\Events\Event returned describes the event.

Exceptions

Uyarı

Shall throw parallel\Events\Error\Timeout if timeout is used and reached.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top