Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getPortMongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent>
^MongoDB\Driver\Monitoring\ServerHeartbeatFailedEventLast updated: Mon, 26 Oct 2026

MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::isAwaited

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::isAwaited — Returns whether the heartbeat used a streaming protocol

Description

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.

Parameters

This function has no parameters.

Return Values

Returns false.

Errors/Exceptions


<MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getPortMongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent>
^MongoDB\Driver\Monitoring\ServerHeartbeatFailedEventLast updated: Mon, 26 Oct 2026