ImqueueInstrumentation.patch() method

Attaches the tracing hooks to a module's default client/service options.

Signature:

patch(rpc: RpcModule): RpcModule;

Parameters

Parameter

Type

Description

rpc

RpcModule

module whose default option singletons should be hooked

Returns:

RpcModule

the same object, hooks applied in place

Remarks

Called by ImqueueInstrumentation.enable() with the resolved module. It is public so a test, or an app whose rpc copy this cannot resolve, can pass the module in explicitly.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.