parallel\Events::poll

Polling

説明

public parallel\Events\Eventnull parallel\Events::poll()

Shall poll for the next event

戻り値

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

警告

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