ImqueueInstrumentation.unpatch() method
Removes the tracing hooks previously attached by ImqueueInstrumentation.patch().
Signature:
unpatch(rpc: RpcModule): RpcModule;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
rpc |
module to remove the hooks from |
Returns:
the same object, hooks removed in place
Remarks
Deletes the three hook properties outright rather than restoring whatever was there before, so a beforeCall the application had set itself is lost too. In practice the defaults are empty, but do not use this to toggle tracing on a module you also hook yourself.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.