currentMetadata() function
Returns the metadata of the in-flight IMQ request for the current async execution, if any. Returns undefined outside of a runWithRequest() scope. The transport carries metadata as an opaque bag; callers interpret its fields.
Signature:
export declare function currentMetadata(): IMQMetadata | undefined;
Returns:
IMQMetadata | undefined
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.