resume-client-socket.io
Version:
Resume Client API for Socket.IO and Node.JS - Medical Speech to Summarized Text
20 lines (19 loc) • 666 B
TypeScript
import { BasePlugin, Span } from '@opencensus/core';
import * as redis from 'redis';
export declare type Redis = typeof redis;
export declare type IgnoreMatcher = string | RegExp;
export declare type RedisPluginConfig = {
detailedCommands: boolean;
};
export declare class RedisPlugin extends BasePlugin {
protected options: RedisPluginConfig;
constructor(moduleName: string);
protected applyPatch(): any;
applyUnpatch(): void;
private getPatchCreateStream;
private getPatchCreateClient;
private getPatchSendCommand;
patchEnd(span: Span, resultHandler: Function): Function;
}
declare const plugin: RedisPlugin;
export { plugin };