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 / tcp.context.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const base_rpc_context_1 = require("./base-rpc.context");
class TcpContext extends base_rpc_context_1.BaseRpcContext {
    constructor(args) {
        super(args);
    }
    /**
     * Returns the underlying JSON socket.
     */
    getSocketRef() {
        return this.args[0];
    }
    /**
     * Returns the name of the pattern.
     */
    getPattern() {
        return this.args[1];
    }
}
exports.TcpContext = TcpContext;