MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::isAwaited
PHP Manual
PHP Manual»MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent»MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::isAwaited

MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::isAwaited

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::isAwaitedReturns whether the heartbeat used a streaming protocol

Açıklama

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

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

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

Returns false.

Hatalar/İstisnalar

To Top