php8.5
Home/ Manual/ monitoring / serverheartbeatstartedevent/ MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::isAwaited

MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::isAwaited

PHP function Edit on GitHub ✎

(mongodb >=1.13.0)

Returns whether the heartbeat used a streaming protocol

Description

MongoDB\Driver\Monitoring\ServerHeartbeatStartedEvent::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 Parameters

Return Values

Returns false.

Errors/Exceptions

Source: reference/mongodb/mongodb/driver/monitoring/serverheartbeatstartedevent/isawaited.xml · from the official PHP manual (php/doc-en)