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

Repository URL to install this package:

Details    
@nestjs/microservices / interfaces / serializer.interface.d.ts
Size: Mime:
import { OutgoingEvent, OutgoingRequest, OutgoingResponse } from './packet.interface';
export interface Serializer<TInput = any, TOutput = any> {
    serialize(value: TInput): TOutput;
}
export declare type ProducerSerializer = Serializer<OutgoingEvent | OutgoingRequest, any>;
export declare type ConsumerSerializer = Serializer<OutgoingResponse, any>;