method
RedisClient.xautoclaim
group: string,
consumer: string,
minIdleTime: number,
start: string,
...options: string | number[]
): Promise<any>;
Transfer ownership of pending messages idle longer than the threshold to a consumer
@param key
The stream key
@param group
The consumer group name
@param consumer
The consumer that will claim the messages
@param minIdleTime
Claim only messages idle for at least this many milliseconds
@param start
The starting ID for the scan
@param options
Optional COUNT and JUSTID modifiers
@returns
Promise that resolves with [nextCursor, entries, deletedIds]
Referenced types
type KeyLike = string | ArrayBufferView | Blob