@gatling.io/core 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/package.json +3 -3
  2. package/target/assertions.d.ts +1 -1
  3. package/target/checks/multipleFind.d.ts +1 -1
  4. package/target/closedInjection.d.ts +94 -1
  5. package/target/closedInjection.js +21 -1
  6. package/target/feeders.d.ts +0 -11
  7. package/target/index.d.ts +17 -2
  8. package/target/index.js +16 -4
  9. package/target/openInjection.d.ts +140 -2
  10. package/target/openInjection.js +46 -1
  11. package/target/population.d.ts +3 -4
  12. package/target/population.js +2 -3
  13. package/target/protocol.d.ts +1 -2
  14. package/target/protocol.js +0 -1
  15. package/target/scenario.d.ts +12 -2
  16. package/target/scenario.js +7 -2
  17. package/target/session.d.ts +89 -0
  18. package/target/session.js +2 -1
  19. package/target/structure/asLongAs.d.ts +1 -2
  20. package/target/structure/asLongAs.js +1 -2
  21. package/target/structure/asLongAsDuring.d.ts +1 -2
  22. package/target/structure/asLongAsDuring.js +1 -2
  23. package/target/structure/choices.d.ts +2 -3
  24. package/target/structure/choices.js +0 -1
  25. package/target/structure/doIf.d.ts +2 -3
  26. package/target/structure/doIf.js +1 -2
  27. package/target/structure/doIfOrElse.d.ts +2 -3
  28. package/target/structure/doIfOrElse.js +1 -2
  29. package/target/structure/doSwitch.d.ts +1 -2
  30. package/target/structure/doSwitch.js +1 -2
  31. package/target/structure/doSwitchOrElse.d.ts +1 -2
  32. package/target/structure/doSwitchOrElse.js +1 -2
  33. package/target/structure/doWhile.d.ts +1 -2
  34. package/target/structure/doWhile.js +1 -2
  35. package/target/structure/doWhileDuring.d.ts +1 -2
  36. package/target/structure/doWhileDuring.js +1 -2
  37. package/target/structure/during.d.ts +1 -2
  38. package/target/structure/during.js +1 -2
  39. package/target/structure/errors.d.ts +1 -2
  40. package/target/structure/errors.js +1 -2
  41. package/target/structure/execs.d.ts +2 -3
  42. package/target/structure/execs.js +0 -1
  43. package/target/structure/feeds.d.ts +1 -2
  44. package/target/structure/feeds.js +1 -2
  45. package/target/structure/forEach.d.ts +1 -2
  46. package/target/structure/forEach.js +1 -2
  47. package/target/structure/forever.d.ts +0 -1
  48. package/target/structure/forever.js +0 -1
  49. package/target/structure/groups.d.ts +0 -1
  50. package/target/structure/groups.js +1 -2
  51. package/target/structure/index.d.ts +0 -1
  52. package/target/structure/index.js +0 -1
  53. package/target/structure/jvmStructureBuilder.d.ts +0 -1
  54. package/target/structure/jvmStructureBuilder.js +0 -1
  55. package/target/structure/paces.d.ts +1 -2
  56. package/target/structure/paces.js +1 -2
  57. package/target/structure/randomSwitch.d.ts +1 -2
  58. package/target/structure/randomSwitch.js +0 -1
  59. package/target/structure/randomSwitchOrElse.d.ts +1 -2
  60. package/target/structure/randomSwitchOrElse.js +0 -1
  61. package/target/structure/rendezVous.d.ts +0 -1
  62. package/target/structure/rendezVous.js +0 -1
  63. package/target/structure/repeat.d.ts +1 -2
  64. package/target/structure/repeat.js +1 -2
  65. package/target/structure/roundRobinSwitch.d.ts +1 -2
  66. package/target/structure/roundRobinSwitch.js +0 -1
  67. package/target/structure/uniformRandomSwitch.d.ts +1 -2
  68. package/target/structure/uniformRandomSwitch.js +0 -1
  69. package/target/throttling.d.ts +5 -3
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.uniformRandomSwitchImpl = void 0;
4
- require("@gatling.io/jvm-types");
5
4
  const wrapOn = (jvmOn, wrap) => ({
6
5
  on: (executable, ...executables) => wrap(jvmOn.on(executable._underlying, ...executables.map((e) => e._underlying)))
7
6
  });
@@ -1,6 +1,6 @@
1
- import JvmThrottleStep = io.gatling.javaapi.core.ThrottleStep;
2
- import { Wrapper } from "./common";
3
1
  import { Duration } from "./utils/duration";
2
+ import { Wrapper } from "./common";
3
+ import JvmThrottleStep = io.gatling.javaapi.core.ThrottleStep;
4
4
  /**
5
5
  * Bootstrap a new reachRps throttling profile, see {@link ThrottleStepReachIntermediate}
6
6
  *
@@ -24,7 +24,9 @@ export declare const holdFor: (duration: Duration) => ThrottleStep;
24
24
  export declare const jumpToRps: (target: number) => ThrottleStep;
25
25
  export interface ThrottleStep extends Wrapper<JvmThrottleStep> {
26
26
  }
27
- /** DSL step to define the duration of a throttling ramp. */
27
+ /**
28
+ * DSL step to define the duration of a throttling ramp.
29
+ */
28
30
  export interface ThrottleStepReachIntermediate {
29
31
  /**
30
32
  * Define the duration of a throttling ramp