Home/
Manual/
monitoring / serverheartbeatsucceededevent/ MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::isAwaited
MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::isAwaited
PHP function
Edit on GitHub ✎
(mongodb >=1.13.0)
Returns whether the heartbeat used a streaming protocol
Description
MongoDB\Driver\Monitoring\ServerHeartbeatSucceededEvent::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.