MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::isAwaited

Returns whether the heartbeat used a streaming protocol

説明

final public bool MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::isAwaited()

Returns whether the heartbeat used a streaming protocol. The PHP driver does not use the streaming protocol for monitoring, so this method will always return false.

パラメータ

この関数にはパラメータはありません。

戻り値

Returns false.

エラー / 例外

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.