brass-runtime 1.17.0 → 1.18.0

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 (120) hide show
  1. package/README.md +36 -3
  2. package/dist/agent/cli/main.cjs +31 -32
  3. package/dist/agent/cli/main.js +3 -4
  4. package/dist/agent/cli/main.mjs +3 -4
  5. package/dist/agent/index.cjs +4 -5
  6. package/dist/agent/index.d.ts +1 -1
  7. package/dist/agent/index.js +3 -4
  8. package/dist/agent/index.mjs +3 -4
  9. package/dist/{chunk-GYM3LLGS.mjs → chunk-2QNREG6K.mjs} +188 -5
  10. package/dist/{chunk-4ROBZFL6.cjs → chunk-2SLT3X6G.cjs} +6 -8
  11. package/dist/{chunk-KZJQ723N.cjs → chunk-3PFZGP23.cjs} +13 -15
  12. package/dist/{chunk-VWIPB6I5.js → chunk-3PHU7FWS.js} +528 -23
  13. package/dist/{chunk-BKK77SBA.js → chunk-4YQHPIWJ.js} +32 -11
  14. package/dist/chunk-5XADBMSU.cjs +33 -0
  15. package/dist/{chunk-DNFJLJMW.mjs → chunk-6MLAZPBL.mjs} +48 -24
  16. package/dist/chunk-7TKI527D.cjs +123 -0
  17. package/dist/{chunk-AGR5B2BC.cjs → chunk-7TXQJFZX.cjs} +564 -12
  18. package/dist/{chunk-RKGKFN2A.js → chunk-AADFFVYS.js} +1 -1
  19. package/dist/{chunk-52PPNNI4.cjs → chunk-AJMKZXRB.cjs} +2 -2
  20. package/dist/{chunk-3AYM6WPJ.js → chunk-BG5RNEA2.js} +20 -299
  21. package/dist/{chunk-2HQTDLHF.mjs → chunk-ELLF55ER.mjs} +555 -3
  22. package/dist/{chunk-EOC4UHBS.mjs → chunk-G5JTCFMI.mjs} +2 -2
  23. package/dist/chunk-H5GYX7RZ.js +6126 -0
  24. package/dist/{chunk-C3MDXTRZ.js → chunk-HCJ4S3YB.js} +48 -24
  25. package/dist/{chunk-6IXXWIUM.js → chunk-IBRHSH5H.js} +555 -3
  26. package/dist/{chunk-Q2I37RP3.cjs → chunk-IFRBVMWJ.cjs} +44 -323
  27. package/dist/{chunk-52OB2ROS.js → chunk-ITG6I7ZS.js} +2 -4
  28. package/dist/chunk-ITZQ526U.mjs +33 -0
  29. package/dist/{chunk-7JIJOVCT.js → chunk-JH4GI3DW.js} +2 -4
  30. package/dist/{chunk-F6XWZQY4.cjs → chunk-KHACHFBQ.cjs} +583 -78
  31. package/dist/{chunk-4P2HHGAX.mjs → chunk-KRYP6CAE.mjs} +32 -11
  32. package/dist/chunk-KTGDLBLD.mjs +123 -0
  33. package/dist/{chunk-WBGRHGBP.cjs → chunk-LXBU5E77.cjs} +114 -93
  34. package/dist/{chunk-PD4EJTQC.cjs → chunk-N6QNSTWD.cjs} +5 -5
  35. package/dist/{chunk-6RY2FFN4.mjs → chunk-OI4ESUMC.mjs} +9 -11
  36. package/dist/{chunk-EJ6BPYVR.mjs → chunk-OT2TESZU.mjs} +1 -1
  37. package/dist/{chunk-7X3K5RMS.js → chunk-PSEU65ND.js} +9 -11
  38. package/dist/{chunk-SK7UZRNI.mjs → chunk-QCOLAHU3.mjs} +528 -23
  39. package/dist/{chunk-KH4SYAOS.mjs → chunk-QZ6QFJNM.mjs} +20 -299
  40. package/dist/{chunk-MBEJI5HF.mjs → chunk-R6WDSZA6.mjs} +2 -4
  41. package/dist/{chunk-FHQGHPMO.mjs → chunk-RREBJX2S.mjs} +2 -4
  42. package/dist/{chunk-5QC7LRZ3.js → chunk-S4HHFUYP.js} +2 -2
  43. package/dist/{chunk-GLE2WY7Z.cjs → chunk-SSQJKDN3.cjs} +194 -11
  44. package/dist/{chunk-CZIVE6NT.cjs → chunk-UUMKZJRJ.cjs} +48 -24
  45. package/dist/chunk-VIFA4DPN.cjs +6126 -0
  46. package/dist/chunk-W6WR37HN.js +33 -0
  47. package/dist/{chunk-FH2X7BVP.js → chunk-XSAHV5HQ.js} +188 -5
  48. package/dist/chunk-YM3EDNYD.js +123 -0
  49. package/dist/{chunk-7ZPEZ57L.cjs → chunk-YTX2JYYP.cjs} +18 -20
  50. package/dist/chunk-Z3PSSXP3.mjs +6126 -0
  51. package/dist/core/index.cjs +31 -9
  52. package/dist/core/index.d.ts +19 -152
  53. package/dist/core/index.js +80 -58
  54. package/dist/core/index.mjs +80 -58
  55. package/dist/defaultClient-DhpCQW9m.d.ts +1623 -0
  56. package/dist/{effect-DIUHZ9IN.d.ts → effect-CtUDl5M5.d.ts} +1 -1
  57. package/dist/http/index.cjs +202 -59
  58. package/dist/http/index.d.ts +55 -819
  59. package/dist/http/index.js +216 -73
  60. package/dist/http/index.mjs +216 -73
  61. package/dist/http/testing.cjs +31 -10
  62. package/dist/http/testing.d.ts +16 -5
  63. package/dist/http/testing.js +29 -8
  64. package/dist/http/testing.mjs +29 -8
  65. package/dist/index.cjs +110 -88
  66. package/dist/index.d.ts +9 -8
  67. package/dist/index.js +81 -59
  68. package/dist/index.mjs +81 -59
  69. package/dist/{schedule-CK3Ml_7p.d.ts → layer-BalPI6cN.d.ts} +176 -2
  70. package/dist/observability/index.cjs +20 -7
  71. package/dist/observability/index.d.ts +32 -8
  72. package/dist/observability/index.js +19 -6
  73. package/dist/observability/index.mjs +19 -6
  74. package/dist/perf/cli.cjs +26 -28
  75. package/dist/perf/cli.js +11 -13
  76. package/dist/perf/cli.mjs +11 -13
  77. package/dist/perf/index.cjs +13 -15
  78. package/dist/perf/index.js +11 -13
  79. package/dist/perf/index.mjs +11 -13
  80. package/dist/schema/index.cjs +2 -2
  81. package/dist/schema/index.js +1 -1
  82. package/dist/schema/index.mjs +1 -1
  83. package/dist/{server-D6JZ15_e.d.ts → server-C1zVmqE6.d.ts} +5 -5
  84. package/dist/{stream-B4oK9JFP.d.ts → stream-Bb4FTejt.d.ts} +1 -1
  85. package/dist/{tracer-Hwt1cl7h.d.ts → tracer-DzfuE6um.d.ts} +2 -2
  86. package/dist/{tracing-DqbTKGcf.d.ts → tracing-BABA5arE.d.ts} +1 -1
  87. package/docs/README.md +2 -0
  88. package/docs/ai/PUBLIC_API.md +28 -7
  89. package/docs/articles/brass-runtime-http-observability.md +467 -0
  90. package/docs/frameworks/angular.md +51 -0
  91. package/docs/frameworks/express.md +58 -0
  92. package/docs/frameworks/fastify.md +49 -0
  93. package/docs/frameworks/nestjs.md +53 -0
  94. package/docs/frameworks/nextjs.md +55 -0
  95. package/docs/frameworks/react.md +44 -0
  96. package/docs/frameworks/vanilla.md +56 -0
  97. package/docs/guides/layers.md +130 -0
  98. package/docs/http-recipes.md +31 -1
  99. package/docs/http.md +50 -1
  100. package/docs/observability.md +132 -0
  101. package/docs/performance-profiler.md +6 -2
  102. package/docs/recipes/layers.md +46 -2
  103. package/docs/recipes/testing.md +25 -0
  104. package/package.json +4 -1
  105. package/dist/chunk-3LOYJFRR.cjs +0 -300
  106. package/dist/chunk-3Y2RIUMM.js +0 -300
  107. package/dist/chunk-5EC274J5.cjs +0 -2874
  108. package/dist/chunk-5VRJNBLZ.mjs +0 -2874
  109. package/dist/chunk-62AZW6UT.cjs +0 -313
  110. package/dist/chunk-74ZTY6CP.js +0 -2871
  111. package/dist/chunk-7CMJS3QE.mjs +0 -2871
  112. package/dist/chunk-A2OM6NEH.mjs +0 -194
  113. package/dist/chunk-B33ICAKP.js +0 -313
  114. package/dist/chunk-JF5WGYJJ.cjs +0 -194
  115. package/dist/chunk-KN32XNTH.mjs +0 -313
  116. package/dist/chunk-KQLYONSE.cjs +0 -2871
  117. package/dist/chunk-L2SYFEBS.js +0 -194
  118. package/dist/chunk-MIIYDLGM.js +0 -2874
  119. package/dist/chunk-PWC3RBQE.mjs +0 -300
  120. package/dist/client-CZHU674n.d.ts +0 -820
@@ -37,8 +37,10 @@
37
37
 
38
38
 
39
39
 
40
+ var _chunkIFRBVMWJcjs = require('../chunk-IFRBVMWJ.cjs');
40
41
 
41
42
 
43
+ var _chunk7TKI527Dcjs = require('../chunk-7TKI527D.cjs');
42
44
 
43
45
 
44
46
 
@@ -51,17 +53,19 @@
51
53
 
52
54
 
53
55
 
56
+ var _chunkN6QNSTWDcjs = require('../chunk-N6QNSTWD.cjs');
54
57
 
55
58
 
56
59
 
60
+ var _chunk5XADBMSUcjs = require('../chunk-5XADBMSU.cjs');
57
61
 
58
62
 
59
63
 
60
64
 
61
65
 
62
66
 
63
- var _chunkQ2I37RP3cjs = require('../chunk-Q2I37RP3.cjs');
64
67
 
68
+ var _chunkAJMKZXRBcjs = require('../chunk-AJMKZXRB.cjs');
65
69
 
66
70
 
67
71
 
@@ -75,7 +79,6 @@ var _chunkQ2I37RP3cjs = require('../chunk-Q2I37RP3.cjs');
75
79
 
76
80
 
77
81
 
78
- var _chunk62AZW6UTcjs = require('../chunk-62AZW6UT.cjs');
79
82
 
80
83
 
81
84
 
@@ -88,7 +91,6 @@ var _chunk62AZW6UTcjs = require('../chunk-62AZW6UT.cjs');
88
91
 
89
92
 
90
93
 
91
- var _chunkPD4EJTQCcjs = require('../chunk-PD4EJTQC.cjs');
92
94
 
93
95
 
94
96
 
@@ -133,12 +135,10 @@ var _chunkPD4EJTQCcjs = require('../chunk-PD4EJTQC.cjs');
133
135
 
134
136
 
135
137
 
136
- var _chunkAGR5B2BCcjs = require('../chunk-AGR5B2BC.cjs');
137
138
 
138
139
 
139
140
 
140
141
 
141
- var _chunkJF5WGYJJcjs = require('../chunk-JF5WGYJJ.cjs');
142
142
 
143
143
 
144
144
 
@@ -146,7 +146,6 @@ var _chunkJF5WGYJJcjs = require('../chunk-JF5WGYJJ.cjs');
146
146
 
147
147
 
148
148
 
149
- var _chunk52PPNNI4cjs = require('../chunk-52PPNNI4.cjs');
150
149
 
151
150
 
152
151
 
@@ -155,6 +154,7 @@ var _chunk52PPNNI4cjs = require('../chunk-52PPNNI4.cjs');
155
154
 
156
155
 
157
156
 
157
+ var _chunk7TXQJFZXcjs = require('../chunk-7TXQJFZX.cjs');
158
158
 
159
159
 
160
160
 
@@ -170,7 +170,18 @@ var _chunk52PPNNI4cjs = require('../chunk-52PPNNI4.cjs');
170
170
 
171
171
 
172
172
 
173
- var _chunkGLE2WY7Zcjs = require('../chunk-GLE2WY7Z.cjs');
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+
184
+ var _chunkSSQJKDN3cjs = require('../chunk-SSQJKDN3.cjs');
174
185
 
175
186
 
176
187
 
@@ -209,7 +220,7 @@ var _chunkGLE2WY7Zcjs = require('../chunk-GLE2WY7Z.cjs');
209
220
 
210
221
 
211
222
  var _chunkMVGUEJ5Zcjs = require('../chunk-MVGUEJ5Z.cjs');
212
- require('../chunk-CZIVE6NT.cjs');
223
+ require('../chunk-UUMKZJRJ.cjs');
213
224
  require('../chunk-OBGZSXTJ.cjs');
214
225
 
215
226
 
@@ -407,4 +418,15 @@ require('../chunk-OBGZSXTJ.cjs');
407
418
 
408
419
 
409
420
 
410
- exports.Async = _chunkMVGUEJ5Zcjs.Async; exports.Cause = _chunkMVGUEJ5Zcjs.Cause; exports.EventBus = _chunk52PPNNI4cjs.EventBus; exports.Exit = _chunkMVGUEJ5Zcjs.Exit; exports.InMemoryTracer = _chunk52PPNNI4cjs.InMemoryTracer; exports.Layer = _chunkQ2I37RP3cjs.Layer; exports.LayerContext = _chunkQ2I37RP3cjs.LayerContext; exports.MissingLayerServiceError = _chunkQ2I37RP3cjs.MissingLayerServiceError; exports.NoopHooks = _chunkGLE2WY7Zcjs.NoopHooks; exports.Resource = _chunk62AZW6UTcjs.Resource; exports.Runtime = _chunkGLE2WY7Zcjs.Runtime; exports.RuntimeFiber = _chunkGLE2WY7Zcjs.RuntimeFiber; exports.RuntimeRegistry = _chunkQ2I37RP3cjs.RuntimeRegistry; exports.Schedule = _chunkAGR5B2BCcjs.Schedule; exports.Scope = _chunkJF5WGYJJcjs.Scope; exports.Supervisor = _chunkQ2I37RP3cjs.Supervisor; exports.TestClock = _chunkQ2I37RP3cjs.TestClock; exports.TestScheduler = _chunkQ2I37RP3cjs.TestScheduler; exports.abortablePromiseStats = _chunkGLE2WY7Zcjs.abortablePromiseStats; exports.acquireRelease = _chunkMVGUEJ5Zcjs.acquireRelease; exports.andThenSchedule = _chunkAGR5B2BCcjs.andThen; exports.assertCompletesWithin = _chunkQ2I37RP3cjs.assertCompletesWithin; exports.assertFails = _chunkQ2I37RP3cjs.assertFails; exports.assertFailsWith = _chunkQ2I37RP3cjs.assertFailsWith; exports.assertSucceeds = _chunkQ2I37RP3cjs.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 = _chunk62AZW6UTcjs.bracket; exports.buildLayer = _chunkQ2I37RP3cjs.buildLayer; exports.catchAll = _chunkMVGUEJ5Zcjs.catchAll; exports.catchTag = _chunkQ2I37RP3cjs.catchTag; exports.catchTags = _chunkQ2I37RP3cjs.catchTags; exports.composeLayer = _chunkQ2I37RP3cjs.compose; exports.consoleJsonLogger = _chunkQ2I37RP3cjs.consoleJsonLogger; exports.contramapSchedule = _chunkAGR5B2BCcjs.contramap; exports.ctxExtend = _chunkGLE2WY7Zcjs.ctxExtend; exports.ctxToObject = _chunkGLE2WY7Zcjs.ctxToObject; exports.defaultTracer = _chunkQ2I37RP3cjs.defaultTracer; exports.defineLayer = _chunkQ2I37RP3cjs.defineLayer; exports.defineService = _chunkQ2I37RP3cjs.defineService; exports.delayedEffect = _chunkQ2I37RP3cjs.delayedEffect; exports.derivedRef = _chunkQ2I37RP3cjs.derivedRef; exports.dumpAllFibers = _chunkQ2I37RP3cjs.dumpAllFibers; exports.elapsed = _chunkAGR5B2BCcjs.elapsed; exports.emptyContext = _chunkGLE2WY7Zcjs.emptyContext; exports.end = _chunkMVGUEJ5Zcjs.end; exports.ensuring = _chunk62AZW6UTcjs.ensuring; exports.exponential = _chunkAGR5B2BCcjs.exponential; exports.fail = _chunkMVGUEJ5Zcjs.fail; exports.fiberRefSnapshot = _chunkPD4EJTQCcjs.fiberRefSnapshot; exports.fibonacci = _chunkAGR5B2BCcjs.fibonacci; exports.fixed = _chunkAGR5B2BCcjs.fixed; exports.flakyEffect = _chunkQ2I37RP3cjs.flakyEffect; exports.flatMap = _chunkMVGUEJ5Zcjs.flatMap; exports.forever = _chunkAGR5B2BCcjs.forever; exports.fork = _chunkGLE2WY7Zcjs.fork; exports.formatCause = _chunkMVGUEJ5Zcjs.formatCause; exports.formatLayerError = _chunkQ2I37RP3cjs.formatLayerError; exports.fromPromiseAbortable = _chunkGLE2WY7Zcjs.fromPromiseAbortable; exports.getBenchmarkBudget = _chunkGLE2WY7Zcjs.getBenchmarkBudget; exports.getCurrentFiber = _chunkGLE2WY7Zcjs.getCurrentFiber; exports.getFiberRef = _chunkPD4EJTQCcjs.getFiberRef; exports.getService = _chunkQ2I37RP3cjs.getService; exports.gracefulShutdown = _chunkQ2I37RP3cjs.gracefulShutdown; exports.interruptible = _chunkMVGUEJ5Zcjs.interruptible; exports.intersect = _chunkAGR5B2BCcjs.intersect; exports.isCause = _chunkMVGUEJ5Zcjs.isCause; exports.jitter = _chunkAGR5B2BCcjs.jitter; exports.jittered = _chunkAGR5B2BCcjs.jittered; exports.jitteredSchedule = _chunkAGR5B2BCcjs.jitteredSchedule; exports.joinSupervised = _chunkQ2I37RP3cjs.joinSupervised; exports.layer = _chunkQ2I37RP3cjs.layer; exports.layerEffect = _chunkQ2I37RP3cjs.layerEffect; exports.layerFail = _chunkQ2I37RP3cjs.layerFail; exports.layerFrom = _chunkQ2I37RP3cjs.layerFrom; exports.layerFromContext = _chunkQ2I37RP3cjs.layerFromContext; exports.layerSucceed = _chunkQ2I37RP3cjs.layerSucceed; exports.layerValue = _chunkQ2I37RP3cjs.layerValue; exports.linear = _chunkAGR5B2BCcjs.linear; exports.linkAbortController = _chunkQ2I37RP3cjs.linkAbortController; exports.liveClock = _chunkGLE2WY7Zcjs.liveClock; exports.locallyFiberRef = _chunkPD4EJTQCcjs.locallyFiberRef; exports.locallyFiberRefWith = _chunkPD4EJTQCcjs.locallyFiberRefWith; exports.makeCancelToken = _chunkQ2I37RP3cjs.makeCancelToken; exports.makeCircuitBreaker = _chunk62AZW6UTcjs.makeCircuitBreaker; exports.makeFiberRef = _chunkPD4EJTQCcjs.makeFiberRef; exports.makeLayerScope = _chunkQ2I37RP3cjs.makeLayerScope; exports.makeMetrics = _chunk52PPNNI4cjs.makeMetrics; exports.makeRef = _chunkQ2I37RP3cjs.makeRef; exports.makeResource = _chunk62AZW6UTcjs.makeResource; exports.makeRuntime = _chunkQ2I37RP3cjs.makeRuntime; exports.makeRuntimeEventRecord = _chunk52PPNNI4cjs.makeRuntimeEventRecord; exports.makeRuntimeRecorder = _chunkPD4EJTQCcjs.makeRuntimeRecorder; exports.makeScheduleDriver = _chunkAGR5B2BCcjs.makeScheduleDriver; exports.makeSemaphore = _chunkQ2I37RP3cjs.makeSemaphore; exports.makeServiceTag = _chunkQ2I37RP3cjs.makeServiceTag; exports.makeSupervisor = _chunkQ2I37RP3cjs.makeSupervisor; exports.makeTestRuntime = _chunkQ2I37RP3cjs.makeTestRuntime; exports.makeTracer = _chunkQ2I37RP3cjs.makeTracer; exports.makeWorkerPool = _chunkQ2I37RP3cjs.makeWorkerPool; exports.managed = _chunk62AZW6UTcjs.managed; exports.managedAll = _chunk62AZW6UTcjs.managedAll; exports.map = _chunkMVGUEJ5Zcjs.map; exports.mapAsync = _chunkMVGUEJ5Zcjs.mapAsync; exports.mapError = _chunkMVGUEJ5Zcjs.mapError; exports.mapErrorTyped = _chunkQ2I37RP3cjs.mapError; exports.mapLayer = _chunkQ2I37RP3cjs.mapLayer; exports.mapSchedule = _chunkAGR5B2BCcjs.map; exports.mapTryAsync = _chunkMVGUEJ5Zcjs.mapTryAsync; exports.maxDelay = _chunkAGR5B2BCcjs.maxDelay; exports.maxElapsed = _chunkAGR5B2BCcjs.maxElapsed; exports.mergeLayer = _chunkQ2I37RP3cjs.merge; exports.modifyFiberRef = _chunkPD4EJTQCcjs.modifyFiberRef; exports.namedSchedule = _chunkAGR5B2BCcjs.named; exports.never = _chunkAGR5B2BCcjs.never; exports.neverEffect = _chunkQ2I37RP3cjs.neverEffect; exports.none = _chunkMVGUEJ5Zcjs.none; exports.once = _chunkAGR5B2BCcjs.once; exports.orElse = _chunkQ2I37RP3cjs.orElse; exports.orElseOptional = _chunkMVGUEJ5Zcjs.orElseOptional; exports.pollWithSchedule = _chunkAGR5B2BCcjs.poll; exports.prettyCause = _chunkMVGUEJ5Zcjs.prettyCause; exports.provide = _chunkQ2I37RP3cjs.provide; exports.provideContext = _chunkQ2I37RP3cjs.provideContext; exports.provideLayer = _chunkQ2I37RP3cjs.provideLayer; exports.provideLayerContext = _chunkQ2I37RP3cjs.provideLayerContext; exports.recurs = _chunkAGR5B2BCcjs.recurs; exports.registerShutdownHooks = _chunkQ2I37RP3cjs.registerShutdownHooks; exports.repeatWithSchedule = _chunkAGR5B2BCcjs.repeatWithSchedule; exports.repeatWithScheduleAlias = _chunkAGR5B2BCcjs.repeat; exports.resetAbortablePromiseStats = _chunkGLE2WY7Zcjs.resetAbortablePromiseStats; exports.resource = _chunk62AZW6UTcjs.resource; exports.resourceAll = _chunk62AZW6UTcjs.resourceAll; exports.resourceFromManaged = _chunk62AZW6UTcjs.resourceFromManaged; exports.resourceSucceed = _chunk62AZW6UTcjs.resourceSucceed; exports.retry = _chunkAGR5B2BCcjs.retry; exports.retryN = _chunkAGR5B2BCcjs.retryN; exports.retryWithBackoff = _chunkAGR5B2BCcjs.retryWithBackoff; exports.retryWithSchedule = _chunkAGR5B2BCcjs.retryWithSchedule; exports.retryWithScheduleAlias = _chunkAGR5B2BCcjs.retry2; exports.runEffect = _chunkQ2I37RP3cjs.runEffect; exports.runExit = _chunkQ2I37RP3cjs.runExit; exports.runPromise = _chunkQ2I37RP3cjs.runPromise; exports.runSchedule = _chunkAGR5B2BCcjs.runSchedule; exports.runtimeClockFromEnv = _chunkGLE2WY7Zcjs.runtimeClockFromEnv; exports.runtimeEventRecordContext = _chunk52PPNNI4cjs.runtimeEventRecordContext; exports.runtimeForCaller = _chunkGLE2WY7Zcjs.runtimeForCaller; exports.runtimeHooksToEventHandler = _chunk52PPNNI4cjs.runtimeHooksToEventHandler; exports.scheduleDriver = _chunkAGR5B2BCcjs.scheduleDriver; exports.serviceTag = _chunkQ2I37RP3cjs.serviceTag; exports.setBenchmarkBudget = _chunkGLE2WY7Zcjs.setBenchmarkBudget; exports.setFiberRef = _chunkPD4EJTQCcjs.setFiberRef; exports.sleep = _chunkAGR5B2BCcjs.sleep; exports.some = _chunkMVGUEJ5Zcjs.some; exports.spaced = _chunkAGR5B2BCcjs.spaced; exports.succeed = _chunkMVGUEJ5Zcjs.succeed; exports.supervise = _chunkQ2I37RP3cjs.supervise; exports.sync = _chunkMVGUEJ5Zcjs.sync; exports.tagError = _chunkQ2I37RP3cjs.tagError; exports.takeSchedule = _chunkAGR5B2BCcjs.take; exports.tapDecision = _chunkAGR5B2BCcjs.tapDecision; exports.timeout = _chunkAGR5B2BCcjs.timeout; exports.toPromise = _chunkGLE2WY7Zcjs.toPromise; exports.toPromiseByCaller = _chunkGLE2WY7Zcjs.toPromiseByCaller; exports.uninterruptible = _chunkMVGUEJ5Zcjs.uninterruptible; exports.uninterruptibleMask = _chunkMVGUEJ5Zcjs.uninterruptibleMask; exports.union = _chunkAGR5B2BCcjs.union; exports.unit = _chunkMVGUEJ5Zcjs.unit; exports.unsafeGetCurrentRuntime = _chunkGLE2WY7Zcjs.unsafeGetCurrentRuntime; exports.unsafeGetFiberRef = _chunkPD4EJTQCcjs.unsafeGetFiberRef; exports.unsafeRunAsync = _chunkGLE2WY7Zcjs.unsafeRunAsync; exports.unsafeRunFoldWithEnv = _chunkGLE2WY7Zcjs.unsafeRunFoldWithEnv; exports.unsafeSetFiberRef = _chunkPD4EJTQCcjs.unsafeSetFiberRef; exports.untilInput = _chunkAGR5B2BCcjs.untilInput; exports.untilOutput = _chunkAGR5B2BCcjs.untilOutput; exports.upTo = _chunkAGR5B2BCcjs.upTo; exports.updateFiberRef = _chunkPD4EJTQCcjs.updateFiberRef; exports.useManaged = _chunk62AZW6UTcjs.useManaged; exports.useResource = _chunk62AZW6UTcjs.useResource; exports.whileInput = _chunkAGR5B2BCcjs.whileInput; exports.whileOutput = _chunkAGR5B2BCcjs.whileOutput; exports.windowed = _chunkAGR5B2BCcjs.windowed; exports.withAsyncPromise = _chunkMVGUEJ5Zcjs.withAsyncPromise; exports.withCurrentFiber = _chunkGLE2WY7Zcjs.withCurrentFiber; exports.withScope = _chunkJF5WGYJJcjs.withScope; exports.withScopeAsync = _chunkJF5WGYJJcjs.withScopeAsync;
421
+
422
+
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
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;
@@ -1,9 +1,10 @@
1
- import { A as Async, h as RuntimeOptions, f as Runtime, E as Exit, aI as Task, ax as ScheduleResult, aC as SchedulerStats, R as RuntimeHooks, d as RuntimeEventRecord, g as RuntimeRegistry, k as Fiber } from '../effect-DIUHZ9IN.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, a as RuntimeEmitContext, c as RuntimeEvent, i as RuntimeFiber, e 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-DIUHZ9IN.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-DqbTKGcf.js';
4
- import { R as RuntimeClock, g as RuntimeTimerId, f as RuntimeClockEnv, S as Schedule } from '../schedule-CK3Ml_7p.js';
5
- export { c as CircuitBreaker, d as CircuitBreakerConfig, C as CircuitBreakerError, e as CircuitBreakerState, b as CircuitBreakerStats, h as ScheduleDecision, i as ScheduleDriver, j as ScheduleDriverDecision, k as ScheduleDriverOptions, l as ScheduleDriverSnapshot, a as ScheduleObserver, m as ScheduleObserverEvent, n as ScheduleStepContext, o as andThenSchedule, p as contramapSchedule, q as elapsed, r as exponential, s as fibonacci, t as fixed, u as forever, v as intersect, w as jitter, x as jittered, y as jitteredSchedule, z as linear, A as liveClock, B as makeCircuitBreaker, D as makeScheduleDriver, E as mapSchedule, F as maxDelay, G as maxElapsed, H as namedSchedule, I as never, J as once, K as pollWithSchedule, L as recurs, M as repeatWithSchedule, N as repeatWithScheduleAlias, O as retryWithSchedule, P as retryWithScheduleAlias, Q as runSchedule, T as runtimeClockFromEnv, U as scheduleDriver, V as spaced, W as takeSchedule, X as tapDecision, Y as union, Z as untilInput, _ as untilOutput, $ as upTo, a0 as whileInput, a1 as whileOutput, a2 as windowed } from '../schedule-CK3Ml_7p.js';
6
- 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-Hwt1cl7h.js';
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';
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
8
 
8
9
  type TimeoutError = {
9
10
  readonly _tag: "TimeoutError";
@@ -382,153 +383,19 @@ declare function delayedEffect<A>(ms: number, value: A): Async<unknown, never, A
382
383
  */
383
384
  declare function neverEffect<A = never>(): Async<unknown, never, A>;
384
385
 
385
- type ServiceTag<A> = {
386
- readonly _tag: "ServiceTag";
387
- readonly key: symbol;
388
- readonly name: string;
389
- };
390
- declare class MissingLayerServiceError extends Error {
391
- readonly _tag: "MissingLayerService";
392
- readonly serviceName: string;
393
- constructor(serviceName: string);
394
- }
395
- declare function formatLayerError(error: unknown): string;
396
- declare function makeServiceTag<A>(name: string): ServiceTag<A>;
397
- declare const serviceTag: typeof makeServiceTag;
398
- declare const defineService: typeof makeServiceTag;
399
- declare class LayerContext<Services = unknown> {
400
- private readonly services;
401
- constructor(entries?: Iterable<readonly [ServiceTag<any>, unknown]> | Map<symbol, unknown>);
402
- static empty(): LayerContext<unknown>;
403
- get<A>(tag: ServiceTag<A>): A | undefined;
404
- unsafeGet<A>(tag: ServiceTag<A>): A;
405
- has(tag: ServiceTag<unknown>): boolean;
406
- add<A>(tag: ServiceTag<A>, service: A): LayerContext<Services & A>;
407
- merge<Other>(other: LayerContext<Other>): LayerContext<Services & Other>;
408
- size(): number;
409
- }
410
- type LayerScope = {
411
- readonly get: <RIn, E, ROut>(layer: Layer<RIn, E, ROut>, deps?: RIn) => Async<unknown, E, ROut>;
412
- readonly close: () => Async<unknown, never, void>;
413
- readonly size: () => number;
414
- };
415
- type BuiltLayer<ROut> = {
416
- readonly service: ROut;
417
- readonly scope: LayerScope;
418
- readonly close: () => Async<unknown, never, void>;
419
- readonly use: <E, A>(body: (service: ROut) => Async<unknown, E, A>) => Async<unknown, E, A>;
386
+ type ConfigLayerSource = unknown | ((context: LayerContext) => unknown);
387
+ type ConfigLayerOptions = {
388
+ readonly name?: string;
420
389
  };
421
- declare function makeLayerScope(): LayerScope;
422
- /**
423
- * Creates a Layer from an acquire/release pair.
424
- *
425
- * ```ts
426
- * const DbLayer = layer(
427
- * () => createPool({ max: 10 }),
428
- * (pool) => pool.close()
429
- * );
430
- * ```
431
- */
432
- declare function layer<ROut, E = never>(acquire: () => Async<unknown, E, ROut>, release?: (service: ROut) => Async<unknown, never, void>): Layer<unknown, E, ROut>;
433
- declare function layerValue<A>(tag: ServiceTag<A>, value: A): Layer<LayerContext, never, LayerContext>;
434
- declare function layerEffect<E, A>(tag: ServiceTag<A>, acquire: (deps: LayerContext) => Async<unknown, E, A>, release?: (service: A) => Async<unknown, never, void>): Layer<LayerContext, E, LayerContext>;
435
- declare const layerFromContext: typeof layerEffect;
436
- declare const defineLayer: typeof layerEffect;
437
- declare function getService<A>(tag: ServiceTag<A>): Async<LayerContext, MissingLayerServiceError, A>;
438
- /**
439
- * Creates a Layer that depends on another service.
440
- *
441
- * ```ts
442
- * const RepoLayer = layerFrom<DbPool>()(
443
- * (pool) => createRepo(pool),
444
- * (repo) => repo.close()
445
- * );
446
- * ```
447
- */
448
- declare function layerFrom<RIn>(): <ROut, E = never>(acquire: (deps: RIn) => Async<unknown, E, ROut>, release?: (service: ROut) => Async<unknown, never, void>) => Layer<RIn, E, ROut>;
449
- /**
450
- * Creates a Layer from a pure value (no lifecycle).
451
- *
452
- * ```ts
453
- * const ConfigLayer = layerSucceed({ port: 3000, host: "localhost" });
454
- * ```
455
- */
456
- declare function layerSucceed<ROut>(value: ROut): Layer<unknown, never, ROut>;
457
- /**
458
- * Creates a Layer that always fails.
459
- */
460
- declare function layerFail<E>(error: E): Layer<unknown, E, never>;
461
- /**
462
- * Compose two layers: the output of `from` feeds into `to`.
463
- *
464
- * ```ts
465
- * const AppLayer = compose(DbLayer, RepoLayer);
466
- * // DbLayer produces DbPool → RepoLayer consumes DbPool → produces Repo
467
- * ```
468
- */
469
- declare function compose<R1, E1, Mid, E2, ROut>(from: Layer<R1, E1, Mid>, to: Layer<Mid, E2, ROut>): Layer<R1, E1 | E2, ROut>;
470
- /**
471
- * Merge two independent layers into one that produces both services.
472
- *
473
- * ```ts
474
- * const AppLayer = merge(DbLayer, CacheLayer);
475
- * // Produces { db: DbPool, cache: CacheClient }
476
- * ```
477
- */
478
- declare function merge<R1, E1, A, R2, E2, B>(left: Layer<R1, E1, A>, right: Layer<R2, E2, B>): Layer<R1 & R2, E1 | E2, A & B>;
479
- /**
480
- * Map the output of a layer.
481
- */
482
- declare function mapLayer<RIn, E, A, B>(l: Layer<RIn, E, A>, f: (a: A) => B): Layer<RIn, E, B>;
483
- declare function buildLayer<RIn, E, ROut>(l: Layer<RIn, E, ROut>, deps?: RIn): Async<unknown, E, BuiltLayer<ROut>>;
484
- /**
485
- * Builds a layer, runs an effect with the produced service, and releases.
486
- *
487
- * ```ts
488
- * const result = await run(
489
- * provideLayer(AppLayer, (services) => services.db.query("SELECT 1"))
490
- * );
491
- * ```
492
- */
493
- declare function provideLayer<RIn, E, ROut, E2, A>(l: Layer<RIn, E, ROut>, use: (service: ROut) => Async<unknown, E2, A>, deps?: RIn): Async<unknown, E | E2, A>;
494
- declare function provideLayerContext<E, E2, A>(l: Layer<LayerContext, E, LayerContext>, use: (context: LayerContext) => Async<unknown, E2, A>, deps?: LayerContext): Async<unknown, E | E2, A>;
495
- declare const provide: typeof provideLayer;
496
- declare const provideContext: typeof provideLayerContext;
497
- /**
498
- * A Layer describes how to build a service.
499
- *
500
- * - RIn: dependencies required to build this service
501
- * - E: possible failure during construction
502
- * - ROut: the service produced
503
- */
504
- type Layer<RIn, E, ROut> = {
505
- readonly _tag: "Layer";
506
- readonly build: (deps: RIn) => Async<unknown, E, {
507
- service: ROut;
508
- release: () => Async<unknown, never, void>;
509
- }>;
510
- readonly buildScoped?: (deps: RIn, scope: LayerScope) => Async<unknown, E, ROut>;
390
+ declare function makeConfigLayer<A>(tag: ServiceTag<A>, schema: JsonSchemaLike<A>, source: ConfigLayerSource, options?: ConfigLayerOptions): Layer<LayerContext, unknown, LayerContext>;
391
+ declare const defineConfigLayer: typeof makeConfigLayer;
392
+
393
+ declare const RuntimeService: ServiceTag<Runtime<any>>;
394
+ type RuntimeLayerEnv<R extends object> = R | ((context: LayerContext) => R);
395
+ type RuntimeLayerOptions<R extends object> = Omit<RuntimeOptions<R>, "env"> & {
396
+ readonly tag?: ServiceTag<Runtime<R>>;
511
397
  };
512
- declare const Layer: Readonly<{
513
- make: typeof layer;
514
- from: typeof layerFrom;
515
- succeed: typeof layerSucceed;
516
- fail: typeof layerFail;
517
- value: typeof layerValue;
518
- effect: typeof layerEffect;
519
- define: typeof layerEffect;
520
- fromContext: typeof layerEffect;
521
- compose: typeof compose;
522
- merge: typeof merge;
523
- map: typeof mapLayer;
524
- provide: typeof provideLayer;
525
- provideContext: typeof provideLayerContext;
526
- build: typeof buildLayer;
527
- scope: typeof makeLayerScope;
528
- context: typeof LayerContext.empty;
529
- tag: typeof makeServiceTag;
530
- service: typeof getService;
531
- }>;
398
+ declare function makeRuntimeLayer<R extends object = {}>(env?: RuntimeLayerEnv<R>, options?: RuntimeLayerOptions<R>): Layer<LayerContext, unknown, LayerContext>;
532
399
 
533
400
  type WorkerPoolConfig = {
534
401
  /** Number of worker threads. Default: number of CPUs - 1 */
@@ -769,4 +636,4 @@ declare function makeSupervisor<R>(runtime: Runtime<R>, config?: SupervisorConfi
769
636
  declare function supervise<R, E, A>(runtime: Runtime<R>, spec: SupervisedChildSpec<R, E, A>, config?: SupervisorConfig): SupervisedFiber<E, A>;
770
637
  declare function joinSupervised<E, A>(fiber: SupervisedFiber<E, A>): Async<unknown, E, A>;
771
638
 
772
- export { Async, type BuiltLayer, type EffectEnvironment, type EffectFailure, type EffectSuccess, Exit, Fiber, type FiberRef, Layer, LayerContext, type LayerScope, type LogLevel, type MakeRuntimeOptions, MissingLayerServiceError, type Ref, type RetryPolicy, type RetryState, Runtime, RuntimeClock, RuntimeClockEnv, RuntimeEventRecord, RuntimeHooks, RuntimeOptions, type RuntimeRecorder, type RuntimeRecorderExplainOptions, type RuntimeRecorderOptions, type RuntimeRecorderStats, RuntimeRegistry, RuntimeTimerId, Schedule, type Semaphore, type SemaphoreStats, type ServiceTag, type ShutdownConfig, type ShutdownStats, type SupervisedChildSpec, type SupervisedChildStatus, type SupervisedFiber, Supervisor, type SupervisorConfig, type SupervisorEscalation, type SupervisorEvent, type SupervisorRestartContext, type SupervisorRestartMode, type SupervisorRestartPolicy, type SupervisorStrategy, type TaggedError, TestClock, type TestClockTimerSnapshot, type TestRuntime, type TestRuntimeOptions, type TestScheduledTask, TestScheduler, type TimeoutError, type WorkerPool, type WorkerPoolConfig, type WorkerPoolError, type WorkerPoolStats, assertCompletesWithin, assertFails, assertFailsWith, assertSucceeds, buildLayer, catchTag, catchTags, compose as composeLayer, consoleJsonLogger, defineLayer, defineService, delayedEffect, derivedRef, dumpAllFibers, fiberRefSnapshot, flakyEffect, formatLayerError, getFiberRef, getService, gracefulShutdown, joinSupervised, layer, layerEffect, layerFail, layerFrom, layerFromContext, layerSucceed, layerValue, locallyFiberRef, locallyFiberRefWith, makeFiberRef, makeLayerScope, makeRef, makeRuntime, makeRuntimeRecorder, makeSemaphore, makeServiceTag, makeSupervisor, makeTestRuntime, makeWorkerPool, mapError as mapErrorTyped, mapLayer, merge as mergeLayer, modifyFiberRef, neverEffect, orElse, provide, provideContext, provideLayer, provideLayerContext, registerShutdownHooks, retry, retryN, retryWithBackoff, runEffect, runExit, runPromise, serviceTag, setFiberRef, sleep, supervise, tagError, timeout, unsafeGetFiberRef, unsafeSetFiberRef, updateFiberRef };
639
+ export { Async, type ConfigLayerOptions, type ConfigLayerSource, type EffectEnvironment, type EffectFailure, type EffectSuccess, Exit, Fiber, type FiberRef, Layer, LayerContext, type LogLevel, type MakeRuntimeOptions, type Ref, type RetryPolicy, type RetryState, Runtime, RuntimeClock, RuntimeClockEnv, RuntimeEventRecord, RuntimeHooks, type RuntimeLayerEnv, type RuntimeLayerOptions, RuntimeOptions, type RuntimeRecorder, type RuntimeRecorderExplainOptions, type RuntimeRecorderOptions, type RuntimeRecorderStats, RuntimeRegistry, RuntimeService, RuntimeTimerId, Schedule, type Semaphore, type SemaphoreStats, ServiceTag, type ShutdownConfig, type ShutdownStats, type SupervisedChildSpec, type SupervisedChildStatus, type SupervisedFiber, Supervisor, type SupervisorConfig, type SupervisorEscalation, type SupervisorEvent, type SupervisorRestartContext, type SupervisorRestartMode, type SupervisorRestartPolicy, type SupervisorStrategy, type TaggedError, TestClock, type TestClockTimerSnapshot, type TestRuntime, type TestRuntimeOptions, type TestScheduledTask, TestScheduler, type TimeoutError, type WorkerPool, type WorkerPoolConfig, type WorkerPoolError, type WorkerPoolStats, assertCompletesWithin, assertFails, assertFailsWith, assertSucceeds, catchTag, catchTags, consoleJsonLogger, defineConfigLayer, delayedEffect, derivedRef, dumpAllFibers, fiberRefSnapshot, flakyEffect, getFiberRef, gracefulShutdown, joinSupervised, locallyFiberRef, locallyFiberRefWith, makeConfigLayer, makeFiberRef, makeRef, makeRuntime, makeRuntimeLayer, makeRuntimeRecorder, makeSemaphore, makeSupervisor, makeTestRuntime, makeWorkerPool, mapError as mapErrorTyped, modifyFiberRef, neverEffect, orElse, registerShutdownHooks, retry, retryN, retryWithBackoff, runEffect, runExit, runPromise, setFiberRef, sleep, supervise, tagError, timeout, unsafeGetFiberRef, unsafeSetFiberRef, updateFiberRef };
@@ -1,7 +1,4 @@
1
1
  import {
2
- Layer,
3
- LayerContext,
4
- MissingLayerServiceError,
5
2
  RuntimeRegistry,
6
3
  Supervisor,
7
4
  TestClock,
@@ -10,72 +7,40 @@ import {
10
7
  assertFails,
11
8
  assertFailsWith,
12
9
  assertSucceeds,
13
- buildLayer,
14
10
  catchTag,
15
11
  catchTags,
16
- compose,
17
12
  consoleJsonLogger,
18
13
  defaultTracer,
19
- defineLayer,
20
- defineService,
14
+ defineConfigLayer,
21
15
  delayedEffect,
22
16
  derivedRef,
23
17
  dumpAllFibers,
24
18
  flakyEffect,
25
- formatLayerError,
26
- getService,
27
19
  gracefulShutdown,
28
20
  joinSupervised,
29
- layer,
30
- layerEffect,
31
- layerFail,
32
- layerFrom,
33
- layerFromContext,
34
- layerSucceed,
35
- layerValue,
36
21
  linkAbortController,
37
22
  makeCancelToken,
38
- makeLayerScope,
23
+ makeConfigLayer,
39
24
  makeRef,
40
25
  makeRuntime,
41
26
  makeSemaphore,
42
- makeServiceTag,
43
27
  makeSupervisor,
44
28
  makeTestRuntime,
45
29
  makeTracer,
46
30
  makeWorkerPool,
47
31
  mapError as mapError2,
48
- mapLayer,
49
- merge,
50
32
  neverEffect,
51
33
  orElse,
52
- provide,
53
- provideContext,
54
- provideLayer,
55
- provideLayerContext,
56
34
  registerShutdownHooks,
57
35
  runEffect,
58
36
  runExit,
59
37
  runPromise,
60
- serviceTag,
61
38
  supervise,
62
39
  tagError
63
- } from "../chunk-3AYM6WPJ.js";
40
+ } from "../chunk-BG5RNEA2.js";
64
41
  import {
65
- Resource,
66
- bracket,
67
- ensuring,
68
- makeCircuitBreaker,
69
- makeResource,
70
- managed,
71
- managedAll,
72
- resource,
73
- resourceAll,
74
- resourceFromManaged,
75
- resourceSucceed,
76
- useManaged,
77
- useResource
78
- } from "../chunk-B33ICAKP.js";
42
+ makeCircuitBreaker
43
+ } from "../chunk-YM3EDNYD.js";
79
44
  import {
80
45
  fiberRefSnapshot,
81
46
  getFiberRef,
@@ -88,32 +53,83 @@ import {
88
53
  unsafeGetFiberRef,
89
54
  unsafeSetFiberRef,
90
55
  updateFiberRef
91
- } from "../chunk-5QC7LRZ3.js";
56
+ } from "../chunk-S4HHFUYP.js";
92
57
  import {
58
+ RuntimeService,
59
+ makeRuntimeLayer
60
+ } from "../chunk-W6WR37HN.js";
61
+ import {
62
+ EventBus,
63
+ InMemoryTracer,
64
+ makeMetrics,
65
+ makeRuntimeEventRecord,
66
+ runtimeEventRecordContext,
67
+ runtimeHooksToEventHandler
68
+ } from "../chunk-AADFFVYS.js";
69
+ import {
70
+ Layer,
71
+ LayerContext,
72
+ MissingLayerServiceError,
73
+ Resource,
93
74
  Schedule,
94
75
  andThen,
76
+ bracket,
77
+ buildLayer,
78
+ compose,
79
+ composeAll,
95
80
  contramap,
81
+ defineLayer,
82
+ defineService,
96
83
  elapsed,
84
+ ensuring,
97
85
  exponential,
98
86
  fibonacci,
99
87
  fixed,
100
88
  forever,
89
+ formatLayerError,
90
+ getService,
91
+ getServices,
101
92
  intersect,
102
93
  jitter,
103
94
  jittered,
104
95
  jitteredSchedule,
96
+ layer,
97
+ layerEffect,
98
+ layerFail,
99
+ layerFrom,
100
+ layerFromContext,
101
+ layerSucceed,
102
+ layerValue,
105
103
  linear,
104
+ makeLayerScope,
105
+ makeResource,
106
106
  makeScheduleDriver,
107
+ makeServiceTag,
108
+ makeTestLayer,
109
+ makeTestLayers,
110
+ managed,
111
+ managedAll,
107
112
  map as map2,
113
+ mapLayer,
108
114
  maxDelay,
109
115
  maxElapsed,
116
+ merge,
117
+ mergeAll,
110
118
  named,
111
119
  never,
112
120
  once,
113
121
  poll,
122
+ provide,
123
+ provideContext,
124
+ provideLayer,
125
+ provideLayerContext,
114
126
  recurs,
115
127
  repeat,
116
128
  repeatWithSchedule,
129
+ resource,
130
+ resourceAll,
131
+ resourceFromManaged,
132
+ resourceSucceed,
117
133
  retry,
118
134
  retry2,
119
135
  retryN,
@@ -121,6 +137,7 @@ import {
121
137
  retryWithSchedule,
122
138
  runSchedule,
123
139
  scheduleDriver,
140
+ serviceTag,
124
141
  sleep,
125
142
  spaced,
126
143
  take,
@@ -130,27 +147,19 @@ import {
130
147
  untilInput,
131
148
  untilOutput,
132
149
  upTo,
150
+ useManaged,
151
+ useResource,
152
+ useService,
153
+ useServices,
133
154
  whileInput,
134
155
  whileOutput,
135
156
  windowed
136
- } from "../chunk-6IXXWIUM.js";
137
- import {
138
- Scope,
139
- withScope,
140
- withScopeAsync
141
- } from "../chunk-L2SYFEBS.js";
142
- import {
143
- EventBus,
144
- InMemoryTracer,
145
- makeMetrics,
146
- makeRuntimeEventRecord,
147
- runtimeEventRecordContext,
148
- runtimeHooksToEventHandler
149
- } from "../chunk-RKGKFN2A.js";
157
+ } from "../chunk-IBRHSH5H.js";
150
158
  import {
151
159
  NoopHooks,
152
160
  Runtime,
153
161
  RuntimeFiber,
162
+ Scope,
154
163
  abortablePromiseStats,
155
164
  ctxExtend,
156
165
  ctxToObject,
@@ -169,8 +178,10 @@ import {
169
178
  unsafeGetCurrentRuntime,
170
179
  unsafeRunAsync,
171
180
  unsafeRunFoldWithEnv,
172
- withCurrentFiber
173
- } from "../chunk-FH2X7BVP.js";
181
+ withCurrentFiber,
182
+ withScope,
183
+ withScopeAsync
184
+ } from "../chunk-XSAHV5HQ.js";
174
185
  import {
175
186
  Async,
176
187
  Cause,
@@ -209,7 +220,7 @@ import {
209
220
  unit,
210
221
  withAsyncPromise
211
222
  } from "../chunk-UB4B6OFY.js";
212
- import "../chunk-C3MDXTRZ.js";
223
+ import "../chunk-HCJ4S3YB.js";
213
224
  import "../chunk-3RG5ZIWI.js";
214
225
  export {
215
226
  Async,
@@ -225,6 +236,7 @@ export {
225
236
  Runtime,
226
237
  RuntimeFiber,
227
238
  RuntimeRegistry,
239
+ RuntimeService,
228
240
  Schedule,
229
241
  Scope,
230
242
  Supervisor,
@@ -253,12 +265,14 @@ export {
253
265
  catchAll,
254
266
  catchTag,
255
267
  catchTags,
268
+ composeAll,
256
269
  compose as composeLayer,
257
270
  consoleJsonLogger,
258
271
  contramap as contramapSchedule,
259
272
  ctxExtend,
260
273
  ctxToObject,
261
274
  defaultTracer,
275
+ defineConfigLayer,
262
276
  defineLayer,
263
277
  defineService,
264
278
  delayedEffect,
@@ -284,6 +298,7 @@ export {
284
298
  getCurrentFiber,
285
299
  getFiberRef,
286
300
  getService,
301
+ getServices,
287
302
  gracefulShutdown,
288
303
  interruptible,
289
304
  intersect,
@@ -306,6 +321,7 @@ export {
306
321
  locallyFiberRefWith,
307
322
  makeCancelToken,
308
323
  makeCircuitBreaker,
324
+ makeConfigLayer,
309
325
  makeFiberRef,
310
326
  makeLayerScope,
311
327
  makeMetrics,
@@ -313,11 +329,14 @@ export {
313
329
  makeResource,
314
330
  makeRuntime,
315
331
  makeRuntimeEventRecord,
332
+ makeRuntimeLayer,
316
333
  makeRuntimeRecorder,
317
334
  makeScheduleDriver,
318
335
  makeSemaphore,
319
336
  makeServiceTag,
320
337
  makeSupervisor,
338
+ makeTestLayer,
339
+ makeTestLayers,
321
340
  makeTestRuntime,
322
341
  makeTracer,
323
342
  makeWorkerPool,
@@ -332,6 +351,7 @@ export {
332
351
  mapTryAsync,
333
352
  maxDelay,
334
353
  maxElapsed,
354
+ mergeAll,
335
355
  merge as mergeLayer,
336
356
  modifyFiberRef,
337
357
  named as namedSchedule,
@@ -400,6 +420,8 @@ export {
400
420
  updateFiberRef,
401
421
  useManaged,
402
422
  useResource,
423
+ useService,
424
+ useServices,
403
425
  whileInput,
404
426
  whileOutput,
405
427
  windowed,