19 lines
707 B
TypeScript
19 lines
707 B
TypeScript
import { CommandParser } from '../client/parser';
|
|
import { RedisArgument, BlobStringReply } from '../RESP/types';
|
|
export interface FunctionLoadOptions {
|
|
REPLACE?: boolean;
|
|
}
|
|
declare const _default: {
|
|
readonly NOT_KEYED_COMMAND: true;
|
|
readonly IS_READ_ONLY: false;
|
|
/**
|
|
* Loads a library to Redis
|
|
* @param parser - The Redis command parser
|
|
* @param code - Library code to load
|
|
* @param options - Function load options
|
|
*/
|
|
readonly parseCommand: (this: void, parser: CommandParser, code: RedisArgument, options?: FunctionLoadOptions) => void;
|
|
readonly transformReply: () => BlobStringReply;
|
|
};
|
|
export default _default;
|
|
//# sourceMappingURL=FUNCTION_LOAD.d.ts.map
|