Skip to content

Interface: ReadStreamOptions ​

Defined in: glide-mq/src/types.ts:644

Options for readStream() - reading entries from a job's streaming channel.

Properties ​

block? ​

ts
optional block?: number;

Defined in: glide-mq/src/types.ts:649

When set and > 0, use XREAD with BLOCK for long-polling (milliseconds). A value of 0 means non-blocking (equivalent to omitting).


count? ​

ts
optional count?: number;

Defined in: glide-mq/src/types.ts:646


lastId? ​

ts
optional lastId?: string;

Defined in: glide-mq/src/types.ts:645

Released under the Apache-2.0 License.