ImqPlugin class
The imq integration, grouping both halves of an RPC call under a single name so that they share configuration and can be switched independently.
Signature:
export declare class ImqPlugin extends CompositePlugin
Extends: CompositePlugin
Remarks
This is what tracer.use('imq', ...) addresses. Being a composite, an option given without a half applies to both, while client and server target one each:
tracer.use('imq', { client: false }); // trace incoming calls only
tracer.use('imq', { service: 'my-api' }); // applies to both halves
Registered with the tracer automatically when this package is imported; there is no reason to instantiate it yourself.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
string |
Integration name, | |
|
|
{ client: typeof ImqClientPlugin; server: typeof ImqServerPlugin; } |
The two halves this integration is composed of, which is what makes |
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.