Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<parallel\Events::removeparallel\Events\Input>
^parallel\EventsLast updated: Mon, 26 Oct 2026

parallel\Events::poll

(0.9.0)

parallel\Events::poll — Polling

Description

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

Shall poll for the next event

Return Values

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

Warning

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


<parallel\Events::removeparallel\Events\Input>
^parallel\EventsLast updated: Mon, 26 Oct 2026