Skip to content

getResponseDecorations

getResponseDecorations(result): WarmHubDecorations | undefined

Read the decoration sidecar off a response, typed. Returns undefined when the response carries none: the client was constructed without decorateResponses, the result held no durable tokens, or the payload was not a plain object. Top-level result shapes are procedure-controlled, so a present decorations object is always the link’s sidecar.

unknown

WarmHubDecorations | undefined