@gatling.io/core
Version:
Gatling JS is a JavaScript/TypeScript interface for the [Gatling load testing tool](https://gatling.io/).
9 lines (8 loc) • 449 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.roundRobinSwitchImpl = void 0;
const wrapOn = (jvmOn, wrap) => ({
on: (executable, ...executables) => wrap(jvmOn.on(executable._underlying, ...executables.map((e) => e._underlying)))
});
const roundRobinSwitchImpl = (jvmRoundRobinSwitch, wrap) => () => wrapOn(jvmRoundRobinSwitch.roundRobinSwitch(), wrap);
exports.roundRobinSwitchImpl = roundRobinSwitchImpl;