You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
471 B
JavaScript
15 lines
471 B
JavaScript
8 months ago
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
var full_jitter_1 = require("./full/full.jitter");
|
||
|
var no_jitter_1 = require("./no/no.jitter");
|
||
|
function JitterFactory(options) {
|
||
|
switch (options.jitter) {
|
||
|
case "full":
|
||
|
return full_jitter_1.fullJitter;
|
||
|
case "none":
|
||
|
default:
|
||
|
return no_jitter_1.noJitter;
|
||
|
}
|
||
|
}
|
||
|
exports.JitterFactory = JitterFactory;
|
||
|
//# sourceMappingURL=jitter.factory.js.map
|