UNPKG

@jrosadob/ms-custom

Version:

ms-custom

16 lines (15 loc) 568 B
import { ClientProxy } from '@nestjs/microservices'; import { LoggerService } from '@jrosadob/ms-logger'; import { Observable } from 'rxjs'; export declare abstract class CustomService { protected readonly logger: LoggerService; private oStack; protected client: ClientProxy; protected patternService: string; protected patternModule: string; constructor(logger: LoggerService); log(message: string): void; getContext(): any; send(method: any, payload: any): Observable<any>; emit(method: any, payload: any): Observable<any>; }