codigo0/backend/node_modules/ioredis/built/ScanStream.d.ts
planetazuzu 0201f16cf4
Some checks are pending
Auto Deploy to Server / deploy (push) Waiting to run
Update lab configuration 2026-03-22
2026-03-22 22:50:29 +01:00

24 lines
569 B
TypeScript
Executable file

/// <reference types="node" />
import { Readable, ReadableOptions } from "stream";
interface Options extends ReadableOptions {
key?: string;
match?: string;
type?: string;
command: string;
redis: any;
count?: string | number;
noValues?: boolean;
}
/**
* Convenient class to convert the process of scanning keys to a readable stream.
*/
export default class ScanStream extends Readable {
private opt;
private _redisCursor;
private _redisDrained;
constructor(opt: Options);
_read(): void;
close(): void;
}
export {};