Interface: ConsumeConfig
October 16, 2025 ยท View on GitHub
Interface: ConsumeConfig
Defined in: index.d.ts:211
Configuration for Consume method.
Properties
expectTimeout
expectTimeout:
boolean
Defined in: index.d.ts:220
If true, return whatever messages have been collected when maxWait is passed.
limit
limit:
number
Defined in: index.d.ts:213
collect this many messages before returning.
nanoPrecision
nanoPrecision:
boolean
Defined in: index.d.ts:215
If true, returned message RFC3339 timestamps carry nanosecond precision.