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 / deserializer.interface.d.ts

import { IncomingEvent, IncomingRequest, IncomingResponse } from './packet.interface';
export interface Deserializer<TInput = any, TOutput = any> {
    deserialize(value: TInput, options?: Record<string, any>): TOutput;
}
export declare type ProducerDeserializer = Deserializer<any, IncomingResponse>;
export declare type ConsumerDeserializer = Deserializer<any, IncomingRequest | IncomingEvent>;