Skip to content

Type Alias: ResultOptions ​

ResultOptions = object

The options of Queue.result.

Properties ​

group? ​

optional group?: string

The group whose result is read (required when several groups process the queue).


timeout? ​

optional timeout?: Duration

How long the result is waited for.

Default ​

the requestTimeout of the queue (30 seconds)


wait? ​

optional wait?: boolean

Wait until the message is processed (else read what is kept now).

Default ​

ts
true

Released under the MIT License.