UNPKG

@nestjs/websockets

Version:

WebSockets for NestJS: gateways with message handlers, guards, pipes and interceptors, on Socket.IO or ws.

7 lines (6 loc) • 164 B
/** * Subscribes to messages that fulfils chosen pattern. * * @publicApi */ export declare const SubscribeMessage: <T = string>(message: T) => MethodDecorator;