Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

sentry / @nestjs/microservices   js

Repository URL to install this package:

Version: 7.0.10 

/ interfaces / packet.interface.d.ts

export interface PacketId {
    id: string;
}
export interface ReadPacket<T = any> {
    pattern: any;
    data: T;
}
export interface WritePacket<T = any> {
    err?: any;
    response?: T;
    isDisposed?: boolean;
    status?: string;
}
export declare type OutgoingRequest = ReadPacket & PacketId;
export declare type IncomingRequest = ReadPacket & PacketId;
export declare type OutgoingEvent = ReadPacket;
export declare type IncomingEvent = ReadPacket;
export declare type IncomingResponse = WritePacket & PacketId;
export declare type OutgoingResponse = WritePacket & PacketId;