brass-runtime 1.18.0 → 1.18.1

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 (77) hide show
  1. package/dist/agent/cli/main.cjs +30 -30
  2. package/dist/agent/cli/main.js +2 -2
  3. package/dist/agent/cli/main.mjs +2 -2
  4. package/dist/agent/index.cjs +3 -3
  5. package/dist/agent/index.d.ts +1 -1
  6. package/dist/agent/index.js +2 -2
  7. package/dist/agent/index.mjs +2 -2
  8. package/dist/{chunk-PSEU65ND.js → chunk-22HZQG5F.js} +6 -6
  9. package/dist/{chunk-SSQJKDN3.cjs → chunk-2JHJ4YHS.cjs} +227 -117
  10. package/dist/{chunk-IFRBVMWJ.cjs → chunk-2OW6IFY2.cjs} +19 -19
  11. package/dist/{chunk-YTX2JYYP.cjs → chunk-5LC7V2OZ.cjs} +18 -18
  12. package/dist/{chunk-7TXQJFZX.cjs → chunk-5RZ7YITF.cjs} +13 -13
  13. package/dist/{chunk-OT2TESZU.mjs → chunk-6V2AWT4R.mjs} +1 -1
  14. package/dist/{chunk-BG5RNEA2.js → chunk-7DU7IQHK.js} +3 -3
  15. package/dist/{chunk-QCOLAHU3.mjs → chunk-7GBJYOX7.mjs} +5 -5
  16. package/dist/{chunk-ITG6I7ZS.js → chunk-7VQLEN37.js} +1 -1
  17. package/dist/{chunk-QZ6QFJNM.mjs → chunk-B5FKOLTB.mjs} +3 -3
  18. package/dist/{chunk-RREBJX2S.mjs → chunk-BC6Q6BCO.mjs} +1 -1
  19. package/dist/{chunk-KRYP6CAE.mjs → chunk-COOW7BJX.mjs} +2 -2
  20. package/dist/{chunk-ELLF55ER.mjs → chunk-EEN5OTCR.mjs} +1 -1
  21. package/dist/{chunk-3PFZGP23.cjs → chunk-EICAJDNX.cjs} +13 -13
  22. package/dist/{chunk-5XADBMSU.cjs → chunk-ELIECDYN.cjs} +5 -5
  23. package/dist/{chunk-2QNREG6K.mjs → chunk-H626ZTDZ.mjs} +211 -101
  24. package/dist/{chunk-JH4GI3DW.js → chunk-IPSMXUWA.js} +1 -1
  25. package/dist/{chunk-2SLT3X6G.cjs → chunk-J6DUHITE.cjs} +6 -6
  26. package/dist/{chunk-OI4ESUMC.mjs → chunk-JWIEMBE6.mjs} +6 -6
  27. package/dist/{chunk-N6QNSTWD.cjs → chunk-KNTJ7FQB.cjs} +5 -5
  28. package/dist/{chunk-W6WR37HN.js → chunk-LSYQ3C2M.js} +2 -2
  29. package/dist/{chunk-AADFFVYS.js → chunk-OW5VHAOE.js} +1 -1
  30. package/dist/{chunk-G5JTCFMI.mjs → chunk-RBHNOKH4.mjs} +2 -2
  31. package/dist/{chunk-IBRHSH5H.js → chunk-S4HXADU4.js} +1 -1
  32. package/dist/{chunk-XSAHV5HQ.js → chunk-TTSPIU3U.js} +211 -101
  33. package/dist/{chunk-S4HHFUYP.js → chunk-UAKAF32U.js} +2 -2
  34. package/dist/{chunk-R6WDSZA6.mjs → chunk-WCBNXPN6.mjs} +1 -1
  35. package/dist/{chunk-AJMKZXRB.cjs → chunk-WGE2FEZE.cjs} +2 -2
  36. package/dist/{chunk-LXBU5E77.cjs → chunk-WI7GZF3B.cjs} +16 -16
  37. package/dist/{chunk-H5GYX7RZ.js → chunk-WUDHOZIH.js} +113 -5
  38. package/dist/{chunk-KHACHFBQ.cjs → chunk-WVSZOPGQ.cjs} +54 -54
  39. package/dist/{chunk-VIFA4DPN.cjs → chunk-XPIMJQYS.cjs} +193 -85
  40. package/dist/{chunk-3PHU7FWS.js → chunk-YGR2IN4R.js} +5 -5
  41. package/dist/{chunk-ITZQ526U.mjs → chunk-YWLLH27R.mjs} +2 -2
  42. package/dist/{chunk-4YQHPIWJ.js → chunk-YZ5LQ32F.js} +2 -2
  43. package/dist/{chunk-Z3PSSXP3.mjs → chunk-Z3ZZMQUZ.mjs} +113 -5
  44. package/dist/core/index.cjs +13 -7
  45. package/dist/core/index.d.ts +6 -6
  46. package/dist/core/index.js +12 -6
  47. package/dist/core/index.mjs +12 -6
  48. package/dist/{defaultClient-DhpCQW9m.d.ts → defaultClient-Cid0JoUR.d.ts} +29 -4
  49. package/dist/{effect-CtUDl5M5.d.ts → effect-DnGUuhw6.d.ts} +22 -1
  50. package/dist/http/index.cjs +52 -48
  51. package/dist/http/index.d.ts +8 -8
  52. package/dist/http/index.js +10 -6
  53. package/dist/http/index.mjs +10 -6
  54. package/dist/http/testing.cjs +8 -8
  55. package/dist/http/testing.d.ts +4 -4
  56. package/dist/http/testing.js +4 -4
  57. package/dist/http/testing.mjs +4 -4
  58. package/dist/index.cjs +91 -85
  59. package/dist/index.d.ts +7 -7
  60. package/dist/index.js +13 -7
  61. package/dist/index.mjs +13 -7
  62. package/dist/{layer-BalPI6cN.d.ts → layer-D2LFcBVx.d.ts} +1 -1
  63. package/dist/observability/index.cjs +9 -9
  64. package/dist/observability/index.d.ts +7 -7
  65. package/dist/observability/index.js +8 -8
  66. package/dist/observability/index.mjs +8 -8
  67. package/dist/perf/cli.cjs +25 -25
  68. package/dist/perf/cli.js +10 -10
  69. package/dist/perf/cli.mjs +10 -10
  70. package/dist/perf/index.cjs +12 -12
  71. package/dist/perf/index.js +10 -10
  72. package/dist/perf/index.mjs +10 -10
  73. package/dist/{server-C1zVmqE6.d.ts → server-Bf1zNYZk.d.ts} +4 -4
  74. package/dist/{stream-Bb4FTejt.d.ts → stream-I7bkvF7a.d.ts} +1 -1
  75. package/dist/{tracer-DzfuE6um.d.ts → tracer-DF83nLn6.d.ts} +2 -2
  76. package/dist/{tracing-BABA5arE.d.ts → tracing-CWV4gT0u.d.ts} +1 -1
  77. package/package.json +3 -2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  RuntimeService
3
- } from "./chunk-W6WR37HN.js";
3
+ } from "./chunk-LSYQ3C2M.js";
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-4YQHPIWJ.js";
16
+ } from "./chunk-YZ5LQ32F.js";
17
17
  import {
18
18
  HttpClientService,
19
19
  getHttpRequestPolicy,
20
20
  httpErrorStatus,
21
21
  isRetryableHttpError,
22
22
  makeDefaultHttpClient
23
- } from "./chunk-H5GYX7RZ.js";
23
+ } from "./chunk-WUDHOZIH.js";
24
24
  import {
25
25
  registerHttpEffect
26
26
  } from "./chunk-TRM4JUZQ.js";
27
27
  import {
28
28
  layerEffect,
29
29
  makeServiceTag
30
- } from "./chunk-IBRHSH5H.js";
30
+ } from "./chunk-S4HXADU4.js";
31
31
  import {
32
32
  Runtime,
33
33
  fromPromiseAbortable,
34
34
  getCurrentFiber
35
- } from "./chunk-XSAHV5HQ.js";
35
+ } from "./chunk-TTSPIU3U.js";
36
36
  import {
37
37
  Cause,
38
38
  asyncEffect,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  layerEffect,
3
3
  makeServiceTag
4
- } from "./chunk-ELLF55ER.mjs";
4
+ } from "./chunk-EEN5OTCR.mjs";
5
5
  import {
6
6
  Runtime
7
- } from "./chunk-2QNREG6K.mjs";
7
+ } from "./chunk-H626ZTDZ.mjs";
8
8
  import {
9
9
  asyncSync
10
10
  } from "./chunk-36I3M4UC.mjs";
@@ -2,14 +2,14 @@ import {
2
2
  EventBus,
3
3
  InMemoryTracer,
4
4
  makeMetrics
5
- } from "./chunk-AADFFVYS.js";
5
+ } from "./chunk-OW5VHAOE.js";
6
6
  import {
7
7
  Runtime,
8
8
  ctxExtend,
9
9
  ctxToObject,
10
10
  emptyContext,
11
11
  getCurrentFiber
12
- } from "./chunk-XSAHV5HQ.js";
12
+ } from "./chunk-TTSPIU3U.js";
13
13
  import {
14
14
  asyncFail,
15
15
  asyncFlatMap,
@@ -3,18 +3,18 @@ import {
3
3
  } from "./chunk-MOO4L7F4.mjs";
4
4
  import {
5
5
  streamFromReadableStream
6
- } from "./chunk-RREBJX2S.mjs";
6
+ } from "./chunk-BC6Q6BCO.mjs";
7
7
  import {
8
8
  layerEffect,
9
9
  makeScheduleDriver,
10
10
  makeServiceTag,
11
11
  sleep
12
- } from "./chunk-ELLF55ER.mjs";
12
+ } from "./chunk-EEN5OTCR.mjs";
13
13
  import {
14
14
  fromPromiseAbortable,
15
15
  resolveWasmModule,
16
16
  toPromise
17
- } from "./chunk-2QNREG6K.mjs";
17
+ } from "./chunk-H626ZTDZ.mjs";
18
18
  import {
19
19
  Cause,
20
20
  asyncEffect,
@@ -678,6 +678,18 @@ var HttpConcurrencyPool = class {
678
678
  acquire(key, signal) {
679
679
  return this.wasm ? this.acquireWasm(key, signal) : this.acquireJs(key, signal);
680
680
  }
681
+ /** Try synchronous acquire. Returns lease directly or undefined if contended. */
682
+ tryAcquireSync(key, signal) {
683
+ if (this.wasm) return void 0;
684
+ if (signal.aborted) return void 0;
685
+ const state = this.getState(key);
686
+ if (state.running < this.concurrency) {
687
+ state.running++;
688
+ state.acquired++;
689
+ return this.makeLease(state);
690
+ }
691
+ return void 0;
692
+ }
681
693
  stats() {
682
694
  const keys = Array.from(this.states.values()).map((state) => ({
683
695
  key: state.key,
@@ -1516,6 +1528,24 @@ var AdaptiveLimiter = class {
1516
1528
  this.enqueueWaiter(state, waiter);
1517
1529
  });
1518
1530
  }
1531
+ /**
1532
+ * Try to acquire a concurrency slot synchronously.
1533
+ * Returns a lease directly if under the limit, or undefined if contended/aborted/destroyed.
1534
+ * This avoids Promise.resolve() allocation and microtask scheduling on the uncontended path.
1535
+ */
1536
+ tryAcquireSync(key, signal) {
1537
+ if (this.destroyed) return void 0;
1538
+ if (signal.aborted) return void 0;
1539
+ const state = this.getOrCreateState(key);
1540
+ this.touch(state);
1541
+ if (state.inFlight < state.limit) {
1542
+ state.inFlight++;
1543
+ state.acquired++;
1544
+ state.rejectionStreak = 0;
1545
+ return this.makeLease(state);
1546
+ }
1547
+ return void 0;
1548
+ }
1519
1549
  /**
1520
1550
  * Get stats for a specific key, or aggregate stats if no key is provided.
1521
1551
  */
@@ -2194,6 +2224,9 @@ var mergeHeadersUnder = (under) => (req) => Lens.over(Request.headers, (h) => ({
2194
2224
  var setHeaderIfMissing = (k, v) => (req) => Lens.over(Request.headers, (h) => h[k] ? h : { ...h, [k]: v })(req);
2195
2225
 
2196
2226
  // src/http/transport.ts
2227
+ function isPromiseTransportDirect(transport) {
2228
+ return transport.__promiseTransport === true;
2229
+ }
2197
2230
  var isTaggedHttpError = (error) => {
2198
2231
  return isHttpError(error);
2199
2232
  };
@@ -2325,7 +2358,7 @@ var toPromiseTransportResponse = (bodyText, info) => ({
2325
2358
  ...info.transportMeta !== void 0 ? { transportMeta: info.transportMeta } : {}
2326
2359
  });
2327
2360
  function makePromiseHttpTransport(config) {
2328
- return (context) => asyncEffect((_env, cb) => {
2361
+ const transport = (context) => asyncEffect((_env, cb) => {
2329
2362
  let done = false;
2330
2363
  const finish = (exit) => {
2331
2364
  if (done) return;
@@ -2368,6 +2401,20 @@ function makePromiseHttpTransport(config) {
2368
2401
  context.signal.removeEventListener("abort", abort);
2369
2402
  };
2370
2403
  });
2404
+ const marked = transport;
2405
+ marked.__promiseTransport = true;
2406
+ marked.requestDirect = async (context) => {
2407
+ const startedAt = nowMs();
2408
+ try {
2409
+ const raw = await config.request(context);
2410
+ const durationMs = Math.round(nowMs() - startedAt);
2411
+ const mapped = await config.response(raw, context, { startedAt, durationMs });
2412
+ return { ...mapped, ms: mapped.ms ?? durationMs };
2413
+ } catch (error) {
2414
+ throw config.error?.(error, context) ?? normalizeHttpError(error, { signal: context.signal });
2415
+ }
2416
+ };
2417
+ return marked;
2371
2418
  }
2372
2419
  function makePromiseHttpTransportBodyBuilder(config) {
2373
2420
  const makeBodyTransport = (mode, body, responseMapper, currentConfig = config) => makePromiseHttpTransport({
@@ -3083,6 +3130,13 @@ function makeHttpStream(cfg = {}) {
3083
3130
  };
3084
3131
  return decorateStream(run, metrics.snapshot);
3085
3132
  }
3133
+ var ONCE_OPTIONS = Object.freeze({ once: true });
3134
+ var noopSignal = (() => {
3135
+ const c = new AbortController();
3136
+ const s = c.signal;
3137
+ globalThis.__brassNoopSignal = s;
3138
+ return s;
3139
+ })();
3086
3140
  function makeHttp(cfg = {}) {
3087
3141
  validateMakeHttpConfig(cfg);
3088
3142
  const baseUrl = cfg.baseUrl ?? "";
@@ -5867,10 +5921,14 @@ function makeDefaultHttpClient(config = {}) {
5867
5921
  wire = wire.with(withHttpPolicyPresets(policyPresets));
5868
5922
  }
5869
5923
  const features = featureSnapshot(lifecycleConfig2, compressionResult !== void 0, middleware.length);
5924
+ const hasMiddleware = compressionResult !== void 0 || middleware.length > 0 || policyPresets !== void 0 && Object.keys(policyPresets).length > 0;
5925
+ const transport = lifecycleConfig2.transport;
5926
+ const useInlineDecode = !hasMiddleware && transport !== void 0;
5870
5927
  return buildDefaultClient(wire, {
5871
5928
  preset,
5872
5929
  features,
5873
- compressionStats: compressionResult?.stats
5930
+ compressionStats: compressionResult?.stats,
5931
+ useInlineDecode
5874
5932
  });
5875
5933
  }
5876
5934
  function buildDefaultClient(wire, meta) {
@@ -5889,6 +5947,11 @@ function buildDefaultClient(wire, meta) {
5889
5947
  const req = setHeaderIfMissing("accept", "application/json")(
5890
5948
  buildHttpRequest("GET", url, init)
5891
5949
  );
5950
+ if (meta.useInlineDecode) {
5951
+ return withPromise(
5952
+ fusedWireAndDecode(requestRaw(req), init?.schema, init?.schemaName)
5953
+ );
5954
+ }
5892
5955
  return withPromise(
5893
5956
  asyncFlatMap(requestRaw(req), (w) => decodeResponse(w, init?.schema, init?.schemaName))
5894
5957
  );
@@ -5917,6 +5980,7 @@ function buildDefaultClient(wire, meta) {
5917
5980
  postJson,
5918
5981
  with: (mw) => buildDefaultClient(wire.with(mw), {
5919
5982
  ...meta,
5983
+ useInlineDecode: false,
5920
5984
  features: {
5921
5985
  ...meta.features,
5922
5986
  middleware: meta.features.middleware + 1
@@ -5944,6 +6008,48 @@ function toResponse(wire, body) {
5944
6008
  body
5945
6009
  };
5946
6010
  }
6011
+ function fusedWireAndDecode(wireEffect, schema, schemaName) {
6012
+ return {
6013
+ _tag: "Async",
6014
+ register: (env, cb) => {
6015
+ const innerEffect = wireEffect;
6016
+ if (innerEffect._tag === "Async" && innerEffect.register) {
6017
+ return innerEffect.register(env, (exit) => {
6018
+ if (exit._tag !== "Success") {
6019
+ cb(exit);
6020
+ return;
6021
+ }
6022
+ const wire = exit.value;
6023
+ inlineDecodeJson(wire, schema, schemaName, cb);
6024
+ });
6025
+ }
6026
+ const decoded = asyncFlatMap(wireEffect, (w) => decodeResponse(w, schema, schemaName));
6027
+ if (decoded._tag === "Async" && decoded.register) {
6028
+ return decoded.register(env, cb);
6029
+ }
6030
+ cb({ _tag: "Failure", cause: Cause.fail({ _tag: "ValidationError", message: "Internal: unexpected effect shape", body: "", issues: [], phase: "response" }) });
6031
+ }
6032
+ };
6033
+ }
6034
+ function inlineDecodeJson(wire, schema, schemaName, cb) {
6035
+ if (!schema) {
6036
+ let parsed;
6037
+ try {
6038
+ parsed = JSON.parse(wire.bodyText);
6039
+ } catch (error) {
6040
+ cb({ _tag: "Failure", cause: Cause.fail(makeJsonParseValidationError(wire.bodyText, error, { schemaName })) });
6041
+ return;
6042
+ }
6043
+ cb({ _tag: "Success", value: toResponse(wire, parsed) });
6044
+ return;
6045
+ }
6046
+ const result = decodeJsonBody(wire.bodyText, schema, { schemaName });
6047
+ if (result.success) {
6048
+ cb({ _tag: "Success", value: toResponse(wire, result.data) });
6049
+ } else {
6050
+ cb({ _tag: "Failure", cause: Cause.fail(result.error) });
6051
+ }
6052
+ }
5947
6053
  function decodeResponse(wire, schema, schemaName) {
5948
6054
  if (!schema) {
5949
6055
  try {
@@ -6069,6 +6175,7 @@ export {
6069
6175
  validateConfig,
6070
6176
  resolveConfig,
6071
6177
  AdaptiveLimiter,
6178
+ isPromiseTransportDirect,
6072
6179
  isTaggedHttpError,
6073
6180
  isAbortError,
6074
6181
  normalizeHttpError,
@@ -6084,6 +6191,7 @@ export {
6084
6191
  withMiddleware,
6085
6192
  normalizeHeadersInit,
6086
6193
  makeHttpStream,
6194
+ noopSignal,
6087
6195
  makeHttp,
6088
6196
  withRetryStream,
6089
6197
  SEPARATOR,
@@ -37,7 +37,7 @@
37
37
 
38
38
 
39
39
 
40
- var _chunkIFRBVMWJcjs = require('../chunk-IFRBVMWJ.cjs');
40
+ var _chunk2OW6IFY2cjs = require('../chunk-2OW6IFY2.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 _chunkN6QNSTWDcjs = require('../chunk-N6QNSTWD.cjs');
56
+ var _chunkKNTJ7FQBcjs = require('../chunk-KNTJ7FQB.cjs');
57
57
 
58
58
 
59
59
 
60
- var _chunk5XADBMSUcjs = require('../chunk-5XADBMSU.cjs');
60
+ var _chunkELIECDYNcjs = require('../chunk-ELIECDYN.cjs');
61
61
 
62
62
 
63
63
 
@@ -65,7 +65,7 @@ var _chunk5XADBMSUcjs = require('../chunk-5XADBMSU.cjs');
65
65
 
66
66
 
67
67
 
68
- var _chunkAJMKZXRBcjs = require('../chunk-AJMKZXRB.cjs');
68
+ var _chunkWGE2FEZEcjs = require('../chunk-WGE2FEZE.cjs');
69
69
 
70
70
 
71
71
 
@@ -154,7 +154,7 @@ var _chunkAJMKZXRBcjs = require('../chunk-AJMKZXRB.cjs');
154
154
 
155
155
 
156
156
 
157
- var _chunk7TXQJFZXcjs = require('../chunk-7TXQJFZX.cjs');
157
+ var _chunk5RZ7YITFcjs = require('../chunk-5RZ7YITF.cjs');
158
158
 
159
159
 
160
160
 
@@ -181,7 +181,10 @@ var _chunk7TXQJFZXcjs = require('../chunk-7TXQJFZX.cjs');
181
181
 
182
182
 
183
183
 
184
- var _chunkSSQJKDN3cjs = require('../chunk-SSQJKDN3.cjs');
184
+
185
+
186
+
187
+ var _chunk2JHJ4YHScjs = require('../chunk-2JHJ4YHS.cjs');
185
188
 
186
189
 
187
190
 
@@ -429,4 +432,7 @@ require('../chunk-OBGZSXTJ.cjs');
429
432
 
430
433
 
431
434
 
432
- exports.Async = _chunkMVGUEJ5Zcjs.Async; exports.Cause = _chunkMVGUEJ5Zcjs.Cause; exports.EventBus = _chunkAJMKZXRBcjs.EventBus; exports.Exit = _chunkMVGUEJ5Zcjs.Exit; exports.InMemoryTracer = _chunkAJMKZXRBcjs.InMemoryTracer; exports.Layer = _chunk7TXQJFZXcjs.Layer; exports.LayerContext = _chunk7TXQJFZXcjs.LayerContext; exports.MissingLayerServiceError = _chunk7TXQJFZXcjs.MissingLayerServiceError; exports.NoopHooks = _chunkSSQJKDN3cjs.NoopHooks; exports.Resource = _chunk7TXQJFZXcjs.Resource; exports.Runtime = _chunkSSQJKDN3cjs.Runtime; exports.RuntimeFiber = _chunkSSQJKDN3cjs.RuntimeFiber; exports.RuntimeRegistry = _chunkIFRBVMWJcjs.RuntimeRegistry; exports.RuntimeService = _chunk5XADBMSUcjs.RuntimeService; exports.Schedule = _chunk7TXQJFZXcjs.Schedule; exports.Scope = _chunkSSQJKDN3cjs.Scope; exports.Supervisor = _chunkIFRBVMWJcjs.Supervisor; exports.TestClock = _chunkIFRBVMWJcjs.TestClock; exports.TestScheduler = _chunkIFRBVMWJcjs.TestScheduler; exports.abortablePromiseStats = _chunkSSQJKDN3cjs.abortablePromiseStats; exports.acquireRelease = _chunkMVGUEJ5Zcjs.acquireRelease; exports.andThenSchedule = _chunk7TXQJFZXcjs.andThen; exports.assertCompletesWithin = _chunkIFRBVMWJcjs.assertCompletesWithin; exports.assertFails = _chunkIFRBVMWJcjs.assertFails; exports.assertFailsWith = _chunkIFRBVMWJcjs.assertFailsWith; exports.assertSucceeds = _chunkIFRBVMWJcjs.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 = _chunk7TXQJFZXcjs.bracket; exports.buildLayer = _chunk7TXQJFZXcjs.buildLayer; exports.catchAll = _chunkMVGUEJ5Zcjs.catchAll; exports.catchTag = _chunkIFRBVMWJcjs.catchTag; exports.catchTags = _chunkIFRBVMWJcjs.catchTags; exports.composeAll = _chunk7TXQJFZXcjs.composeAll; exports.composeLayer = _chunk7TXQJFZXcjs.compose; exports.consoleJsonLogger = _chunkIFRBVMWJcjs.consoleJsonLogger; exports.contramapSchedule = _chunk7TXQJFZXcjs.contramap; exports.ctxExtend = _chunkSSQJKDN3cjs.ctxExtend; exports.ctxToObject = _chunkSSQJKDN3cjs.ctxToObject; exports.defaultTracer = _chunkIFRBVMWJcjs.defaultTracer; exports.defineConfigLayer = _chunkIFRBVMWJcjs.defineConfigLayer; exports.defineLayer = _chunk7TXQJFZXcjs.defineLayer; exports.defineService = _chunk7TXQJFZXcjs.defineService; exports.delayedEffect = _chunkIFRBVMWJcjs.delayedEffect; exports.derivedRef = _chunkIFRBVMWJcjs.derivedRef; exports.dumpAllFibers = _chunkIFRBVMWJcjs.dumpAllFibers; exports.elapsed = _chunk7TXQJFZXcjs.elapsed; exports.emptyContext = _chunkSSQJKDN3cjs.emptyContext; exports.end = _chunkMVGUEJ5Zcjs.end; exports.ensuring = _chunk7TXQJFZXcjs.ensuring; exports.exponential = _chunk7TXQJFZXcjs.exponential; exports.fail = _chunkMVGUEJ5Zcjs.fail; exports.fiberRefSnapshot = _chunkN6QNSTWDcjs.fiberRefSnapshot; exports.fibonacci = _chunk7TXQJFZXcjs.fibonacci; exports.fixed = _chunk7TXQJFZXcjs.fixed; exports.flakyEffect = _chunkIFRBVMWJcjs.flakyEffect; exports.flatMap = _chunkMVGUEJ5Zcjs.flatMap; exports.forever = _chunk7TXQJFZXcjs.forever; exports.fork = _chunkSSQJKDN3cjs.fork; exports.formatCause = _chunkMVGUEJ5Zcjs.formatCause; exports.formatLayerError = _chunk7TXQJFZXcjs.formatLayerError; exports.fromPromiseAbortable = _chunkSSQJKDN3cjs.fromPromiseAbortable; exports.getBenchmarkBudget = _chunkSSQJKDN3cjs.getBenchmarkBudget; exports.getCurrentFiber = _chunkSSQJKDN3cjs.getCurrentFiber; exports.getFiberRef = _chunkN6QNSTWDcjs.getFiberRef; exports.getService = _chunk7TXQJFZXcjs.getService; exports.getServices = _chunk7TXQJFZXcjs.getServices; exports.gracefulShutdown = _chunkIFRBVMWJcjs.gracefulShutdown; exports.interruptible = _chunkMVGUEJ5Zcjs.interruptible; exports.intersect = _chunk7TXQJFZXcjs.intersect; exports.isCause = _chunkMVGUEJ5Zcjs.isCause; exports.jitter = _chunk7TXQJFZXcjs.jitter; exports.jittered = _chunk7TXQJFZXcjs.jittered; exports.jitteredSchedule = _chunk7TXQJFZXcjs.jitteredSchedule; exports.joinSupervised = _chunkIFRBVMWJcjs.joinSupervised; exports.layer = _chunk7TXQJFZXcjs.layer; exports.layerEffect = _chunk7TXQJFZXcjs.layerEffect; exports.layerFail = _chunk7TXQJFZXcjs.layerFail; exports.layerFrom = _chunk7TXQJFZXcjs.layerFrom; exports.layerFromContext = _chunk7TXQJFZXcjs.layerFromContext; exports.layerSucceed = _chunk7TXQJFZXcjs.layerSucceed; exports.layerValue = _chunk7TXQJFZXcjs.layerValue; exports.linear = _chunk7TXQJFZXcjs.linear; exports.linkAbortController = _chunkIFRBVMWJcjs.linkAbortController; exports.liveClock = _chunkSSQJKDN3cjs.liveClock; exports.locallyFiberRef = _chunkN6QNSTWDcjs.locallyFiberRef; exports.locallyFiberRefWith = _chunkN6QNSTWDcjs.locallyFiberRefWith; exports.makeCancelToken = _chunkIFRBVMWJcjs.makeCancelToken; exports.makeCircuitBreaker = _chunk7TKI527Dcjs.makeCircuitBreaker; exports.makeConfigLayer = _chunkIFRBVMWJcjs.makeConfigLayer; exports.makeFiberRef = _chunkN6QNSTWDcjs.makeFiberRef; exports.makeLayerScope = _chunk7TXQJFZXcjs.makeLayerScope; exports.makeMetrics = _chunkAJMKZXRBcjs.makeMetrics; exports.makeRef = _chunkIFRBVMWJcjs.makeRef; exports.makeResource = _chunk7TXQJFZXcjs.makeResource; exports.makeRuntime = _chunkIFRBVMWJcjs.makeRuntime; exports.makeRuntimeEventRecord = _chunkAJMKZXRBcjs.makeRuntimeEventRecord; exports.makeRuntimeLayer = _chunk5XADBMSUcjs.makeRuntimeLayer; exports.makeRuntimeRecorder = _chunkN6QNSTWDcjs.makeRuntimeRecorder; exports.makeScheduleDriver = _chunk7TXQJFZXcjs.makeScheduleDriver; exports.makeSemaphore = _chunkIFRBVMWJcjs.makeSemaphore; exports.makeServiceTag = _chunk7TXQJFZXcjs.makeServiceTag; exports.makeSupervisor = _chunkIFRBVMWJcjs.makeSupervisor; exports.makeTestLayer = _chunk7TXQJFZXcjs.makeTestLayer; exports.makeTestLayers = _chunk7TXQJFZXcjs.makeTestLayers; exports.makeTestRuntime = _chunkIFRBVMWJcjs.makeTestRuntime; exports.makeTracer = _chunkIFRBVMWJcjs.makeTracer; exports.makeWorkerPool = _chunkIFRBVMWJcjs.makeWorkerPool; exports.managed = _chunk7TXQJFZXcjs.managed; exports.managedAll = _chunk7TXQJFZXcjs.managedAll; exports.map = _chunkMVGUEJ5Zcjs.map; exports.mapAsync = _chunkMVGUEJ5Zcjs.mapAsync; exports.mapError = _chunkMVGUEJ5Zcjs.mapError; exports.mapErrorTyped = _chunkIFRBVMWJcjs.mapError; exports.mapLayer = _chunk7TXQJFZXcjs.mapLayer; exports.mapSchedule = _chunk7TXQJFZXcjs.map; exports.mapTryAsync = _chunkMVGUEJ5Zcjs.mapTryAsync; exports.maxDelay = _chunk7TXQJFZXcjs.maxDelay; exports.maxElapsed = _chunk7TXQJFZXcjs.maxElapsed; exports.mergeAll = _chunk7TXQJFZXcjs.mergeAll; exports.mergeLayer = _chunk7TXQJFZXcjs.merge; exports.modifyFiberRef = _chunkN6QNSTWDcjs.modifyFiberRef; exports.namedSchedule = _chunk7TXQJFZXcjs.named; exports.never = _chunk7TXQJFZXcjs.never; exports.neverEffect = _chunkIFRBVMWJcjs.neverEffect; exports.none = _chunkMVGUEJ5Zcjs.none; exports.once = _chunk7TXQJFZXcjs.once; exports.orElse = _chunkIFRBVMWJcjs.orElse; exports.orElseOptional = _chunkMVGUEJ5Zcjs.orElseOptional; exports.pollWithSchedule = _chunk7TXQJFZXcjs.poll; exports.prettyCause = _chunkMVGUEJ5Zcjs.prettyCause; exports.provide = _chunk7TXQJFZXcjs.provide; exports.provideContext = _chunk7TXQJFZXcjs.provideContext; exports.provideLayer = _chunk7TXQJFZXcjs.provideLayer; exports.provideLayerContext = _chunk7TXQJFZXcjs.provideLayerContext; exports.recurs = _chunk7TXQJFZXcjs.recurs; exports.registerShutdownHooks = _chunkIFRBVMWJcjs.registerShutdownHooks; exports.repeatWithSchedule = _chunk7TXQJFZXcjs.repeatWithSchedule; exports.repeatWithScheduleAlias = _chunk7TXQJFZXcjs.repeat; exports.resetAbortablePromiseStats = _chunkSSQJKDN3cjs.resetAbortablePromiseStats; exports.resource = _chunk7TXQJFZXcjs.resource; exports.resourceAll = _chunk7TXQJFZXcjs.resourceAll; exports.resourceFromManaged = _chunk7TXQJFZXcjs.resourceFromManaged; exports.resourceSucceed = _chunk7TXQJFZXcjs.resourceSucceed; exports.retry = _chunk7TXQJFZXcjs.retry; exports.retryN = _chunk7TXQJFZXcjs.retryN; exports.retryWithBackoff = _chunk7TXQJFZXcjs.retryWithBackoff; exports.retryWithSchedule = _chunk7TXQJFZXcjs.retryWithSchedule; exports.retryWithScheduleAlias = _chunk7TXQJFZXcjs.retry2; exports.runEffect = _chunkIFRBVMWJcjs.runEffect; exports.runExit = _chunkIFRBVMWJcjs.runExit; exports.runPromise = _chunkIFRBVMWJcjs.runPromise; exports.runSchedule = _chunk7TXQJFZXcjs.runSchedule; exports.runtimeClockFromEnv = _chunkSSQJKDN3cjs.runtimeClockFromEnv; exports.runtimeEventRecordContext = _chunkAJMKZXRBcjs.runtimeEventRecordContext; exports.runtimeForCaller = _chunkSSQJKDN3cjs.runtimeForCaller; exports.runtimeHooksToEventHandler = _chunkAJMKZXRBcjs.runtimeHooksToEventHandler; exports.scheduleDriver = _chunk7TXQJFZXcjs.scheduleDriver; exports.serviceTag = _chunk7TXQJFZXcjs.serviceTag; exports.setBenchmarkBudget = _chunkSSQJKDN3cjs.setBenchmarkBudget; exports.setFiberRef = _chunkN6QNSTWDcjs.setFiberRef; exports.sleep = _chunk7TXQJFZXcjs.sleep; exports.some = _chunkMVGUEJ5Zcjs.some; exports.spaced = _chunk7TXQJFZXcjs.spaced; exports.succeed = _chunkMVGUEJ5Zcjs.succeed; exports.supervise = _chunkIFRBVMWJcjs.supervise; exports.sync = _chunkMVGUEJ5Zcjs.sync; exports.tagError = _chunkIFRBVMWJcjs.tagError; exports.takeSchedule = _chunk7TXQJFZXcjs.take; exports.tapDecision = _chunk7TXQJFZXcjs.tapDecision; exports.timeout = _chunk7TXQJFZXcjs.timeout; exports.toPromise = _chunkSSQJKDN3cjs.toPromise; exports.toPromiseByCaller = _chunkSSQJKDN3cjs.toPromiseByCaller; exports.uninterruptible = _chunkMVGUEJ5Zcjs.uninterruptible; exports.uninterruptibleMask = _chunkMVGUEJ5Zcjs.uninterruptibleMask; exports.union = _chunk7TXQJFZXcjs.union; exports.unit = _chunkMVGUEJ5Zcjs.unit; exports.unsafeGetCurrentRuntime = _chunkSSQJKDN3cjs.unsafeGetCurrentRuntime; exports.unsafeGetFiberRef = _chunkN6QNSTWDcjs.unsafeGetFiberRef; exports.unsafeRunAsync = _chunkSSQJKDN3cjs.unsafeRunAsync; exports.unsafeRunFoldWithEnv = _chunkSSQJKDN3cjs.unsafeRunFoldWithEnv; exports.unsafeSetFiberRef = _chunkN6QNSTWDcjs.unsafeSetFiberRef; exports.untilInput = _chunk7TXQJFZXcjs.untilInput; exports.untilOutput = _chunk7TXQJFZXcjs.untilOutput; exports.upTo = _chunk7TXQJFZXcjs.upTo; exports.updateFiberRef = _chunkN6QNSTWDcjs.updateFiberRef; exports.useManaged = _chunk7TXQJFZXcjs.useManaged; exports.useResource = _chunk7TXQJFZXcjs.useResource; exports.useService = _chunk7TXQJFZXcjs.useService; exports.useServices = _chunk7TXQJFZXcjs.useServices; exports.whileInput = _chunk7TXQJFZXcjs.whileInput; exports.whileOutput = _chunk7TXQJFZXcjs.whileOutput; exports.windowed = _chunk7TXQJFZXcjs.windowed; exports.withAsyncPromise = _chunkMVGUEJ5Zcjs.withAsyncPromise; exports.withCurrentFiber = _chunkSSQJKDN3cjs.withCurrentFiber; exports.withScope = _chunkSSQJKDN3cjs.withScope; exports.withScopeAsync = _chunkSSQJKDN3cjs.withScopeAsync;
435
+
436
+
437
+
438
+ exports.Async = _chunkMVGUEJ5Zcjs.Async; exports.Cause = _chunkMVGUEJ5Zcjs.Cause; exports.EventBus = _chunkWGE2FEZEcjs.EventBus; exports.Exit = _chunkMVGUEJ5Zcjs.Exit; exports.InMemoryTracer = _chunkWGE2FEZEcjs.InMemoryTracer; exports.Layer = _chunk5RZ7YITFcjs.Layer; exports.LayerContext = _chunk5RZ7YITFcjs.LayerContext; exports.MissingLayerServiceError = _chunk5RZ7YITFcjs.MissingLayerServiceError; exports.NoopHooks = _chunk2JHJ4YHScjs.NoopHooks; exports.Resource = _chunk5RZ7YITFcjs.Resource; exports.Runtime = _chunk2JHJ4YHScjs.Runtime; exports.RuntimeFiber = _chunk2JHJ4YHScjs.RuntimeFiber; exports.RuntimeRegistry = _chunk2OW6IFY2cjs.RuntimeRegistry; exports.RuntimeService = _chunkELIECDYNcjs.RuntimeService; exports.Schedule = _chunk5RZ7YITFcjs.Schedule; exports.Scope = _chunk2JHJ4YHScjs.Scope; exports.Supervisor = _chunk2OW6IFY2cjs.Supervisor; exports.TestClock = _chunk2OW6IFY2cjs.TestClock; exports.TestScheduler = _chunk2OW6IFY2cjs.TestScheduler; exports.abortablePromiseStats = _chunk2JHJ4YHScjs.abortablePromiseStats; exports.acquireRelease = _chunkMVGUEJ5Zcjs.acquireRelease; exports.andThenSchedule = _chunk5RZ7YITFcjs.andThen; exports.assertCompletesWithin = _chunk2OW6IFY2cjs.assertCompletesWithin; exports.assertFails = _chunk2OW6IFY2cjs.assertFails; exports.assertFailsWith = _chunk2OW6IFY2cjs.assertFailsWith; exports.assertSucceeds = _chunk2OW6IFY2cjs.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 = _chunk5RZ7YITFcjs.bracket; exports.buildLayer = _chunk5RZ7YITFcjs.buildLayer; exports.catchAll = _chunkMVGUEJ5Zcjs.catchAll; exports.catchTag = _chunk2OW6IFY2cjs.catchTag; exports.catchTags = _chunk2OW6IFY2cjs.catchTags; exports.composeAll = _chunk5RZ7YITFcjs.composeAll; exports.composeLayer = _chunk5RZ7YITFcjs.compose; exports.consoleJsonLogger = _chunk2OW6IFY2cjs.consoleJsonLogger; exports.contramapSchedule = _chunk5RZ7YITFcjs.contramap; exports.ctxExtend = _chunk2JHJ4YHScjs.ctxExtend; exports.ctxToObject = _chunk2JHJ4YHScjs.ctxToObject; exports.defaultTracer = _chunk2OW6IFY2cjs.defaultTracer; exports.defineConfigLayer = _chunk2OW6IFY2cjs.defineConfigLayer; exports.defineLayer = _chunk5RZ7YITFcjs.defineLayer; exports.defineService = _chunk5RZ7YITFcjs.defineService; exports.delayedEffect = _chunk2OW6IFY2cjs.delayedEffect; exports.derivedRef = _chunk2OW6IFY2cjs.derivedRef; exports.dumpAllFibers = _chunk2OW6IFY2cjs.dumpAllFibers; exports.elapsed = _chunk5RZ7YITFcjs.elapsed; exports.emptyContext = _chunk2JHJ4YHScjs.emptyContext; exports.end = _chunkMVGUEJ5Zcjs.end; exports.ensuring = _chunk5RZ7YITFcjs.ensuring; exports.exponential = _chunk5RZ7YITFcjs.exponential; exports.fail = _chunkMVGUEJ5Zcjs.fail; exports.fiberRefSnapshot = _chunkKNTJ7FQBcjs.fiberRefSnapshot; exports.fibonacci = _chunk5RZ7YITFcjs.fibonacci; exports.fixed = _chunk5RZ7YITFcjs.fixed; exports.flakyEffect = _chunk2OW6IFY2cjs.flakyEffect; exports.flatMap = _chunkMVGUEJ5Zcjs.flatMap; exports.forever = _chunk5RZ7YITFcjs.forever; exports.fork = _chunk2JHJ4YHScjs.fork; exports.formatCause = _chunkMVGUEJ5Zcjs.formatCause; exports.formatLayerError = _chunk5RZ7YITFcjs.formatLayerError; exports.fromPromiseAbortable = _chunk2JHJ4YHScjs.fromPromiseAbortable; exports.getBenchmarkBudget = _chunk2JHJ4YHScjs.getBenchmarkBudget; exports.getCurrentFiber = _chunk2JHJ4YHScjs.getCurrentFiber; exports.getFiberRef = _chunkKNTJ7FQBcjs.getFiberRef; exports.getService = _chunk5RZ7YITFcjs.getService; exports.getServices = _chunk5RZ7YITFcjs.getServices; exports.gracefulShutdown = _chunk2OW6IFY2cjs.gracefulShutdown; exports.interruptible = _chunkMVGUEJ5Zcjs.interruptible; exports.intersect = _chunk5RZ7YITFcjs.intersect; exports.isCause = _chunkMVGUEJ5Zcjs.isCause; exports.jitter = _chunk5RZ7YITFcjs.jitter; exports.jittered = _chunk5RZ7YITFcjs.jittered; exports.jitteredSchedule = _chunk5RZ7YITFcjs.jitteredSchedule; exports.joinSupervised = _chunk2OW6IFY2cjs.joinSupervised; exports.layer = _chunk5RZ7YITFcjs.layer; exports.layerEffect = _chunk5RZ7YITFcjs.layerEffect; exports.layerFail = _chunk5RZ7YITFcjs.layerFail; exports.layerFrom = _chunk5RZ7YITFcjs.layerFrom; exports.layerFromContext = _chunk5RZ7YITFcjs.layerFromContext; exports.layerSucceed = _chunk5RZ7YITFcjs.layerSucceed; exports.layerValue = _chunk5RZ7YITFcjs.layerValue; exports.linear = _chunk5RZ7YITFcjs.linear; exports.linkAbortController = _chunk2OW6IFY2cjs.linkAbortController; exports.liveClock = _chunk2JHJ4YHScjs.liveClock; exports.locallyFiberRef = _chunkKNTJ7FQBcjs.locallyFiberRef; exports.locallyFiberRefWith = _chunkKNTJ7FQBcjs.locallyFiberRefWith; exports.makeCancelToken = _chunk2OW6IFY2cjs.makeCancelToken; exports.makeCircuitBreaker = _chunk7TKI527Dcjs.makeCircuitBreaker; exports.makeConfigLayer = _chunk2OW6IFY2cjs.makeConfigLayer; exports.makeFiberRef = _chunkKNTJ7FQBcjs.makeFiberRef; exports.makeLayerScope = _chunk5RZ7YITFcjs.makeLayerScope; exports.makeMetrics = _chunkWGE2FEZEcjs.makeMetrics; exports.makeRef = _chunk2OW6IFY2cjs.makeRef; exports.makeResource = _chunk5RZ7YITFcjs.makeResource; exports.makeRuntime = _chunk2OW6IFY2cjs.makeRuntime; exports.makeRuntimeEventRecord = _chunkWGE2FEZEcjs.makeRuntimeEventRecord; exports.makeRuntimeLayer = _chunkELIECDYNcjs.makeRuntimeLayer; exports.makeRuntimeRecorder = _chunkKNTJ7FQBcjs.makeRuntimeRecorder; exports.makeScheduleDriver = _chunk5RZ7YITFcjs.makeScheduleDriver; exports.makeSemaphore = _chunk2OW6IFY2cjs.makeSemaphore; exports.makeServiceTag = _chunk5RZ7YITFcjs.makeServiceTag; exports.makeSupervisor = _chunk2OW6IFY2cjs.makeSupervisor; exports.makeTestLayer = _chunk5RZ7YITFcjs.makeTestLayer; exports.makeTestLayers = _chunk5RZ7YITFcjs.makeTestLayers; exports.makeTestRuntime = _chunk2OW6IFY2cjs.makeTestRuntime; exports.makeTracer = _chunk2OW6IFY2cjs.makeTracer; exports.makeWorkerPool = _chunk2OW6IFY2cjs.makeWorkerPool; exports.managed = _chunk5RZ7YITFcjs.managed; exports.managedAll = _chunk5RZ7YITFcjs.managedAll; exports.map = _chunkMVGUEJ5Zcjs.map; exports.mapAsync = _chunkMVGUEJ5Zcjs.mapAsync; exports.mapError = _chunkMVGUEJ5Zcjs.mapError; exports.mapErrorTyped = _chunk2OW6IFY2cjs.mapError; exports.mapLayer = _chunk5RZ7YITFcjs.mapLayer; exports.mapSchedule = _chunk5RZ7YITFcjs.map; exports.mapTryAsync = _chunkMVGUEJ5Zcjs.mapTryAsync; exports.maxDelay = _chunk5RZ7YITFcjs.maxDelay; exports.maxElapsed = _chunk5RZ7YITFcjs.maxElapsed; exports.mergeAll = _chunk5RZ7YITFcjs.mergeAll; exports.mergeLayer = _chunk5RZ7YITFcjs.merge; exports.modifyFiberRef = _chunkKNTJ7FQBcjs.modifyFiberRef; exports.namedSchedule = _chunk5RZ7YITFcjs.named; exports.never = _chunk5RZ7YITFcjs.never; exports.neverEffect = _chunk2OW6IFY2cjs.neverEffect; exports.none = _chunkMVGUEJ5Zcjs.none; exports.once = _chunk5RZ7YITFcjs.once; exports.orElse = _chunk2OW6IFY2cjs.orElse; exports.orElseOptional = _chunkMVGUEJ5Zcjs.orElseOptional; exports.pollWithSchedule = _chunk5RZ7YITFcjs.poll; exports.prettyCause = _chunkMVGUEJ5Zcjs.prettyCause; exports.provide = _chunk5RZ7YITFcjs.provide; exports.provideContext = _chunk5RZ7YITFcjs.provideContext; exports.provideLayer = _chunk5RZ7YITFcjs.provideLayer; exports.provideLayerContext = _chunk5RZ7YITFcjs.provideLayerContext; exports.recordAbortablePromiseFinish = _chunk2JHJ4YHScjs.recordAbortablePromiseFinish; exports.recordAbortablePromiseStart = _chunk2JHJ4YHScjs.recordAbortablePromiseStart; exports.recurs = _chunk5RZ7YITFcjs.recurs; exports.registerShutdownHooks = _chunk2OW6IFY2cjs.registerShutdownHooks; exports.repeatWithSchedule = _chunk5RZ7YITFcjs.repeatWithSchedule; exports.repeatWithScheduleAlias = _chunk5RZ7YITFcjs.repeat; exports.resetAbortablePromiseStats = _chunk2JHJ4YHScjs.resetAbortablePromiseStats; exports.resource = _chunk5RZ7YITFcjs.resource; exports.resourceAll = _chunk5RZ7YITFcjs.resourceAll; exports.resourceFromManaged = _chunk5RZ7YITFcjs.resourceFromManaged; exports.resourceSucceed = _chunk5RZ7YITFcjs.resourceSucceed; exports.retry = _chunk5RZ7YITFcjs.retry; exports.retryN = _chunk5RZ7YITFcjs.retryN; exports.retryWithBackoff = _chunk5RZ7YITFcjs.retryWithBackoff; exports.retryWithSchedule = _chunk5RZ7YITFcjs.retryWithSchedule; exports.retryWithScheduleAlias = _chunk5RZ7YITFcjs.retry2; exports.runEffect = _chunk2OW6IFY2cjs.runEffect; exports.runExit = _chunk2OW6IFY2cjs.runExit; exports.runPromise = _chunk2OW6IFY2cjs.runPromise; exports.runSchedule = _chunk5RZ7YITFcjs.runSchedule; exports.runtimeClockFromEnv = _chunk2JHJ4YHScjs.runtimeClockFromEnv; exports.runtimeEventRecordContext = _chunkWGE2FEZEcjs.runtimeEventRecordContext; exports.runtimeForCaller = _chunk2JHJ4YHScjs.runtimeForCaller; exports.runtimeHooksToEventHandler = _chunkWGE2FEZEcjs.runtimeHooksToEventHandler; exports.scheduleDriver = _chunk5RZ7YITFcjs.scheduleDriver; exports.serviceTag = _chunk5RZ7YITFcjs.serviceTag; exports.setAbortablePromisePerLabelTracking = _chunk2JHJ4YHScjs.setAbortablePromisePerLabelTracking; exports.setBenchmarkBudget = _chunk2JHJ4YHScjs.setBenchmarkBudget; exports.setFiberRef = _chunkKNTJ7FQBcjs.setFiberRef; exports.sleep = _chunk5RZ7YITFcjs.sleep; exports.some = _chunkMVGUEJ5Zcjs.some; exports.spaced = _chunk5RZ7YITFcjs.spaced; exports.succeed = _chunkMVGUEJ5Zcjs.succeed; exports.supervise = _chunk2OW6IFY2cjs.supervise; exports.sync = _chunkMVGUEJ5Zcjs.sync; exports.tagError = _chunk2OW6IFY2cjs.tagError; exports.takeSchedule = _chunk5RZ7YITFcjs.take; exports.tapDecision = _chunk5RZ7YITFcjs.tapDecision; exports.timeout = _chunk5RZ7YITFcjs.timeout; exports.toPromise = _chunk2JHJ4YHScjs.toPromise; exports.toPromiseByCaller = _chunk2JHJ4YHScjs.toPromiseByCaller; exports.uninterruptible = _chunkMVGUEJ5Zcjs.uninterruptible; exports.uninterruptibleMask = _chunkMVGUEJ5Zcjs.uninterruptibleMask; exports.union = _chunk5RZ7YITFcjs.union; exports.unit = _chunkMVGUEJ5Zcjs.unit; exports.unsafeGetCurrentRuntime = _chunk2JHJ4YHScjs.unsafeGetCurrentRuntime; exports.unsafeGetFiberRef = _chunkKNTJ7FQBcjs.unsafeGetFiberRef; exports.unsafeRunAsync = _chunk2JHJ4YHScjs.unsafeRunAsync; exports.unsafeRunFoldWithEnv = _chunk2JHJ4YHScjs.unsafeRunFoldWithEnv; exports.unsafeSetFiberRef = _chunkKNTJ7FQBcjs.unsafeSetFiberRef; exports.untilInput = _chunk5RZ7YITFcjs.untilInput; exports.untilOutput = _chunk5RZ7YITFcjs.untilOutput; exports.upTo = _chunk5RZ7YITFcjs.upTo; exports.updateFiberRef = _chunkKNTJ7FQBcjs.updateFiberRef; exports.useManaged = _chunk5RZ7YITFcjs.useManaged; exports.useResource = _chunk5RZ7YITFcjs.useResource; exports.useService = _chunk5RZ7YITFcjs.useService; exports.useServices = _chunk5RZ7YITFcjs.useServices; exports.whileInput = _chunk5RZ7YITFcjs.whileInput; exports.whileOutput = _chunk5RZ7YITFcjs.whileOutput; exports.windowed = _chunk5RZ7YITFcjs.windowed; exports.withAsyncPromise = _chunkMVGUEJ5Zcjs.withAsyncPromise; exports.withCurrentFiber = _chunk2JHJ4YHScjs.withCurrentFiber; exports.withScope = _chunk2JHJ4YHScjs.withScope; exports.withScopeAsync = _chunk2JHJ4YHScjs.withScopeAsync;
@@ -1,10 +1,10 @@
1
- import { A as Async, a as RuntimeOptions, b as Runtime, E as Exit, aI as Task, ax as ScheduleResult, aC as SchedulerStats, R as RuntimeHooks, f as RuntimeEventRecord, h as RuntimeRegistry, k as Fiber } from '../effect-CtUDl5M5.js';
2
- export { u as AbortablePromiseFinish, v as AbortablePromiseLabelStats, w as AbortablePromiseOptions, x as AbortablePromiseOutcome, y as AbortablePromiseStats, C as AsyncWithPromise, G as CancelToken, H as Canceler, I as Cause, K as CausePrettyOptions, L as ContextNode, _ as FiberContext, l as FiberId, a0 as FiberInfo, a4 as FiberRunState, m as FiberStatus, ag as Interrupted, ah as InterruptibilityMode, J as JSONValue, ak as None, al as NoopHooks, O as Option, ar as RestoreInterruptibility, e as RuntimeEmitContext, d as RuntimeEvent, i as RuntimeFiber, g as RuntimeSpanLink, S as Scope, aE as ScopeId, aF as ScopeInfo, aG as Some, T as TraceContext, Z as ZIO, aL as abortablePromiseStats, aM as acquireRelease, aN as async, aO as asyncCatchAll, aP as asyncFail, aQ as asyncFlatMap, aR as asyncFold, aS as asyncInterruptible, aT as asyncMap, aU as asyncMapError, aV as asyncSucceed, aW as asyncSync, aX as asyncTotal, aY as catchAll, aZ as ctxExtend, a_ as ctxToObject, a$ as emptyContext, b0 as end, b2 as fail, b3 as flatMap, b4 as fork, b5 as formatCause, b6 as fromPromiseAbortable, b7 as getBenchmarkBudget, b8 as getCurrentFiber, bb as interruptible, bc as isCause, be as linkAbortController, bg as makeCancelToken, bi as makeRuntimeEventRecord, bj as map, bk as mapAsync, bl as mapError, bm as mapTryAsync, bn as none, bo as orElseOptional, bp as prettyCause, bq as resetAbortablePromiseStats, bs as runtimeEventRecordContext, bt as runtimeForCaller, bw as setBenchmarkBudget, bx as some, by as succeed, bz as sync, bA as toPromise, bB as toPromiseByCaller, bC as uninterruptible, bD as uninterruptibleMask, bE as unit, bF as unsafeGetCurrentRuntime, bG as unsafeRunAsync, bH as unsafeRunFoldWithEnv, bI as withAsyncPromise, bJ as withCurrentFiber, bK as withScope, bL as withScopeAsync } from '../effect-CtUDl5M5.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-BABA5arE.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-BalPI6cN.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-BalPI6cN.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-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';
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-DzfuE6um.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';
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-BG5RNEA2.js";
40
+ } from "../chunk-7DU7IQHK.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-S4HHFUYP.js";
56
+ } from "../chunk-UAKAF32U.js";
57
57
  import {
58
58
  RuntimeService,
59
59
  makeRuntimeLayer
60
- } from "../chunk-W6WR37HN.js";
60
+ } from "../chunk-LSYQ3C2M.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-AADFFVYS.js";
68
+ } from "../chunk-OW5VHAOE.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-IBRHSH5H.js";
157
+ } from "../chunk-S4HXADU4.js";
158
158
  import {
159
159
  NoopHooks,
160
160
  Runtime,
@@ -169,9 +169,12 @@ import {
169
169
  getBenchmarkBudget,
170
170
  getCurrentFiber,
171
171
  liveClock,
172
+ recordAbortablePromiseFinish,
173
+ recordAbortablePromiseStart,
172
174
  resetAbortablePromiseStats,
173
175
  runtimeClockFromEnv,
174
176
  runtimeForCaller,
177
+ setAbortablePromisePerLabelTracking,
175
178
  setBenchmarkBudget,
176
179
  toPromise,
177
180
  toPromiseByCaller,
@@ -181,7 +184,7 @@ import {
181
184
  withCurrentFiber,
182
185
  withScope,
183
186
  withScopeAsync
184
- } from "../chunk-XSAHV5HQ.js";
187
+ } from "../chunk-TTSPIU3U.js";
185
188
  import {
186
189
  Async,
187
190
  Cause,
@@ -367,6 +370,8 @@ export {
367
370
  provideContext,
368
371
  provideLayer,
369
372
  provideLayerContext,
373
+ recordAbortablePromiseFinish,
374
+ recordAbortablePromiseStart,
370
375
  recurs,
371
376
  registerShutdownHooks,
372
377
  repeatWithSchedule,
@@ -391,6 +396,7 @@ export {
391
396
  runtimeHooksToEventHandler,
392
397
  scheduleDriver,
393
398
  serviceTag,
399
+ setAbortablePromisePerLabelTracking,
394
400
  setBenchmarkBudget,
395
401
  setFiberRef,
396
402
  sleep,
@@ -37,7 +37,7 @@ import {
37
37
  runPromise,
38
38
  supervise,
39
39
  tagError
40
- } from "../chunk-QZ6QFJNM.mjs";
40
+ } from "../chunk-B5FKOLTB.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-G5JTCFMI.mjs";
56
+ } from "../chunk-RBHNOKH4.mjs";
57
57
  import {
58
58
  RuntimeService,
59
59
  makeRuntimeLayer
60
- } from "../chunk-ITZQ526U.mjs";
60
+ } from "../chunk-YWLLH27R.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-OT2TESZU.mjs";
68
+ } from "../chunk-6V2AWT4R.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-ELLF55ER.mjs";
157
+ } from "../chunk-EEN5OTCR.mjs";
158
158
  import {
159
159
  NoopHooks,
160
160
  Runtime,
@@ -169,9 +169,12 @@ import {
169
169
  getBenchmarkBudget,
170
170
  getCurrentFiber,
171
171
  liveClock,
172
+ recordAbortablePromiseFinish,
173
+ recordAbortablePromiseStart,
172
174
  resetAbortablePromiseStats,
173
175
  runtimeClockFromEnv,
174
176
  runtimeForCaller,
177
+ setAbortablePromisePerLabelTracking,
175
178
  setBenchmarkBudget,
176
179
  toPromise,
177
180
  toPromiseByCaller,
@@ -181,7 +184,7 @@ import {
181
184
  withCurrentFiber,
182
185
  withScope,
183
186
  withScopeAsync
184
- } from "../chunk-2QNREG6K.mjs";
187
+ } from "../chunk-H626ZTDZ.mjs";
185
188
  import {
186
189
  Async,
187
190
  Cause,
@@ -367,6 +370,8 @@ export {
367
370
  provideContext,
368
371
  provideLayer,
369
372
  provideLayerContext,
373
+ recordAbortablePromiseFinish,
374
+ recordAbortablePromiseStart,
370
375
  recurs,
371
376
  registerShutdownHooks,
372
377
  repeatWithSchedule,
@@ -391,6 +396,7 @@ export {
391
396
  runtimeHooksToEventHandler,
392
397
  scheduleDriver,
393
398
  serviceTag,
399
+ setAbortablePromisePerLabelTracking,
394
400
  setBenchmarkBudget,
395
401
  setFiberRef,
396
402
  sleep,