Skip to content

Commit

Permalink
Add missing timeout property to type.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramhr committed May 8, 2024
1 parent ba024b4 commit e4014f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/modules/producer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ declare class ProducerError extends Error {
interface ProduceOptions extends amqp.Options.Publish {
routingKey?: string;
rpc?: boolean;
/** Timeout in milliseconds for producing RPC request and waiting for the response. Does not affect non-rpc requests. */
timeout?: number;
}

declare class Producer {
Expand Down

0 comments on commit e4014f4

Please sign in to comment.