Io\Poll\Backend::isAvailableChecks whether the backend is available on the platform Description
public bool Io\Poll\Backend::isAvailable()
Checks whether an Io\Poll\Context can be created with this backend on the current platform. ParametersThis function has no parameters. Return Values
Returns ExamplesExample #1 Selecting a backend only if it is available The above example will output: bool(true) See Also
|