IMQClientOptions interface
Options accepted by a generated IMQ client.
Signature:
export interface IMQClientOptions extends IMQOptions
Extends: IMQOptions
Remarks
Extends the core queue options, so all transport settings are accepted as well. Note that path, compile, write and timeout affect code generation only and have no effect on an already-generated client at runtime.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(Optional) Post-settle hook. See IMQAfterCall. | |||
|
(Optional) Pre-dispatch hook. See IMQBeforeCall; on a client it receives the request only. | |||
|
number |
(Optional) Per-call timeout in milliseconds. | ||
|
boolean |
Transpile the generated client and evaluate it in-process, returning its exports. | ||
|
string |
Directory the generated client is written to, resolved relative to the process working directory. | ||
|
boolean |
(Optional) Share a single reply queue and transport connection across every client in the process, instead of one per client. | ||
|
number |
Milliseconds the client generator waits for the target service to answer its description request before failing. | ||
|
boolean |
Persist the generated |
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.