From 4a65376e50aa22d6fb2dd1a368770ca653e22464 Mon Sep 17 00:00:00 2001 From: Josh Mock Date: Thu, 17 Apr 2025 15:10:08 -0500 Subject: [PATCH] Improve deserialization docs (#2766) (cherry picked from commit fac687d4af4e56e9e17c78184897007728a522e8) --- docs/observability.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/observability.asciidoc b/docs/observability.asciidoc index 9436d457f..387e24717 100644 --- a/docs/observability.asciidoc +++ b/docs/observability.asciidoc @@ -97,7 +97,7 @@ client.diagnostic.on('request', (err, result) => { ---- |`deserialization` -a|Emitted before starting deserialization and decompression. If you want to measure this phase duration, you should measure the time elapsed between this event and `response`. _(This event might not be emitted in certain situations)_. +a|Emitted before starting deserialization and decompression. If you want to measure this phase duration, you should measure the time elapsed between this event and `response`. This event might not be emitted in certain situations, like: when `asStream` is set to true; a response is terminated early due to content length being too large; or a response is terminated early by an `AbortController`. [source,js] ---- client.diagnostic.on('deserialization', (err, result) => {