はじめに
The classes of the The handles to watch are registered with an Io\Poll\Context, which returns an Io\Poll\Watcher for each of them. Io\Poll\Context::wait then blocks until some of the watchers are triggered. Streams are wrapped in a StreamPollHandle to be watched. These classes are part of the PHP core and are always available. |