brass-runtime 1.19.0 → 1.19.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 (78) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/agent/cli/main.cjs +30 -30
  3. package/dist/agent/cli/main.js +2 -2
  4. package/dist/agent/cli/main.mjs +2 -2
  5. package/dist/agent/index.cjs +3 -3
  6. package/dist/agent/index.d.ts +1 -1
  7. package/dist/agent/index.js +2 -2
  8. package/dist/agent/index.mjs +2 -2
  9. package/dist/{chunk-GOEO763K.cjs → chunk-2XXQ3NVT.cjs} +19 -19
  10. package/dist/{chunk-5RVHSBJ6.mjs → chunk-5X3MPWTR.mjs} +275 -39
  11. package/dist/{chunk-2R3RVNS2.js → chunk-6AGAZD32.js} +6 -6
  12. package/dist/{chunk-BLXBZ6RE.mjs → chunk-6BNZS2A4.mjs} +1 -1
  13. package/dist/{chunk-EXBGIC66.js → chunk-6W5DC3TX.js} +1 -1
  14. package/dist/{chunk-MUMBUXU6.mjs → chunk-BFNBU47C.mjs} +22 -6
  15. package/dist/{chunk-JWFOWPMB.js → chunk-BHX4MD35.js} +5 -5
  16. package/dist/{chunk-OO7BGCC3.cjs → chunk-CXWJII2N.cjs} +13 -13
  17. package/dist/{chunk-Z2YIDHRI.cjs → chunk-ENMKEX3N.cjs} +5 -5
  18. package/dist/{chunk-RZGB3DXR.js → chunk-HKLZJ5UK.js} +275 -39
  19. package/dist/{chunk-HW2CLRJ3.mjs → chunk-IA6BDGXW.mjs} +6 -6
  20. package/dist/{chunk-MA74OYCI.cjs → chunk-IHY2EJTT.cjs} +6 -6
  21. package/dist/{chunk-AQQQFNYD.mjs → chunk-IWAQQDYE.mjs} +1 -1
  22. package/dist/{chunk-C3CWI42G.js → chunk-J4F5KC3U.js} +1 -1
  23. package/dist/{chunk-ZDZNV6NA.cjs → chunk-JKHBEWQA.cjs} +23 -7
  24. package/dist/{chunk-5UBJT4RW.mjs → chunk-JM7WMSRR.mjs} +3 -3
  25. package/dist/{chunk-YQWZ7FZX.cjs → chunk-JQCQWO47.cjs} +5 -5
  26. package/dist/{chunk-B2VXVNIS.js → chunk-LI7WUVJN.js} +1 -1
  27. package/dist/{chunk-FC5N5QHJ.js → chunk-NWONRWBT.js} +2 -2
  28. package/dist/{chunk-H4ZRUQZL.js → chunk-PG6CHG34.js} +3 -3
  29. package/dist/{chunk-NQW3YUFN.cjs → chunk-QAHW7S3Q.cjs} +18 -18
  30. package/dist/{chunk-GXOIUBKE.js → chunk-RZQK32C6.js} +2 -2
  31. package/dist/{chunk-EKLEDIVJ.mjs → chunk-S6KSHYAT.mjs} +2 -2
  32. package/dist/{chunk-URVS2OE2.mjs → chunk-SCHM2MDA.mjs} +2 -2
  33. package/dist/{chunk-A6EG5WRL.js → chunk-TAPB4NN5.js} +2 -2
  34. package/dist/{chunk-APQBU7TM.js → chunk-TN2P7RNK.js} +22 -6
  35. package/dist/{chunk-QBVS3UYN.cjs → chunk-TWEHIAUE.cjs} +54 -54
  36. package/dist/{chunk-7FZUTJM3.cjs → chunk-UOKXJQAI.cjs} +380 -144
  37. package/dist/{chunk-FYWWU3Z7.cjs → chunk-VXNWVAIG.cjs} +2 -2
  38. package/dist/{chunk-KAPZHDO4.mjs → chunk-WA65XP2P.mjs} +1 -1
  39. package/dist/{chunk-4PKBNG2H.js → chunk-XO3TDAJE.js} +1 -1
  40. package/dist/{chunk-KDXNWGPB.mjs → chunk-XRRC5BBM.mjs} +1 -1
  41. package/dist/{chunk-DV644N7P.cjs → chunk-ZJC3JZIE.cjs} +16 -16
  42. package/dist/{chunk-3NKXUX4T.mjs → chunk-ZXLETUGQ.mjs} +2 -2
  43. package/dist/{chunk-OX6MF7SZ.mjs → chunk-ZXXOXB3T.mjs} +5 -5
  44. package/dist/{chunk-6STX4PS3.cjs → chunk-ZZ2CMYJL.cjs} +13 -13
  45. package/dist/core/index.cjs +9 -7
  46. package/dist/core/index.d.ts +6 -6
  47. package/dist/core/index.js +8 -6
  48. package/dist/core/index.mjs +8 -6
  49. package/dist/{defaultClient-Cid0JoUR.d.ts → defaultClient-hyVSNzSJ.d.ts} +3 -3
  50. package/dist/{effect-DnGUuhw6.d.ts → effect-DbEMiMvv.d.ts} +8 -1
  51. package/dist/http/index.cjs +48 -48
  52. package/dist/http/index.d.ts +8 -8
  53. package/dist/http/index.js +6 -6
  54. package/dist/http/index.mjs +6 -6
  55. package/dist/http/testing.cjs +8 -8
  56. package/dist/http/testing.d.ts +4 -4
  57. package/dist/http/testing.js +4 -4
  58. package/dist/http/testing.mjs +4 -4
  59. package/dist/index.cjs +87 -85
  60. package/dist/index.d.ts +7 -7
  61. package/dist/index.js +9 -7
  62. package/dist/index.mjs +9 -7
  63. package/dist/{layer-D2LFcBVx.d.ts → layer-CsNGeVee.d.ts} +1 -1
  64. package/dist/observability/index.cjs +9 -9
  65. package/dist/observability/index.d.ts +7 -7
  66. package/dist/observability/index.js +8 -8
  67. package/dist/observability/index.mjs +8 -8
  68. package/dist/perf/cli.cjs +25 -25
  69. package/dist/perf/cli.js +10 -10
  70. package/dist/perf/cli.mjs +10 -10
  71. package/dist/perf/index.cjs +12 -12
  72. package/dist/perf/index.js +10 -10
  73. package/dist/perf/index.mjs +10 -10
  74. package/dist/{server-Bf1zNYZk.d.ts → server-BKKuzAW9.d.ts} +4 -4
  75. package/dist/{stream-I7bkvF7a.d.ts → stream-B8c_UKZq.d.ts} +1 -1
  76. package/dist/{tracer-DF83nLn6.d.ts → tracer-CS3yOXZx.d.ts} +2 -2
  77. package/dist/{tracing-CWV4gT0u.d.ts → tracing-DIAUf2x8.d.ts} +1 -1
  78. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2;
2
2
 
3
- var _chunkZDZNV6NAcjs = require('./chunk-ZDZNV6NA.cjs');
3
+ var _chunkJKHBEWQAcjs = require('./chunk-JKHBEWQA.cjs');
4
4
 
5
5
 
6
6
  var _chunkMVGUEJ5Zcjs = require('./chunk-MVGUEJ5Z.cjs');
@@ -164,7 +164,7 @@ var EventBus = (_class = class {
164
164
  subscribe(handler, perSubscriberCapacity = 2048) {
165
165
  this.subs.push({
166
166
  handler,
167
- q: _chunkZDZNV6NAcjs.makeBoundedRingBuffer.call(void 0, perSubscriberCapacity, perSubscriberCapacity, this.options),
167
+ q: _chunkJKHBEWQAcjs.makeBoundedRingBuffer.call(void 0, perSubscriberCapacity, perSubscriberCapacity, this.options),
168
168
  dropped: 0
169
169
  });
170
170
  return () => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  makeBoundedRingBuffer
3
- } from "./chunk-MUMBUXU6.mjs";
3
+ } from "./chunk-BFNBU47C.mjs";
4
4
  import {
5
5
  Cause
6
6
  } from "./chunk-36I3M4UC.mjs";
@@ -6,7 +6,7 @@ import {
6
6
  getCurrentFiber,
7
7
  unsafeGetCurrentRuntime,
8
8
  unsafeRunFoldWithEnv
9
- } from "./chunk-APQBU7TM.js";
9
+ } from "./chunk-TN2P7RNK.js";
10
10
  import {
11
11
  Cause,
12
12
  Exit,
@@ -3,7 +3,7 @@ import {
3
3
  liveClock,
4
4
  runtimeClockFromEnv,
5
5
  unsafeGetCurrentRuntime
6
- } from "./chunk-MUMBUXU6.mjs";
6
+ } from "./chunk-BFNBU47C.mjs";
7
7
  import {
8
8
  Async,
9
9
  Cause,
@@ -2,14 +2,14 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkFYWWU3Z7cjs = require('./chunk-FYWWU3Z7.cjs');
5
+ var _chunkVXNWVAIGcjs = require('./chunk-VXNWVAIG.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkZDZNV6NAcjs = require('./chunk-ZDZNV6NA.cjs');
12
+ var _chunkJKHBEWQAcjs = require('./chunk-JKHBEWQA.cjs');
13
13
 
14
14
 
15
15
 
@@ -796,10 +796,10 @@ function makeOtlpHttpLogExporter(source, options) {
796
796
  }
797
797
  function logEffect(level, message, fields = {}) {
798
798
  return _chunkMVGUEJ5Zcjs.asyncSync.call(void 0, () => {
799
- const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
799
+ const fiber = _chunkJKHBEWQAcjs.getCurrentFiber.call(void 0, );
800
800
  const runtime = _optionalChain([fiber, 'optionalAccess', _34 => _34.runtime]);
801
801
  if (!runtime) return;
802
- const inherited = _optionalChain([fiber, 'access', _35 => _35.fiberContext, 'optionalAccess', _36 => _36.log]) ? _chunkZDZNV6NAcjs.ctxToObject.call(void 0, fiber.fiberContext.log) : {};
802
+ const inherited = _optionalChain([fiber, 'access', _35 => _35.fiberContext, 'optionalAccess', _36 => _36.log]) ? _chunkJKHBEWQAcjs.ctxToObject.call(void 0, fiber.fiberContext.log) : {};
803
803
  runtime.log(level, message, { ...inherited, ...fields });
804
804
  });
805
805
  }
@@ -815,11 +815,11 @@ function withLogContext(patch, effect) {
815
815
  }
816
816
  function startLogContext(patch) {
817
817
  return _chunkMVGUEJ5Zcjs.asyncSync.call(void 0, () => {
818
- const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
818
+ const fiber = _chunkJKHBEWQAcjs.getCurrentFiber.call(void 0, );
819
819
  if (!_optionalChain([fiber, 'optionalAccess', _37 => _37.fiberContext])) return void 0;
820
- const previous = _nullishCoalesce(fiber.fiberContext.log, () => ( _chunkZDZNV6NAcjs.emptyContext));
820
+ const previous = _nullishCoalesce(fiber.fiberContext.log, () => ( _chunkJKHBEWQAcjs.emptyContext));
821
821
  const state = { fiber, previous, ended: false };
822
- fiber.fiberContext = { ...fiber.fiberContext, log: _chunkZDZNV6NAcjs.ctxExtend.call(void 0, previous, patch) };
822
+ fiber.fiberContext = { ...fiber.fiberContext, log: _chunkJKHBEWQAcjs.ctxExtend.call(void 0, previous, patch) };
823
823
  _optionalChain([fiber, 'access', _38 => _38.addFinalizer, 'optionalCall', _39 => _39(() => restoreLogContext(state))]);
824
824
  return state;
825
825
  });
@@ -994,7 +994,7 @@ function spanLink(trace, attributes) {
994
994
  };
995
995
  }
996
996
  function currentSpanLink(attributes) {
997
- const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
997
+ const fiber = _chunkJKHBEWQAcjs.getCurrentFiber.call(void 0, );
998
998
  const trace = _optionalChain([fiber, 'optionalAccess', _46 => _46.fiberContext, 'optionalAccess', _47 => _47.trace]);
999
999
  return _optionalChain([trace, 'optionalAccess', _48 => _48.traceId]) && _optionalChain([trace, 'optionalAccess', _49 => _49.spanId]) ? spanLink(trace, attributes) : void 0;
1000
1000
  }
@@ -1009,13 +1009,13 @@ function withBaggage(baggage, effect) {
1009
1009
  );
1010
1010
  }
1011
1011
  function currentBaggage() {
1012
- const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
1012
+ const fiber = _chunkJKHBEWQAcjs.getCurrentFiber.call(void 0, );
1013
1013
  const baggage = _optionalChain([fiber, 'optionalAccess', _50 => _50.fiberContext, 'optionalAccess', _51 => _51.trace, 'optionalAccess', _52 => _52.baggage]);
1014
1014
  return baggage ? { ...baggage } : void 0;
1015
1015
  }
1016
1016
  function spanEvent(name, attributes = {}) {
1017
1017
  return _chunkMVGUEJ5Zcjs.asyncSync.call(void 0, () => {
1018
- const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
1018
+ const fiber = _chunkJKHBEWQAcjs.getCurrentFiber.call(void 0, );
1019
1019
  const trace = _optionalChain([fiber, 'optionalAccess', _53 => _53.fiberContext, 'optionalAccess', _54 => _54.trace]);
1020
1020
  if (!_optionalChain([fiber, 'optionalAccess', _55 => _55.runtime]) || !trace || trace.sampled === false) return;
1021
1021
  fiber.runtime.hooks.emit(
@@ -1049,7 +1049,7 @@ function makeOtlpHttpSpanExporter(source, options) {
1049
1049
  }
1050
1050
  function startSpan(name, options) {
1051
1051
  return _chunkMVGUEJ5Zcjs.asyncSync.call(void 0, () => {
1052
- const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
1052
+ const fiber = _chunkJKHBEWQAcjs.getCurrentFiber.call(void 0, );
1053
1053
  const runtime = _optionalChain([fiber, 'optionalAccess', _56 => _56.runtime]);
1054
1054
  if (!_optionalChain([fiber, 'optionalAccess', _57 => _57.fiberContext]) || !runtime) return void 0;
1055
1055
  const previousTrace = _nullishCoalesce(fiber.fiberContext.trace, () => ( null));
@@ -1132,7 +1132,7 @@ function spanContext(fiber, trace) {
1132
1132
  }
1133
1133
  function startBaggage(baggage) {
1134
1134
  return _chunkMVGUEJ5Zcjs.asyncSync.call(void 0, () => {
1135
- const fiber = _chunkZDZNV6NAcjs.getCurrentFiber.call(void 0, );
1135
+ const fiber = _chunkJKHBEWQAcjs.getCurrentFiber.call(void 0, );
1136
1136
  if (!_optionalChain([fiber, 'optionalAccess', _76 => _76.fiberContext])) return void 0;
1137
1137
  const previousTrace = _nullishCoalesce(fiber.fiberContext.trace, () => ( null));
1138
1138
  if (!previousTrace) return void 0;
@@ -1620,12 +1620,12 @@ function normalizeOtlpEndpoint(endpoint) {
1620
1620
  function makeObservability(options = {}) {
1621
1621
  validateObservabilityOptions(options);
1622
1622
  const serviceName = _nullishCoalesce(options.serviceName, () => ( "brass-runtime"));
1623
- const eventBus = _nullishCoalesce(options.eventBus, () => ( new (0, _chunkFYWWU3Z7cjs.EventBus)()));
1624
- const rawMetrics = _chunkFYWWU3Z7cjs.makeMetrics.call(void 0, );
1623
+ const eventBus = _nullishCoalesce(options.eventBus, () => ( new (0, _chunkVXNWVAIGcjs.EventBus)()));
1624
+ const rawMetrics = _chunkVXNWVAIGcjs.makeMetrics.call(void 0, );
1625
1625
  const metrics = options.cardinality === false ? rawMetrics : makeCardinalityLimitedMetrics(rawMetrics, _nullishCoalesce(options.cardinality, () => ( {})));
1626
1626
  const redactor = makeObservabilityRedactor(options.redaction);
1627
1627
  const traceOptions = options.traces && typeof options.traces === "object" ? options.traces : {};
1628
- const tracer = new (0, _chunkFYWWU3Z7cjs.InMemoryTracer)({
1628
+ const tracer = new (0, _chunkVXNWVAIGcjs.InMemoryTracer)({
1629
1629
  maxFinishedSpans: _nullishCoalesce(traceOptions.maxFinishedSpans, () => ( 1e4)),
1630
1630
  maxSpanAgeMs: _nullishCoalesce(traceOptions.maxSpanAgeMs, () => ( 10 * 6e4)),
1631
1631
  clock: traceOptions.clock,
@@ -1982,7 +1982,7 @@ function makeRequestObservabilityContext(observability, input = {}) {
1982
1982
  const env = observability.envForRequest(input);
1983
1983
  const attributes = requestSpanAttributes(input);
1984
1984
  const defaultSpanName = _nullishCoalesce(input.spanName, () => ( (input.method && input.route ? `${input.method} ${input.route}` : _nullishCoalesce(input.route, () => ( "request")))));
1985
- const makeRuntime = (extraEnv, options = {}) => new (0, _chunkZDZNV6NAcjs.Runtime)({
1985
+ const makeRuntime = (extraEnv, options = {}) => new (0, _chunkJKHBEWQAcjs.Runtime)({
1986
1986
  ...options,
1987
1987
  env: mergeEnv(extraEnv, env),
1988
1988
  hooks: observability.hooks
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  layerEffect,
3
3
  makeServiceTag
4
- } from "./chunk-KDXNWGPB.mjs";
4
+ } from "./chunk-XRRC5BBM.mjs";
5
5
  import {
6
6
  Runtime
7
- } from "./chunk-MUMBUXU6.mjs";
7
+ } from "./chunk-BFNBU47C.mjs";
8
8
  import {
9
9
  asyncSync
10
10
  } from "./chunk-36I3M4UC.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RuntimeService
3
- } from "./chunk-3NKXUX4T.mjs";
3
+ } from "./chunk-ZXLETUGQ.mjs";
4
4
  import {
5
5
  exemplarFromTraceContext,
6
6
  injectTraceContext,
@@ -13,26 +13,26 @@ import {
13
13
  spanEvent,
14
14
  validateHttpObservabilityOptions,
15
15
  withSpan
16
- } from "./chunk-URVS2OE2.mjs";
16
+ } from "./chunk-SCHM2MDA.mjs";
17
17
  import {
18
18
  HttpClientService,
19
19
  getHttpRequestPolicy,
20
20
  httpErrorStatus,
21
21
  isRetryableHttpError,
22
22
  makeDefaultHttpClient
23
- } from "./chunk-5RVHSBJ6.mjs";
23
+ } from "./chunk-5X3MPWTR.mjs";
24
24
  import {
25
25
  registerHttpEffect
26
26
  } from "./chunk-MOO4L7F4.mjs";
27
27
  import {
28
28
  layerEffect,
29
29
  makeServiceTag
30
- } from "./chunk-KDXNWGPB.mjs";
30
+ } from "./chunk-XRRC5BBM.mjs";
31
31
  import {
32
32
  Runtime,
33
33
  fromPromiseAbortable,
34
34
  getCurrentFiber
35
- } from "./chunk-MUMBUXU6.mjs";
35
+ } from "./chunk-BFNBU47C.mjs";
36
36
  import {
37
37
  Cause,
38
38
  asyncEffect,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkZDZNV6NAcjs = require('./chunk-ZDZNV6NA.cjs');
6
+ var _chunkJKHBEWQAcjs = require('./chunk-JKHBEWQA.cjs');
7
7
 
8
8
 
9
9
 
@@ -20,14 +20,14 @@ var _chunkMVGUEJ5Zcjs = require('./chunk-MVGUEJ5Z.cjs');
20
20
  // src/core/runtime/combinators.ts
21
21
  function sleep(ms) {
22
22
  return _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (env, cb) => {
23
- const clock = _chunkZDZNV6NAcjs.runtimeClockFromEnv.call(void 0, env);
23
+ const clock = _chunkJKHBEWQAcjs.runtimeClockFromEnv.call(void 0, env);
24
24
  const id = clock.setTimeout(() => cb({ _tag: "Success", value: void 0 }), ms);
25
25
  return () => clock.clearTimeout(id);
26
26
  });
27
27
  }
28
28
  function timeout(effect, ms) {
29
29
  return _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (env, cb) => {
30
- const clock = _chunkZDZNV6NAcjs.runtimeClockFromEnv.call(void 0, env);
30
+ const clock = _chunkJKHBEWQAcjs.runtimeClockFromEnv.call(void 0, env);
31
31
  let done = false;
32
32
  let timerId;
33
33
  let fiber;
@@ -40,7 +40,7 @@ function timeout(effect, ms) {
40
40
  cause: { _tag: "Fail", error: { _tag: "TimeoutError", ms } }
41
41
  });
42
42
  }, ms);
43
- const runtime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime.call(void 0, );
43
+ const runtime = _chunkJKHBEWQAcjs.unsafeGetCurrentRuntime.call(void 0, );
44
44
  fiber = runtime.fork(effect);
45
45
  fiber.join((exit) => {
46
46
  if (done) return;
@@ -82,7 +82,7 @@ function retry(effect, policy) {
82
82
  );
83
83
  return _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
84
84
  { _tag: "Sync", thunk: (env) => {
85
- const clock = _chunkZDZNV6NAcjs.runtimeClockFromEnv.call(void 0, env);
85
+ const clock = _chunkJKHBEWQAcjs.runtimeClockFromEnv.call(void 0, env);
86
86
  return { clock, startedAt: clock.now() };
87
87
  } },
88
88
  ({ clock, startedAt }) => loop(0, startedAt, clock)
@@ -110,8 +110,8 @@ function retryWithBackoff(effect, opts = {}) {
110
110
  // src/core/runtime/resource.ts
111
111
  function bracket(acquire, use, release) {
112
112
  return _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (env, cb) => {
113
- const runtime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime.call(void 0, );
114
- const scope = new (0, _chunkZDZNV6NAcjs.Scope)(runtime);
113
+ const runtime = _chunkJKHBEWQAcjs.unsafeGetCurrentRuntime.call(void 0, );
114
+ const scope = new (0, _chunkJKHBEWQAcjs.Scope)(runtime);
115
115
  const acquireFiber = scope.fork(acquire);
116
116
  acquireFiber.join((acquireExit) => {
117
117
  if (acquireExit._tag === "Failure") {
@@ -150,7 +150,7 @@ function safeRelease(release, resource2, exit) {
150
150
  }
151
151
  function ensuring(effect, finalizer) {
152
152
  return _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (env, cb) => {
153
- const runtime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime.call(void 0, );
153
+ const runtime = _chunkJKHBEWQAcjs.unsafeGetCurrentRuntime.call(void 0, );
154
154
  const fiber = runtime.fork(effect);
155
155
  fiber.join((exit) => {
156
156
  const fin = _chunkMVGUEJ5Zcjs.asyncFold.call(void 0,
@@ -224,7 +224,7 @@ function useManaged(m, body) {
224
224
  }
225
225
  function managedAll(manageds) {
226
226
  const acquire = _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (env, cb) => {
227
- const runtime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime.call(void 0, );
227
+ const runtime = _chunkJKHBEWQAcjs.unsafeGetCurrentRuntime.call(void 0, );
228
228
  const resources = [];
229
229
  let i = 0;
230
230
  const acquireNext = () => {
@@ -250,7 +250,7 @@ function managedAll(manageds) {
250
250
  });
251
251
  const release = (resources, exit) => {
252
252
  return _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (_env, cb) => {
253
- const runtime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime.call(void 0, );
253
+ const runtime = _chunkJKHBEWQAcjs.unsafeGetCurrentRuntime.call(void 0, );
254
254
  releaseAcquired(runtime, manageds, resources, exit).then(() => {
255
255
  cb({ _tag: "Success", value: void 0 });
256
256
  });
@@ -593,7 +593,7 @@ function union(left, right) {
593
593
  };
594
594
  }
595
595
  function makeScheduleDriver(schedule, options = {}) {
596
- const clock = _nullishCoalesce(options.clock, () => ( _chunkZDZNV6NAcjs.liveClock));
596
+ const clock = _nullishCoalesce(options.clock, () => ( _chunkJKHBEWQAcjs.liveClock));
597
597
  let startedAtMs = _nullishCoalesce(options.startedAtMs, () => ( clock.now()));
598
598
  let attempt = 0;
599
599
  let lastDecision;
@@ -661,7 +661,7 @@ function runSchedule(schedule, inputs, options = {}) {
661
661
  function driverFromRuntime(schedule, options = {}) {
662
662
  return _chunkMVGUEJ5Zcjs.Async.sync((env) => makeScheduleDriver(schedule, {
663
663
  ...options,
664
- clock: _nullishCoalesce(options.clock, () => ( _chunkZDZNV6NAcjs.runtimeClockFromEnv.call(void 0, env)))
664
+ clock: _nullishCoalesce(options.clock, () => ( _chunkJKHBEWQAcjs.runtimeClockFromEnv.call(void 0, env)))
665
665
  }));
666
666
  }
667
667
  function retryWithSchedule(effect, schedule, options = {}) {
@@ -719,7 +719,7 @@ function normalizeCap(ms) {
719
719
  return normalizeDelay(ms);
720
720
  }
721
721
  function defaultClock() {
722
- return _chunkZDZNV6NAcjs.liveClock.now();
722
+ return _chunkJKHBEWQAcjs.liveClock.now();
723
723
  }
724
724
  function nowFromContext(context) {
725
725
  return _nullishCoalesce(_optionalChain([context, 'optionalAccess', _4 => _4.clock, 'access', _5 => _5.now, 'call', _6 => _6()]), () => ( defaultClock()));
@@ -37,7 +37,7 @@
37
37
 
38
38
 
39
39
 
40
- var _chunkGOEO763Kcjs = require('../chunk-GOEO763K.cjs');
40
+ var _chunk2XXQ3NVTcjs = require('../chunk-2XXQ3NVT.cjs');
41
41
 
42
42
 
43
43
  var _chunk7TKI527Dcjs = require('../chunk-7TKI527D.cjs');
@@ -53,11 +53,11 @@ var _chunk7TKI527Dcjs = require('../chunk-7TKI527D.cjs');
53
53
 
54
54
 
55
55
 
56
- var _chunkYQWZ7FZXcjs = require('../chunk-YQWZ7FZX.cjs');
56
+ var _chunkJQCQWO47cjs = require('../chunk-JQCQWO47.cjs');
57
57
 
58
58
 
59
59
 
60
- var _chunkZ2YIDHRIcjs = require('../chunk-Z2YIDHRI.cjs');
60
+ var _chunkENMKEX3Ncjs = require('../chunk-ENMKEX3N.cjs');
61
61
 
62
62
 
63
63
 
@@ -65,7 +65,7 @@ var _chunkZ2YIDHRIcjs = require('../chunk-Z2YIDHRI.cjs');
65
65
 
66
66
 
67
67
 
68
- var _chunkFYWWU3Z7cjs = require('../chunk-FYWWU3Z7.cjs');
68
+ var _chunkVXNWVAIGcjs = require('../chunk-VXNWVAIG.cjs');
69
69
 
70
70
 
71
71
 
@@ -154,7 +154,7 @@ var _chunkFYWWU3Z7cjs = require('../chunk-FYWWU3Z7.cjs');
154
154
 
155
155
 
156
156
 
157
- var _chunk6STX4PS3cjs = require('../chunk-6STX4PS3.cjs');
157
+ var _chunkZZ2CMYJLcjs = require('../chunk-ZZ2CMYJL.cjs');
158
158
 
159
159
 
160
160
 
@@ -184,7 +184,8 @@ var _chunk6STX4PS3cjs = require('../chunk-6STX4PS3.cjs');
184
184
 
185
185
 
186
186
 
187
- var _chunkZDZNV6NAcjs = require('../chunk-ZDZNV6NA.cjs');
187
+
188
+ var _chunkJKHBEWQAcjs = require('../chunk-JKHBEWQA.cjs');
188
189
 
189
190
 
190
191
 
@@ -435,4 +436,5 @@ require('../chunk-OBGZSXTJ.cjs');
435
436
 
436
437
 
437
438
 
438
- exports.Async = _chunkMVGUEJ5Zcjs.Async; exports.Cause = _chunkMVGUEJ5Zcjs.Cause; exports.EventBus = _chunkFYWWU3Z7cjs.EventBus; exports.Exit = _chunkMVGUEJ5Zcjs.Exit; exports.InMemoryTracer = _chunkFYWWU3Z7cjs.InMemoryTracer; exports.Layer = _chunk6STX4PS3cjs.Layer; exports.LayerContext = _chunk6STX4PS3cjs.LayerContext; exports.MissingLayerServiceError = _chunk6STX4PS3cjs.MissingLayerServiceError; exports.NoopHooks = _chunkZDZNV6NAcjs.NoopHooks; exports.Resource = _chunk6STX4PS3cjs.Resource; exports.Runtime = _chunkZDZNV6NAcjs.Runtime; exports.RuntimeFiber = _chunkZDZNV6NAcjs.RuntimeFiber; exports.RuntimeRegistry = _chunkGOEO763Kcjs.RuntimeRegistry; exports.RuntimeService = _chunkZ2YIDHRIcjs.RuntimeService; exports.Schedule = _chunk6STX4PS3cjs.Schedule; exports.Scope = _chunkZDZNV6NAcjs.Scope; exports.Supervisor = _chunkGOEO763Kcjs.Supervisor; exports.TestClock = _chunkGOEO763Kcjs.TestClock; exports.TestScheduler = _chunkGOEO763Kcjs.TestScheduler; exports.abortablePromiseStats = _chunkZDZNV6NAcjs.abortablePromiseStats; exports.acquireRelease = _chunkMVGUEJ5Zcjs.acquireRelease; exports.andThenSchedule = _chunk6STX4PS3cjs.andThen; exports.assertCompletesWithin = _chunkGOEO763Kcjs.assertCompletesWithin; exports.assertFails = _chunkGOEO763Kcjs.assertFails; exports.assertFailsWith = _chunkGOEO763Kcjs.assertFailsWith; exports.assertSucceeds = _chunkGOEO763Kcjs.assertSucceeds; exports.async = _chunkMVGUEJ5Zcjs.asyncEffect; exports.asyncCatchAll = _chunkMVGUEJ5Zcjs.asyncCatchAll; exports.asyncFail = _chunkMVGUEJ5Zcjs.asyncFail; exports.asyncFlatMap = _chunkMVGUEJ5Zcjs.asyncFlatMap; exports.asyncFold = _chunkMVGUEJ5Zcjs.asyncFold; exports.asyncInterruptible = _chunkMVGUEJ5Zcjs.asyncInterruptible; exports.asyncMap = _chunkMVGUEJ5Zcjs.asyncMap; exports.asyncMapError = _chunkMVGUEJ5Zcjs.asyncMapError; exports.asyncSucceed = _chunkMVGUEJ5Zcjs.asyncSucceed; exports.asyncSync = _chunkMVGUEJ5Zcjs.asyncSync; exports.asyncTotal = _chunkMVGUEJ5Zcjs.asyncTotal; exports.bracket = _chunk6STX4PS3cjs.bracket; exports.buildLayer = _chunk6STX4PS3cjs.buildLayer; exports.catchAll = _chunkMVGUEJ5Zcjs.catchAll; exports.catchTag = _chunkGOEO763Kcjs.catchTag; exports.catchTags = _chunkGOEO763Kcjs.catchTags; exports.composeAll = _chunk6STX4PS3cjs.composeAll; exports.composeLayer = _chunk6STX4PS3cjs.compose; exports.consoleJsonLogger = _chunkGOEO763Kcjs.consoleJsonLogger; exports.contramapSchedule = _chunk6STX4PS3cjs.contramap; exports.ctxExtend = _chunkZDZNV6NAcjs.ctxExtend; exports.ctxToObject = _chunkZDZNV6NAcjs.ctxToObject; exports.defaultTracer = _chunkGOEO763Kcjs.defaultTracer; exports.defineConfigLayer = _chunkGOEO763Kcjs.defineConfigLayer; exports.defineLayer = _chunk6STX4PS3cjs.defineLayer; exports.defineService = _chunk6STX4PS3cjs.defineService; exports.delayedEffect = _chunkGOEO763Kcjs.delayedEffect; exports.derivedRef = _chunkGOEO763Kcjs.derivedRef; exports.dumpAllFibers = _chunkGOEO763Kcjs.dumpAllFibers; exports.elapsed = _chunk6STX4PS3cjs.elapsed; exports.emptyContext = _chunkZDZNV6NAcjs.emptyContext; exports.end = _chunkMVGUEJ5Zcjs.end; exports.ensuring = _chunk6STX4PS3cjs.ensuring; exports.exponential = _chunk6STX4PS3cjs.exponential; exports.fail = _chunkMVGUEJ5Zcjs.fail; exports.fiberRefSnapshot = _chunkYQWZ7FZXcjs.fiberRefSnapshot; exports.fibonacci = _chunk6STX4PS3cjs.fibonacci; exports.fixed = _chunk6STX4PS3cjs.fixed; exports.flakyEffect = _chunkGOEO763Kcjs.flakyEffect; exports.flatMap = _chunkMVGUEJ5Zcjs.flatMap; exports.forever = _chunk6STX4PS3cjs.forever; exports.fork = _chunkZDZNV6NAcjs.fork; exports.formatCause = _chunkMVGUEJ5Zcjs.formatCause; exports.formatLayerError = _chunk6STX4PS3cjs.formatLayerError; exports.fromPromiseAbortable = _chunkZDZNV6NAcjs.fromPromiseAbortable; exports.getBenchmarkBudget = _chunkZDZNV6NAcjs.getBenchmarkBudget; exports.getCurrentFiber = _chunkZDZNV6NAcjs.getCurrentFiber; exports.getFiberRef = _chunkYQWZ7FZXcjs.getFiberRef; exports.getService = _chunk6STX4PS3cjs.getService; exports.getServices = _chunk6STX4PS3cjs.getServices; exports.gracefulShutdown = _chunkGOEO763Kcjs.gracefulShutdown; exports.interruptible = _chunkMVGUEJ5Zcjs.interruptible; exports.intersect = _chunk6STX4PS3cjs.intersect; exports.isCause = _chunkMVGUEJ5Zcjs.isCause; exports.jitter = _chunk6STX4PS3cjs.jitter; exports.jittered = _chunk6STX4PS3cjs.jittered; exports.jitteredSchedule = _chunk6STX4PS3cjs.jitteredSchedule; exports.joinSupervised = _chunkGOEO763Kcjs.joinSupervised; exports.layer = _chunk6STX4PS3cjs.layer; exports.layerEffect = _chunk6STX4PS3cjs.layerEffect; exports.layerFail = _chunk6STX4PS3cjs.layerFail; exports.layerFrom = _chunk6STX4PS3cjs.layerFrom; exports.layerFromContext = _chunk6STX4PS3cjs.layerFromContext; exports.layerSucceed = _chunk6STX4PS3cjs.layerSucceed; exports.layerValue = _chunk6STX4PS3cjs.layerValue; exports.linear = _chunk6STX4PS3cjs.linear; exports.linkAbortController = _chunkGOEO763Kcjs.linkAbortController; exports.liveClock = _chunkZDZNV6NAcjs.liveClock; exports.locallyFiberRef = _chunkYQWZ7FZXcjs.locallyFiberRef; exports.locallyFiberRefWith = _chunkYQWZ7FZXcjs.locallyFiberRefWith; exports.makeCancelToken = _chunkGOEO763Kcjs.makeCancelToken; exports.makeCircuitBreaker = _chunk7TKI527Dcjs.makeCircuitBreaker; exports.makeConfigLayer = _chunkGOEO763Kcjs.makeConfigLayer; exports.makeFiberRef = _chunkYQWZ7FZXcjs.makeFiberRef; exports.makeLayerScope = _chunk6STX4PS3cjs.makeLayerScope; exports.makeMetrics = _chunkFYWWU3Z7cjs.makeMetrics; exports.makeRef = _chunkGOEO763Kcjs.makeRef; exports.makeResource = _chunk6STX4PS3cjs.makeResource; exports.makeRuntime = _chunkGOEO763Kcjs.makeRuntime; exports.makeRuntimeEventRecord = _chunkFYWWU3Z7cjs.makeRuntimeEventRecord; exports.makeRuntimeLayer = _chunkZ2YIDHRIcjs.makeRuntimeLayer; exports.makeRuntimeRecorder = _chunkYQWZ7FZXcjs.makeRuntimeRecorder; exports.makeScheduleDriver = _chunk6STX4PS3cjs.makeScheduleDriver; exports.makeSemaphore = _chunkGOEO763Kcjs.makeSemaphore; exports.makeServiceTag = _chunk6STX4PS3cjs.makeServiceTag; exports.makeSupervisor = _chunkGOEO763Kcjs.makeSupervisor; exports.makeTestLayer = _chunk6STX4PS3cjs.makeTestLayer; exports.makeTestLayers = _chunk6STX4PS3cjs.makeTestLayers; exports.makeTestRuntime = _chunkGOEO763Kcjs.makeTestRuntime; exports.makeTracer = _chunkGOEO763Kcjs.makeTracer; exports.makeWorkerPool = _chunkGOEO763Kcjs.makeWorkerPool; exports.managed = _chunk6STX4PS3cjs.managed; exports.managedAll = _chunk6STX4PS3cjs.managedAll; exports.map = _chunkMVGUEJ5Zcjs.map; exports.mapAsync = _chunkMVGUEJ5Zcjs.mapAsync; exports.mapError = _chunkMVGUEJ5Zcjs.mapError; exports.mapErrorTyped = _chunkGOEO763Kcjs.mapError; exports.mapLayer = _chunk6STX4PS3cjs.mapLayer; exports.mapSchedule = _chunk6STX4PS3cjs.map; exports.mapTryAsync = _chunkMVGUEJ5Zcjs.mapTryAsync; exports.maxDelay = _chunk6STX4PS3cjs.maxDelay; exports.maxElapsed = _chunk6STX4PS3cjs.maxElapsed; exports.mergeAll = _chunk6STX4PS3cjs.mergeAll; exports.mergeLayer = _chunk6STX4PS3cjs.merge; exports.modifyFiberRef = _chunkYQWZ7FZXcjs.modifyFiberRef; exports.namedSchedule = _chunk6STX4PS3cjs.named; exports.never = _chunk6STX4PS3cjs.never; exports.neverEffect = _chunkGOEO763Kcjs.neverEffect; exports.none = _chunkMVGUEJ5Zcjs.none; exports.once = _chunk6STX4PS3cjs.once; exports.orElse = _chunkGOEO763Kcjs.orElse; exports.orElseOptional = _chunkMVGUEJ5Zcjs.orElseOptional; exports.pollWithSchedule = _chunk6STX4PS3cjs.poll; exports.prettyCause = _chunkMVGUEJ5Zcjs.prettyCause; exports.provide = _chunk6STX4PS3cjs.provide; exports.provideContext = _chunk6STX4PS3cjs.provideContext; exports.provideLayer = _chunk6STX4PS3cjs.provideLayer; exports.provideLayerContext = _chunk6STX4PS3cjs.provideLayerContext; exports.recordAbortablePromiseFinish = _chunkZDZNV6NAcjs.recordAbortablePromiseFinish; exports.recordAbortablePromiseStart = _chunkZDZNV6NAcjs.recordAbortablePromiseStart; exports.recurs = _chunk6STX4PS3cjs.recurs; exports.registerShutdownHooks = _chunkGOEO763Kcjs.registerShutdownHooks; exports.repeatWithSchedule = _chunk6STX4PS3cjs.repeatWithSchedule; exports.repeatWithScheduleAlias = _chunk6STX4PS3cjs.repeat; exports.resetAbortablePromiseStats = _chunkZDZNV6NAcjs.resetAbortablePromiseStats; exports.resource = _chunk6STX4PS3cjs.resource; exports.resourceAll = _chunk6STX4PS3cjs.resourceAll; exports.resourceFromManaged = _chunk6STX4PS3cjs.resourceFromManaged; exports.resourceSucceed = _chunk6STX4PS3cjs.resourceSucceed; exports.retry = _chunk6STX4PS3cjs.retry; exports.retryN = _chunk6STX4PS3cjs.retryN; exports.retryWithBackoff = _chunk6STX4PS3cjs.retryWithBackoff; exports.retryWithSchedule = _chunk6STX4PS3cjs.retryWithSchedule; exports.retryWithScheduleAlias = _chunk6STX4PS3cjs.retry2; exports.runEffect = _chunkGOEO763Kcjs.runEffect; exports.runExit = _chunkGOEO763Kcjs.runExit; exports.runPromise = _chunkGOEO763Kcjs.runPromise; exports.runSchedule = _chunk6STX4PS3cjs.runSchedule; exports.runtimeClockFromEnv = _chunkZDZNV6NAcjs.runtimeClockFromEnv; exports.runtimeEventRecordContext = _chunkFYWWU3Z7cjs.runtimeEventRecordContext; exports.runtimeForCaller = _chunkZDZNV6NAcjs.runtimeForCaller; exports.runtimeHooksToEventHandler = _chunkFYWWU3Z7cjs.runtimeHooksToEventHandler; exports.scheduleDriver = _chunk6STX4PS3cjs.scheduleDriver; exports.serviceTag = _chunk6STX4PS3cjs.serviceTag; exports.setAbortablePromisePerLabelTracking = _chunkZDZNV6NAcjs.setAbortablePromisePerLabelTracking; exports.setBenchmarkBudget = _chunkZDZNV6NAcjs.setBenchmarkBudget; exports.setFiberRef = _chunkYQWZ7FZXcjs.setFiberRef; exports.sleep = _chunk6STX4PS3cjs.sleep; exports.some = _chunkMVGUEJ5Zcjs.some; exports.spaced = _chunk6STX4PS3cjs.spaced; exports.succeed = _chunkMVGUEJ5Zcjs.succeed; exports.supervise = _chunkGOEO763Kcjs.supervise; exports.sync = _chunkMVGUEJ5Zcjs.sync; exports.tagError = _chunkGOEO763Kcjs.tagError; exports.takeSchedule = _chunk6STX4PS3cjs.take; exports.tapDecision = _chunk6STX4PS3cjs.tapDecision; exports.timeout = _chunk6STX4PS3cjs.timeout; exports.toPromise = _chunkZDZNV6NAcjs.toPromise; exports.toPromiseByCaller = _chunkZDZNV6NAcjs.toPromiseByCaller; exports.uninterruptible = _chunkMVGUEJ5Zcjs.uninterruptible; exports.uninterruptibleMask = _chunkMVGUEJ5Zcjs.uninterruptibleMask; exports.union = _chunk6STX4PS3cjs.union; exports.unit = _chunkMVGUEJ5Zcjs.unit; exports.unsafeGetCurrentRuntime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime; exports.unsafeGetFiberRef = _chunkYQWZ7FZXcjs.unsafeGetFiberRef; exports.unsafeRunAsync = _chunkZDZNV6NAcjs.unsafeRunAsync; exports.unsafeRunFoldWithEnv = _chunkZDZNV6NAcjs.unsafeRunFoldWithEnv; exports.unsafeSetFiberRef = _chunkYQWZ7FZXcjs.unsafeSetFiberRef; exports.untilInput = _chunk6STX4PS3cjs.untilInput; exports.untilOutput = _chunk6STX4PS3cjs.untilOutput; exports.upTo = _chunk6STX4PS3cjs.upTo; exports.updateFiberRef = _chunkYQWZ7FZXcjs.updateFiberRef; exports.useManaged = _chunk6STX4PS3cjs.useManaged; exports.useResource = _chunk6STX4PS3cjs.useResource; exports.useService = _chunk6STX4PS3cjs.useService; exports.useServices = _chunk6STX4PS3cjs.useServices; exports.whileInput = _chunk6STX4PS3cjs.whileInput; exports.whileOutput = _chunk6STX4PS3cjs.whileOutput; exports.windowed = _chunk6STX4PS3cjs.windowed; exports.withAsyncPromise = _chunkMVGUEJ5Zcjs.withAsyncPromise; exports.withCurrentFiber = _chunkZDZNV6NAcjs.withCurrentFiber; exports.withScope = _chunkZDZNV6NAcjs.withScope; exports.withScopeAsync = _chunkZDZNV6NAcjs.withScopeAsync;
439
+
440
+ exports.Async = _chunkMVGUEJ5Zcjs.Async; exports.Cause = _chunkMVGUEJ5Zcjs.Cause; exports.EventBus = _chunkVXNWVAIGcjs.EventBus; exports.Exit = _chunkMVGUEJ5Zcjs.Exit; exports.InMemoryTracer = _chunkVXNWVAIGcjs.InMemoryTracer; exports.Layer = _chunkZZ2CMYJLcjs.Layer; exports.LayerContext = _chunkZZ2CMYJLcjs.LayerContext; exports.MissingLayerServiceError = _chunkZZ2CMYJLcjs.MissingLayerServiceError; exports.NoopHooks = _chunkJKHBEWQAcjs.NoopHooks; exports.Resource = _chunkZZ2CMYJLcjs.Resource; exports.Runtime = _chunkJKHBEWQAcjs.Runtime; exports.RuntimeFiber = _chunkJKHBEWQAcjs.RuntimeFiber; exports.RuntimeRegistry = _chunk2XXQ3NVTcjs.RuntimeRegistry; exports.RuntimeService = _chunkENMKEX3Ncjs.RuntimeService; exports.Schedule = _chunkZZ2CMYJLcjs.Schedule; exports.Scope = _chunkJKHBEWQAcjs.Scope; exports.Supervisor = _chunk2XXQ3NVTcjs.Supervisor; exports.TestClock = _chunk2XXQ3NVTcjs.TestClock; exports.TestScheduler = _chunk2XXQ3NVTcjs.TestScheduler; exports.abortablePromiseStats = _chunkJKHBEWQAcjs.abortablePromiseStats; exports.acquireRelease = _chunkMVGUEJ5Zcjs.acquireRelease; exports.andThenSchedule = _chunkZZ2CMYJLcjs.andThen; exports.assertCompletesWithin = _chunk2XXQ3NVTcjs.assertCompletesWithin; exports.assertFails = _chunk2XXQ3NVTcjs.assertFails; exports.assertFailsWith = _chunk2XXQ3NVTcjs.assertFailsWith; exports.assertSucceeds = _chunk2XXQ3NVTcjs.assertSucceeds; exports.async = _chunkMVGUEJ5Zcjs.asyncEffect; exports.asyncCatchAll = _chunkMVGUEJ5Zcjs.asyncCatchAll; exports.asyncFail = _chunkMVGUEJ5Zcjs.asyncFail; exports.asyncFlatMap = _chunkMVGUEJ5Zcjs.asyncFlatMap; exports.asyncFold = _chunkMVGUEJ5Zcjs.asyncFold; exports.asyncInterruptible = _chunkMVGUEJ5Zcjs.asyncInterruptible; exports.asyncMap = _chunkMVGUEJ5Zcjs.asyncMap; exports.asyncMapError = _chunkMVGUEJ5Zcjs.asyncMapError; exports.asyncSucceed = _chunkMVGUEJ5Zcjs.asyncSucceed; exports.asyncSync = _chunkMVGUEJ5Zcjs.asyncSync; exports.asyncTotal = _chunkMVGUEJ5Zcjs.asyncTotal; exports.bracket = _chunkZZ2CMYJLcjs.bracket; exports.buildLayer = _chunkZZ2CMYJLcjs.buildLayer; exports.catchAll = _chunkMVGUEJ5Zcjs.catchAll; exports.catchTag = _chunk2XXQ3NVTcjs.catchTag; exports.catchTags = _chunk2XXQ3NVTcjs.catchTags; exports.composeAll = _chunkZZ2CMYJLcjs.composeAll; exports.composeLayer = _chunkZZ2CMYJLcjs.compose; exports.consoleJsonLogger = _chunk2XXQ3NVTcjs.consoleJsonLogger; exports.contramapSchedule = _chunkZZ2CMYJLcjs.contramap; exports.ctxExtend = _chunkJKHBEWQAcjs.ctxExtend; exports.ctxToObject = _chunkJKHBEWQAcjs.ctxToObject; exports.defaultTracer = _chunk2XXQ3NVTcjs.defaultTracer; exports.defineConfigLayer = _chunk2XXQ3NVTcjs.defineConfigLayer; exports.defineLayer = _chunkZZ2CMYJLcjs.defineLayer; exports.defineService = _chunkZZ2CMYJLcjs.defineService; exports.delayedEffect = _chunk2XXQ3NVTcjs.delayedEffect; exports.derivedRef = _chunk2XXQ3NVTcjs.derivedRef; exports.dumpAllFibers = _chunk2XXQ3NVTcjs.dumpAllFibers; exports.elapsed = _chunkZZ2CMYJLcjs.elapsed; exports.emptyContext = _chunkJKHBEWQAcjs.emptyContext; exports.end = _chunkMVGUEJ5Zcjs.end; exports.ensuring = _chunkZZ2CMYJLcjs.ensuring; exports.exponential = _chunkZZ2CMYJLcjs.exponential; exports.fail = _chunkMVGUEJ5Zcjs.fail; exports.fiberRefSnapshot = _chunkJQCQWO47cjs.fiberRefSnapshot; exports.fibonacci = _chunkZZ2CMYJLcjs.fibonacci; exports.fixed = _chunkZZ2CMYJLcjs.fixed; exports.flakyEffect = _chunk2XXQ3NVTcjs.flakyEffect; exports.flatMap = _chunkMVGUEJ5Zcjs.flatMap; exports.forever = _chunkZZ2CMYJLcjs.forever; exports.fork = _chunkJKHBEWQAcjs.fork; exports.formatCause = _chunkMVGUEJ5Zcjs.formatCause; exports.formatLayerError = _chunkZZ2CMYJLcjs.formatLayerError; exports.fromPromiseAbortable = _chunkJKHBEWQAcjs.fromPromiseAbortable; exports.getBenchmarkBudget = _chunkJKHBEWQAcjs.getBenchmarkBudget; exports.getCurrentFiber = _chunkJKHBEWQAcjs.getCurrentFiber; exports.getFiberRef = _chunkJQCQWO47cjs.getFiberRef; exports.getService = _chunkZZ2CMYJLcjs.getService; exports.getServices = _chunkZZ2CMYJLcjs.getServices; exports.gracefulShutdown = _chunk2XXQ3NVTcjs.gracefulShutdown; exports.interruptible = _chunkMVGUEJ5Zcjs.interruptible; exports.intersect = _chunkZZ2CMYJLcjs.intersect; exports.isCause = _chunkMVGUEJ5Zcjs.isCause; exports.jitter = _chunkZZ2CMYJLcjs.jitter; exports.jittered = _chunkZZ2CMYJLcjs.jittered; exports.jitteredSchedule = _chunkZZ2CMYJLcjs.jitteredSchedule; exports.joinSupervised = _chunk2XXQ3NVTcjs.joinSupervised; exports.layer = _chunkZZ2CMYJLcjs.layer; exports.layerEffect = _chunkZZ2CMYJLcjs.layerEffect; exports.layerFail = _chunkZZ2CMYJLcjs.layerFail; exports.layerFrom = _chunkZZ2CMYJLcjs.layerFrom; exports.layerFromContext = _chunkZZ2CMYJLcjs.layerFromContext; exports.layerSucceed = _chunkZZ2CMYJLcjs.layerSucceed; exports.layerValue = _chunkZZ2CMYJLcjs.layerValue; exports.linear = _chunkZZ2CMYJLcjs.linear; exports.linkAbortController = _chunk2XXQ3NVTcjs.linkAbortController; exports.liveClock = _chunkJKHBEWQAcjs.liveClock; exports.locallyFiberRef = _chunkJQCQWO47cjs.locallyFiberRef; exports.locallyFiberRefWith = _chunkJQCQWO47cjs.locallyFiberRefWith; exports.makeCancelToken = _chunk2XXQ3NVTcjs.makeCancelToken; exports.makeCircuitBreaker = _chunk7TKI527Dcjs.makeCircuitBreaker; exports.makeConfigLayer = _chunk2XXQ3NVTcjs.makeConfigLayer; exports.makeFiberRef = _chunkJQCQWO47cjs.makeFiberRef; exports.makeLayerScope = _chunkZZ2CMYJLcjs.makeLayerScope; exports.makeMetrics = _chunkVXNWVAIGcjs.makeMetrics; exports.makeRef = _chunk2XXQ3NVTcjs.makeRef; exports.makeResource = _chunkZZ2CMYJLcjs.makeResource; exports.makeRuntime = _chunk2XXQ3NVTcjs.makeRuntime; exports.makeRuntimeEventRecord = _chunkVXNWVAIGcjs.makeRuntimeEventRecord; exports.makeRuntimeLayer = _chunkENMKEX3Ncjs.makeRuntimeLayer; exports.makeRuntimeRecorder = _chunkJQCQWO47cjs.makeRuntimeRecorder; exports.makeScheduleDriver = _chunkZZ2CMYJLcjs.makeScheduleDriver; exports.makeSemaphore = _chunk2XXQ3NVTcjs.makeSemaphore; exports.makeServiceTag = _chunkZZ2CMYJLcjs.makeServiceTag; exports.makeSupervisor = _chunk2XXQ3NVTcjs.makeSupervisor; exports.makeTestLayer = _chunkZZ2CMYJLcjs.makeTestLayer; exports.makeTestLayers = _chunkZZ2CMYJLcjs.makeTestLayers; exports.makeTestRuntime = _chunk2XXQ3NVTcjs.makeTestRuntime; exports.makeTracer = _chunk2XXQ3NVTcjs.makeTracer; exports.makeWorkerPool = _chunk2XXQ3NVTcjs.makeWorkerPool; exports.managed = _chunkZZ2CMYJLcjs.managed; exports.managedAll = _chunkZZ2CMYJLcjs.managedAll; exports.map = _chunkMVGUEJ5Zcjs.map; exports.mapAsync = _chunkMVGUEJ5Zcjs.mapAsync; exports.mapError = _chunkMVGUEJ5Zcjs.mapError; exports.mapErrorTyped = _chunk2XXQ3NVTcjs.mapError; exports.mapLayer = _chunkZZ2CMYJLcjs.mapLayer; exports.mapSchedule = _chunkZZ2CMYJLcjs.map; exports.mapTryAsync = _chunkMVGUEJ5Zcjs.mapTryAsync; exports.maxDelay = _chunkZZ2CMYJLcjs.maxDelay; exports.maxElapsed = _chunkZZ2CMYJLcjs.maxElapsed; exports.mergeAll = _chunkZZ2CMYJLcjs.mergeAll; exports.mergeLayer = _chunkZZ2CMYJLcjs.merge; exports.modifyFiberRef = _chunkJQCQWO47cjs.modifyFiberRef; exports.namedSchedule = _chunkZZ2CMYJLcjs.named; exports.never = _chunkZZ2CMYJLcjs.never; exports.neverEffect = _chunk2XXQ3NVTcjs.neverEffect; exports.none = _chunkMVGUEJ5Zcjs.none; exports.once = _chunkZZ2CMYJLcjs.once; exports.orElse = _chunk2XXQ3NVTcjs.orElse; exports.orElseOptional = _chunkMVGUEJ5Zcjs.orElseOptional; exports.pollWithSchedule = _chunkZZ2CMYJLcjs.poll; exports.prettyCause = _chunkMVGUEJ5Zcjs.prettyCause; exports.provide = _chunkZZ2CMYJLcjs.provide; exports.provideContext = _chunkZZ2CMYJLcjs.provideContext; exports.provideLayer = _chunkZZ2CMYJLcjs.provideLayer; exports.provideLayerContext = _chunkZZ2CMYJLcjs.provideLayerContext; exports.recordAbortablePromiseFinish = _chunkJKHBEWQAcjs.recordAbortablePromiseFinish; exports.recordAbortablePromiseStart = _chunkJKHBEWQAcjs.recordAbortablePromiseStart; exports.recurs = _chunkZZ2CMYJLcjs.recurs; exports.registerShutdownHooks = _chunk2XXQ3NVTcjs.registerShutdownHooks; exports.repeatWithSchedule = _chunkZZ2CMYJLcjs.repeatWithSchedule; exports.repeatWithScheduleAlias = _chunkZZ2CMYJLcjs.repeat; exports.resetAbortablePromiseStats = _chunkJKHBEWQAcjs.resetAbortablePromiseStats; exports.resource = _chunkZZ2CMYJLcjs.resource; exports.resourceAll = _chunkZZ2CMYJLcjs.resourceAll; exports.resourceFromManaged = _chunkZZ2CMYJLcjs.resourceFromManaged; exports.resourceSucceed = _chunkZZ2CMYJLcjs.resourceSucceed; exports.retry = _chunkZZ2CMYJLcjs.retry; exports.retryN = _chunkZZ2CMYJLcjs.retryN; exports.retryWithBackoff = _chunkZZ2CMYJLcjs.retryWithBackoff; exports.retryWithSchedule = _chunkZZ2CMYJLcjs.retryWithSchedule; exports.retryWithScheduleAlias = _chunkZZ2CMYJLcjs.retry2; exports.runEffect = _chunk2XXQ3NVTcjs.runEffect; exports.runExit = _chunk2XXQ3NVTcjs.runExit; exports.runPromise = _chunk2XXQ3NVTcjs.runPromise; exports.runSchedule = _chunkZZ2CMYJLcjs.runSchedule; exports.runtimeClockFromEnv = _chunkJKHBEWQAcjs.runtimeClockFromEnv; exports.runtimeEventRecordContext = _chunkVXNWVAIGcjs.runtimeEventRecordContext; exports.runtimeForCaller = _chunkJKHBEWQAcjs.runtimeForCaller; exports.runtimeHooksToEventHandler = _chunkVXNWVAIGcjs.runtimeHooksToEventHandler; exports.scheduleDriver = _chunkZZ2CMYJLcjs.scheduleDriver; exports.serviceTag = _chunkZZ2CMYJLcjs.serviceTag; exports.setAbortablePromisePerLabelTracking = _chunkJKHBEWQAcjs.setAbortablePromisePerLabelTracking; exports.setBenchmarkBudget = _chunkJKHBEWQAcjs.setBenchmarkBudget; exports.setCurrentFiber = _chunkJKHBEWQAcjs.setCurrentFiber; exports.setFiberRef = _chunkJQCQWO47cjs.setFiberRef; exports.sleep = _chunkZZ2CMYJLcjs.sleep; exports.some = _chunkMVGUEJ5Zcjs.some; exports.spaced = _chunkZZ2CMYJLcjs.spaced; exports.succeed = _chunkMVGUEJ5Zcjs.succeed; exports.supervise = _chunk2XXQ3NVTcjs.supervise; exports.sync = _chunkMVGUEJ5Zcjs.sync; exports.tagError = _chunk2XXQ3NVTcjs.tagError; exports.takeSchedule = _chunkZZ2CMYJLcjs.take; exports.tapDecision = _chunkZZ2CMYJLcjs.tapDecision; exports.timeout = _chunkZZ2CMYJLcjs.timeout; exports.toPromise = _chunkJKHBEWQAcjs.toPromise; exports.toPromiseByCaller = _chunkJKHBEWQAcjs.toPromiseByCaller; exports.uninterruptible = _chunkMVGUEJ5Zcjs.uninterruptible; exports.uninterruptibleMask = _chunkMVGUEJ5Zcjs.uninterruptibleMask; exports.union = _chunkZZ2CMYJLcjs.union; exports.unit = _chunkMVGUEJ5Zcjs.unit; exports.unsafeGetCurrentRuntime = _chunkJKHBEWQAcjs.unsafeGetCurrentRuntime; exports.unsafeGetFiberRef = _chunkJQCQWO47cjs.unsafeGetFiberRef; exports.unsafeRunAsync = _chunkJKHBEWQAcjs.unsafeRunAsync; exports.unsafeRunFoldWithEnv = _chunkJKHBEWQAcjs.unsafeRunFoldWithEnv; exports.unsafeSetFiberRef = _chunkJQCQWO47cjs.unsafeSetFiberRef; exports.untilInput = _chunkZZ2CMYJLcjs.untilInput; exports.untilOutput = _chunkZZ2CMYJLcjs.untilOutput; exports.upTo = _chunkZZ2CMYJLcjs.upTo; exports.updateFiberRef = _chunkJQCQWO47cjs.updateFiberRef; exports.useManaged = _chunkZZ2CMYJLcjs.useManaged; exports.useResource = _chunkZZ2CMYJLcjs.useResource; exports.useService = _chunkZZ2CMYJLcjs.useService; exports.useServices = _chunkZZ2CMYJLcjs.useServices; exports.whileInput = _chunkZZ2CMYJLcjs.whileInput; exports.whileOutput = _chunkZZ2CMYJLcjs.whileOutput; exports.windowed = _chunkZZ2CMYJLcjs.windowed; exports.withAsyncPromise = _chunkMVGUEJ5Zcjs.withAsyncPromise; exports.withCurrentFiber = _chunkJKHBEWQAcjs.withCurrentFiber; exports.withScope = _chunkJKHBEWQAcjs.withScope; exports.withScopeAsync = _chunkJKHBEWQAcjs.withScopeAsync;
@@ -1,10 +1,10 @@
1
- import { A as Async, a as RuntimeOptions, b as Runtime, E as Exit, aJ as Task, ay as ScheduleResult, aD as SchedulerStats, R as RuntimeHooks, f as RuntimeEventRecord, h as RuntimeRegistry, k as Fiber } from '../effect-DnGUuhw6.js';
2
- export { u as AbortablePromiseFinish, v as AbortablePromiseLabelStats, w as AbortablePromiseOptions, x as AbortablePromiseOutcome, y as AbortablePromiseStats, z as AbortablePromiseTimerWheel, D as AsyncWithPromise, H as CancelToken, I as Canceler, K as Cause, L as CausePrettyOptions, M as ContextNode, $ as FiberContext, l as FiberId, a1 as FiberInfo, a5 as FiberRunState, m as FiberStatus, ah as Interrupted, ai as InterruptibilityMode, J as JSONValue, al as None, am as NoopHooks, O as Option, as as RestoreInterruptibility, e as RuntimeEmitContext, d as RuntimeEvent, i as RuntimeFiber, g as RuntimeSpanLink, S as Scope, aF as ScopeId, aG as ScopeInfo, aH as Some, T as TraceContext, Z as ZIO, aM as abortablePromiseStats, aN as acquireRelease, aO as async, aP as asyncCatchAll, aQ as asyncFail, aR as asyncFlatMap, aS as asyncFold, aT as asyncInterruptible, aU as asyncMap, aV as asyncMapError, aW as asyncSucceed, aX as asyncSync, aY as asyncTotal, aZ as catchAll, a_ as ctxExtend, a$ as ctxToObject, b0 as emptyContext, b1 as end, b3 as fail, b4 as flatMap, b5 as fork, b6 as formatCause, b7 as fromPromiseAbortable, b8 as getBenchmarkBudget, b9 as getCurrentFiber, bc as interruptible, bd as isCause, bf as linkAbortController, bh as makeCancelToken, bj as makeRuntimeEventRecord, bk as map, bl as mapAsync, bm as mapError, bn as mapTryAsync, bo as none, bp as orElseOptional, bq as prettyCause, br as recordAbortablePromiseFinish, bs as recordAbortablePromiseStart, bt as resetAbortablePromiseStats, bv as runtimeEventRecordContext, bw as runtimeForCaller, bz as setAbortablePromisePerLabelTracking, bA as setBenchmarkBudget, bB as some, bC as succeed, bD as sync, bE as toPromise, bF as toPromiseByCaller, bG as uninterruptible, bH as uninterruptibleMask, bI as unit, bJ as unsafeGetCurrentRuntime, bK as unsafeRunAsync, bL as unsafeRunFoldWithEnv, bM as withAsyncPromise, bN as withCurrentFiber, bO as withScope, bP as withScopeAsync } from '../effect-DnGUuhw6.js';
3
- export { M as ManagedResource, R as Resource, R as ResourceDescriptor, S as Span, a as SpanContext, b as SpanEvent, c as SpanStatus, T as Tracer, d as TracerConfig, e as bracket, f as ensuring, m as makeResource, g as makeTracer, h as managed, i as managedAll, r as resource, j as resourceAll, k as resourceFromManaged, l as resourceSucceed, u as useManaged, n as useResource } from '../tracing-CWV4gT0u.js';
4
- import { R as RuntimeClock, k as RuntimeTimerId, j as RuntimeClockEnv, a as LayerContext, S as ServiceTag, L as Layer, l as Schedule } from '../layer-D2LFcBVx.js';
5
- export { B as BuiltLayer, b as CircuitBreaker, c as CircuitBreakerConfig, d as CircuitBreakerError, e as CircuitBreakerState, C as CircuitBreakerStats, f as LayerErrorOf, g as LayerInputOf, h as LayerOutputOf, i as LayerScope, M as MissingLayerServiceError, m as ScheduleDecision, n as ScheduleDriver, o as ScheduleDriverDecision, p as ScheduleDriverOptions, q as ScheduleDriverSnapshot, r as ScheduleObserver, s as ScheduleObserverEvent, t as ScheduleStepContext, u as ServiceTagMap, v as ServicesOf, T as TestLayerProvider, w as andThenSchedule, x as buildLayer, y as composeAll, z as composeLayer, A as contramapSchedule, D as defineLayer, E as defineService, F as elapsed, G as exponential, H as fibonacci, I as fixed, J as forever, K as formatLayerError, N as getService, O as getServices, P as intersect, Q as jitter, U as jittered, V as jitteredSchedule, W as layer, X as layerEffect, Y as layerFail, Z as layerFrom, _ as layerFromContext, $ as layerSucceed, a0 as layerValue, a1 as linear, a2 as liveClock, a3 as makeCircuitBreaker, a4 as makeLayerScope, a5 as makeScheduleDriver, a6 as makeServiceTag, a7 as makeTestLayer, a8 as makeTestLayers, a9 as mapLayer, aa as mapSchedule, ab as maxDelay, ac as maxElapsed, ad as mergeAll, ae as mergeLayer, af as namedSchedule, ag as never, ah as once, ai as pollWithSchedule, aj as provide, ak as provideContext, al as provideLayer, am as provideLayerContext, an as recurs, ao as repeatWithSchedule, ap as repeatWithScheduleAlias, aq as retryWithSchedule, ar as retryWithScheduleAlias, as as runSchedule, at as runtimeClockFromEnv, au as scheduleDriver, av as serviceTag, aw as spaced, ax as takeSchedule, ay as tapDecision, az as union, aA as untilInput, aB as untilOutput, aC as upTo, aD as useService, aE as useServices, aF as whileInput, aG as whileOutput, aH as windowed } from '../layer-D2LFcBVx.js';
1
+ import { A as Async, a as RuntimeOptions, b as Runtime, E as Exit, aJ as Task, ay as ScheduleResult, aD as SchedulerStats, R as RuntimeHooks, f as RuntimeEventRecord, h as RuntimeRegistry, k as Fiber } from '../effect-DbEMiMvv.js';
2
+ export { u as AbortablePromiseFinish, v as AbortablePromiseLabelStats, w as AbortablePromiseOptions, x as AbortablePromiseOutcome, y as AbortablePromiseStats, z as AbortablePromiseTimerWheel, D as AsyncWithPromise, H as CancelToken, I as Canceler, K as Cause, L as CausePrettyOptions, M as ContextNode, $ as FiberContext, l as FiberId, a1 as FiberInfo, a5 as FiberRunState, m as FiberStatus, ah as Interrupted, ai as InterruptibilityMode, J as JSONValue, al as None, am as NoopHooks, O as Option, as as RestoreInterruptibility, e as RuntimeEmitContext, d as RuntimeEvent, i as RuntimeFiber, g as RuntimeSpanLink, S as Scope, aF as ScopeId, aG as ScopeInfo, aH as Some, T as TraceContext, Z as ZIO, aM as abortablePromiseStats, aN as acquireRelease, aO as async, aP as asyncCatchAll, aQ as asyncFail, aR as asyncFlatMap, aS as asyncFold, aT as asyncInterruptible, aU as asyncMap, aV as asyncMapError, aW as asyncSucceed, aX as asyncSync, aY as asyncTotal, aZ as catchAll, a_ as ctxExtend, a$ as ctxToObject, b0 as emptyContext, b1 as end, b3 as fail, b4 as flatMap, b5 as fork, b6 as formatCause, b7 as fromPromiseAbortable, b8 as getBenchmarkBudget, b9 as getCurrentFiber, bc as interruptible, bd as isCause, bf as linkAbortController, bh as makeCancelToken, bj as makeRuntimeEventRecord, bk as map, bl as mapAsync, bm as mapError, bn as mapTryAsync, bo as none, bp as orElseOptional, bq as prettyCause, br as recordAbortablePromiseFinish, bs as recordAbortablePromiseStart, bt as resetAbortablePromiseStats, bv as runtimeEventRecordContext, bw as runtimeForCaller, bz as setAbortablePromisePerLabelTracking, bA as setBenchmarkBudget, bB as setCurrentFiber, bC as some, bD as succeed, bE as sync, bF as toPromise, bG as toPromiseByCaller, bH as uninterruptible, bI as uninterruptibleMask, bJ as unit, bK as unsafeGetCurrentRuntime, bL as unsafeRunAsync, bM as unsafeRunFoldWithEnv, bN as withAsyncPromise, bO as withCurrentFiber, bP as withScope, bQ as withScopeAsync } from '../effect-DbEMiMvv.js';
3
+ export { M as ManagedResource, R as Resource, R as ResourceDescriptor, S as Span, a as SpanContext, b as SpanEvent, c as SpanStatus, T as Tracer, d as TracerConfig, e as bracket, f as ensuring, m as makeResource, g as makeTracer, h as managed, i as managedAll, r as resource, j as resourceAll, k as resourceFromManaged, l as resourceSucceed, u as useManaged, n as useResource } from '../tracing-DIAUf2x8.js';
4
+ import { R as RuntimeClock, k as RuntimeTimerId, j as RuntimeClockEnv, a as LayerContext, S as ServiceTag, L as Layer, l as Schedule } from '../layer-CsNGeVee.js';
5
+ export { B as BuiltLayer, b as CircuitBreaker, c as CircuitBreakerConfig, d as CircuitBreakerError, e as CircuitBreakerState, C as CircuitBreakerStats, f as LayerErrorOf, g as LayerInputOf, h as LayerOutputOf, i as LayerScope, M as MissingLayerServiceError, m as ScheduleDecision, n as ScheduleDriver, o as ScheduleDriverDecision, p as ScheduleDriverOptions, q as ScheduleDriverSnapshot, r as ScheduleObserver, s as ScheduleObserverEvent, t as ScheduleStepContext, u as ServiceTagMap, v as ServicesOf, T as TestLayerProvider, w as andThenSchedule, x as buildLayer, y as composeAll, z as composeLayer, A as contramapSchedule, D as defineLayer, E as defineService, F as elapsed, G as exponential, H as fibonacci, I as fixed, J as forever, K as formatLayerError, N as getService, O as getServices, P as intersect, Q as jitter, U as jittered, V as jitteredSchedule, W as layer, X as layerEffect, Y as layerFail, Z as layerFrom, _ as layerFromContext, $ as layerSucceed, a0 as layerValue, a1 as linear, a2 as liveClock, a3 as makeCircuitBreaker, a4 as makeLayerScope, a5 as makeScheduleDriver, a6 as makeServiceTag, a7 as makeTestLayer, a8 as makeTestLayers, a9 as mapLayer, aa as mapSchedule, ab as maxDelay, ac as maxElapsed, ad as mergeAll, ae as mergeLayer, af as namedSchedule, ag as never, ah as once, ai as pollWithSchedule, aj as provide, ak as provideContext, al as provideLayer, am as provideLayerContext, an as recurs, ao as repeatWithSchedule, ap as repeatWithScheduleAlias, aq as retryWithSchedule, ar as retryWithScheduleAlias, as as runSchedule, at as runtimeClockFromEnv, au as scheduleDriver, av as serviceTag, aw as spaced, ax as takeSchedule, ay as tapDecision, az as union, aA as untilInput, aB as untilOutput, aC as upTo, aD as useService, aE as useServices, aF as whileInput, aG as whileOutput, aH as windowed } from '../layer-CsNGeVee.js';
6
6
  import { JsonSchemaLike } from '../schema/index.js';
7
- export { B as BrassEnv, C as Counter, E as EventBus, f as EventBusOptions, g as EventHandler, G as Gauge, H as Histogram, h as HistogramBuckets, I as InMemoryTracer, e as InMemoryTracerOptions, i as InMemoryTracerStats, a as MetricExemplar, b as MetricSnapshot, j as MetricType, k as MetricValue, M as MetricsRegistry, R as RuntimeSpan, l as RuntimeSpanEvent, d as RuntimeTraceIdGenerator, m as defaultTracer, n as makeMetrics, r as runtimeHooksToEventHandler } from '../tracer-DF83nLn6.js';
7
+ export { B as BrassEnv, C as Counter, E as EventBus, f as EventBusOptions, g as EventHandler, G as Gauge, H as Histogram, h as HistogramBuckets, I as InMemoryTracer, e as InMemoryTracerOptions, i as InMemoryTracerStats, a as MetricExemplar, b as MetricSnapshot, j as MetricType, k as MetricValue, M as MetricsRegistry, R as RuntimeSpan, l as RuntimeSpanEvent, d as RuntimeTraceIdGenerator, m as defaultTracer, n as makeMetrics, r as runtimeHooksToEventHandler } from '../tracer-CS3yOXZx.js';
8
8
 
9
9
  type TimeoutError = {
10
10
  readonly _tag: "TimeoutError";
@@ -37,7 +37,7 @@ import {
37
37
  runPromise,
38
38
  supervise,
39
39
  tagError
40
- } from "../chunk-H4ZRUQZL.js";
40
+ } from "../chunk-PG6CHG34.js";
41
41
  import {
42
42
  makeCircuitBreaker
43
43
  } from "../chunk-YM3EDNYD.js";
@@ -53,11 +53,11 @@ import {
53
53
  unsafeGetFiberRef,
54
54
  unsafeSetFiberRef,
55
55
  updateFiberRef
56
- } from "../chunk-GXOIUBKE.js";
56
+ } from "../chunk-RZQK32C6.js";
57
57
  import {
58
58
  RuntimeService,
59
59
  makeRuntimeLayer
60
- } from "../chunk-FC5N5QHJ.js";
60
+ } from "../chunk-NWONRWBT.js";
61
61
  import {
62
62
  EventBus,
63
63
  InMemoryTracer,
@@ -65,7 +65,7 @@ import {
65
65
  makeRuntimeEventRecord,
66
66
  runtimeEventRecordContext,
67
67
  runtimeHooksToEventHandler
68
- } from "../chunk-B2VXVNIS.js";
68
+ } from "../chunk-LI7WUVJN.js";
69
69
  import {
70
70
  Layer,
71
71
  LayerContext,
@@ -154,7 +154,7 @@ import {
154
154
  whileInput,
155
155
  whileOutput,
156
156
  windowed
157
- } from "../chunk-EXBGIC66.js";
157
+ } from "../chunk-6W5DC3TX.js";
158
158
  import {
159
159
  NoopHooks,
160
160
  Runtime,
@@ -176,6 +176,7 @@ import {
176
176
  runtimeForCaller,
177
177
  setAbortablePromisePerLabelTracking,
178
178
  setBenchmarkBudget,
179
+ setCurrentFiber,
179
180
  toPromise,
180
181
  toPromiseByCaller,
181
182
  unsafeGetCurrentRuntime,
@@ -184,7 +185,7 @@ import {
184
185
  withCurrentFiber,
185
186
  withScope,
186
187
  withScopeAsync
187
- } from "../chunk-APQBU7TM.js";
188
+ } from "../chunk-TN2P7RNK.js";
188
189
  import {
189
190
  Async,
190
191
  Cause,
@@ -398,6 +399,7 @@ export {
398
399
  serviceTag,
399
400
  setAbortablePromisePerLabelTracking,
400
401
  setBenchmarkBudget,
402
+ setCurrentFiber,
401
403
  setFiberRef,
402
404
  sleep,
403
405
  some,
@@ -37,7 +37,7 @@ import {
37
37
  runPromise,
38
38
  supervise,
39
39
  tagError
40
- } from "../chunk-5UBJT4RW.mjs";
40
+ } from "../chunk-JM7WMSRR.mjs";
41
41
  import {
42
42
  makeCircuitBreaker
43
43
  } from "../chunk-KTGDLBLD.mjs";
@@ -53,11 +53,11 @@ import {
53
53
  unsafeGetFiberRef,
54
54
  unsafeSetFiberRef,
55
55
  updateFiberRef
56
- } from "../chunk-EKLEDIVJ.mjs";
56
+ } from "../chunk-S6KSHYAT.mjs";
57
57
  import {
58
58
  RuntimeService,
59
59
  makeRuntimeLayer
60
- } from "../chunk-3NKXUX4T.mjs";
60
+ } from "../chunk-ZXLETUGQ.mjs";
61
61
  import {
62
62
  EventBus,
63
63
  InMemoryTracer,
@@ -65,7 +65,7 @@ import {
65
65
  makeRuntimeEventRecord,
66
66
  runtimeEventRecordContext,
67
67
  runtimeHooksToEventHandler
68
- } from "../chunk-KAPZHDO4.mjs";
68
+ } from "../chunk-WA65XP2P.mjs";
69
69
  import {
70
70
  Layer,
71
71
  LayerContext,
@@ -154,7 +154,7 @@ import {
154
154
  whileInput,
155
155
  whileOutput,
156
156
  windowed
157
- } from "../chunk-KDXNWGPB.mjs";
157
+ } from "../chunk-XRRC5BBM.mjs";
158
158
  import {
159
159
  NoopHooks,
160
160
  Runtime,
@@ -176,6 +176,7 @@ import {
176
176
  runtimeForCaller,
177
177
  setAbortablePromisePerLabelTracking,
178
178
  setBenchmarkBudget,
179
+ setCurrentFiber,
179
180
  toPromise,
180
181
  toPromiseByCaller,
181
182
  unsafeGetCurrentRuntime,
@@ -184,7 +185,7 @@ import {
184
185
  withCurrentFiber,
185
186
  withScope,
186
187
  withScopeAsync
187
- } from "../chunk-MUMBUXU6.mjs";
188
+ } from "../chunk-BFNBU47C.mjs";
188
189
  import {
189
190
  Async,
190
191
  Cause,
@@ -398,6 +399,7 @@ export {
398
399
  serviceTag,
399
400
  setAbortablePromisePerLabelTracking,
400
401
  setBenchmarkBudget,
402
+ setCurrentFiber,
401
403
  setFiberRef,
402
404
  sleep,
403
405
  some,
@@ -1,6 +1,6 @@
1
- import { A as Async, D as AsyncWithPromise } from './effect-DnGUuhw6.js';
2
- import { Z as ZStream } from './stream-I7bkvF7a.js';
3
- import { l as Schedule, r as ScheduleObserver, d as CircuitBreakerError } from './layer-D2LFcBVx.js';
1
+ import { A as Async, D as AsyncWithPromise } from './effect-DbEMiMvv.js';
2
+ import { Z as ZStream } from './stream-B8c_UKZq.js';
3
+ import { l as Schedule, r as ScheduleObserver, d as CircuitBreakerError } from './layer-CsNGeVee.js';
4
4
  import { SchemaIssue, JsonSchemaLike, AnyJsonSchemaLike, InferJsonSchema } from './schema/index.js';
5
5
 
6
6
  type HttpRetryScheduleInput = {
@@ -739,6 +739,7 @@ declare class Runtime<R> {
739
739
  readonly inferLane: boolean;
740
740
  registry?: RuntimeRegistry;
741
741
  constructor(args: RuntimeOptions<R>);
742
+ private readonly staticFastPathOk;
742
743
  private makeFiberEngine;
743
744
  /** Returns true when the runtime has real hooks (not the no-op singleton). */
744
745
  hasActiveHooks(): boolean;
@@ -970,6 +971,12 @@ declare function getCurrentFiber(): RuntimeFiber<any, any, any> | null;
970
971
  */
971
972
  declare function unsafeGetCurrentRuntime<R>(): Runtime<R>;
972
973
  declare function withCurrentFiber<T>(fiber: RuntimeFiber<any, any, any>, f: () => T): T;
974
+ /**
975
+ * Direct setter for the current fiber. Used by NativeTopLevelRunner to avoid
976
+ * the closure allocation of withCurrentFiber when running tight loops.
977
+ * Caller MUST restore the previous value via setCurrentFiber to maintain invariants.
978
+ */
979
+ declare function setCurrentFiber(fiber: RuntimeFiber<any, any, any> | null): RuntimeFiber<any, any, any> | null;
973
980
 
974
981
  type ScopeId = number;
975
982
  type CloseOptions = {
@@ -1180,4 +1187,4 @@ declare function uninterruptibleMask<R, E, A>(body: (restore: RestoreInterruptib
1180
1187
  declare function orElseOptional<R, E, A, R2, A2>(fa: ZIO<R, Option<E>, A>, that: () => ZIO<R2, Option<E>, A2>): ZIO<R & R2, Option<E>, A | A2>;
1181
1188
  declare const end: <E>() => ZIO<unknown, Option<E>, never>;
1182
1189
 
1183
- export { type FiberContext as $, Async as A, type Baggage as B, type AsyncRegisterRef as C, type AsyncWithPromise as D, Exit as E, type FiberEngine as F, type RingLike as G, type CancelToken as H, type Canceler as I, type JSONValue as J, Cause as K, type CausePrettyOptions as L, type ContextNode as M, type NodeId as N, type Option as O, type CustomHostAction as P, type DbHostAction as Q, type RuntimeHooks as R, Scope as S, type TraceContext as T, type DecodeRef as U, DefaultHostExecutor as V, type WasmEngineRuntime as W, type EngineKind as X, type EngineSelection as Y, type ZIO as Z, type EngineSelectionMode as _, type RuntimeOptions as a, ctxToObject as a$, type FiberEngineKind as a0, type FiberInfo as a1, type FiberReadyQueue as a2, type FiberReadyQueueOptions as a3, type FiberReadyQueueStats as a4, type FiberRunState as a5, type FlatMapRef as a6, type FoldFailureRef as a7, type FoldSuccessRef as a8, type HostAction as a9, type SchedulerEngine as aA, type SchedulerLaneMode as aB, type SchedulerOptions as aC, type SchedulerStats as aD, type SchedulerStatsData as aE, type ScopeId as aF, type ScopeInfo as aG, type Some as aH, type SyncRef as aI, type Task as aJ, WasmFiberEngine as aK, type WasmFiberEngineOptions as aL, abortablePromiseStats as aM, acquireRelease as aN, asyncEffect as aO, asyncCatchAll as aP, asyncFail as aQ, asyncFlatMap as aR, asyncFold as aS, asyncInterruptible as aT, asyncMap as aU, asyncMapError as aV, asyncSucceed as aW, asyncSync as aX, asyncTotal as aY, catchAll as aZ, ctxExtend as a_, type HostActionKind as aa, type HostActionResult as ab, type HostExecutionContext as ac, type HostExecutor as ad, HostRegistry as ae, type HostRegistryStats as af, type HttpHostAction as ag, type Interrupted as ah, type InterruptibilityMode as ai, type Joiner as aj, type LaneStatsData as ak, type None as al, NoopHooks as am, ProgramBuilder as an, type ProgramPatch as ao, PushStatus as ap, type QueueHostAction as aq, type ReadyQueueScheduleKind as ar, type RestoreInterruptibility as as, RingBuffer as at, type RingBufferEngine as au, type RingBufferStatsData as av, type RuntimeCapabilities as aw, type RuntimeEngineMode as ax, type ScheduleResult as ay, Scheduler as az, Runtime as b, emptyContext as b0, end as b1, engineStats as b2, fail as b3, flatMap as b4, fork as b5, formatCause as b6, fromPromiseAbortable as b7, getBenchmarkBudget as b8, getCurrentFiber as b9, setBenchmarkBudget as bA, some as bB, succeed as bC, sync as bD, toPromise as bE, toPromiseByCaller as bF, uninterruptible as bG, uninterruptibleMask as bH, unit as bI, unsafeGetCurrentRuntime as bJ, unsafeRunAsync as bK, unsafeRunFoldWithEnv as bL, withAsyncPromise as bM, withCurrentFiber as bN, withScope as bO, withScopeAsync as bP, globalScheduler as ba, inferCallerLaneFromStack as bb, interruptible as bc, isCause as bd, laneTag as be, linkAbortController as bf, makeBoundedRingBuffer as bg, makeCancelToken as bh, makeFiberReadyQueue as bi, makeRuntimeEventRecord as bj, map as bk, mapAsync as bl, mapError as bm, mapTryAsync as bn, none as bo, orElseOptional as bp, prettyCause as bq, recordAbortablePromiseFinish as br, recordAbortablePromiseStart as bs, resetAbortablePromiseStats as bt, runtimeCapabilities as bu, runtimeEventRecordContext as bv, runtimeForCaller as bw, sanitizeLaneKey as bx, selectedEngineStats as by, setAbortablePromisePerLabelTracking as bz, type RingBufferOptions as c, type RuntimeEvent as d, type RuntimeEmitContext as e, type RuntimeEventRecord as f, type RuntimeSpanLink as g, RuntimeRegistry as h, RuntimeFiber as i, type FiberEngineStats as j, type Fiber as k, type FiberId as l, type FiberStatus as m, type WasmBridge as n, type OpcodeProgram as o, type FiberId$1 as p, type EngineEvent as q, type RefId as r, type OpcodeNode as s, type EngineStats as t, type AbortablePromiseFinish as u, type AbortablePromiseLabelStats as v, type AbortablePromiseOptions as w, type AbortablePromiseOutcome as x, type AbortablePromiseStats as y, type AbortablePromiseTimerWheel as z };
1190
+ export { type FiberContext as $, Async as A, type Baggage as B, type AsyncRegisterRef as C, type AsyncWithPromise as D, Exit as E, type FiberEngine as F, type RingLike as G, type CancelToken as H, type Canceler as I, type JSONValue as J, Cause as K, type CausePrettyOptions as L, type ContextNode as M, type NodeId as N, type Option as O, type CustomHostAction as P, type DbHostAction as Q, type RuntimeHooks as R, Scope as S, type TraceContext as T, type DecodeRef as U, DefaultHostExecutor as V, type WasmEngineRuntime as W, type EngineKind as X, type EngineSelection as Y, type ZIO as Z, type EngineSelectionMode as _, type RuntimeOptions as a, ctxToObject as a$, type FiberEngineKind as a0, type FiberInfo as a1, type FiberReadyQueue as a2, type FiberReadyQueueOptions as a3, type FiberReadyQueueStats as a4, type FiberRunState as a5, type FlatMapRef as a6, type FoldFailureRef as a7, type FoldSuccessRef as a8, type HostAction as a9, type SchedulerEngine as aA, type SchedulerLaneMode as aB, type SchedulerOptions as aC, type SchedulerStats as aD, type SchedulerStatsData as aE, type ScopeId as aF, type ScopeInfo as aG, type Some as aH, type SyncRef as aI, type Task as aJ, WasmFiberEngine as aK, type WasmFiberEngineOptions as aL, abortablePromiseStats as aM, acquireRelease as aN, asyncEffect as aO, asyncCatchAll as aP, asyncFail as aQ, asyncFlatMap as aR, asyncFold as aS, asyncInterruptible as aT, asyncMap as aU, asyncMapError as aV, asyncSucceed as aW, asyncSync as aX, asyncTotal as aY, catchAll as aZ, ctxExtend as a_, type HostActionKind as aa, type HostActionResult as ab, type HostExecutionContext as ac, type HostExecutor as ad, HostRegistry as ae, type HostRegistryStats as af, type HttpHostAction as ag, type Interrupted as ah, type InterruptibilityMode as ai, type Joiner as aj, type LaneStatsData as ak, type None as al, NoopHooks as am, ProgramBuilder as an, type ProgramPatch as ao, PushStatus as ap, type QueueHostAction as aq, type ReadyQueueScheduleKind as ar, type RestoreInterruptibility as as, RingBuffer as at, type RingBufferEngine as au, type RingBufferStatsData as av, type RuntimeCapabilities as aw, type RuntimeEngineMode as ax, type ScheduleResult as ay, Scheduler as az, Runtime as b, emptyContext as b0, end as b1, engineStats as b2, fail as b3, flatMap as b4, fork as b5, formatCause as b6, fromPromiseAbortable as b7, getBenchmarkBudget as b8, getCurrentFiber as b9, setBenchmarkBudget as bA, setCurrentFiber as bB, some as bC, succeed as bD, sync as bE, toPromise as bF, toPromiseByCaller as bG, uninterruptible as bH, uninterruptibleMask as bI, unit as bJ, unsafeGetCurrentRuntime as bK, unsafeRunAsync as bL, unsafeRunFoldWithEnv as bM, withAsyncPromise as bN, withCurrentFiber as bO, withScope as bP, withScopeAsync as bQ, globalScheduler as ba, inferCallerLaneFromStack as bb, interruptible as bc, isCause as bd, laneTag as be, linkAbortController as bf, makeBoundedRingBuffer as bg, makeCancelToken as bh, makeFiberReadyQueue as bi, makeRuntimeEventRecord as bj, map as bk, mapAsync as bl, mapError as bm, mapTryAsync as bn, none as bo, orElseOptional as bp, prettyCause as bq, recordAbortablePromiseFinish as br, recordAbortablePromiseStart as bs, resetAbortablePromiseStats as bt, runtimeCapabilities as bu, runtimeEventRecordContext as bv, runtimeForCaller as bw, sanitizeLaneKey as bx, selectedEngineStats as by, setAbortablePromisePerLabelTracking as bz, type RingBufferOptions as c, type RuntimeEvent as d, type RuntimeEmitContext as e, type RuntimeEventRecord as f, type RuntimeSpanLink as g, RuntimeRegistry as h, RuntimeFiber as i, type FiberEngineStats as j, type Fiber as k, type FiberId as l, type FiberStatus as m, type WasmBridge as n, type OpcodeProgram as o, type FiberId$1 as p, type EngineEvent as q, type RefId as r, type OpcodeNode as s, type EngineStats as t, type AbortablePromiseFinish as u, type AbortablePromiseLabelStats as v, type AbortablePromiseOptions as w, type AbortablePromiseOutcome as x, type AbortablePromiseStats as y, type AbortablePromiseTimerWheel as z };