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 

/ context / request-context-host.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class RequestContextHost {
    constructor(pattern, data, context) {
        this.pattern = pattern;
        this.data = data;
        this.context = context;
    }
    static create(pattern, data, context) {
        const host = new RequestContextHost(pattern, data, context);
        return host;
    }
    getData() {
        return this.data;
    }
    getPattern() {
        return this.pattern;
    }
    getContext() {
        return this.context;
    }
}
exports.RequestContextHost = RequestContextHost;