RequesterOptions interface
Signature:
export interface RequesterOptions
Properties
Property | Type | Description |
---|---|---|
priority? | Priority | (Optional) Sets the priority of the message. Higher priority messages will be routed to consumers before lower priority messages, regardless of queue position.Can be a numeric value from 1 to 10. |
timeout? | string | number | (Optional) Set the length of time before the request times out and returns an error.Allows time strings as per the ms package, such as "30 seconds" or "50ms" .A timeout can be entirely disabled by setting this option to 0 . This is not recommened.The default (and recommendation) is 30 seconds. |