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 

/ ctx-host / mqtt.context.d.ts

import { BaseRpcContext } from './base-rpc.context';
declare type MqttContextArgs = [string, Record<string, any>];
export declare class MqttContext extends BaseRpcContext<MqttContextArgs> {
    constructor(args: MqttContextArgs);
    /**
     * Returns the name of the topic.
     */
    getTopic(): string;
    /**
     * Returns the refernce to the original MQTT packet.
     */
    getPacket(): Record<string, any>;
}
export {};