UNPKG

proteus-js-client

Version:

Proteus JavaScript Client

24 lines (19 loc) 636 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var DefaultSampler = exports.DefaultSampler = function () { function DefaultSampler() { _classCallCheck(this, DefaultSampler); } /** * @param {Span} span Span to be determined. * @return {Boolean} whether current span is a sample. */ DefaultSampler.prototype.isSampled = function isSampled(span) { // eslint-disable-line return true; }; return DefaultSampler; }();