1 | import { Redis } from './Redis';
|
2 | export declare type Cmd = {
|
3 | title?: string;
|
4 | cmd: string[] | string;
|
5 | args?: string[];
|
6 | var?: any;
|
7 | };
|
8 | export declare class Live extends Redis {
|
9 | history?: boolean | 'clean';
|
10 | limit?: number;
|
11 | private _cmdCaches?;
|
12 | constructor();
|
13 | init(props: {
|
14 | uri: string;
|
15 | title?: string;
|
16 | description?: string;
|
17 | history?: boolean | 'clean';
|
18 | limit?: number;
|
19 | }): void;
|
20 | prepare(): Promise<void>;
|
21 | exec(): Promise<void>;
|
22 | }
|