Skip to content

Home / node / Commands / interfaces / StreamPendingOptions @valkey/valkey-glide


@valkey/valkey-glide / Commands / StreamPendingOptions

Interface: StreamPendingOptions

Optional arguments for xpending.

Properties

consumer?

optional consumer: GlideString

Filter pending entries by consumer.


count

count: number

Limit the number of messages returned.


end

end: Boundary\<string>

Ending stream ID bound for range. Exclusive range is available since Valkey 6.2.0.


minIdleTime?

optional minIdleTime: number

Filter pending entries by their idle time - in milliseconds. Available since Valkey 6.2.0.


start

start: Boundary\<string>

Starting stream ID bound for range. Exclusive range is available since Valkey 6.2.0.