19 lines
726 B
TypeScript
19 lines
726 B
TypeScript
import { CommandParser } from '../client/parser';
|
|
import { RedisArgument, NumberReply } from '../RESP/types';
|
|
declare const _default: {
|
|
readonly NOT_KEYED_COMMAND: true;
|
|
readonly IS_READ_ONLY: true;
|
|
readonly IS_FORWARD_COMMAND: true;
|
|
/**
|
|
* Constructs the PUBLISH command
|
|
*
|
|
* @param parser - The command parser
|
|
* @param channel - The channel to publish to
|
|
* @param message - The message to publish
|
|
* @see https://redis.io/commands/publish/
|
|
*/
|
|
readonly parseCommand: (this: void, parser: CommandParser, channel: RedisArgument, message: RedisArgument) => void;
|
|
readonly transformReply: () => NumberReply;
|
|
};
|
|
export default _default;
|
|
//# sourceMappingURL=PUBLISH.d.ts.map
|