123
This commit is contained in:
28
node_modules/@redis/client/dist/lib/commands/FUNCTION_STATS.d.ts
generated
vendored
Normal file
28
node_modules/@redis/client/dist/lib/commands/FUNCTION_STATS.d.ts
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
import { RedisCommandArguments } from '.';
|
||||
export declare function transformArguments(): RedisCommandArguments;
|
||||
type FunctionStatsRawReply = [
|
||||
'running_script',
|
||||
null | [
|
||||
'name',
|
||||
string,
|
||||
'command',
|
||||
string,
|
||||
'duration_ms',
|
||||
number
|
||||
],
|
||||
'engines',
|
||||
Array<any>
|
||||
];
|
||||
interface FunctionStatsReply {
|
||||
runningScript: null | {
|
||||
name: string;
|
||||
command: string;
|
||||
durationMs: number;
|
||||
};
|
||||
engines: Record<string, {
|
||||
librariesCount: number;
|
||||
functionsCount: number;
|
||||
}>;
|
||||
}
|
||||
export declare function transformReply(reply: FunctionStatsRawReply): FunctionStatsReply;
|
||||
export {};
|
||||
Reference in New Issue
Block a user