UNPKG

@gatling.io/core

Version:

Gatling JS is a JavaScript/TypeScript interface for the [Gatling load testing tool](https://gatling.io/).

14 lines (13 loc) 617 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.execImpl = exports.wrapActionBuilder = void 0; const session_1 = require("../session"); const wrapActionBuilder = (_underlying) => ({ _underlying }); exports.wrapActionBuilder = wrapActionBuilder; const execImpl = (jvmExecs, wrap) => (arg0, ...arg1) => wrap(typeof arg0 === "function" ? jvmExecs.exec((0, session_1.underlyingSessionTransform)(arg0)) // arg0: SessionTransform : jvmExecs.exec(arg0._underlying, ...arg1.map((e) => e._underlying)) // arg0: Executable, ...arg1: Executable[] ); exports.execImpl = execImpl;