Io\Poll\Backend::isAvailableChecks whether the backend is available on the platform 説明
public bool Io\Poll\Backend::isAvailable()
Checks whether an Io\Poll\Context can be created with this backend on the current platform. パラメータこの関数にはパラメータはありません。 戻り値
Returns 例例1 Selecting a backend only if it is available 上の例の出力は以下となります。 bool(true) 参考
|