MONGOC_APM_SE...EDED_GET_REPLY(3)
β¨ MONGOC_APM_SE...EDED_GET_REPLY β¨
okay bestie, welcome to the manual page for mongoc_apm_server_heartbeat_succeeded_get_reply, coming at you straight from libmongoc π
yes the title is a whole mouthful, we're not gonna pretend otherwise, but it's a real one and it slays.
πΈ SYNOPSIS πΈ
const bson_t *
mongoc_apm_server_heartbeat_succeeded_get_reply (
const mongoc_apm_server_heartbeat_succeeded_t *event);
π¦ DESCRIPTION π¦
so this function literally just hands you back this event's reply π that's it, that's the vibe.
BUT β and this is the part where you need to pay attention, no cap β the data is only valid in the scope of the callback that receives this event. like, it's a fleeting moment, main character energy only inside that callback π. if you're gonna access it after the callback returns, you gotta copy it first. do not be out here holding onto a pointer past its moment of glory, fr fr. π
π PARAMETERS π
eventβ amongoc_apm_server_heartbeat_succeeded_t. yes that's the whole type name, yes you have to type it out, i don't make the rules. π«Ά
π RETURNS π
a bson_t that should not be modified or freed β οΈ like, look at it, admire it, read it β but do not touch it and do NOT free it. it's not yours, it's borrowed, respect the boundary β¨
SEE ALSO: Introduction to Application Performance Monitoring β go read it, i promise it's giving useful π
β AUTHOR β
MongoDB, Inc β icons only π
π COPYRIGHT π
2009-present, MongoDB, Inc.
and that's the whole page bestie, you ate that reading session πβ¨ this has been libmongoc 2.5.6, dated Oct 09, 2026 β go forth and copy your bsons responsibly π§π
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms