支付回调
This commit is contained in:
@@ -70,7 +70,10 @@ declare module 'redis' {
|
||||
smembersAsync(key: string): Promise<string[]>;
|
||||
// 增加集合成员
|
||||
saddAsync(key: string, values: string[]): Promise<string>;
|
||||
|
||||
// 将信息发送到指定的频道
|
||||
publishAsync(channel: string, message: string): Promise<number>;
|
||||
// 订阅给定的一个或多个频道的信息
|
||||
subscribeAsync(...channels: string[]): Promise<number>;
|
||||
}
|
||||
export interface Multi extends Commands<Multi> {
|
||||
execAsync(...args: any[]): Promise<any>;
|
||||
|
||||
Reference in New Issue
Block a user