UNPKG

385 BTypeScriptView Raw
1import { WsExceptionsHandler } from '../exceptions/ws-exceptions-handler';
2export declare class WsProxy {
3 create(targetCallback: (...args: unknown[]) => Promise<any>, exceptionsHandler: WsExceptionsHandler): (...args: unknown[]) => Promise<any>;
4 handleError<T>(exceptionsHandler: WsExceptionsHandler, args: unknown[], error: T): void;
5 isObservable(result: any): boolean;
6}