(PHP 8 >= 8.6.0)
The Io\Poll\Backend enum lists the polling mechanisms an Io\Poll\Context can use. Which of them are available depends on the operating system.
In addition to its cases, the enum provides the Io\Poll\Backend::getAvailableBackends(), Io\Poll\Backend::isAvailable() and Io\Poll\Backend::supportsEdgeTriggering() methods.
WSAPoll on Windows and poll
elsewhere.
This is the default.
poll system call, available on all platforms
except Windows.
epoll interface of Linux.
kqueue interface of macOS and the BSD systems.
WSAPoll function of Windows.