effect 2.0.0-next.38 → 2.0.0-next.39

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 (767) hide show
  1. package/Bigint/dist/effect-Bigint.esm.js +346 -5
  2. package/Boolean/dist/effect-Boolean.esm.js +230 -5
  3. package/Brand/dist/effect-Brand.esm.js +204 -20
  4. package/Cache/dist/effect-Cache.cjs.dev.js +13 -13
  5. package/Cache/dist/effect-Cache.cjs.prod.js +13 -13
  6. package/Cache/dist/effect-Cache.esm.js +111 -74
  7. package/Cause/dist/effect-Cause.esm.js +668 -33
  8. package/Channel/dist/effect-Channel.cjs.dev.js +36 -36
  9. package/Channel/dist/effect-Channel.cjs.prod.js +36 -36
  10. package/Channel/dist/effect-Channel.esm.js +1001 -107
  11. package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.esm.js +112 -3
  12. package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.esm.js +60 -3
  13. package/ChannelMergeState/dist/effect-ChannelMergeState.esm.js +101 -3
  14. package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.esm.js +84 -3
  15. package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.dev.js +28 -28
  16. package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.prod.js +28 -28
  17. package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.esm.js +47 -91
  18. package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.esm.js +84 -3
  19. package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.esm.js +83 -3
  20. package/Chunk/dist/effect-Chunk.esm.js +1084 -20
  21. package/Clock/dist/effect-Clock.cjs.dev.js +3 -3
  22. package/Clock/dist/effect-Clock.cjs.prod.js +3 -3
  23. package/Clock/dist/effect-Clock.esm.js +78 -42
  24. package/Config/dist/effect-Config.esm.js +321 -37
  25. package/ConfigError/dist/effect-ConfigError.esm.js +185 -21
  26. package/ConfigProvider/dist/effect-ConfigProvider.esm.js +198 -39
  27. package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.esm.js +70 -24
  28. package/ConfigSecret/dist/effect-ConfigSecret.esm.js +63 -22
  29. package/Console/dist/effect-Console.cjs.dev.js +22 -22
  30. package/Console/dist/effect-Console.cjs.prod.js +22 -22
  31. package/Console/dist/effect-Console.esm.js +154 -83
  32. package/Context/dist/effect-Context.esm.js +295 -17
  33. package/Data/dist/effect-Data.esm.js +163 -7
  34. package/DefaultServices/dist/effect-DefaultServices.cjs.dev.js +3 -3
  35. package/DefaultServices/dist/effect-DefaultServices.cjs.prod.js +3 -3
  36. package/DefaultServices/dist/effect-DefaultServices.esm.js +24 -42
  37. package/Deferred/dist/effect-Deferred.esm.js +206 -33
  38. package/Differ/dist/effect-Differ.esm.js +137 -26
  39. package/Duration/dist/effect-Duration.cjs.dev.js +2 -1
  40. package/Duration/dist/effect-Duration.cjs.mjs +1 -0
  41. package/Duration/dist/effect-Duration.cjs.prod.js +2 -1
  42. package/Duration/dist/effect-Duration.esm.js +438 -16
  43. package/Effect/dist/effect-Effect.cjs.dev.js +26 -26
  44. package/Effect/dist/effect-Effect.cjs.prod.js +26 -26
  45. package/Effect/dist/effect-Effect.esm.js +3093 -89
  46. package/Effectable/dist/effect-Effectable.esm.js +77 -10
  47. package/Either/dist/effect-Either.esm.js +442 -13
  48. package/Encoding/dist/effect-Encoding.esm.js +123 -14
  49. package/Equal/dist/effect-Equal.esm.js +57 -6
  50. package/Equivalence/dist/effect-Equivalence.esm.js +196 -2
  51. package/Error/dist/effect-Error.cjs.dev.js +27 -27
  52. package/Error/dist/effect-Error.cjs.prod.js +27 -27
  53. package/Error/dist/effect-Error.esm.js +47 -91
  54. package/ExecutionStrategy/dist/effect-ExecutionStrategy.esm.js +99 -2
  55. package/Exit/dist/effect-Exit.esm.js +332 -33
  56. package/Fiber/dist/effect-Fiber.cjs.dev.js +18 -18
  57. package/Fiber/dist/effect-Fiber.cjs.prod.js +18 -18
  58. package/Fiber/dist/effect-Fiber.esm.js +423 -77
  59. package/FiberId/dist/effect-FiberId.esm.js +161 -20
  60. package/FiberRef/dist/effect-FiberRef.cjs.dev.js +14 -14
  61. package/FiberRef/dist/effect-FiberRef.cjs.prod.js +14 -14
  62. package/FiberRef/dist/effect-FiberRef.esm.js +289 -75
  63. package/FiberRefs/dist/effect-FiberRefs.esm.js +107 -34
  64. package/FiberRefsPatch/dist/effect-FiberRefsPatch.esm.js +76 -35
  65. package/FiberStatus/dist/effect-FiberStatus.esm.js +89 -7
  66. package/Function/dist/effect-Function.esm.js +492 -1
  67. package/GlobalValue/dist/effect-GlobalValue.esm.js +20 -1
  68. package/GroupBy/dist/effect-GroupBy.cjs.dev.js +37 -37
  69. package/GroupBy/dist/effect-GroupBy.cjs.prod.js +37 -37
  70. package/GroupBy/dist/effect-GroupBy.esm.js +63 -108
  71. package/Hash/dist/effect-Hash.esm.js +164 -5
  72. package/HashMap/dist/effect-HashMap.esm.js +287 -18
  73. package/HashSet/dist/effect-HashSet.esm.js +227 -18
  74. package/Hub/dist/effect-Hub.cjs.dev.js +13 -13
  75. package/Hub/dist/effect-Hub.cjs.prod.js +13 -13
  76. package/Hub/dist/effect-Hub.esm.js +148 -74
  77. package/Inspectable/dist/effect-Inspectable.esm.js +38 -1
  78. package/KeyedPool/dist/effect-KeyedPool.cjs.dev.js +14 -14
  79. package/KeyedPool/dist/effect-KeyedPool.cjs.prod.js +14 -14
  80. package/KeyedPool/dist/effect-KeyedPool.esm.js +104 -75
  81. package/Layer/dist/effect-Layer.cjs.dev.js +22 -22
  82. package/Layer/dist/effect-Layer.cjs.prod.js +22 -22
  83. package/Layer/dist/effect-Layer.esm.js +557 -83
  84. package/List/dist/effect-List.esm.js +816 -21
  85. package/LogLevel/dist/effect-LogLevel.esm.js +202 -33
  86. package/LogSpan/dist/effect-LogSpan.esm.js +24 -1
  87. package/Logger/dist/effect-Logger.cjs.dev.js +24 -24
  88. package/Logger/dist/effect-Logger.cjs.prod.js +24 -24
  89. package/Logger/dist/effect-Logger.esm.js +198 -85
  90. package/Metric/dist/effect-Metric.cjs.dev.js +12 -12
  91. package/Metric/dist/effect-Metric.cjs.prod.js +12 -12
  92. package/Metric/dist/effect-Metric.esm.js +395 -71
  93. package/MetricBoundaries/dist/effect-MetricBoundaries.esm.js +52 -22
  94. package/MetricHook/dist/effect-MetricHook.cjs.dev.js +3 -3
  95. package/MetricHook/dist/effect-MetricHook.cjs.prod.js +3 -3
  96. package/MetricHook/dist/effect-MetricHook.esm.js +68 -27
  97. package/MetricKey/dist/effect-MetricKey.cjs.dev.js +4 -4
  98. package/MetricKey/dist/effect-MetricKey.cjs.prod.js +4 -4
  99. package/MetricKey/dist/effect-MetricKey.esm.js +104 -23
  100. package/MetricKeyType/dist/effect-MetricKeyType.cjs.dev.js +3 -3
  101. package/MetricKeyType/dist/effect-MetricKeyType.cjs.prod.js +3 -3
  102. package/MetricKeyType/dist/effect-MetricKeyType.esm.js +147 -18
  103. package/MetricLabel/dist/effect-MetricLabel.esm.js +41 -9
  104. package/MetricPair/dist/effect-MetricPair.esm.js +38 -3
  105. package/MetricPolling/dist/effect-MetricPolling.cjs.dev.js +18 -18
  106. package/MetricPolling/dist/effect-MetricPolling.cjs.prod.js +18 -18
  107. package/MetricPolling/dist/effect-MetricPolling.esm.js +84 -77
  108. package/MetricRegistry/dist/effect-MetricRegistry.cjs.dev.js +5 -5
  109. package/MetricRegistry/dist/effect-MetricRegistry.cjs.prod.js +5 -5
  110. package/MetricRegistry/dist/effect-MetricRegistry.esm.js +28 -33
  111. package/MetricState/dist/effect-MetricState.esm.js +151 -9
  112. package/MutableHashMap/dist/effect-MutableHashMap.esm.js +128 -20
  113. package/MutableHashSet/dist/effect-MutableHashSet.esm.js +90 -21
  114. package/MutableList/dist/effect-MutableList.esm.js +264 -4
  115. package/MutableQueue/dist/effect-MutableQueue.esm.js +187 -22
  116. package/MutableRef/dist/effect-MutableRef.esm.js +156 -9
  117. package/NonEmptyIterable/dist/effect-NonEmptyIterable.esm.js +28 -1
  118. package/Number/dist/effect-Number.esm.js +369 -5
  119. package/Option/dist/effect-Option.esm.js +1071 -15
  120. package/Order/dist/effect-Order.esm.js +263 -2
  121. package/Ordering/dist/effect-Ordering.esm.js +88 -2
  122. package/Pipeable/dist/effect-Pipeable.esm.js +44 -1
  123. package/Pool/dist/effect-Pool.cjs.dev.js +14 -14
  124. package/Pool/dist/effect-Pool.cjs.prod.js +14 -14
  125. package/Pool/dist/effect-Pool.esm.js +104 -75
  126. package/Predicate/dist/effect-Predicate.esm.js +634 -2
  127. package/Queue/dist/effect-Queue.cjs.dev.js +13 -13
  128. package/Queue/dist/effect-Queue.cjs.prod.js +13 -13
  129. package/Queue/dist/effect-Queue.esm.js +328 -74
  130. package/Random/dist/effect-Random.cjs.dev.js +3 -3
  131. package/Random/dist/effect-Random.cjs.prod.js +3 -3
  132. package/Random/dist/effect-Random.esm.js +83 -42
  133. package/ReadonlyArray/dist/effect-ReadonlyArray.esm.js +1445 -19
  134. package/ReadonlyRecord/dist/effect-ReadonlyRecord.esm.js +518 -17
  135. package/RedBlackTree/dist/effect-RedBlackTree.esm.js +314 -22
  136. package/Ref/dist/effect-Ref.esm.js +111 -33
  137. package/Reloadable/dist/effect-Reloadable.cjs.dev.js +23 -23
  138. package/Reloadable/dist/effect-Reloadable.cjs.prod.js +23 -23
  139. package/Reloadable/dist/effect-Reloadable.esm.js +88 -84
  140. package/Request/dist/effect-Request.cjs.dev.js +13 -13
  141. package/Request/dist/effect-Request.cjs.prod.js +13 -13
  142. package/Request/dist/effect-Request.esm.js +160 -74
  143. package/RequestBlock/dist/effect-RequestBlock.cjs.dev.js +28 -28
  144. package/RequestBlock/dist/effect-RequestBlock.cjs.prod.js +28 -28
  145. package/RequestBlock/dist/effect-RequestBlock.esm.js +103 -91
  146. package/RequestResolver/dist/effect-RequestResolver.cjs.dev.js +28 -28
  147. package/RequestResolver/dist/effect-RequestResolver.cjs.prod.js +28 -28
  148. package/RequestResolver/dist/effect-RequestResolver.esm.js +191 -91
  149. package/Resource/dist/effect-Resource.cjs.dev.js +19 -19
  150. package/Resource/dist/effect-Resource.cjs.prod.js +19 -19
  151. package/Resource/dist/effect-Resource.esm.js +70 -79
  152. package/Runtime/dist/effect-Runtime.cjs.dev.js +20 -20
  153. package/Runtime/dist/effect-Runtime.cjs.prod.js +20 -20
  154. package/Runtime/dist/effect-Runtime.esm.js +157 -79
  155. package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.dev.js +24 -24
  156. package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.prod.js +24 -24
  157. package/RuntimeFlags/dist/effect-RuntimeFlags.esm.js +305 -85
  158. package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.esm.js +158 -27
  159. package/STM/dist/effect-STM.cjs.dev.js +41 -41
  160. package/STM/dist/effect-STM.cjs.prod.js +41 -41
  161. package/STM/dist/effect-STM.esm.js +1193 -112
  162. package/Schedule/dist/effect-Schedule.cjs.dev.js +11 -11
  163. package/Schedule/dist/effect-Schedule.cjs.prod.js +11 -11
  164. package/Schedule/dist/effect-Schedule.esm.js +957 -57
  165. package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.dev.js +4 -4
  166. package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.prod.js +4 -4
  167. package/ScheduleDecision/dist/effect-ScheduleDecision.esm.js +48 -24
  168. package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.dev.js +2 -2
  169. package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.prod.js +2 -2
  170. package/ScheduleInterval/dist/effect-ScheduleInterval.esm.js +130 -17
  171. package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.dev.js +3 -3
  172. package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.prod.js +3 -3
  173. package/ScheduleIntervals/dist/effect-ScheduleIntervals.esm.js +105 -23
  174. package/Scheduler/dist/effect-Scheduler.esm.js +326 -34
  175. package/Scope/dist/effect-Scope.cjs.dev.js +12 -12
  176. package/Scope/dist/effect-Scope.cjs.prod.js +12 -12
  177. package/Scope/dist/effect-Scope.esm.js +117 -71
  178. package/ScopedCache/dist/effect-ScopedCache.cjs.dev.js +14 -14
  179. package/ScopedCache/dist/effect-ScopedCache.cjs.prod.js +14 -14
  180. package/ScopedCache/dist/effect-ScopedCache.esm.js +52 -75
  181. package/ScopedRef/dist/effect-ScopedRef.cjs.dev.js +19 -19
  182. package/ScopedRef/dist/effect-ScopedRef.cjs.prod.js +19 -19
  183. package/ScopedRef/dist/effect-ScopedRef.esm.js +71 -79
  184. package/Sink/dist/effect-Sink.cjs.dev.js +32 -32
  185. package/Sink/dist/effect-Sink.cjs.prod.js +32 -32
  186. package/Sink/dist/effect-Sink.esm.js +997 -101
  187. package/SortedMap/dist/effect-SortedMap.esm.js +168 -23
  188. package/SortedSet/dist/effect-SortedSet.esm.js +263 -23
  189. package/Stream/dist/effect-Stream.cjs.dev.js +37 -37
  190. package/Stream/dist/effect-Stream.cjs.prod.js +37 -37
  191. package/Stream/dist/effect-Stream.esm.js +2879 -108
  192. package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.esm.js +97 -2
  193. package/String/dist/effect-String.esm.js +600 -17
  194. package/Struct/dist/effect-Struct.esm.js +125 -4
  195. package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.dev.js +37 -37
  196. package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.prod.js +37 -37
  197. package/SubscriptionRef/dist/effect-SubscriptionRef.esm.js +160 -108
  198. package/Supervisor/dist/effect-Supervisor.cjs.dev.js +24 -24
  199. package/Supervisor/dist/effect-Supervisor.cjs.prod.js +24 -24
  200. package/Supervisor/dist/effect-Supervisor.esm.js +148 -85
  201. package/Symbol/dist/effect-Symbol.esm.js +30 -4
  202. package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.dev.js +18 -18
  203. package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.prod.js +18 -18
  204. package/SynchronizedRef/dist/effect-SynchronizedRef.esm.js +160 -78
  205. package/TArray/dist/effect-TArray.cjs.dev.js +43 -43
  206. package/TArray/dist/effect-TArray.cjs.prod.js +43 -43
  207. package/TArray/dist/effect-TArray.esm.js +367 -114
  208. package/TDeferred/dist/effect-TDeferred.cjs.dev.js +42 -42
  209. package/TDeferred/dist/effect-TDeferred.cjs.prod.js +42 -42
  210. package/TDeferred/dist/effect-TDeferred.esm.js +63 -113
  211. package/THub/dist/effect-THub.cjs.dev.js +44 -44
  212. package/THub/dist/effect-THub.cjs.prod.js +44 -44
  213. package/THub/dist/effect-THub.esm.js +157 -115
  214. package/TMap/dist/effect-TMap.cjs.dev.js +45 -45
  215. package/TMap/dist/effect-TMap.cjs.prod.js +45 -45
  216. package/TMap/dist/effect-TMap.esm.js +373 -116
  217. package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.dev.js +41 -41
  218. package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.prod.js +41 -41
  219. package/TPriorityQueue/dist/effect-TPriorityQueue.esm.js +184 -113
  220. package/TQueue/dist/effect-TQueue.cjs.dev.js +44 -44
  221. package/TQueue/dist/effect-TQueue.cjs.prod.js +44 -44
  222. package/TQueue/dist/effect-TQueue.esm.js +293 -115
  223. package/TRandom/dist/effect-TRandom.cjs.dev.js +43 -43
  224. package/TRandom/dist/effect-TRandom.cjs.prod.js +43 -43
  225. package/TRandom/dist/effect-TRandom.esm.js +93 -114
  226. package/TReentrantLock/dist/effect-TReentrantLock.cjs.dev.js +41 -41
  227. package/TReentrantLock/dist/effect-TReentrantLock.cjs.prod.js +41 -41
  228. package/TReentrantLock/dist/effect-TReentrantLock.esm.js +199 -112
  229. package/TRef/dist/effect-TRef.cjs.dev.js +41 -41
  230. package/TRef/dist/effect-TRef.cjs.prod.js +41 -41
  231. package/TRef/dist/effect-TRef.esm.js +116 -112
  232. package/TSemaphore/dist/effect-TSemaphore.cjs.dev.js +43 -43
  233. package/TSemaphore/dist/effect-TSemaphore.cjs.prod.js +43 -43
  234. package/TSemaphore/dist/effect-TSemaphore.esm.js +97 -114
  235. package/TSet/dist/effect-TSet.cjs.dev.js +45 -45
  236. package/TSet/dist/effect-TSet.cjs.prod.js +45 -45
  237. package/TSet/dist/effect-TSet.esm.js +268 -116
  238. package/Take/dist/effect-Take.cjs.dev.js +28 -28
  239. package/Take/dist/effect-Take.cjs.prod.js +28 -28
  240. package/Take/dist/effect-Take.esm.js +190 -91
  241. package/TestAnnotation/dist/effect-TestAnnotation.esm.js +111 -26
  242. package/TestAnnotationMap/dist/effect-TestAnnotationMap.esm.js +101 -2
  243. package/TestAnnotations/dist/effect-TestAnnotations.cjs.dev.js +7 -7
  244. package/TestAnnotations/dist/effect-TestAnnotations.cjs.prod.js +7 -7
  245. package/TestAnnotations/dist/effect-TestAnnotations.esm.js +83 -59
  246. package/TestClock/dist/effect-TestClock.cjs.dev.js +24 -24
  247. package/TestClock/dist/effect-TestClock.cjs.prod.js +24 -24
  248. package/TestClock/dist/effect-TestClock.esm.js +411 -87
  249. package/TestConfig/dist/effect-TestConfig.esm.js +27 -18
  250. package/TestContext/dist/effect-TestContext.cjs.dev.js +31 -31
  251. package/TestContext/dist/effect-TestContext.cjs.prod.js +31 -31
  252. package/TestContext/dist/effect-TestContext.esm.js +29 -98
  253. package/TestLive/dist/effect-TestLive.cjs.dev.js +3 -3
  254. package/TestLive/dist/effect-TestLive.cjs.prod.js +3 -3
  255. package/TestLive/dist/effect-TestLive.esm.js +48 -42
  256. package/TestServices/dist/effect-TestServices.cjs.dev.js +29 -29
  257. package/TestServices/dist/effect-TestServices.cjs.prod.js +29 -29
  258. package/TestServices/dist/effect-TestServices.esm.js +269 -96
  259. package/TestSized/dist/effect-TestSized.esm.js +50 -33
  260. package/Tracer/dist/effect-Tracer.cjs.dev.js +3 -3
  261. package/Tracer/dist/effect-Tracer.cjs.prod.js +3 -3
  262. package/Tracer/dist/effect-Tracer.esm.js +68 -42
  263. package/Tuple/dist/effect-Tuple.esm.js +173 -4
  264. package/Unify/dist/effect-Unify.esm.js +40 -2
  265. package/Utils/dist/effect-Utils.esm.js +352 -3
  266. package/dist/{Cache-e7468f24.cjs.dev.js → Cache-1688e584.cjs.dev.js} +1 -1
  267. package/dist/{Cache-65f7e875.cjs.prod.js → Cache-8f2f2b55.cjs.prod.js} +1 -1
  268. package/dist/{Channel-482334e0.cjs.prod.js → Channel-2ce019f1.cjs.prod.js} +2 -2
  269. package/dist/{Channel-4099f225.cjs.dev.js → Channel-544108d2.cjs.dev.js} +2 -2
  270. package/dist/{ChannelSingleProducerAsyncInput-e1260219.cjs.dev.js → ChannelSingleProducerAsyncInput-62f4749c.cjs.dev.js} +1 -1
  271. package/dist/{ChannelSingleProducerAsyncInput-9d23aac3.cjs.prod.js → ChannelSingleProducerAsyncInput-6e0084c3.cjs.prod.js} +1 -1
  272. package/dist/{Clock-0b777b1b.cjs.prod.js → Clock-09ecce0a.cjs.prod.js} +1 -1
  273. package/dist/{Clock-80bf3b4b.cjs.dev.js → Clock-bec722c1.cjs.dev.js} +1 -1
  274. package/dist/{Console-69b2fba9.cjs.prod.js → Console-150b7b40.cjs.prod.js} +3 -3
  275. package/dist/{Console-ff87924b.cjs.dev.js → Console-4825ee9f.cjs.dev.js} +3 -3
  276. package/dist/{DefaultServices-c1a6b148.cjs.dev.js → DefaultServices-d5740d37.cjs.dev.js} +1 -1
  277. package/dist/{DefaultServices-6a83f0aa.cjs.prod.js → DefaultServices-df7495bb.cjs.prod.js} +1 -1
  278. package/dist/{Duration-011e7325.cjs.prod.js → Duration-0bc08d03.cjs.prod.js} +8 -0
  279. package/dist/{Duration-5ac57eb4.cjs.dev.js → Duration-604874d1.cjs.dev.js} +8 -0
  280. package/dist/{Effect-f0659a90.cjs.prod.js → Effect-1442090f.cjs.prod.js} +9 -9
  281. package/dist/{Effect-8392a3cd.cjs.dev.js → Effect-6e9780e6.cjs.dev.js} +9 -9
  282. package/dist/{Error-5edcd83a.cjs.dev.js → Error-5ab157f2.cjs.dev.js} +1 -1
  283. package/dist/{Error-d7f0de14.cjs.prod.js → Error-e9d25c53.cjs.prod.js} +1 -1
  284. package/dist/{Fiber-c797d281.cjs.dev.js → Fiber-6432d5f7.cjs.dev.js} +3 -3
  285. package/dist/{Fiber-3b2a4091.cjs.prod.js → Fiber-e61b3c65.cjs.prod.js} +3 -3
  286. package/dist/{FiberRef-61cd9abe.cjs.dev.js → FiberRef-1db44a9b.cjs.dev.js} +2 -2
  287. package/dist/{FiberRef-0b332631.cjs.prod.js → FiberRef-efb4a3ac.cjs.prod.js} +2 -2
  288. package/dist/{GroupBy-bd212344.cjs.dev.js → GroupBy-8a8149b4.cjs.dev.js} +1 -1
  289. package/dist/{GroupBy-bb08aeb2.cjs.prod.js → GroupBy-b74084af.cjs.prod.js} +1 -1
  290. package/dist/{Hub-926961e9.cjs.prod.js → Hub-6e64debd.cjs.prod.js} +2 -2
  291. package/dist/{Hub-af0194fd.cjs.dev.js → Hub-74834668.cjs.dev.js} +2 -2
  292. package/dist/{KeyedPool-f7b4675c.cjs.dev.js → KeyedPool-b05481e9.cjs.dev.js} +3 -3
  293. package/dist/{KeyedPool-0ddba691.cjs.prod.js → KeyedPool-cd8abf95.cjs.prod.js} +3 -3
  294. package/dist/{Layer-ec0ab71c.cjs.prod.js → Layer-297269fd.cjs.prod.js} +1 -1
  295. package/dist/{Layer-6ad0ac38.cjs.dev.js → Layer-c69f3fdc.cjs.dev.js} +1 -1
  296. package/dist/{Logger-620f1fa9.cjs.dev.js → Logger-680763c7.cjs.dev.js} +2 -2
  297. package/dist/{Logger-3df1180d.cjs.prod.js → Logger-7a664cc3.cjs.prod.js} +2 -2
  298. package/dist/{Metric-ebc35919.cjs.dev.js → Metric-09d012ff.cjs.dev.js} +1 -1
  299. package/dist/{Metric-9607aa06.cjs.prod.js → Metric-b7563a68.cjs.prod.js} +1 -1
  300. package/dist/{MetricHook-fdc68e37.cjs.dev.js → MetricHook-3104e93b.cjs.dev.js} +1 -1
  301. package/dist/{MetricHook-a742d813.cjs.prod.js → MetricHook-efd05d72.cjs.prod.js} +1 -1
  302. package/dist/{MetricKey-b17b2c9a.cjs.prod.js → MetricKey-9cfcaec8.cjs.prod.js} +1 -1
  303. package/dist/{MetricKey-be3afc49.cjs.dev.js → MetricKey-c3ba437e.cjs.dev.js} +1 -1
  304. package/dist/{MetricKeyType-3dfa6802.cjs.prod.js → MetricKeyType-6d2d9036.cjs.prod.js} +1 -1
  305. package/dist/{MetricKeyType-fba3e0ec.cjs.dev.js → MetricKeyType-c1d7ebe8.cjs.dev.js} +1 -1
  306. package/dist/{MetricPolling-061de6b9.cjs.dev.js → MetricPolling-5af0ff67.cjs.dev.js} +3 -3
  307. package/dist/{MetricPolling-6e5e4b2e.cjs.prod.js → MetricPolling-a0a4e798.cjs.prod.js} +3 -3
  308. package/dist/{MetricRegistry-4df5e56b.cjs.dev.js → MetricRegistry-e4af936b.cjs.dev.js} +1 -1
  309. package/dist/{MetricRegistry-da2c65bd.cjs.prod.js → MetricRegistry-ff6df283.cjs.prod.js} +1 -1
  310. package/dist/{Pool-d8e4142e.cjs.prod.js → Pool-54389592.cjs.prod.js} +1 -1
  311. package/dist/{Pool-e8a79a57.cjs.dev.js → Pool-fe1b506a.cjs.dev.js} +1 -1
  312. package/dist/{Queue-de055f1c.cjs.prod.js → Queue-5f954287.cjs.prod.js} +1 -1
  313. package/dist/{Queue-55a39179.cjs.dev.js → Queue-8d082fe4.cjs.dev.js} +1 -1
  314. package/dist/{Random-d6a2f801.cjs.dev.js → Random-35304046.cjs.dev.js} +1 -1
  315. package/dist/{Random-ade126e8.cjs.prod.js → Random-b4709b6a.cjs.prod.js} +1 -1
  316. package/dist/{Reloadable-5f1ed95c.cjs.prod.js → Reloadable-2b8ba75d.cjs.prod.js} +5 -5
  317. package/dist/{Reloadable-e8bcb00e.cjs.dev.js → Reloadable-b01c9297.cjs.dev.js} +5 -5
  318. package/dist/{Request-45226c5f.cjs.prod.js → Request-53592fe4.cjs.prod.js} +2 -2
  319. package/dist/{Request-9d12c3ba.cjs.dev.js → Request-d3b63af6.cjs.dev.js} +2 -2
  320. package/dist/{RequestBlock-0e9f377b.cjs.dev.js → RequestBlock-1aa4c3bd.cjs.dev.js} +1 -1
  321. package/dist/{RequestBlock-d4c7c31d.cjs.prod.js → RequestBlock-8c3b51d1.cjs.prod.js} +1 -1
  322. package/dist/{RequestResolver-8764ee8c.cjs.prod.js → RequestResolver-133197d5.cjs.prod.js} +2 -2
  323. package/dist/{RequestResolver-b287a04a.cjs.dev.js → RequestResolver-86c21b80.cjs.dev.js} +2 -2
  324. package/dist/{Resource-f95cf55a.cjs.prod.js → Resource-2530fe45.cjs.prod.js} +3 -3
  325. package/dist/{Resource-4f2b627f.cjs.dev.js → Resource-e50b4b25.cjs.dev.js} +3 -3
  326. package/dist/{Runtime-969e6cb2.cjs.prod.js → Runtime-0d643f0c.cjs.prod.js} +1 -1
  327. package/dist/{Runtime-dc0234a0.cjs.dev.js → Runtime-c4b887ff.cjs.dev.js} +1 -1
  328. package/dist/{RuntimeFlags-7a400d83.cjs.prod.js → RuntimeFlags-9d8fac5a.cjs.prod.js} +1 -1
  329. package/dist/{RuntimeFlags-60dfc3f5.cjs.dev.js → RuntimeFlags-f67e3984.cjs.dev.js} +1 -1
  330. package/dist/{STM-b8d9766d.cjs.prod.js → STM-23270be2.cjs.prod.js} +2 -2
  331. package/dist/{STM-af9026e6.cjs.dev.js → STM-5a4c9921.cjs.dev.js} +2 -2
  332. package/dist/{Schedule-58648908.cjs.prod.js → Schedule-0444792d.cjs.prod.js} +1 -1
  333. package/dist/{Schedule-76089454.cjs.dev.js → Schedule-b6c7b49a.cjs.dev.js} +1 -1
  334. package/dist/{ScheduleDecision-fbd6bb79.cjs.prod.js → ScheduleDecision-369f2d2b.cjs.prod.js} +1 -1
  335. package/dist/{ScheduleDecision-9555a6dc.cjs.dev.js → ScheduleDecision-ba8d0e87.cjs.dev.js} +1 -1
  336. package/dist/{ScheduleInterval-3ca6dbb0.cjs.dev.js → ScheduleInterval-51f42533.cjs.dev.js} +1 -1
  337. package/dist/{ScheduleInterval-15c7da05.cjs.prod.js → ScheduleInterval-78037484.cjs.prod.js} +1 -1
  338. package/dist/{ScheduleIntervals-36ff45c1.cjs.dev.js → ScheduleIntervals-b0bfcf3b.cjs.dev.js} +1 -1
  339. package/dist/{ScheduleIntervals-a5bbdb0d.cjs.prod.js → ScheduleIntervals-db13140c.cjs.prod.js} +1 -1
  340. package/dist/{Scope-e3e714b4.cjs.prod.js → Scope-311c7eb9.cjs.prod.js} +1 -1
  341. package/dist/{Scope-820b74b2.cjs.dev.js → Scope-6ba9ec6d.cjs.dev.js} +1 -1
  342. package/dist/{ScopedCache-f9b2f52e.cjs.dev.js → ScopedCache-3f58b125.cjs.dev.js} +5 -5
  343. package/dist/{ScopedCache-467ccc2b.cjs.prod.js → ScopedCache-8f99505c.cjs.prod.js} +5 -5
  344. package/dist/{ScopedRef-b45fd0e8.cjs.prod.js → ScopedRef-7946d287.cjs.prod.js} +1 -1
  345. package/dist/{ScopedRef-735385de.cjs.dev.js → ScopedRef-b92e1633.cjs.dev.js} +1 -1
  346. package/dist/{Sink-dffe83ea.cjs.dev.js → Sink-9f13da17.cjs.dev.js} +1 -1
  347. package/dist/{Sink-cb1bba84.cjs.prod.js → Sink-9f82fc3b.cjs.prod.js} +1 -1
  348. package/dist/{Stream-c348a386.cjs.dev.js → Stream-14325ecb.cjs.dev.js} +2 -2
  349. package/dist/{Stream-39e8de11.cjs.prod.js → Stream-cf262c16.cjs.prod.js} +2 -2
  350. package/dist/{SubscriptionRef-62745b92.cjs.prod.js → SubscriptionRef-aa7bdc5f.cjs.prod.js} +5 -5
  351. package/dist/{SubscriptionRef-53e8686c.cjs.dev.js → SubscriptionRef-d3c1aa07.cjs.dev.js} +5 -5
  352. package/dist/{Supervisor-0ea7382b.cjs.prod.js → Supervisor-21087253.cjs.prod.js} +2 -2
  353. package/dist/{Supervisor-cf21fcaa.cjs.dev.js → Supervisor-40dd7ce5.cjs.dev.js} +2 -2
  354. package/dist/{SynchronizedRef-9e9689e9.cjs.dev.js → SynchronizedRef-3181eb0a.cjs.dev.js} +1 -1
  355. package/dist/{SynchronizedRef-2cc5af97.cjs.prod.js → SynchronizedRef-c6e0884b.cjs.prod.js} +1 -1
  356. package/dist/{TArray-6057170a.cjs.prod.js → TArray-6767b4bd.cjs.prod.js} +1 -1
  357. package/dist/{TArray-0b280c93.cjs.dev.js → TArray-a0a4c6e6.cjs.dev.js} +1 -1
  358. package/dist/{TDeferred-73b5dfc2.cjs.prod.js → TDeferred-a9839479.cjs.prod.js} +3 -3
  359. package/dist/{TDeferred-786b2b13.cjs.dev.js → TDeferred-ac2c4025.cjs.dev.js} +3 -3
  360. package/dist/{THub-810db270.cjs.prod.js → THub-25b77864.cjs.prod.js} +5 -5
  361. package/dist/{THub-bcd35bc0.cjs.dev.js → THub-38053ae1.cjs.dev.js} +5 -5
  362. package/dist/{TMap-7206da08.cjs.prod.js → TMap-91505efa.cjs.prod.js} +1 -1
  363. package/dist/{TMap-06e0747b.cjs.dev.js → TMap-de8ac080.cjs.dev.js} +1 -1
  364. package/dist/{TPriorityQueue-71490af5.cjs.prod.js → TPriorityQueue-00b65d1a.cjs.prod.js} +2 -2
  365. package/dist/{TPriorityQueue-0844551b.cjs.dev.js → TPriorityQueue-96ff0e15.cjs.dev.js} +2 -2
  366. package/dist/{TQueue-67ccf55b.cjs.prod.js → TQueue-5e242ca2.cjs.prod.js} +1 -1
  367. package/dist/{TQueue-5621ef6e.cjs.dev.js → TQueue-707762bf.cjs.dev.js} +1 -1
  368. package/dist/{TRandom-c974e739.cjs.dev.js → TRandom-5eb21d23.cjs.dev.js} +5 -5
  369. package/dist/{TRandom-557dc8e1.cjs.prod.js → TRandom-ec9c7bf7.cjs.prod.js} +5 -5
  370. package/dist/{TReentrantLock-5f7cba2d.cjs.dev.js → TReentrantLock-1b77d76f.cjs.dev.js} +3 -3
  371. package/dist/{TReentrantLock-e6ee830e.cjs.prod.js → TReentrantLock-c5a8401e.cjs.prod.js} +3 -3
  372. package/dist/{TRef-f7b2bc6f.cjs.prod.js → TRef-b87580d7.cjs.prod.js} +1 -1
  373. package/dist/{TRef-38eac0f0.cjs.dev.js → TRef-cf2e8ad7.cjs.dev.js} +1 -1
  374. package/dist/{TSemaphore-28d87428.cjs.prod.js → TSemaphore-29503416.cjs.prod.js} +4 -4
  375. package/dist/{TSemaphore-3cf15f77.cjs.dev.js → TSemaphore-50edec08.cjs.dev.js} +4 -4
  376. package/dist/{TSet-677ac73c.cjs.prod.js → TSet-3c2568e9.cjs.prod.js} +2 -2
  377. package/dist/{TSet-1dca2ef3.cjs.dev.js → TSet-bb4775ca.cjs.dev.js} +2 -2
  378. package/dist/{Take-bfdbd28d.cjs.dev.js → Take-684c9901.cjs.dev.js} +1 -1
  379. package/dist/{Take-e40627bd.cjs.prod.js → Take-b4c91438.cjs.prod.js} +1 -1
  380. package/dist/{TestAnnotations-14444032.cjs.prod.js → TestAnnotations-5db95828.cjs.prod.js} +2 -2
  381. package/dist/{TestAnnotations-ee0f8c79.cjs.dev.js → TestAnnotations-733b39ef.cjs.dev.js} +2 -2
  382. package/dist/{TestClock-30ba14e8.cjs.prod.js → TestClock-89a36b89.cjs.prod.js} +8 -8
  383. package/dist/{TestClock-d782f3ee.cjs.dev.js → TestClock-e2773846.cjs.dev.js} +8 -8
  384. package/dist/{TestContext-eebb1aad.cjs.dev.js → TestContext-3328163e.cjs.dev.js} +4 -4
  385. package/dist/{TestContext-f76f750e.cjs.prod.js → TestContext-917bf305.cjs.prod.js} +4 -4
  386. package/dist/{TestLive-dc458127.cjs.dev.js → TestLive-465ad3ef.cjs.dev.js} +1 -1
  387. package/dist/{TestLive-e5d614fe.cjs.prod.js → TestLive-f3232ac4.cjs.prod.js} +1 -1
  388. package/dist/{TestServices-b3af20a3.cjs.prod.js → TestServices-605f726e.cjs.prod.js} +6 -6
  389. package/dist/{TestServices-7a60d735.cjs.dev.js → TestServices-921e5c42.cjs.dev.js} +6 -6
  390. package/dist/{Tracer-3cd1e3bc.cjs.prod.js → Tracer-d06d0b61.cjs.prod.js} +1 -1
  391. package/dist/{Tracer-435e56fd.cjs.dev.js → Tracer-da182c8c.cjs.dev.js} +1 -1
  392. package/dist/{cache-66637407.cjs.dev.js → cache-6cdc31f7.cjs.dev.js} +3 -3
  393. package/dist/{cache-c88afdc0.cjs.prod.js → cache-ab7bbfbd.cjs.prod.js} +3 -3
  394. package/dist/{circular-d08ca815.cjs.dev.js → circular-4cb0b79d.cjs.dev.js} +5 -5
  395. package/dist/{circular-7eed8a92.cjs.prod.js → circular-5b3558d9.cjs.prod.js} +5 -5
  396. package/dist/{circular-5c436934.cjs.dev.js → circular-78011d6b.cjs.dev.js} +3 -3
  397. package/dist/{circular-c8f8e360.cjs.prod.js → circular-81b4c556.cjs.prod.js} +3 -3
  398. package/dist/{core-20a91d69.cjs.prod.js → core-4ced6e17.cjs.prod.js} +4 -4
  399. package/dist/{core-6e50c01f.cjs.dev.js → core-d9eea905.cjs.dev.js} +4 -4
  400. package/dist/{core-effect-780f9db7.cjs.dev.js → core-effect-a9b8ee08.cjs.dev.js} +4 -4
  401. package/dist/{core-effect-023f4abe.cjs.prod.js → core-effect-bf806dd9.cjs.prod.js} +4 -4
  402. package/dist/{dataSource-7ec08fa5.cjs.prod.js → dataSource-abccc876.cjs.prod.js} +2 -2
  403. package/dist/{dataSource-e56e2a99.cjs.dev.js → dataSource-d5f79f4e.cjs.dev.js} +2 -2
  404. package/dist/declarations/src/Duration.d.ts +5 -0
  405. package/dist/declarations/src/Duration.d.ts.map +1 -1
  406. package/dist/{defaultServices-452aebad.cjs.prod.js → defaultServices-4112c0c9.cjs.prod.js} +1 -1
  407. package/dist/{defaultServices-e9a9b935.cjs.dev.js → defaultServices-60c753dc.cjs.dev.js} +1 -1
  408. package/dist/effect.cjs.dev.js +93 -93
  409. package/dist/effect.cjs.prod.js +93 -93
  410. package/dist/effect.esm.js +283 -197
  411. package/dist/{fiber-2975db3a.cjs.prod.js → fiber-90ffaf8c.cjs.prod.js} +1 -1
  412. package/dist/{fiber-1132297b.cjs.dev.js → fiber-da1a207c.cjs.dev.js} +1 -1
  413. package/dist/{fiberRuntime-9d6d53be.cjs.prod.js → fiberRuntime-1c369a47.cjs.prod.js} +7 -7
  414. package/dist/{fiberRuntime-ac7fae54.cjs.dev.js → fiberRuntime-e9680313.cjs.dev.js} +7 -7
  415. package/dist/{groupBy-f0a83f90.cjs.prod.js → groupBy-0cc85afb.cjs.prod.js} +5 -5
  416. package/dist/{groupBy-e1d3c5e8.cjs.dev.js → groupBy-b204a881.cjs.dev.js} +5 -5
  417. package/dist/{hook-0bf192b2.cjs.prod.js → hook-6c7550dc.cjs.prod.js} +1 -1
  418. package/dist/{hook-9e86d119.cjs.dev.js → hook-822704ea.cjs.dev.js} +1 -1
  419. package/dist/{key-a79acfe7.cjs.prod.js → key-330b98b1.cjs.prod.js} +1 -1
  420. package/dist/{key-6ac569ca.cjs.dev.js → key-a474fc0d.cjs.dev.js} +1 -1
  421. package/dist/{keyType-c1e7cfc5.cjs.dev.js → keyType-1e916ae2.cjs.dev.js} +1 -1
  422. package/dist/{keyType-681c1c4a.cjs.prod.js → keyType-8460e792.cjs.prod.js} +1 -1
  423. package/dist/{layer-f0c8023d.cjs.dev.js → layer-ae8eefad.cjs.dev.js} +9 -9
  424. package/dist/{layer-db9c42be.cjs.prod.js → layer-ffacc2c5.cjs.prod.js} +9 -9
  425. package/dist/{pool-cd9f1284.cjs.dev.js → pool-3f16af61.cjs.dev.js} +4 -4
  426. package/dist/{pool-975b7d21.cjs.prod.js → pool-59a31f55.cjs.prod.js} +4 -4
  427. package/dist/{query-12e387cf.cjs.dev.js → query-193d0a89.cjs.dev.js} +3 -3
  428. package/dist/{query-eb8a7001.cjs.prod.js → query-fe4a82d6.cjs.prod.js} +3 -3
  429. package/dist/{queue-0dbc2b3f.cjs.dev.js → queue-04ae7ec7.cjs.dev.js} +1 -1
  430. package/dist/{queue-f70dda1a.cjs.prod.js → queue-b81aee38.cjs.prod.js} +1 -1
  431. package/dist/{registry-92c00ecd.cjs.prod.js → registry-29905dcc.cjs.prod.js} +2 -2
  432. package/dist/{registry-9e9ae2c7.cjs.dev.js → registry-c883cf52.cjs.dev.js} +2 -2
  433. package/dist/{runtime-f8d0f39b.cjs.dev.js → runtime-3ae98f19.cjs.dev.js} +3 -3
  434. package/dist/{runtime-0ada41f2.cjs.prod.js → runtime-8c3f1bd3.cjs.prod.js} +3 -3
  435. package/dist/{schedule-18b063cb.cjs.dev.js → schedule-479d8fcc.cjs.dev.js} +7 -7
  436. package/dist/{schedule-f918adf5.cjs.prod.js → schedule-7e30db2d.cjs.prod.js} +7 -7
  437. package/dist/{scopedRef-50091b28.cjs.dev.js → scopedRef-16d9d192.cjs.dev.js} +3 -3
  438. package/dist/{scopedRef-d6396f06.cjs.prod.js → scopedRef-40b5bb82.cjs.prod.js} +3 -3
  439. package/dist/{singleProducerAsyncInput-f3dd657f.cjs.dev.js → singleProducerAsyncInput-552122e6.cjs.dev.js} +1 -1
  440. package/dist/{singleProducerAsyncInput-bd600183.cjs.prod.js → singleProducerAsyncInput-c5ff73b7.cjs.prod.js} +1 -1
  441. package/dist/{sink-bb64c8a6.cjs.dev.js → sink-16a1a901.cjs.dev.js} +9 -9
  442. package/dist/{sink-6a1db2b0.cjs.prod.js → sink-c9ae7558.cjs.prod.js} +9 -9
  443. package/dist/{stm-2b8fa344.cjs.dev.js → stm-44f045e5.cjs.dev.js} +3 -3
  444. package/dist/{stm-e3401389.cjs.prod.js → stm-59af7e62.cjs.prod.js} +3 -3
  445. package/dist/{stream-7bc5bfac.cjs.dev.js → stream-84a13e23.cjs.dev.js} +13 -17
  446. package/dist/{stream-22ea5a61.cjs.prod.js → stream-8acbee57.cjs.prod.js} +13 -17
  447. package/dist/{tArray-a211cc29.cjs.prod.js → tArray-a690480d.cjs.prod.js} +3 -3
  448. package/dist/{tArray-36a6e713.cjs.dev.js → tArray-c0a3d1e2.cjs.dev.js} +3 -3
  449. package/dist/{tMap-fd504724.cjs.dev.js → tMap-1c1b10c4.cjs.dev.js} +5 -5
  450. package/dist/{tMap-9c22a2ff.cjs.prod.js → tMap-8dfc92f5.cjs.prod.js} +5 -5
  451. package/dist/{tQueue-4b66ca7b.cjs.prod.js → tQueue-48a29f8b.cjs.prod.js} +4 -4
  452. package/dist/{tQueue-565f8994.cjs.dev.js → tQueue-aaec000f.cjs.dev.js} +4 -4
  453. package/dist/{tRef-565db536.cjs.dev.js → tRef-1df89632.cjs.dev.js} +1 -1
  454. package/dist/{tRef-74dff65b.cjs.prod.js → tRef-cc473a9f.cjs.prod.js} +1 -1
  455. package/dist/{take-05ea3c27.cjs.prod.js → take-906e6ef4.cjs.prod.js} +1 -1
  456. package/dist/{take-f87477f8.cjs.dev.js → take-e1c6b82a.cjs.dev.js} +1 -1
  457. package/{dist/Context-149c432f.esm.js → internal/Context.esm.js} +9 -9
  458. package/internal/Data.esm.js +49 -0
  459. package/internal/Differ/ChunkPatch.esm.js +131 -0
  460. package/internal/Differ/ContextPatch.esm.js +158 -0
  461. package/internal/Differ/HashMapPatch.esm.js +133 -0
  462. package/internal/Differ/HashSetPatch.esm.js +107 -0
  463. package/internal/Differ/OrPatch.esm.js +196 -0
  464. package/internal/Differ.esm.js +130 -0
  465. package/internal/Effectable.esm.js +89 -0
  466. package/internal/Either.esm.js +95 -0
  467. package/internal/Encoding/Base64.esm.js +74 -0
  468. package/internal/Encoding/Base64Url.esm.js +24 -0
  469. package/internal/Encoding/Common.esm.js +21 -0
  470. package/internal/Encoding/Hex.esm.js +55 -0
  471. package/internal/HashMap/array.esm.js +51 -0
  472. package/internal/HashMap/bitwise.esm.js +34 -0
  473. package/internal/HashMap/config.esm.js +16 -0
  474. package/internal/HashMap/keySet.esm.js +8 -0
  475. package/internal/HashMap/node.esm.js +253 -0
  476. package/internal/HashMap.esm.js +366 -0
  477. package/internal/HashSet.esm.js +211 -0
  478. package/internal/Option.esm.js +75 -0
  479. package/{dist/ReadonlyArray-c8b1f51c.esm.js → internal/ReadonlyArray.esm.js} +1 -1
  480. package/internal/RedBlackTree/iterator.esm.js +204 -0
  481. package/internal/RedBlackTree/node.esm.js +43 -0
  482. package/{dist/RedBlackTree-611b3b4c.esm.js → internal/RedBlackTree.esm.js} +65 -655
  483. package/{dist/Stack-765c2298.esm.js → internal/Stack.esm.js} +1 -1
  484. package/internal/blockedRequests.esm.js +365 -0
  485. package/{dist/cache-d62912e6.esm.js → internal/cache.esm.js} +18 -18
  486. package/internal/cause.esm.js +1067 -0
  487. package/internal/channel/channelExecutor.esm.js +692 -0
  488. package/internal/channel/channelState.esm.js +78 -0
  489. package/{dist/childExecutorDecision-a7b466d2.esm.js → internal/channel/childExecutorDecision.esm.js} +3 -17
  490. package/internal/channel/continuation.esm.js +58 -0
  491. package/{dist/mergeDecision-d31cb28c.esm.js → internal/channel/mergeDecision.esm.js} +3 -12
  492. package/{dist/mergeState-1325df20.esm.js → internal/channel/mergeState.esm.js} +3 -17
  493. package/{dist/mergeStrategy-a88b5442.esm.js → internal/channel/mergeStrategy.esm.js} +3 -12
  494. package/{dist/singleProducerAsyncInput-5b2ede75.esm.js → internal/channel/singleProducerAsyncInput.esm.js} +8 -8
  495. package/internal/channel/subexecutor.esm.js +153 -0
  496. package/{dist/upstreamPullRequest-fed99e29.esm.js → internal/channel/upstreamPullRequest.esm.js} +3 -12
  497. package/{dist/upstreamPullStrategy-d5d1aa92.esm.js → internal/channel/upstreamPullStrategy.esm.js} +3 -12
  498. package/internal/channel.esm.js +648 -0
  499. package/internal/clock.esm.js +82 -0
  500. package/internal/completedRequestMap.esm.js +7 -0
  501. package/internal/concurrency.esm.js +47 -0
  502. package/{dist/config-b039b99f.esm.js → internal/config.esm.js} +12 -66
  503. package/{dist/configError-8b2e2999.esm.js → internal/configError.esm.js} +5 -34
  504. package/{dist/pathPatch-f393ab1b.esm.js → internal/configProvider/pathPatch.esm.js} +7 -7
  505. package/{dist/configProvider-c997961d.esm.js → internal/configProvider.esm.js} +16 -79
  506. package/{dist/configSecret-6e9eaf9d.esm.js → internal/configSecret.esm.js} +5 -5
  507. package/internal/console.esm.js +72 -0
  508. package/{dist/core-effect-57445976.esm.js → internal/core-effect.esm.js} +26 -53
  509. package/internal/core-stream.esm.js +293 -0
  510. package/internal/core.esm.js +1745 -0
  511. package/{dist/dataSource-1f41ea46.esm.js → internal/dataSource.esm.js} +9 -8
  512. package/internal/defaultServices/console.esm.js +96 -0
  513. package/internal/defaultServices.esm.js +84 -0
  514. package/internal/deferred.esm.js +37 -0
  515. package/{dist/circular-08fb0138.esm.js → internal/effect/circular.esm.js} +23 -20
  516. package/internal/executionStrategy.esm.js +61 -0
  517. package/{dist/fiber-8fb398f3.esm.js → internal/fiber.esm.js} +15 -121
  518. package/internal/fiberId.esm.js +243 -0
  519. package/internal/fiberMessage.esm.js +54 -0
  520. package/{dist/patch-743d675c.esm.js → internal/fiberRefs/patch.esm.js} +5 -5
  521. package/{dist/fiberRefs-69cce1a0.esm.js → internal/fiberRefs.esm.js} +8 -8
  522. package/{dist/fiberRuntime-bfcf5f49.esm.js → internal/fiberRuntime.esm.js} +152 -1006
  523. package/internal/fiberScope.esm.js +58 -0
  524. package/internal/fiberStatus.esm.js +89 -0
  525. package/{dist/groupBy-d11b31b1.esm.js → internal/groupBy.esm.js} +16 -14
  526. package/{dist/Hub-121dbf51.esm.js → internal/hub.esm.js} +34 -196
  527. package/internal/keyedPool.esm.js +161 -0
  528. package/{dist/circular-e463e1e6.esm.js → internal/layer/circular.esm.js} +10 -8
  529. package/{dist/layer-35828af7.esm.js → internal/layer.esm.js} +21 -65
  530. package/internal/logSpan.esm.js +15 -0
  531. package/internal/logger-circular.esm.js +21 -0
  532. package/internal/logger.esm.js +213 -0
  533. package/{dist/boundaries-52029180.esm.js → internal/metric/boundaries.esm.js} +7 -7
  534. package/{dist/hook-fd61107b.esm.js → internal/metric/hook.esm.js} +10 -10
  535. package/{dist/key-340a2bae.esm.js → internal/metric/key.esm.js} +9 -9
  536. package/{dist/keyType-869d90f8.esm.js → internal/metric/keyType.esm.js} +6 -6
  537. package/{dist/label-0cc6c9a0.esm.js → internal/metric/label.esm.js} +5 -5
  538. package/{dist/pair-5bb3eef4.esm.js → internal/metric/pair.esm.js} +2 -2
  539. package/internal/metric/polling.esm.js +74 -0
  540. package/{dist/registry-c59aeb06.esm.js → internal/metric/registry.esm.js} +8 -8
  541. package/{dist/state-2c6abdb1.esm.js → internal/metric/state.esm.js} +5 -5
  542. package/internal/metric.esm.js +204 -0
  543. package/internal/opCodes/cause.esm.js +31 -0
  544. package/internal/opCodes/channel.esm.js +71 -0
  545. package/internal/opCodes/channelChildExecutorDecision.esm.js +16 -0
  546. package/internal/opCodes/channelMergeDecision.esm.js +11 -0
  547. package/internal/opCodes/channelMergeState.esm.js +16 -0
  548. package/internal/opCodes/channelMergeStrategy.esm.js +11 -0
  549. package/internal/opCodes/channelState.esm.js +21 -0
  550. package/internal/opCodes/channelUpstreamPullRequest.esm.js +11 -0
  551. package/internal/opCodes/channelUpstreamPullStrategy.esm.js +11 -0
  552. package/internal/opCodes/config.esm.js +56 -0
  553. package/internal/opCodes/configError.esm.js +31 -0
  554. package/internal/opCodes/continuation.esm.js +11 -0
  555. package/internal/opCodes/deferred.esm.js +11 -0
  556. package/internal/opCodes/effect.esm.js +71 -0
  557. package/internal/opCodes/layer.esm.js +46 -0
  558. package/internal/opCodes/streamHaltStrategy.esm.js +21 -0
  559. package/{dist/pool-7d5c25ef.esm.js → internal/pool.esm.js} +13 -13
  560. package/{dist/query-242f7fda.esm.js → internal/query.esm.js} +10 -7
  561. package/{dist/queue-f74db567.esm.js → internal/queue.esm.js} +10 -10
  562. package/internal/random.esm.js +58 -0
  563. package/internal/ref.esm.js +121 -0
  564. package/internal/reloadable.esm.js +62 -0
  565. package/internal/request.esm.js +81 -0
  566. package/internal/resource.esm.js +35 -0
  567. package/internal/ringBuffer.esm.js +56 -0
  568. package/{dist/runtime-bcdd4416.esm.js → internal/runtime.esm.js} +19 -17
  569. package/internal/runtimeFlags.esm.js +137 -0
  570. package/internal/runtimeFlagsPatch.esm.js +57 -0
  571. package/internal/schedule/decision.esm.js +45 -0
  572. package/internal/schedule/interval.esm.js +85 -0
  573. package/internal/schedule/intervals.esm.js +135 -0
  574. package/{dist/schedule-566ae18c.esm.js → internal/schedule.esm.js} +26 -25
  575. package/{dist/ScopedCache-8fa7e96d.esm.js → internal/scopedCache.esm.js} +27 -83
  576. package/{dist/scopedRef-0fdefef8.esm.js → internal/scopedRef.esm.js} +10 -10
  577. package/internal/singleShotGen.esm.js +30 -0
  578. package/internal/sink.esm.js +918 -0
  579. package/{dist/core-f6cae6d7.esm.js → internal/stm/core.esm.js} +46 -525
  580. package/internal/stm/opCodes/stm.esm.js +56 -0
  581. package/internal/stm/opCodes/stmState.esm.js +16 -0
  582. package/internal/stm/opCodes/strategy.esm.js +16 -0
  583. package/internal/stm/opCodes/tExit.esm.js +26 -0
  584. package/internal/stm/opCodes/tryCommit.esm.js +11 -0
  585. package/internal/stm/stm/entry.esm.js +47 -0
  586. package/internal/stm/stm/journal.esm.js +96 -0
  587. package/internal/stm/stm/stmState.esm.js +104 -0
  588. package/internal/stm/stm/tExit.esm.js +113 -0
  589. package/internal/stm/stm/tryCommit.esm.js +25 -0
  590. package/internal/stm/stm/txnId.esm.js +15 -0
  591. package/internal/stm/stm/versioned.esm.js +8 -0
  592. package/{dist/stm-6937f6f2.esm.js → internal/stm/stm.esm.js} +16 -14
  593. package/{dist/tArray-79024770.esm.js → internal/stm/tArray.esm.js} +8 -8
  594. package/internal/stm/tDeferred.esm.js +49 -0
  595. package/{dist/THub-573c2fb3.esm.js → internal/stm/tHub.esm.js} +28 -200
  596. package/{dist/tMap-907e37f4.esm.js → internal/stm/tMap.esm.js} +13 -13
  597. package/internal/stm/tPriorityQueue.esm.js +156 -0
  598. package/{dist/tQueue-74395d76.esm.js → internal/stm/tQueue.esm.js} +10 -24
  599. package/internal/stm/tRandom.esm.js +89 -0
  600. package/internal/stm/tReentrantLock.esm.js +216 -0
  601. package/{dist/tRef-fc8ff438.esm.js → internal/stm/tRef.esm.js} +6 -4
  602. package/internal/stm/tSemaphore.esm.js +73 -0
  603. package/internal/stm/tSet.esm.js +113 -0
  604. package/internal/stream/debounceState.esm.js +39 -0
  605. package/internal/stream/emit.esm.js +51 -0
  606. package/internal/stream/haltStrategy.esm.js +74 -0
  607. package/internal/stream/handoff.esm.js +79 -0
  608. package/internal/stream/handoffSignal.esm.js +40 -0
  609. package/internal/stream/pull.esm.js +10 -0
  610. package/internal/stream/sinkEndReason.esm.js +27 -0
  611. package/internal/stream/zipAllState.esm.js +65 -0
  612. package/internal/stream/zipChunksState.esm.js +41 -0
  613. package/{dist/stream-e44fba40.esm.js → internal/stream.esm.js} +399 -770
  614. package/internal/string-utils.esm.js +66 -0
  615. package/internal/subscriptionRef.esm.js +65 -0
  616. package/internal/supervisor/patch.esm.js +156 -0
  617. package/internal/supervisor.esm.js +204 -0
  618. package/{dist/synchronizedRef-1ceb6bd3.esm.js → internal/synchronizedRef.esm.js} +4 -4
  619. package/{dist/take-0d5e0eab.esm.js → internal/take.esm.js} +8 -8
  620. package/internal/testing/suspendedWarningData.esm.js +66 -0
  621. package/internal/testing/warningData.esm.js +75 -0
  622. package/{dist/timeout-4180303d.esm.js → internal/timeout.esm.js} +1 -1
  623. package/internal/tracer.esm.js +61 -0
  624. package/package.json +700 -554
  625. package/dist/Bigint-bf034c1f.esm.js +0 -370
  626. package/dist/Boolean-bf38e241.esm.js +0 -248
  627. package/dist/Brand-f068009f.esm.js +0 -215
  628. package/dist/Cache-27cd0ab7.esm.js +0 -120
  629. package/dist/Cause-5946c7a3.esm.js +0 -730
  630. package/dist/Channel-4bba5096.esm.js +0 -1109
  631. package/dist/ChannelChildExecutorDecision-674b3a48.esm.js +0 -125
  632. package/dist/ChannelMergeDecision-e5f34de0.esm.js +0 -70
  633. package/dist/ChannelMergeState-ae694a7c.esm.js +0 -114
  634. package/dist/ChannelMergeStrategy-9ef51c54.esm.js +0 -95
  635. package/dist/ChannelSingleProducerAsyncInput-1d15a3ec.esm.js +0 -52
  636. package/dist/ChannelUpstreamPullRequest-9b3a6733.esm.js +0 -95
  637. package/dist/ChannelUpstreamPullStrategy-85e1042b.esm.js +0 -94
  638. package/dist/Chunk-4c1f4599.esm.js +0 -1167
  639. package/dist/Clock-f8b987d7.esm.js +0 -88
  640. package/dist/Config-8d8f5a9f.esm.js +0 -358
  641. package/dist/ConfigError-41421a53.esm.js +0 -206
  642. package/dist/ConfigProvider-977168f2.esm.js +0 -220
  643. package/dist/ConfigProviderPathPatch-881ec2b5.esm.js +0 -79
  644. package/dist/ConfigSecret-9d3bf471.esm.js +0 -74
  645. package/dist/Console-9be5cd81.esm.js +0 -247
  646. package/dist/Context-c41aa832.esm.js +0 -312
  647. package/dist/Data-dee529b9.esm.js +0 -224
  648. package/dist/DefaultServices-b70d7e44.esm.js +0 -30
  649. package/dist/Deferred-9010d2ac.esm.js +0 -230
  650. package/dist/Differ-a249bf4d.esm.js +0 -975
  651. package/dist/Duration-98bca14c.esm.js +0 -467
  652. package/dist/Effect-ee05a487.esm.js +0 -3417
  653. package/dist/Effectable-a292d920.esm.js +0 -158
  654. package/dist/Effectable-d9b23ee3.esm.js +0 -89
  655. package/dist/Either-408d23a8.esm.js +0 -163
  656. package/dist/Either-aa46c018.esm.js +0 -473
  657. package/dist/Encoding-d95012ad.esm.js +0 -295
  658. package/dist/Equal-2a99fde3.esm.js +0 -65
  659. package/dist/Equivalence-cf2752b1.esm.js +0 -218
  660. package/dist/Error-083b7b69.esm.js +0 -53
  661. package/dist/ExecutionStrategy-e3775e86.esm.js +0 -168
  662. package/dist/Exit-666b4f01.esm.js +0 -371
  663. package/dist/Fiber-ebef9c60.esm.js +0 -473
  664. package/dist/FiberId-17e50f05.esm.js +0 -422
  665. package/dist/FiberRef-ddf157fd.esm.js +0 -338
  666. package/dist/FiberRefs-f705c1b5.esm.js +0 -122
  667. package/dist/FiberRefsPatch-04e0adc7.esm.js +0 -84
  668. package/dist/FiberStatus-7a24d5ef.esm.js +0 -187
  669. package/dist/Function-12511160.esm.js +0 -516
  670. package/dist/GlobalValue-b5edf230.esm.js +0 -25
  671. package/dist/GroupBy-4c667347.esm.js +0 -72
  672. package/dist/HKT-1990744d.esm.js +0 -5
  673. package/dist/Hash-7910f34f.esm.js +0 -179
  674. package/dist/HashMap-6c230bde.esm.js +0 -327
  675. package/dist/HashSet-69824ba8.esm.js +0 -907
  676. package/dist/HashSet-ae2856c1.esm.js +0 -256
  677. package/dist/Inspectable-b0c51e90.esm.js +0 -45
  678. package/dist/KeyedPool-08ee3618.esm.js +0 -273
  679. package/dist/Layer-8586a429.esm.js +0 -623
  680. package/dist/List-6e58a1e9.esm.js +0 -865
  681. package/dist/LogLevel-5a4fa506.esm.js +0 -222
  682. package/dist/LogSpan-f36e9619.esm.js +0 -42
  683. package/dist/Logger-aafaa76b.esm.js +0 -246
  684. package/dist/Metric-fef02dd6.esm.js +0 -442
  685. package/dist/MetricBoundaries-c8610876.esm.js +0 -61
  686. package/dist/MetricHook-6859801b.esm.js +0 -80
  687. package/dist/MetricKey-d1b96e85.esm.js +0 -118
  688. package/dist/MetricKeyType-4ce20904.esm.js +0 -168
  689. package/dist/MetricLabel-123185d1.esm.js +0 -48
  690. package/dist/MetricPair-840a98b7.esm.js +0 -45
  691. package/dist/MetricPolling-538e65c8.esm.js +0 -167
  692. package/dist/MetricRegistry-1e32438c.esm.js +0 -34
  693. package/dist/MetricState-ccc2e0db.esm.js +0 -172
  694. package/dist/MutableHashMap-02b39969.esm.js +0 -142
  695. package/dist/MutableHashSet-db4f96e8.esm.js +0 -101
  696. package/dist/MutableList-76401868.esm.js +0 -281
  697. package/dist/MutableQueue-446ac662.esm.js +0 -202
  698. package/dist/MutableRef-2734b082.esm.js +0 -176
  699. package/dist/NonEmptyIterable-e78d759e.esm.js +0 -33
  700. package/dist/Number-4b836a09.esm.js +0 -394
  701. package/dist/Option-df40d2b9.esm.js +0 -1135
  702. package/dist/Order-a875fe30.esm.js +0 -293
  703. package/dist/Ordering-079176ff.esm.js +0 -97
  704. package/dist/Pipeable-10760a1d.esm.js +0 -49
  705. package/dist/Pool-f1667f78.esm.js +0 -114
  706. package/dist/Predicate-6b61b95b.esm.js +0 -677
  707. package/dist/Queue-d99be5de.esm.js +0 -362
  708. package/dist/Random-5ed16d23.esm.js +0 -94
  709. package/dist/ReadonlyArray-0a71b226.esm.js +0 -1584
  710. package/dist/ReadonlyRecord-c9f03980.esm.js +0 -544
  711. package/dist/Ref-5eefaff1.esm.js +0 -248
  712. package/dist/Reloadable-e2eba7eb.esm.js +0 -159
  713. package/dist/Request-8b0e9130.esm.js +0 -175
  714. package/dist/RequestBlock-88afac19.esm.js +0 -114
  715. package/dist/RequestResolver-f17a25be.esm.js +0 -213
  716. package/dist/Resource-525ecb8a.esm.js +0 -111
  717. package/dist/Runtime-7b6c0a8b.esm.js +0 -175
  718. package/dist/RuntimeFlags-60048f70.esm.js +0 -344
  719. package/dist/RuntimeFlagsPatch-51f77dce.esm.js +0 -365
  720. package/dist/STM-1ef98d11.esm.js +0 -1321
  721. package/dist/Schedule-8502145c.esm.js +0 -1059
  722. package/dist/ScheduleDecision-e0b221dc.esm.js +0 -99
  723. package/dist/ScheduleInterval-cc7fc624.esm.js +0 -229
  724. package/dist/ScheduleIntervals-c4dc0500.esm.js +0 -252
  725. package/dist/Scheduler-844c1a90.esm.js +0 -343
  726. package/dist/Scope-0253ac82.esm.js +0 -131
  727. package/dist/ScopedRef-d92cda3b.esm.js +0 -80
  728. package/dist/Sink-322b0a96.esm.js +0 -1107
  729. package/dist/SortedMap-e429b26f.esm.js +0 -190
  730. package/dist/SortedSet-ffc2cefd.esm.js +0 -288
  731. package/dist/Stream-a54c82e5.esm.js +0 -3175
  732. package/dist/StreamEmit-bd696ab0.esm.js +0 -5
  733. package/dist/StreamHaltStrategy-592df221.esm.js +0 -201
  734. package/dist/String-5d27ad4c.esm.js +0 -648
  735. package/dist/Struct-b95eb81c.esm.js +0 -134
  736. package/dist/SubscriptionRef-93d8d20b.esm.js +0 -245
  737. package/dist/Supervisor-802f0ad0.esm.js +0 -160
  738. package/dist/Symbol-81368584.esm.js +0 -36
  739. package/dist/SynchronizedRef-5b418159.esm.js +0 -187
  740. package/dist/TArray-e0699120.esm.js +0 -412
  741. package/dist/TDeferred-96a9e821.esm.js +0 -120
  742. package/dist/TMap-0b08af84.esm.js +0 -419
  743. package/dist/TPriorityQueue-a5eb73d4.esm.js +0 -360
  744. package/dist/TQueue-2c224826.esm.js +0 -324
  745. package/dist/TRandom-dbfd1b25.esm.js +0 -192
  746. package/dist/TReentrantLock-83290260.esm.js +0 -435
  747. package/dist/TRef-bb02383a.esm.js +0 -135
  748. package/dist/TSemaphore-9a746009.esm.js +0 -183
  749. package/dist/TSet-91c5d646.esm.js +0 -412
  750. package/dist/Take-880079f7.esm.js +0 -214
  751. package/dist/TestAnnotation-f4477615.esm.js +0 -124
  752. package/dist/TestAnnotationMap-11d08509.esm.js +0 -114
  753. package/dist/TestAnnotations-39f7e011.esm.js +0 -91
  754. package/dist/TestClock-ab72e391.esm.js +0 -565
  755. package/dist/TestConfig-0d2c885c.esm.js +0 -33
  756. package/dist/TestContext-61178585.esm.js +0 -36
  757. package/dist/TestLive-61a5e471.esm.js +0 -55
  758. package/dist/TestServices-310ebe14.esm.js +0 -306
  759. package/dist/TestSized-745ac7e5.esm.js +0 -58
  760. package/dist/Tracer-da65ce12.esm.js +0 -75
  761. package/dist/Tuple-eefd2c03.esm.js +0 -187
  762. package/dist/Types-be3804ad.esm.js +0 -5
  763. package/dist/Unify-118c2d56.esm.js +0 -45
  764. package/dist/Utils-80c21479.esm.js +0 -362
  765. package/dist/core-64ab7ff5.esm.js +0 -3225
  766. package/dist/defaultServices-b9ca1236.esm.js +0 -359
  767. package/dist/sink-637a9670.esm.js +0 -2877
@@ -1,903 +1,49 @@
1
- import { n as not } from './Boolean-bf38e241.esm.js';
2
- import { o as of$1, h as isNonEmpty, j as headNonEmpty, p as prepend, t as tailNonEmpty, f as fromIterable$2, l as unsafeFromArray } from './Chunk-4c1f4599.esm.js';
3
- import { g as get$2, a as getOption, b as add$1, T as Tag, m as merge, c as make$6, u as unsafeGet } from './Context-c41aa832.esm.js';
4
- import { _ as _await$1 } from './Deferred-9010d2ac.esm.js';
5
- import { p as parallel, a as sequential, s as sequential$2, b as parallelN, i as isSequential, c as isParallel } from './ExecutionStrategy-e3775e86.esm.js';
6
- import { t as threadName, a as threadName$1, c as combine$1, n as none$3, u as unsafeMake$1 } from './FiberId-17e50f05.esm.js';
7
- import { g as getOrDefault } from './FiberRefs-f705c1b5.esm.js';
8
- import { d as diff$2, p as patch$2 } from './FiberRefsPatch-04e0adc7.esm.js';
9
- import { i as isDone, d as done, s as suspended, r as running } from './FiberStatus-7a24d5ef.esm.js';
10
- import { d as dual, b as constVoid, p as pipe, i as identity } from './Function-12511160.esm.js';
11
- import { e as empty$2, m as make$2, u as union, c as fromIterable, i as isHashSet, r as reduce, d as difference, s as size$1 } from './HashSet-ae2856c1.esm.js';
12
- import { r as fiberRefUnsafeMake, v as fiberRefGetWith, x as currentConcurrency, y as empty$1, A as pretty, t as tap, s as sync$2, B as matchCauseEffect, C as failCause, j as succeed$3, D as defects, m as map$2, E as currentMetricLabels, q as deferredUnsafeDone, F as matchEffect, G as exitFail, H as exitSucceed, J as zip$2, p as unit, K as currentTracerSpan, L as fiberRefUnsafeMakeHashSet, u as uninterruptible, M as isEffect, w as withFiberRuntime, N as fiberRefLocally, O as currentForkScopeOverride, P as exit, Q as exitIsSuccess, R as onError, S as failureOrCause, T as partitionMap, U as either, f as flatMap$1, V as fail$1, W as dieSync, X as uninterruptibleMask, Y as interruptible, Z as forEachSequential, z as zipRight$1, c as asUnit, o as onInterrupt, _ as zipLeft$1, $ as interruptFiber, d as deferredMake, a0 as exitMatchEffect, a1 as flatten, a2 as deferredFailCause, g as deferredSucceed, a3 as contextWithEffect, a4 as scopeFork, a5 as acquireUseRelease, a6 as scopeClose, a7 as exitZipWith, a8 as parallel$1, a9 as sequential$1, aa as flip, ab as fiberIdWith, ac as updateRuntimeFlags, ad as runtimeFlags, ae as ScopeTypeId, af as releaseMapMake, ag as CloseableScopeTypeId, ah as releaseMapAdd, ai as scopeAddFinalizerExit, aj as as, ak as mapInputContext, al as onExit, am as fiberRefUnsafeMakePatch, an as fiberRefGet, ao as fiberRefSet, ap as fiberRefUpdate, aq as fiberRefDelete, ar as fiberRefUnsafeMakeContext, as as fiberRefUnsafeMakeRuntimeFlags, at as forEachSequentialDiscard, a as suspend, au as currentInterruptedCause, l as deferredUnsafeMake, b as deferredAwait, av as async, aw as interrupt, ax as currentSchedulingPriority, ay as isEmpty, az as whileLoop, aA as currentUnhandledErrorLogLevel, aB as isInterruptedOnly, aC as currentLogLevel, aD as currentLogSpan, aE as currentLogAnnotations, aF as exitFailCause, aG as exitUnit, aH as die, aI as currentContext, aJ as NoSuchElementException, aK as stripFailures, aL as blocked, aM as catchAllCause, aN as runRequestBlock, aO as RevertFlags, aP as yieldNow$1, aQ as isEffectError, aR as isInterruptedException, aS as withRuntimeFlags, aT as if_, aU as zipWith, aV as currentRequestBatching, aW as transplant, aX as step, aY as par, aZ as deferredFail, a_ as exitCollectAll, a$ as exitIsFailure, b0 as IllegalArgumentException, h as exitInterrupt, b1 as exitAsUnit, b2 as interruptAsFiber, b3 as flatten$2, b4 as sequentialCollectionToChunk, b5 as flatMapStep } from './core-64ab7ff5.esm.js';
13
- import { c as currentServices, a as clockTag, t as tracerTag, b as consoleTag } from './defaultServices-b9ca1236.esm.js';
14
- import { g as globalValue } from './GlobalValue-b5edf230.esm.js';
15
- import { c as configProviderTag } from './configProvider-c997961d.esm.js';
16
- import { t as tapDefect, a as tapError, m as makeSpan, c as currentTimeNanosTracing, b as mapErrorCause } from './core-effect-57445976.esm.js';
17
- import { g as globalScope, _ as _await, F as FiberTypeId, f as fiberVariance, j as join, R as RuntimeFiberTypeId, r as resume, u as unsafeMake, s as stateful, i as interruptSignal, c as currentFiberURI, O as OP_STATEFUL, a as OP_RESUME, b as OP_INTERRUPT_SIGNAL, d as OP_YIELD_NOW, y as yieldNow, e as inheritAll, h as interruptAsFork } from './fiber-8fb398f3.esm.js';
18
- import { g as get$1, j as joinAs, d as delete_, u as updatedAs, f as forkAs, a as getOrDefault$1 } from './fiberRefs-69cce1a0.esm.js';
19
- import { b as size } from './HashMap-6c230bde.esm.js';
20
- import { i as isCons, h as head, p as prepend$1 } from './List-6e58a1e9.esm.js';
21
- import { r as render } from './LogSpan-f36e9619.esm.js';
22
- import { s as some, n as none$2, f as flatMap, m as map$3, b as match$1, e as fromNullable, i as isSome, g as getOrElse } from './Option-df40d2b9.esm.js';
23
- import { p as pipeArguments } from './Pipeable-10760a1d.esm.js';
24
- import { c as clockWith } from './Clock-f8b987d7.esm.js';
25
- import { t as toMillis, n as nanos } from './Duration-98bca14c.esm.js';
26
- import { e as exponential, f as fromChunk } from './boundaries-52029180.esm.js';
27
- import { c as counter$1, f as frequency$1, g as gauge$1, h as histogram$1, s as summary$1, t as taggedWithLabelSet } from './key-340a2bae.esm.js';
28
- import { m as make$3 } from './label-0cc6c9a0.esm.js';
29
- import { m as make$1 } from './registry-c59aeb06.esm.js';
30
- import { C as forEach, f as fromIterable$1, a as filterMap, A as reduce$1, D as flatten$1, B as reduceRight, E as compact } from './ReadonlyArray-0a71b226.esm.js';
31
- import { a as OP_FAILURE, O as OP_SUCCESS, i as OP_YIELD, k as OP_ASYNC, c as OP_ON_FAILURE, d as OP_ON_SUCCESS, h as OP_WHILE, l as OP_TAG, g as OP_SYNC, j as OP_REVERT_FLAGS, e as OP_ON_SUCCESS_AND_FAILURE, b as OP_WITH_RUNTIME, f as OP_UPDATE_RUNTIME_FLAGS, m as OP_COMMIT } from './Effectable-a292d920.esm.js';
32
- import { s as struct } from './Data-dee529b9.esm.js';
33
- import { b as empty$3, p as patch$1, c as diff$1, r as runtimeMetrics, f as exclude, W as WindDown, I as Interruption, g as interruptible$1, h as enable, j as cooperativeYielding, O as OpSupervision, n as none$4 } from './RuntimeFlagsPatch-51f77dce.esm.js';
34
- import { g as get, s as set$1, m as make$7, c as compareAndSet } from './MutableRef-2734b082.esm.js';
35
- import { a as add, r as remove } from './SortedSet-ffc2cefd.esm.js';
36
- import { m as make$4 } from './Differ-a249bf4d.esm.js';
37
- import { e as equals } from './Equal-2a99fde3.esm.js';
38
- import { f as fromLiteral, g as greaterThan } from './LogLevel-5a4fa506.esm.js';
39
- import { a as isIterable } from './Predicate-6b61b95b.esm.js';
40
- import { m as make$5, a as modify, u as update$1, g as get$3 } from './Ref-5eefaff1.esm.js';
41
- import { c as currentScheduler } from './Scheduler-844c1a90.esm.js';
42
-
43
- /** @internal */
44
- const currentRequestMap = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/FiberRef/currentRequestMap"), () => fiberRefUnsafeMake(new Map()));
45
-
46
- /** @internal */
47
- const match = (options, sequential, unbounded, bounded) => {
48
- switch (options?.concurrency) {
49
- case undefined:
50
- {
51
- return sequential();
52
- }
53
- case "unbounded":
54
- {
55
- return unbounded();
56
- }
57
- case "inherit":
58
- {
59
- return fiberRefGetWith(currentConcurrency, concurrency => concurrency === "unbounded" ? unbounded() : concurrency > 1 ? bounded(concurrency) : sequential());
60
- }
61
- default:
62
- {
63
- return options.concurrency > 1 ? bounded(options.concurrency) : sequential();
64
- }
65
- }
66
- };
67
-
68
- /** @internal */
69
- const matchSimple = (options, sequential, concurrent) => {
70
- switch (options?.concurrency) {
71
- case undefined:
72
- {
73
- return sequential();
74
- }
75
- case "unbounded":
76
- {
77
- return concurrent();
78
- }
79
- case "inherit":
80
- {
81
- return fiberRefGetWith(currentConcurrency, concurrency => concurrency === "unbounded" ? concurrent() : concurrency > 1 ? concurrent() : sequential());
82
- }
83
- default:
84
- {
85
- return options.concurrency > 1 ? concurrent() : sequential();
86
- }
87
- }
88
- };
89
-
90
- /** @internal */
91
- const LoggerSymbolKey = "effect/Logger";
92
-
93
- /** @internal */
94
- const LoggerTypeId = /*#__PURE__*/Symbol.for(LoggerSymbolKey);
95
-
96
- /** @internal */
97
- const loggerVariance = {
98
- _Message: _ => _,
99
- _Output: _ => _
100
- };
101
-
102
- /** @internal */
103
- const makeLogger = log => ({
104
- [LoggerTypeId]: loggerVariance,
105
- log,
106
- pipe() {
107
- return pipeArguments(this, arguments);
108
- }
109
- });
110
-
111
- /** @internal */
112
- const mapInput$1 = /*#__PURE__*/dual(2, (self, f) => makeLogger(options => self.log({
113
- ...options,
114
- message: f(options.message)
115
- })));
116
-
117
- /** @internal */
118
- const filterLogLevel = /*#__PURE__*/dual(2, (self, f) => makeLogger(options => f(options.logLevel) ? some(self.log(options)) : none$2()));
119
-
120
- /** @internal */
121
- const map$1 = /*#__PURE__*/dual(2, (self, f) => makeLogger(options => f(self.log(options))));
122
-
123
- /** @internal */
124
- const none$1 = {
125
- [LoggerTypeId]: loggerVariance,
126
- log: constVoid,
127
- pipe() {
128
- return pipeArguments(this, arguments);
129
- }
130
- };
131
-
132
- /** @internal */
133
- const simple = log => ({
134
- [LoggerTypeId]: loggerVariance,
135
- log: ({
136
- message
137
- }) => log(message),
138
- pipe() {
139
- return pipeArguments(this, arguments);
140
- }
141
- });
142
-
143
- /** @internal */
144
- const succeed$2 = value => {
145
- return simple(() => value);
146
- };
147
-
148
- /** @internal */
149
- const sync$1 = evaluate => {
150
- return simple(evaluate);
151
- };
152
-
153
- /** @internal */
154
- const zip$1 = /*#__PURE__*/dual(2, (self, that) => makeLogger(options => [self.log(options), that.log(options)]));
155
-
156
- /** @internal */
157
- const zipLeft = /*#__PURE__*/dual(2, (self, that) => map$1(zip$1(self, that), tuple => tuple[0]));
158
-
159
- /** @internal */
160
- const zipRight = /*#__PURE__*/dual(2, (self, that) => map$1(zip$1(self, that), tuple => tuple[1]));
161
-
162
- /** @internal */
163
- const stringLogger = /*#__PURE__*/makeLogger(({
164
- annotations,
165
- cause,
166
- date,
167
- fiberId,
168
- logLevel,
169
- message,
170
- spans
171
- }) => {
172
- const nowMillis = date.getTime();
173
- const outputArray = [`timestamp=${date.toISOString()}`, `level=${logLevel.label}`, `fiber=${threadName(fiberId)}`];
174
- let output = outputArray.join(" ");
175
- const stringMessage = serializeUnknown(message);
176
- if (stringMessage.length > 0) {
177
- output = output + " message=";
178
- output = appendQuoted(stringMessage, output);
179
- }
180
- if (cause != null && cause != empty$1) {
181
- output = output + " cause=";
182
- output = appendQuoted(pretty(cause), output);
183
- }
184
- if (isCons(spans)) {
185
- output = output + " ";
186
- let first = true;
187
- for (const span of spans) {
188
- if (first) {
189
- first = false;
190
- } else {
191
- output = output + " ";
192
- }
193
- output = output + pipe(span, render(nowMillis));
194
- }
195
- }
196
- if (pipe(annotations, size) > 0) {
197
- output = output + " ";
198
- let first = true;
199
- for (const [key, value] of annotations) {
200
- if (first) {
201
- first = false;
202
- } else {
203
- output = output + " ";
204
- }
205
- output = output + filterKeyName(key);
206
- output = output + "=";
207
- output = appendQuoted(String(value), output);
208
- }
209
- }
210
- return output;
211
- });
212
- const serializeUnknown = u => {
213
- try {
214
- return typeof u === "object" ? JSON.stringify(u) : String(u);
215
- } catch (_) {
216
- return String(u);
217
- }
218
- };
219
-
220
- /** @internal */
221
- const escapeDoubleQuotes = str => `"${str.replace(/\\([\s\S])|(")/g, "\\$1$2")}"`;
222
- const textOnly = /^[^\s"=]+$/;
223
-
224
- /** @internal */
225
- const appendQuoted = (label, output) => output + (label.match(textOnly) ? label : escapeDoubleQuotes(label));
226
-
227
- /** @internal */
228
- const logfmtLogger = /*#__PURE__*/makeLogger(({
229
- annotations,
230
- cause,
231
- date,
232
- fiberId,
233
- logLevel,
234
- message,
235
- spans
236
- }) => {
237
- const nowMillis = date.getTime();
238
- const outputArray = [`timestamp=${date.toISOString()}`, `level=${logLevel.label}`, `fiber=${threadName(fiberId)}`];
239
- let output = outputArray.join(" ");
240
- const stringMessage = serializeUnknown(message);
241
- if (stringMessage.length > 0) {
242
- output = output + " message=";
243
- output = appendQuotedLogfmt(stringMessage, output);
244
- }
245
- if (cause != null && cause != empty$1) {
246
- output = output + " cause=";
247
- output = appendQuotedLogfmt(pretty(cause), output);
248
- }
249
- if (isCons(spans)) {
250
- output = output + " ";
251
- let first = true;
252
- for (const span of spans) {
253
- if (first) {
254
- first = false;
255
- } else {
256
- output = output + " ";
257
- }
258
- output = output + pipe(span, renderLogSpanLogfmt(nowMillis));
259
- }
260
- }
261
- if (pipe(annotations, size) > 0) {
262
- output = output + " ";
263
- let first = true;
264
- for (const [key, value] of annotations) {
265
- if (first) {
266
- first = false;
267
- } else {
268
- output = output + " ";
269
- }
270
- output = output + filterKeyName(key);
271
- output = output + "=";
272
- output = appendQuotedLogfmt(String(value), output);
273
- }
274
- }
275
- return output;
276
- });
277
-
278
- /** @internal */
279
- const filterKeyName = key => key.replace(/[\s="]/g, "_");
280
-
281
- /** @internal */
282
- const escapeDoubleQuotesLogfmt = str => JSON.stringify(str);
283
-
284
- /** @internal */
285
- const appendQuotedLogfmt = (label, output) => output + (label.match(textOnly) ? label : escapeDoubleQuotesLogfmt(label));
286
-
287
- /** @internal */
288
- const renderLogSpanLogfmt = now => self => {
289
- const label = filterKeyName(self.label);
290
- return `${label}=${now - self.startTime}ms`;
291
- };
292
-
293
- /** @internal */
294
- const MetricSymbolKey = "effect/Metric";
295
-
296
- /** @internal */
297
- const MetricTypeId = /*#__PURE__*/Symbol.for(MetricSymbolKey);
298
-
299
- /** @internal */
300
- const metricVariance = {
301
- _Type: _ => _,
302
- _In: _ => _,
303
- _Out: _ => _
304
- };
305
-
306
- /** @internal */
307
- const globalMetricRegistry = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/Metric/globalMetricRegistry"), () => make$1());
308
-
309
- /** @internal */
310
- const make = function (keyType, unsafeUpdate, unsafeValue) {
311
- const metric = Object.assign(effect => tap(effect, a => sync$2(() => unsafeUpdate(a, empty$2()))), {
312
- [MetricTypeId]: metricVariance,
313
- keyType,
314
- unsafeUpdate,
315
- unsafeValue,
316
- pipe() {
317
- return pipeArguments(this, arguments);
318
- }
319
- });
320
- return metric;
321
- };
322
-
323
- /** @internal */
324
- const mapInput = /*#__PURE__*/dual(2, (self, f) => make(self.keyType, (input, extraTags) => self.unsafeUpdate(f(input), extraTags), self.unsafeValue));
325
-
326
- /** @internal */
327
- const counter = (name, description) => fromMetricKey(counter$1(name, description));
328
-
329
- /** @internal */
330
- const frequency = (name, description) => fromMetricKey(frequency$1(name, description));
331
-
332
- /** @internal */
333
- const withConstantInput = /*#__PURE__*/dual(2, (self, input) => mapInput(self, () => input));
334
-
335
- /** @internal */
336
- const fromMetricKey = key => {
337
- const hook = extraTags => {
338
- const fullKey = pipe(key, taggedWithLabelSet(extraTags));
339
- return globalMetricRegistry.get(fullKey);
340
- };
341
- return make(key.keyType, (input, extraTags) => hook(extraTags).update(input), extraTags => hook(extraTags).get());
342
- };
343
-
344
- /** @internal */
345
- const gauge = (name, description) => fromMetricKey(gauge$1(name, description));
346
-
347
- /** @internal */
348
- const histogram = (name, boundaries, description) => fromMetricKey(histogram$1(name, boundaries, description));
349
-
350
- /* @internal */
351
- const increment = self => update(self, 1);
352
-
353
- /* @internal */
354
- const incrementBy = /*#__PURE__*/dual(2, (self, amount) => update(self, amount));
355
-
356
- /** @internal */
357
- const map = /*#__PURE__*/dual(2, (self, f) => make(self.keyType, self.unsafeUpdate, extraTags => f(self.unsafeValue(extraTags))));
358
-
359
- /** @internal */
360
- const mapType = /*#__PURE__*/dual(2, (self, f) => make(f(self.keyType), self.unsafeUpdate, self.unsafeValue));
361
-
362
- /* @internal */
363
- const set = /*#__PURE__*/dual(2, (self, value) => update(self, value));
364
-
365
- /** @internal */
366
- const succeed$1 = out => make(void 0, constVoid, () => out);
367
-
368
- /** @internal */
369
- const sync = evaluate => make(void 0, constVoid, evaluate);
370
-
371
- /** @internal */
372
- const summary = options => withNow(summaryTimestamp(options));
373
-
374
- /** @internal */
375
- const summaryTimestamp = options => fromMetricKey(summary$1(options));
376
-
377
- /** @internal */
378
- const tagged$1 = /*#__PURE__*/dual(3, (self, key, value) => taggedWithLabels(self, make$2(make$3(key, value))));
379
-
380
- /** @internal */
381
- const taggedWithLabelsInput = /*#__PURE__*/dual(2, (self, f) => map(make(self.keyType, (input, extraTags) => self.unsafeUpdate(input, union(fromIterable(f(input)), extraTags)), self.unsafeValue), constVoid));
382
-
383
- /** @internal */
384
- const taggedWithLabels = /*#__PURE__*/dual(2, (self, extraTagsIterable) => {
385
- const extraTags = isHashSet(extraTagsIterable) ? extraTagsIterable : fromIterable(extraTagsIterable);
386
- return make(self.keyType, (input, extraTags1) => self.unsafeUpdate(input, pipe(extraTags, union(extraTags1))), extraTags1 => self.unsafeValue(pipe(extraTags, union(extraTags1))));
387
- });
388
-
389
- /** @internal */
390
- const timer = name => {
391
- const boundaries = exponential({
392
- start: 1,
393
- factor: 2,
394
- count: 100
395
- });
396
- const base = pipe(histogram(name, boundaries), tagged$1("time_unit", "milliseconds"));
397
- return mapInput(base, toMillis);
398
- };
399
-
400
- /** @internal */
401
- const timerWithBoundaries = (name, boundaries) => {
402
- const base = pipe(histogram(name, fromChunk(boundaries)), tagged$1("time_unit", "milliseconds"));
403
- return mapInput(base, toMillis);
404
- };
405
-
406
- /* @internal */
407
- const trackAll = /*#__PURE__*/dual(2, (self, input) => effect => matchCauseEffect(effect, {
408
- onFailure: cause => {
409
- self.unsafeUpdate(input, empty$2());
410
- return failCause(cause);
411
- },
412
- onSuccess: value => {
413
- self.unsafeUpdate(input, empty$2());
414
- return succeed$3(value);
415
- }
416
- }));
417
-
418
- /* @internal */
419
- const trackDefect = /*#__PURE__*/dual(2, (self, metric) => trackDefectWith(self, metric, identity));
420
-
421
- /* @internal */
422
- const trackDefectWith = /*#__PURE__*/dual(3, (self, metric, f) => {
423
- const updater = defect => metric.unsafeUpdate(f(defect), empty$2());
424
- return tapDefect(self, cause => sync$2(() => pipe(defects(cause), forEach(updater))));
425
- });
426
-
427
- /* @internal */
428
- const trackDuration = /*#__PURE__*/dual(2, (self, metric) => trackDurationWith(self, metric, identity));
429
-
430
- /* @internal */
431
- const trackDurationWith = /*#__PURE__*/dual(3, (self, metric, f) => clockWith(clock => {
432
- const startTime = clock.unsafeCurrentTimeNanos();
433
- return map$2(self, a => {
434
- const endTime = clock.unsafeCurrentTimeNanos();
435
- const duration = nanos(endTime - startTime);
436
- metric.unsafeUpdate(f(duration), empty$2());
437
- return a;
438
- });
439
- }));
440
-
441
- /* @internal */
442
- const trackError = /*#__PURE__*/dual(2, (self, metric) => trackErrorWith(self, metric, a => a));
443
-
444
- /* @internal */
445
- const trackErrorWith = /*#__PURE__*/dual(3, (self, metric, f) => {
446
- const updater = error => update(metric, f(error));
447
- return tapError(self, updater);
448
- });
449
-
450
- /* @internal */
451
- const trackSuccess = /*#__PURE__*/dual(2, (self, metric) => trackSuccessWith(self, metric, a => a));
452
-
453
- /* @internal */
454
- const trackSuccessWith = /*#__PURE__*/dual(3, (self, metric, f) => {
455
- const updater = value => update(metric, f(value));
456
- return tap(self, updater);
457
- });
458
-
459
- /* @internal */
460
- const update = /*#__PURE__*/dual(2, (self, input) => fiberRefGetWith(currentMetricLabels, tags => sync$2(() => self.unsafeUpdate(input, tags))));
461
-
462
- /* @internal */
463
- const value = self => fiberRefGetWith(currentMetricLabels, tags => sync$2(() => self.unsafeValue(tags)));
464
-
465
- /** @internal */
466
- const withNow = self => mapInput(self, input => [input, Date.now()]);
467
-
468
- /** @internal */
469
- const zip = /*#__PURE__*/dual(2, (self, that) => make([self.keyType, that.keyType], (input, extraTags) => {
470
- const [l, r] = input;
471
- self.unsafeUpdate(l, extraTags);
472
- that.unsafeUpdate(r, extraTags);
473
- }, extraTags => [self.unsafeValue(extraTags), that.unsafeValue(extraTags)]));
474
-
475
- /** @internal */
476
- const unsafeSnapshot = () => globalMetricRegistry.snapshot();
477
-
478
- /** @internal */
479
- const snapshot = /*#__PURE__*/sync$2(unsafeSnapshot);
480
-
481
- /** @internal */
482
- const RequestSymbolKey = "effect/Request";
483
-
484
- /** @internal */
485
- const RequestTypeId = /*#__PURE__*/Symbol.for(RequestSymbolKey);
486
-
487
- /** @internal */
488
- const requestVariance = {
489
- _E: _ => _,
490
- _A: _ => _
491
- };
492
-
493
- /** @internal */
494
- const isRequest = u => typeof u === "object" && u != null && RequestTypeId in u;
495
-
496
- /** @internal */
497
- const of = () => args =>
498
- // @ts-expect-error
499
- struct({
500
- [RequestTypeId]: requestVariance,
501
- ...args
502
- });
503
-
504
- /** @internal */
505
- const tagged = tag => args =>
506
- // @ts-expect-error
507
- struct({
508
- [RequestTypeId]: requestVariance,
509
- _tag: tag,
510
- ...args
511
- });
512
-
513
- /** @internal */
514
- const complete = /*#__PURE__*/dual(2, (self, result) => fiberRefGetWith(currentRequestMap, map => sync$2(() => {
515
- if (map.has(self)) {
516
- const entry = map.get(self);
517
- if (!entry.state.completed) {
518
- entry.state.completed = true;
519
- deferredUnsafeDone(entry.result, result);
520
- }
521
- }
522
- })));
523
-
524
- /** @internal */
525
- const completeEffect = /*#__PURE__*/dual(2, (self, effect) => matchEffect(effect, {
526
- onFailure: error => complete(self, exitFail(error)),
527
- onSuccess: value => complete(self, exitSucceed(value))
528
- }));
529
-
530
- /** @internal */
531
- const fail = /*#__PURE__*/dual(2, (self, error) => complete(self, exitFail(error)));
532
-
533
- /** @internal */
534
- const succeed = /*#__PURE__*/dual(2, (self, value) => complete(self, exitSucceed(value)));
535
-
536
- /** @internal */
537
- class Listeners {
538
- count = 0;
539
- observers = new Set();
540
- addObserver(f) {
541
- this.observers.add(f);
542
- }
543
- removeObserver(f) {
544
- this.observers.delete(f);
545
- }
546
- increment() {
547
- this.count++;
548
- this.observers.forEach(f => f(this.count));
549
- }
550
- decrement() {
551
- this.count--;
552
- this.observers.forEach(f => f(this.count));
553
- }
554
- }
555
-
556
- /** @internal */
557
- const SupervisorSymbolKey = "effect/Supervisor";
558
-
559
- /** @internal */
560
- const SupervisorTypeId = /*#__PURE__*/Symbol.for(SupervisorSymbolKey);
561
-
562
- /** @internal */
563
- const supervisorVariance = {
564
- _T: _ => _
565
- };
566
-
567
- /** @internal */
568
- class ProxySupervisor {
569
- [SupervisorTypeId] = supervisorVariance;
570
- constructor(underlying, value0) {
571
- this.underlying = underlying;
572
- this.value0 = value0;
573
- }
574
- value() {
575
- return this.value0();
576
- }
577
- onStart(context, effect, parent, fiber) {
578
- this.underlying.onStart(context, effect, parent, fiber);
579
- }
580
- onEnd(value, fiber) {
581
- this.underlying.onEnd(value, fiber);
582
- }
583
- onEffect(fiber, effect) {
584
- this.underlying.onEffect(fiber, effect);
585
- }
586
- onSuspend(fiber) {
587
- this.underlying.onSuspend(fiber);
588
- }
589
- onResume(fiber) {
590
- this.underlying.onResume(fiber);
591
- }
592
- map(f) {
593
- return new ProxySupervisor(this, () => pipe(this.value(), map$2(f)));
594
- }
595
- zip(right) {
596
- return new Zip(this, right);
597
- }
598
- }
599
-
600
- /** @internal */
601
- class Zip {
602
- [SupervisorTypeId] = supervisorVariance;
603
- constructor(left, right) {
604
- this.left = left;
605
- this.right = right;
606
- }
607
- value() {
608
- return zip$2(this.left.value(), this.right.value());
609
- }
610
- onStart(context, effect, parent, fiber) {
611
- this.left.onStart(context, effect, parent, fiber);
612
- this.right.onStart(context, effect, parent, fiber);
613
- }
614
- onEnd(value, fiber) {
615
- this.left.onEnd(value, fiber);
616
- this.right.onEnd(value, fiber);
617
- }
618
- onEffect(fiber, effect) {
619
- this.left.onEffect(fiber, effect);
620
- this.right.onEffect(fiber, effect);
621
- }
622
- onSuspend(fiber) {
623
- this.left.onSuspend(fiber);
624
- this.right.onSuspend(fiber);
625
- }
626
- onResume(fiber) {
627
- this.left.onResume(fiber);
628
- this.right.onResume(fiber);
629
- }
630
- map(f) {
631
- return new ProxySupervisor(this, () => pipe(this.value(), map$2(f)));
632
- }
633
- zip(right) {
634
- return new Zip(this, right);
635
- }
636
- }
637
- class Track {
638
- [SupervisorTypeId] = supervisorVariance;
639
- fibers = new Set();
640
- value() {
641
- return sync$2(() => Array.from(this.fibers));
642
- }
643
- onStart(_context, _effect, _parent, fiber) {
644
- this.fibers.add(fiber);
645
- }
646
- onEnd(_value, fiber) {
647
- this.fibers.delete(fiber);
648
- }
649
- onEffect(_fiber, _effect) {
650
- //
651
- }
652
- onSuspend(_fiber) {
653
- //
654
- }
655
- onResume(_fiber) {
656
- //
657
- }
658
- map(f) {
659
- return new ProxySupervisor(this, () => pipe(this.value(), map$2(f)));
660
- }
661
- zip(right) {
662
- return new Zip(this, right);
663
- }
664
- onRun(execution, _fiber) {
665
- return execution();
666
- }
667
- }
668
- class Const {
669
- [SupervisorTypeId] = supervisorVariance;
670
- constructor(effect) {
671
- this.effect = effect;
672
- }
673
- value() {
674
- return this.effect;
675
- }
676
- onStart(_context, _effect, _parent, _fiber) {
677
- //
678
- }
679
- onEnd(_value, _fiber) {
680
- //
681
- }
682
- onEffect(_fiber, _effect) {
683
- //
684
- }
685
- onSuspend(_fiber) {
686
- //
687
- }
688
- onResume(_fiber) {
689
- //
690
- }
691
- map(f) {
692
- return new ProxySupervisor(this, () => pipe(this.value(), map$2(f)));
693
- }
694
- zip(right) {
695
- return new Zip(this, right);
696
- }
697
- onRun(execution, _fiber) {
698
- return execution();
699
- }
700
- }
701
- class FibersIn {
702
- [SupervisorTypeId] = supervisorVariance;
703
- constructor(ref) {
704
- this.ref = ref;
705
- }
706
- value() {
707
- return sync$2(() => get(this.ref));
708
- }
709
- onStart(_context, _effect, _parent, fiber) {
710
- pipe(this.ref, set$1(pipe(get(this.ref), add(fiber))));
711
- }
712
- onEnd(_value, fiber) {
713
- pipe(this.ref, set$1(pipe(get(this.ref), remove(fiber))));
714
- }
715
- onEffect(_fiber, _effect) {
716
- //
717
- }
718
- onSuspend(_fiber) {
719
- //
720
- }
721
- onResume(_fiber) {
722
- //
723
- }
724
- map(f) {
725
- return new ProxySupervisor(this, () => pipe(this.value(), map$2(f)));
726
- }
727
- zip(right) {
728
- return new Zip(this, right);
729
- }
730
- onRun(execution, _fiber) {
731
- return execution();
732
- }
733
- }
734
-
735
- /** @internal */
736
- const unsafeTrack = () => {
737
- return new Track();
738
- };
739
-
740
- /** @internal */
741
- const track = /*#__PURE__*/sync$2(unsafeTrack);
742
-
743
- /** @internal */
744
- const fromEffect = effect => {
745
- return new Const(effect);
746
- };
747
-
748
- /** @internal */
749
- const none = /*#__PURE__*/fromEffect(unit);
750
-
751
- /** @internal */
752
- const fibersIn = ref => sync$2(() => new FibersIn(ref));
753
-
754
- /** @internal */
755
-
756
- /** @internal */
757
- const OP_EMPTY = "Empty";
758
-
759
- /** @internal */
760
-
761
- /** @internal */
762
- const OP_ADD_SUPERVISOR = "AddSupervisor";
763
-
764
- /** @internal */
765
-
766
- /** @internal */
767
- const OP_REMOVE_SUPERVISOR = "RemoveSupervisor";
768
-
769
- /** @internal */
770
-
771
- /** @internal */
772
- const OP_AND_THEN = "AndThen";
773
-
774
- /** @internal */
775
-
776
- /** @internal */
777
-
778
- /** @internal */
779
-
780
- /** @internal */
781
-
782
- /** @internal */
783
-
784
- /**
785
- * The empty `SupervisorPatch`.
786
- *
787
- * @internal
788
- */
789
- const empty = {
790
- _tag: OP_EMPTY
791
- };
792
-
793
- /**
794
- * Combines two patches to produce a new patch that describes applying the
795
- * updates from this patch and then the updates from the specified patch.
796
- *
797
- * @internal
798
- */
799
- const combine = (self, that) => {
800
- return {
801
- _tag: OP_AND_THEN,
802
- first: self,
803
- second: that
804
- };
805
- };
806
-
807
- /**
808
- * Applies a `SupervisorPatch` to a `Supervisor` to produce a new `Supervisor`.
809
- *
810
- * @internal
811
- */
812
- const patch = (self, supervisor) => {
813
- return patchLoop(supervisor, of$1(self));
814
- };
815
-
816
- /** @internal */
817
- const patchLoop = (_supervisor, _patches) => {
818
- let supervisor = _supervisor;
819
- let patches = _patches;
820
- while (isNonEmpty(patches)) {
821
- const head = headNonEmpty(patches);
822
- switch (head._tag) {
823
- case OP_EMPTY:
824
- {
825
- patches = tailNonEmpty(patches);
826
- break;
827
- }
828
- case OP_ADD_SUPERVISOR:
829
- {
830
- supervisor = supervisor.zip(head.supervisor);
831
- patches = tailNonEmpty(patches);
832
- break;
833
- }
834
- case OP_REMOVE_SUPERVISOR:
835
- {
836
- supervisor = removeSupervisor(supervisor, head.supervisor);
837
- patches = tailNonEmpty(patches);
838
- break;
839
- }
840
- case OP_AND_THEN:
841
- {
842
- patches = prepend(head.first)(prepend(head.second)(tailNonEmpty(patches)));
843
- break;
844
- }
845
- }
846
- }
847
- return supervisor;
848
- };
849
-
850
- /** @internal */
851
- const removeSupervisor = (self, that) => {
852
- if (equals(self, that)) {
853
- return none;
854
- } else {
855
- if (self instanceof Zip) {
856
- return removeSupervisor(self.left, that).zip(removeSupervisor(self.right, that));
857
- } else {
858
- return self;
859
- }
860
- }
861
- };
862
-
863
- /** @internal */
864
- const toSet = self => {
865
- if (equals(self, none)) {
866
- return empty$2();
867
- } else {
868
- if (self instanceof Zip) {
869
- return pipe(toSet(self.left), union(toSet(self.right)));
870
- } else {
871
- return make$2(self);
872
- }
873
- }
874
- };
875
-
876
- /** @internal */
877
- const diff = (oldValue, newValue) => {
878
- if (equals(oldValue, newValue)) {
879
- return empty;
880
- }
881
- const oldSupervisors = toSet(oldValue);
882
- const newSupervisors = toSet(newValue);
883
- const added = pipe(newSupervisors, difference(oldSupervisors), reduce(empty, (patch, supervisor) => combine(patch, {
884
- _tag: OP_ADD_SUPERVISOR,
885
- supervisor
886
- })));
887
- const removed = pipe(oldSupervisors, difference(newSupervisors), reduce(empty, (patch, supervisor) => combine(patch, {
888
- _tag: OP_REMOVE_SUPERVISOR,
889
- supervisor
890
- })));
891
- return combine(added, removed);
892
- };
893
-
894
- /** @internal */
895
- const differ = /*#__PURE__*/make$4({
896
- empty,
897
- patch,
898
- combine,
899
- diff
900
- });
1
+ import { not } from '../Boolean/dist/effect-Boolean.esm.js';
2
+ import { fromIterable as fromIterable$1, isNonEmpty, headNonEmpty, tailNonEmpty, unsafeFromArray, prepend } from '../Chunk/dist/effect-Chunk.esm.js';
3
+ import { get as get$1, getOption, add, Tag, merge, make as make$2, unsafeGet } from '../Context/dist/effect-Context.esm.js';
4
+ import { await as _await$1 } from '../Deferred/dist/effect-Deferred.esm.js';
5
+ import { parallel, sequential, parallelN } from '../ExecutionStrategy/dist/effect-ExecutionStrategy.esm.js';
6
+ import { threadName, combine, none as none$2, unsafeMake as unsafeMake$1 } from '../FiberId/dist/effect-FiberId.esm.js';
7
+ import { getOrDefault } from '../FiberRefs/dist/effect-FiberRefs.esm.js';
8
+ import { diff as diff$1, patch as patch$1 } from '../FiberRefsPatch/dist/effect-FiberRefsPatch.esm.js';
9
+ import { isDone, done, suspended, running } from '../FiberStatus/dist/effect-FiberStatus.esm.js';
10
+ import { dual, identity, pipe } from '../Function/dist/effect-Function.esm.js';
11
+ import { make, fromIterable as fromIterable$2, union, size } from '../HashSet/dist/effect-HashSet.esm.js';
12
+ import { par, flatten as flatten$2, sequentialCollectionToChunk } from './blockedRequests.esm.js';
13
+ import { empty, pretty, failureOrCause, parallel as parallel$1, sequential as sequential$1, interrupt, isEmpty, isInterruptedOnly, die, NoSuchElementException, stripFailures, isInterruptedException, IllegalArgumentException } from './cause.esm.js';
14
+ import { clockTag } from './clock.esm.js';
15
+ import { currentRequestMap } from './completedRequestMap.esm.js';
16
+ import { matchSimple, match as match$1 } from './concurrency.esm.js';
17
+ import { configProviderTag } from './configProvider.esm.js';
18
+ import { fiberRefUnsafeMake, currentTracerSpan, fiberRefUnsafeMakeHashSet, uninterruptible, tap, isEffect, withFiberRuntime, fiberRefLocally, currentForkScopeOverride, map as map$1, exit, exitIsSuccess, onError, failCause, partitionMap, either, flatMap as flatMap$1, unit, succeed, fail, dieSync, uninterruptibleMask, interruptible, forEachSequential, zipRight, asUnit, onInterrupt, zipLeft, interruptFiber, deferredMake, exitMatchEffect, flatten, deferredFailCause, deferredSucceed, contextWithEffect, scopeFork, currentMetricLabels, acquireUseRelease, scopeClose, exitZipWith, flip, fiberIdWith, updateRuntimeFlags, runtimeFlags, ScopeTypeId, releaseMapMake, CloseableScopeTypeId, releaseMapAdd, scopeAddFinalizerExit, as, mapInputContext, onExit, fiberRefUnsafeMakePatch, fiberRefGet, fiberRefSet, fiberRefGetWith, sync, fiberRefUpdate, fiberRefDelete, fiberRefUnsafeMakeContext, fiberRefUnsafeMakeRuntimeFlags, forEachSequentialDiscard, exitSucceed, matchCauseEffect, suspend, currentInterruptedCause, deferredUnsafeMake, deferredAwait, async, currentSchedulingPriority, whileLoop, currentUnhandledErrorLogLevel, currentLogLevel, currentLogSpan, currentLogAnnotations, exitFailCause, exitUnit, currentContext, exitFail, blocked, catchAllCause, runRequestBlock, RevertFlags, yieldNow as yieldNow$1, isEffectError, withRuntimeFlags, matchEffect, if_, zipWith, currentRequestBatching, transplant, step, deferredUnsafeDone, deferredFail, exitCollectAll, exitIsFailure, exitInterrupt, exitAsUnit, interruptAsFiber, flatMapStep } from './core.esm.js';
19
+ import { makeSpan, currentTimeNanosTracing, mapErrorCause } from './core-effect.esm.js';
20
+ import { currentServices } from './defaultServices.esm.js';
21
+ import { consoleTag } from './defaultServices/console.esm.js';
22
+ import { sequential as sequential$2, isSequential, isParallel } from './executionStrategy.esm.js';
23
+ import { _await, FiberTypeId, fiberVariance, join, RuntimeFiberTypeId, currentFiberURI, inheritAll, interruptAsFork } from './fiber.esm.js';
24
+ import { resume, stateful, interruptSignal, OP_STATEFUL, OP_RESUME, OP_INTERRUPT_SIGNAL, OP_YIELD_NOW, yieldNow } from './fiberMessage.esm.js';
25
+ import { get, joinAs, delete_, updatedAs, forkAs, getOrDefault as getOrDefault$1 } from './fiberRefs.esm.js';
26
+ import { globalScope, unsafeMake } from './fiberScope.esm.js';
27
+ import { makeLogger, stringLogger, logfmtLogger } from './logger.esm.js';
28
+ import { counter, tagged, histogram } from './metric.esm.js';
29
+ import { exponential } from './metric/boundaries.esm.js';
30
+ import { make as make$3 } from './metric/label.esm.js';
31
+ import { OP_FAILURE, OP_SUCCESS, OP_YIELD, OP_ASYNC, OP_ON_FAILURE, OP_ON_SUCCESS, OP_WHILE, OP_TAG, OP_SYNC, OP_REVERT_FLAGS, OP_ON_SUCCESS_AND_FAILURE, OP_WITH_RUNTIME, OP_UPDATE_RUNTIME_FLAGS, OP_COMMIT } from './opCodes/effect.esm.js';
32
+ import { complete } from './request.esm.js';
33
+ import { patch, diff, runtimeMetrics, WindDown, Interruption, interruptible as interruptible$1, enable, cooperativeYielding, OpSupervision, none as none$3 } from './runtimeFlags.esm.js';
34
+ import { none as none$1 } from './supervisor.esm.js';
35
+ import { differ, empty as empty$2 } from './supervisor/patch.esm.js';
36
+ import { tracerTag } from './tracer.esm.js';
37
+ import { head, prepend as prepend$1 } from '../List/dist/effect-List.esm.js';
38
+ import { fromLiteral, greaterThan } from '../LogLevel/dist/effect-LogLevel.esm.js';
39
+ import { make as make$4, compareAndSet } from '../MutableRef/dist/effect-MutableRef.esm.js';
40
+ import { flatMap, map, some, none, match, fromNullable, isSome, getOrElse } from '../Option/dist/effect-Option.esm.js';
41
+ import { pipeArguments } from '../Pipeable/dist/effect-Pipeable.esm.js';
42
+ import { isIterable } from '../Predicate/dist/effect-Predicate.esm.js';
43
+ import { fromIterable, filterMap, reduce, flatten as flatten$1, reduceRight, compact } from '../ReadonlyArray/dist/effect-ReadonlyArray.esm.js';
44
+ import { make as make$1, modify, update, get as get$2 } from '../Ref/dist/effect-Ref.esm.js';
45
+ import { empty as empty$1, exclude } from '../RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.esm.js';
46
+ import { currentScheduler } from '../Scheduler/dist/effect-Scheduler.esm.js';
901
47
 
902
48
  /** @internal */
903
49
  const fiberStarted = /*#__PURE__*/counter("effect_fiber_started");
@@ -908,7 +54,7 @@ const fiberSuccesses = /*#__PURE__*/counter("effect_fiber_successes");
908
54
  /** @internal */
909
55
  const fiberFailures = /*#__PURE__*/counter("effect_fiber_failures");
910
56
  /** @internal */
911
- const fiberLifetimes = /*#__PURE__*/tagged$1( /*#__PURE__*/histogram("effect_fiber_lifetimes", /*#__PURE__*/exponential({
57
+ const fiberLifetimes = /*#__PURE__*/tagged( /*#__PURE__*/histogram("effect_fiber_lifetimes", /*#__PURE__*/exponential({
912
58
  start: 1.0,
913
59
  factor: 1.3,
914
60
  count: 100
@@ -1025,7 +171,7 @@ class FiberRuntime {
1025
171
  fiberStarted.unsafeUpdate(1, tags);
1026
172
  fiberActive.unsafeUpdate(1, tags);
1027
173
  }
1028
- this._tracer = get$2(this.getFiberRef(currentServices), tracerTag);
174
+ this._tracer = get$1(this.getFiberRef(currentServices), tracerTag);
1029
175
  }
1030
176
 
1031
177
  /**
@@ -1117,7 +263,7 @@ class FiberRuntime {
1117
263
  return suspend(() => {
1118
264
  const deferred = deferredUnsafeMake(this._fiberId);
1119
265
  this.tell(stateful((fiber, status) => {
1120
- deferredUnsafeDone(deferred, sync$2(() => f(fiber, status)));
266
+ deferredUnsafeDone(deferred, sync(() => f(fiber, status)));
1121
267
  }));
1122
268
  return deferredAwait(deferred);
1123
269
  });
@@ -1135,7 +281,7 @@ class FiberRuntime {
1135
281
  }
1136
282
  await() {
1137
283
  return async(resume => {
1138
- const cb = exit => resume(succeed$3(exit));
284
+ const cb = exit => resume(succeed(exit));
1139
285
  this.tell(stateful((fiber, _) => {
1140
286
  if (fiber._exitValue !== null) {
1141
287
  cb(this._exitValue);
@@ -1143,7 +289,7 @@ class FiberRuntime {
1143
289
  fiber.addObserver(cb);
1144
290
  }
1145
291
  }));
1146
- return sync$2(() => this.tell(stateful((fiber, _) => {
292
+ return sync(() => this.tell(stateful((fiber, _) => {
1147
293
  fiber.removeObserver(cb);
1148
294
  })));
1149
295
  }, this.id());
@@ -1157,7 +303,7 @@ class FiberRuntime {
1157
303
  const updatedFiberRefs = joinAs(parentFiberRefs, parentFiberId, childFiberRefs);
1158
304
  parentFiber.setFiberRefs(updatedFiberRefs);
1159
305
  const updatedRuntimeFlags = parentFiber.getFiberRef(currentRuntimeFlags);
1160
- const patch = pipe(diff$1(parentRuntimeFlags, updatedRuntimeFlags),
306
+ const patch = pipe(diff(parentRuntimeFlags, updatedRuntimeFlags),
1161
307
  // Do not inherit WindDown or Interruption!
1162
308
  exclude(Interruption), exclude(WindDown));
1163
309
  return updateRuntimeFlags(patch);
@@ -1169,7 +315,7 @@ class FiberRuntime {
1169
315
  * already done.
1170
316
  */
1171
317
  poll() {
1172
- return sync$2(() => fromNullable(this._exitValue));
318
+ return sync(() => fromNullable(this._exitValue));
1173
319
  }
1174
320
 
1175
321
  /**
@@ -1184,7 +330,7 @@ class FiberRuntime {
1184
330
  * In the background, interrupts the fiber as if interrupted from the specified fiber.
1185
331
  */
1186
332
  interruptAsFork(fiberId) {
1187
- return sync$2(() => this.tell(interruptSignal(interrupt(fiberId))));
333
+ return sync(() => this.tell(interruptSignal(interrupt(fiberId))));
1188
334
  }
1189
335
 
1190
336
  /**
@@ -1258,7 +404,7 @@ class FiberRuntime {
1258
404
  this.refreshRefCache();
1259
405
  }
1260
406
  refreshRefCache() {
1261
- this._tracer = get$2(this.getFiberRef(currentServices), tracerTag);
407
+ this._tracer = get$1(this.getFiberRef(currentServices), tracerTag);
1262
408
  this._supervisor = this.getFiberRef(currentSupervisor);
1263
409
  this._scheduler = this.getFiberRef(currentScheduler);
1264
410
  }
@@ -1427,7 +573,7 @@ class FiberRuntime {
1427
573
  if (!next.done) {
1428
574
  return asUnit(next.value.await());
1429
575
  } else {
1430
- return sync$2(() => {
576
+ return sync(() => {
1431
577
  isDone = true;
1432
578
  });
1433
579
  }
@@ -1492,8 +638,8 @@ class FiberRuntime {
1492
638
  const annotations = this.getFiberRef(currentLogAnnotations);
1493
639
  const loggers = this.getLoggers();
1494
640
  const contextMap = this.getFiberRefs();
1495
- if (size$1(loggers) > 0) {
1496
- const clockService = get$2(this.getFiberRef(currentServices), clockTag);
641
+ if (size(loggers) > 0) {
642
+ const clockService = get$1(this.getFiberRef(currentServices), clockTag);
1497
643
  const date = new Date(clockService.unsafeCurrentTimeMillis());
1498
644
  for (const logger of loggers) {
1499
645
  logger.log({
@@ -1652,8 +798,8 @@ class FiberRuntime {
1652
798
  *
1653
799
  * **NOTE**: This method must be invoked by the fiber itself.
1654
800
  */
1655
- patchRuntimeFlags(oldRuntimeFlags, patch) {
1656
- const newRuntimeFlags = patch$1(oldRuntimeFlags, patch);
801
+ patchRuntimeFlags(oldRuntimeFlags, patch$1) {
802
+ const newRuntimeFlags = patch(oldRuntimeFlags, patch$1);
1657
803
  globalThis[currentFiberURI] = this;
1658
804
  this._runtimeFlags = newRuntimeFlags;
1659
805
  return newRuntimeFlags;
@@ -1721,7 +867,7 @@ class FiberRuntime {
1721
867
  }
1722
868
  }
1723
869
  [OP_TAG](op) {
1724
- return map$2(fiberRefGet(currentContext), context => {
870
+ return map$1(fiberRefGet(currentContext), context => {
1725
871
  try {
1726
872
  return unsafeGet(context, op);
1727
873
  } catch (e) {
@@ -1867,7 +1013,7 @@ class FiberRuntime {
1867
1013
  [OP_UPDATE_RUNTIME_FLAGS](op) {
1868
1014
  const updateFlags = op.i0;
1869
1015
  const oldRuntimeFlags = this._runtimeFlags;
1870
- const newRuntimeFlags = patch$1(oldRuntimeFlags, updateFlags);
1016
+ const newRuntimeFlags = patch(oldRuntimeFlags, updateFlags);
1871
1017
  // One more chance to short circuit: if we're immediately going
1872
1018
  // to interrupt. Interruption will cause immediate reversion of
1873
1019
  // the flag, so as long as we "peek ahead", there's no need to
@@ -1879,7 +1025,7 @@ class FiberRuntime {
1879
1025
  this.patchRuntimeFlags(this._runtimeFlags, updateFlags);
1880
1026
  if (op.i1) {
1881
1027
  // Since we updated the flags, we need to revert them
1882
- const revertFlags = diff$1(newRuntimeFlags, oldRuntimeFlags);
1028
+ const revertFlags = diff(newRuntimeFlags, oldRuntimeFlags);
1883
1029
  this.pushStack(new RevertFlags(revertFlags, op));
1884
1030
  return op.i1(oldRuntimeFlags);
1885
1031
  } else {
@@ -1977,7 +1123,7 @@ class FiberRuntime {
1977
1123
  if (isEffectError(e)) {
1978
1124
  cur = exitFailCause(e.cause);
1979
1125
  } else if (isInterruptedException(e)) {
1980
- cur = exitFailCause(sequential$1(die(e), interrupt(none$3)));
1126
+ cur = exitFailCause(sequential$1(die(e), interrupt(none$2)));
1981
1127
  } else {
1982
1128
  cur = exitFailCause(die(e));
1983
1129
  }
@@ -1998,7 +1144,7 @@ const currentMinimumLogLevel = /*#__PURE__*/fiberRefUnsafeMake( /*#__PURE__*/fro
1998
1144
  /** @internal */
1999
1145
  const getConsole = refs => {
2000
1146
  const defaultServicesValue = getOrDefault(refs, currentServices);
2001
- const cnsl = get$2(defaultServicesValue, consoleTag);
1147
+ const cnsl = get$1(defaultServicesValue, consoleTag);
2002
1148
  return cnsl.unsafe;
2003
1149
  };
2004
1150
 
@@ -2023,22 +1169,22 @@ const tracerLogger = /*#__PURE__*/makeLogger(({
2023
1169
  logLevel,
2024
1170
  message
2025
1171
  }) => {
2026
- const span = flatMap(get$1(context, currentTracerSpan), head);
2027
- const clockService = map$3(get$1(context, currentServices), _ => get$2(_, clockTag));
1172
+ const span = flatMap(get(context, currentTracerSpan), head);
1173
+ const clockService = map(get(context, currentServices), _ => get$1(_, clockTag));
2028
1174
  if (span._tag === "None" || span.value._tag === "ExternalSpan" || clockService._tag === "None") {
2029
1175
  return;
2030
1176
  }
2031
1177
  const attributes = Object.fromEntries(annotations);
2032
- attributes["effect.fiberId"] = threadName$1(fiberId);
1178
+ attributes["effect.fiberId"] = threadName(fiberId);
2033
1179
  attributes["effect.logLevel"] = logLevel.label;
2034
- if (cause !== null && cause !== empty$1) {
1180
+ if (cause !== null && cause !== empty) {
2035
1181
  attributes["effect.cause"] = pretty(cause);
2036
1182
  }
2037
1183
  span.value.event(String(message), clockService.value.unsafeCurrentTimeNanos(), attributes);
2038
1184
  });
2039
1185
 
2040
1186
  /** @internal */
2041
- const currentLoggers = /*#__PURE__*/fiberRefUnsafeMakeHashSet( /*#__PURE__*/make$2(defaultLogger, tracerLogger));
1187
+ const currentLoggers = /*#__PURE__*/fiberRefUnsafeMakeHashSet( /*#__PURE__*/make(defaultLogger, tracerLogger));
2042
1188
 
2043
1189
  // circular with Effect
2044
1190
 
@@ -2059,12 +1205,12 @@ const addFinalizer = finalizer => withFiberRuntime(runtime => {
2059
1205
  return flatMap$1(scope, scope => scopeAddFinalizerExit(scope, exit => withFiberRuntime(runtimeFinalizer => {
2060
1206
  const preRefs = runtimeFinalizer.getFiberRefs();
2061
1207
  const preFlags = runtimeFinalizer._runtimeFlags;
2062
- const patchRefs = diff$2(preRefs, acquireRefs);
2063
- const patchFlags = diff$1(preFlags, acquireFlags);
2064
- const inverseRefs = diff$2(acquireRefs, preRefs);
2065
- runtimeFinalizer.setFiberRefs(patch$2(patchRefs, runtimeFinalizer.id(), acquireRefs));
2066
- return ensuring(withRuntimeFlags(finalizer(exit), patchFlags), sync$2(() => {
2067
- runtimeFinalizer.setFiberRefs(patch$2(inverseRefs, runtimeFinalizer.id(), runtimeFinalizer.getFiberRefs()));
1208
+ const patchRefs = diff$1(preRefs, acquireRefs);
1209
+ const patchFlags = diff(preFlags, acquireFlags);
1210
+ const inverseRefs = diff$1(acquireRefs, preRefs);
1211
+ runtimeFinalizer.setFiberRefs(patch$1(patchRefs, runtimeFinalizer.id(), acquireRefs));
1212
+ return ensuring(withRuntimeFlags(finalizer(exit), patchFlags), sync(() => {
1213
+ runtimeFinalizer.setFiberRefs(patch$1(inverseRefs, runtimeFinalizer.id(), runtimeFinalizer.getFiberRefs()));
2068
1214
  }));
2069
1215
  })));
2070
1216
  });
@@ -2080,31 +1226,31 @@ const _existsParFound = /*#__PURE__*/Symbol("effect/Effect/existsPar/found");
2080
1226
 
2081
1227
  /* @internal */
2082
1228
  const exists = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, f, options) => matchSimple(options, () => suspend(() => existsLoop(elements[Symbol.iterator](), 0, f)), () => matchEffect(forEachOptions(elements, (a, i) => if_(f(a, i), {
2083
- onTrue: fail$1(_existsParFound),
1229
+ onTrue: fail(_existsParFound),
2084
1230
  onFalse: unit
2085
1231
  }), options), {
2086
- onFailure: e => e === _existsParFound ? succeed$3(true) : fail$1(e),
2087
- onSuccess: () => succeed$3(false)
1232
+ onFailure: e => e === _existsParFound ? succeed(true) : fail(e),
1233
+ onSuccess: () => succeed(false)
2088
1234
  })));
2089
1235
  const existsLoop = (iterator, index, f) => {
2090
1236
  const next = iterator.next();
2091
1237
  if (next.done) {
2092
- return succeed$3(false);
1238
+ return succeed(false);
2093
1239
  }
2094
- return pipe(flatMap$1(f(next.value, index), b => b ? succeed$3(b) : existsLoop(iterator, index + 1, f)));
1240
+ return pipe(flatMap$1(f(next.value, index), b => b ? succeed(b) : existsLoop(iterator, index + 1, f)));
2095
1241
  };
2096
1242
 
2097
1243
  /* @internal */
2098
1244
  const filter = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, f, options) => {
2099
- const predicate = options?.negate ? (a, i) => map$2(f(a, i), not) : f;
2100
- return matchSimple(options, () => suspend(() => fromIterable$1(elements).reduceRight((effect, a, i) => zipWith(effect, suspend(() => predicate(a, i)), (list, b) => b ? [a, ...list] : list), sync$2(() => new Array()))), () => map$2(forEachOptions(elements, (a, i) => map$2(predicate(a, i), b => b ? some(a) : none$2()), options), compact));
1245
+ const predicate = options?.negate ? (a, i) => map$1(f(a, i), not) : f;
1246
+ return matchSimple(options, () => suspend(() => fromIterable(elements).reduceRight((effect, a, i) => zipWith(effect, suspend(() => predicate(a, i)), (list, b) => b ? [a, ...list] : list), sync(() => new Array()))), () => map$1(forEachOptions(elements, (a, i) => map$1(predicate(a, i), b => b ? some(a) : none()), options), compact));
2101
1247
  });
2102
1248
 
2103
1249
  // === all
2104
1250
 
2105
1251
  const allResolveInput = input => {
2106
1252
  if (Array.isArray(input) || isIterable(input)) {
2107
- return [input, none$2()];
1253
+ return [input, none()];
2108
1254
  }
2109
1255
  const keys = Object.keys(input);
2110
1256
  const size = keys.length;
@@ -2125,7 +1271,7 @@ const allValidate = (effects, reconcile, options) => {
2125
1271
  concurrency: options?.concurrency,
2126
1272
  batching: options?.batching
2127
1273
  }), eithers => {
2128
- const none = none$2();
1274
+ const none$1 = none();
2129
1275
  const size = eithers.length;
2130
1276
  const errors = new Array(size);
2131
1277
  const successes = new Array(size);
@@ -2137,15 +1283,15 @@ const allValidate = (effects, reconcile, options) => {
2137
1283
  errored = true;
2138
1284
  } else {
2139
1285
  successes[i] = either.right;
2140
- errors[i] = none;
1286
+ errors[i] = none$1;
2141
1287
  }
2142
1288
  }
2143
1289
  if (errored) {
2144
- return reconcile._tag === "Some" ? fail$1(reconcile.value(errors)) : fail$1(errors);
1290
+ return reconcile._tag === "Some" ? fail(reconcile.value(errors)) : fail(errors);
2145
1291
  } else if (options?.discard) {
2146
1292
  return unit;
2147
1293
  }
2148
- return reconcile._tag === "Some" ? succeed$3(reconcile.value(successes)) : succeed$3(successes);
1294
+ return reconcile._tag === "Some" ? succeed(reconcile.value(successes)) : succeed(successes);
2149
1295
  });
2150
1296
  };
2151
1297
  const allEither = (effects, reconcile, options) => {
@@ -2160,7 +1306,7 @@ const allEither = (effects, reconcile, options) => {
2160
1306
  discard: true
2161
1307
  });
2162
1308
  }
2163
- return map$2(forEachOptions(eitherEffects, identity, {
1309
+ return map$1(forEachOptions(eitherEffects, identity, {
2164
1310
  concurrency: options?.concurrency,
2165
1311
  batching: options?.batching
2166
1312
  }), eithers => reconcile._tag === "Some" ? reconcile.value(eithers) : eithers);
@@ -2174,14 +1320,14 @@ const all = (arg, options) => {
2174
1320
  } else if (options?.mode === "either") {
2175
1321
  return allEither(effects, reconcile, options);
2176
1322
  }
2177
- return reconcile._tag === "Some" ? map$2(forEachOptions(effects, identity, options), reconcile.value) : forEachOptions(effects, identity, options);
1323
+ return reconcile._tag === "Some" ? map$1(forEachOptions(effects, identity, options), reconcile.value) : forEachOptions(effects, identity, options);
2178
1324
  };
2179
1325
 
2180
1326
  /* @internal */
2181
1327
  const allWith = options => arg => all(arg, options);
2182
1328
 
2183
1329
  /* @internal */
2184
- const allSuccesses = (elements, options) => map$2(all(fromIterable$1(elements).map(exit), options), filterMap(exit => exitIsSuccess(exit) ? some(exit.i0) : none$2()));
1330
+ const allSuccesses = (elements, options) => map$1(all(fromIterable(elements).map(exit), options), filterMap(exit => exitIsSuccess(exit) ? some(exit.i0) : none()));
2185
1331
 
2186
1332
  /* @internal */
2187
1333
  const replicate = /*#__PURE__*/dual(2, (self, n) => Array.from({
@@ -2195,20 +1341,20 @@ const replicateEffect = /*#__PURE__*/dual(args => isEffect(args[0]), (self, n, o
2195
1341
  const forEachOptions = /*#__PURE__*/dual(args => isIterable(args[0]), (self, f, options) => withFiberRuntime(r => {
2196
1342
  const requestBatchingEnabled = options?.batching === true || options?.batching === "inherit" && r.getFiberRef(currentRequestBatching);
2197
1343
  if (options?.discard) {
2198
- return match(options, () => finalizersMask(sequential)(restore => requestBatchingEnabled ? forEachBatchedDiscard(self, (a, i) => restore(f(a, i))) : forEachSequentialDiscard(self, (a, i) => restore(f(a, i)))), () => finalizersMask(parallel)(restore => forEachParUnboundedDiscard(self, (a, i) => restore(f(a, i)), requestBatchingEnabled)), n => finalizersMask(parallelN(n))(restore => forEachParNDiscard(self, n, (a, i) => restore(f(a, i)), requestBatchingEnabled)));
1344
+ return match$1(options, () => finalizersMask(sequential)(restore => requestBatchingEnabled ? forEachBatchedDiscard(self, (a, i) => restore(f(a, i))) : forEachSequentialDiscard(self, (a, i) => restore(f(a, i)))), () => finalizersMask(parallel)(restore => forEachParUnboundedDiscard(self, (a, i) => restore(f(a, i)), requestBatchingEnabled)), n => finalizersMask(parallelN(n))(restore => forEachParNDiscard(self, n, (a, i) => restore(f(a, i)), requestBatchingEnabled)));
2199
1345
  }
2200
- return match(options, () => finalizersMask(sequential)(restore => requestBatchingEnabled ? forEachParN(self, 1, (a, i) => restore(f(a, i)), true) : forEachSequential(self, (a, i) => restore(f(a, i)))), () => finalizersMask(parallel)(restore => forEachParUnbounded(self, (a, i) => restore(f(a, i)), requestBatchingEnabled)), n => finalizersMask(parallelN(n))(restore => forEachParN(self, n, (a, i) => restore(f(a, i)), requestBatchingEnabled)));
1346
+ return match$1(options, () => finalizersMask(sequential)(restore => requestBatchingEnabled ? forEachParN(self, 1, (a, i) => restore(f(a, i)), true) : forEachSequential(self, (a, i) => restore(f(a, i)))), () => finalizersMask(parallel)(restore => forEachParUnbounded(self, (a, i) => restore(f(a, i)), requestBatchingEnabled)), n => finalizersMask(parallelN(n))(restore => forEachParN(self, n, (a, i) => restore(f(a, i)), requestBatchingEnabled)));
2201
1347
  }));
2202
1348
 
2203
1349
  /* @internal */
2204
1350
  const forEachParUnbounded = (self, f, batching) => suspend(() => {
2205
- const as = fromIterable$1(self);
1351
+ const as = fromIterable(self);
2206
1352
  const array = new Array(as.length);
2207
- const fn = (a, i) => flatMap$1(f(a, i), b => sync$2(() => array[i] = b));
2208
- return zipRight$1(forEachParUnboundedDiscard(as, fn, batching), succeed$3(array));
1353
+ const fn = (a, i) => flatMap$1(f(a, i), b => sync(() => array[i] = b));
1354
+ return zipRight(forEachParUnboundedDiscard(as, fn, batching), succeed(array));
2209
1355
  });
2210
1356
  const forEachBatchedDiscard = (self, f) => suspend(() => {
2211
- const as = fromIterable$1(self);
1357
+ const as = fromIterable(self);
2212
1358
  const size = as.length;
2213
1359
  if (size === 0) {
2214
1360
  return unit;
@@ -2244,7 +1390,7 @@ const forEachBatchedDiscard = (self, f) => suspend(() => {
2244
1390
 
2245
1391
  /* @internal */
2246
1392
  const forEachParUnboundedDiscard = (self, f, batching) => suspend(() => {
2247
- const as = fromIterable$1(self);
1393
+ const as = fromIterable(self);
2248
1394
  const size = as.length;
2249
1395
  if (size === 0) {
2250
1396
  return unit;
@@ -2252,7 +1398,7 @@ const forEachParUnboundedDiscard = (self, f, batching) => suspend(() => {
2252
1398
  return asUnit(f(as[0], 0));
2253
1399
  }
2254
1400
  return uninterruptibleMask(restore => {
2255
- const deferred = deferredUnsafeMake(none$3);
1401
+ const deferred = deferredUnsafeMake(none$2);
2256
1402
  let ref = 0;
2257
1403
  const residual = [];
2258
1404
  const joinOrder = [];
@@ -2264,11 +1410,11 @@ const forEachParUnboundedDiscard = (self, f, batching) => suspend(() => {
2264
1410
  const requests = residual.map(blocked => blocked.i0).reduce(par);
2265
1411
  const _continue = forEachParUnboundedDiscard(residual, blocked => blocked.i1, batching);
2266
1412
  return blocked(requests, matchCauseEffect(_continue, {
2267
- onFailure: cause => zipRight$1(deferredFail(deferred, void 0), failCause(parallel$1(cause, exit.cause))),
2268
- onSuccess: () => zipRight$1(deferredFail(deferred, void 0), failCause(exit.cause))
1413
+ onFailure: cause => zipRight(deferredFail(deferred, void 0), failCause(parallel$1(cause, exit.cause))),
1414
+ onSuccess: () => zipRight(deferredFail(deferred, void 0), failCause(exit.cause))
2269
1415
  }));
2270
1416
  }
2271
- return zipRight$1(deferredFail(deferred, void 0), failCause(exit.cause));
1417
+ return zipRight(deferredFail(deferred, void 0), failCause(exit.cause));
2272
1418
  }
2273
1419
  default:
2274
1420
  {
@@ -2289,7 +1435,7 @@ const forEachParUnboundedDiscard = (self, f, batching) => suspend(() => {
2289
1435
  return unit;
2290
1436
  }
2291
1437
  }
2292
- }))), forkDaemon, map$2(fiber => {
1438
+ }))), forkDaemon, map$1(fiber => {
2293
1439
  fiber.addObserver(() => {
2294
1440
  joinOrder.push(fiber);
2295
1441
  });
@@ -2313,10 +1459,10 @@ const forEachParUnboundedDiscard = (self, f, batching) => suspend(() => {
2313
1459
 
2314
1460
  /* @internal */
2315
1461
  const forEachParN = (self, n, f, batching) => suspend(() => {
2316
- const as = fromIterable$1(self);
1462
+ const as = fromIterable(self);
2317
1463
  const array = new Array(as.length);
2318
- const fn = (a, i) => map$2(f(a, i), b => array[i] = b);
2319
- return zipRight$1(forEachParNDiscard(as, n, fn, batching), succeed$3(array));
1464
+ const fn = (a, i) => map$1(f(a, i), b => array[i] = b);
1465
+ return zipRight(forEachParNDiscard(as, n, fn, batching), succeed(array));
2320
1466
  });
2321
1467
 
2322
1468
  /* @internal */
@@ -2324,7 +1470,7 @@ const forEachParNDiscard = (self, n, f, batching) => suspend(() => {
2324
1470
  let i = 0;
2325
1471
  const iterator = self[Symbol.iterator]();
2326
1472
  const residual = [];
2327
- const worker = flatMap$1(sync$2(() => iterator.next()), next => next.done ? unit : flatMap$1((batching ? step : exit)(asUnit(f(next.value, i++))), res => {
1473
+ const worker = flatMap$1(sync(() => iterator.next()), next => next.done ? unit : flatMap$1((batching ? step : exit)(asUnit(f(next.value, i++))), res => {
2328
1474
  switch (res._op) {
2329
1475
  case "Blocked":
2330
1476
  {
@@ -2360,7 +1506,7 @@ const forEachParNDiscard = (self, n, f, batching) => suspend(() => {
2360
1506
  });
2361
1507
 
2362
1508
  /* @internal */
2363
- const fork = self => withFiberRuntime((state, status) => succeed$3(unsafeFork(self, state, status.runtimeFlags)));
1509
+ const fork = self => withFiberRuntime((state, status) => succeed(unsafeFork(self, state, status.runtimeFlags)));
2364
1510
 
2365
1511
  /* @internal */
2366
1512
  const forkDaemon = self => forkWithScopeOverride(self, globalScope);
@@ -2403,40 +1549,40 @@ const unsafeMakeChildFiber = (effect, parentFiber, parentRuntimeFlags, overrideS
2403
1549
  };
2404
1550
 
2405
1551
  /* @internal */
2406
- const forkWithScopeOverride = (self, scopeOverride) => withFiberRuntime((parentFiber, parentStatus) => succeed$3(unsafeFork(self, parentFiber, parentStatus.runtimeFlags, scopeOverride)));
1552
+ const forkWithScopeOverride = (self, scopeOverride) => withFiberRuntime((parentFiber, parentStatus) => succeed(unsafeFork(self, parentFiber, parentStatus.runtimeFlags, scopeOverride)));
2407
1553
 
2408
1554
  /* @internal */
2409
- const mergeAll = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, zero, f, options) => matchSimple(options, () => fromIterable$1(elements).reduce((acc, a, i) => zipWith(acc, a, (acc, a) => f(acc, a, i)), succeed$3(zero)), () => flatMap$1(make$5(zero), acc => flatMap$1(forEachOptions(elements, (effect, i) => flatMap$1(effect, a => update$1(acc, b => f(b, a, i))), options), () => get$3(acc)))));
1555
+ const mergeAll = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, zero, f, options) => matchSimple(options, () => fromIterable(elements).reduce((acc, a, i) => zipWith(acc, a, (acc, a) => f(acc, a, i)), succeed(zero)), () => flatMap$1(make$1(zero), acc => flatMap$1(forEachOptions(elements, (effect, i) => flatMap$1(effect, a => update(acc, b => f(b, a, i))), options), () => get$2(acc)))));
2410
1556
 
2411
1557
  /* @internal */
2412
- const partition = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, f, options) => pipe(forEachOptions(elements, (a, i) => either(f(a, i)), options), map$2(chunk => partitionMap(chunk, identity))));
1558
+ const partition = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, f, options) => pipe(forEachOptions(elements, (a, i) => either(f(a, i)), options), map$1(chunk => partitionMap(chunk, identity))));
2413
1559
 
2414
1560
  /* @internal */
2415
1561
  const validateAll = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, f, options) => flatMap$1(partition(elements, f, {
2416
1562
  concurrency: options?.concurrency,
2417
1563
  batching: options?.batching
2418
- }), ([es, bs]) => es.length === 0 ? options?.discard ? unit : succeed$3(bs) : fail$1(es)));
1564
+ }), ([es, bs]) => es.length === 0 ? options?.discard ? unit : succeed(bs) : fail(es)));
2419
1565
 
2420
1566
  /* @internal */
2421
1567
  const raceAll = all => {
2422
- const list = fromIterable$2(all);
1568
+ const list = fromIterable$1(all);
2423
1569
  if (!isNonEmpty(list)) {
2424
1570
  return dieSync(() => IllegalArgumentException(`Received an empty collection of effects`));
2425
1571
  }
2426
1572
  const self = headNonEmpty(list);
2427
1573
  const effects = tailNonEmpty(list);
2428
1574
  const inheritAll$1 = res => pipe(inheritAll(res[1]), as(res[0]));
2429
- return pipe(deferredMake(), flatMap$1(done => pipe(make$5(effects.length), flatMap$1(fails => uninterruptibleMask(restore => pipe(fork(interruptible(self)), flatMap$1(head => pipe(effects, forEachSequential(effect => fork(interruptible(effect))), map$2(unsafeFromArray), map$2(tail => pipe(tail, prepend(head))), tap(fibers => pipe(fibers, reduce$1(unit, (effect, fiber) => pipe(effect, zipRight$1(pipe(_await(fiber), flatMap$1(raceAllArbiter(fibers, fiber, done, fails)), fork, asUnit)))))), flatMap$1(fibers => pipe(restore(pipe(_await$1(done), flatMap$1(inheritAll$1))), onInterrupt(() => pipe(fibers, reduce$1(unit, (effect, fiber) => pipe(effect, zipLeft$1(interruptFiber(fiber))))))))))))))));
1575
+ return pipe(deferredMake(), flatMap$1(done => pipe(make$1(effects.length), flatMap$1(fails => uninterruptibleMask(restore => pipe(fork(interruptible(self)), flatMap$1(head => pipe(effects, forEachSequential(effect => fork(interruptible(effect))), map$1(unsafeFromArray), map$1(tail => pipe(tail, prepend(head))), tap(fibers => pipe(fibers, reduce(unit, (effect, fiber) => pipe(effect, zipRight(pipe(_await(fiber), flatMap$1(raceAllArbiter(fibers, fiber, done, fails)), fork, asUnit)))))), flatMap$1(fibers => pipe(restore(pipe(_await$1(done), flatMap$1(inheritAll$1))), onInterrupt(() => pipe(fibers, reduce(unit, (effect, fiber) => pipe(effect, zipLeft(interruptFiber(fiber))))))))))))))));
2430
1576
  };
2431
1577
 
2432
1578
  /* @internal */
2433
1579
  const raceAllArbiter = (fibers, winner, deferred, fails) => exit => exitMatchEffect(exit, {
2434
1580
  onFailure: cause => pipe(modify(fails, fails => [fails === 0 ? pipe(deferredFailCause(deferred, cause), asUnit) : unit, fails - 1]), flatten),
2435
- onSuccess: value => pipe(deferredSucceed(deferred, [value, winner]), flatMap$1(set => set ? pipe(fromIterable$2(fibers), reduce$1(unit, (effect, fiber) => fiber === winner ? effect : pipe(effect, zipLeft$1(interruptFiber(fiber))))) : unit))
1581
+ onSuccess: value => pipe(deferredSucceed(deferred, [value, winner]), flatMap$1(set => set ? pipe(fromIterable$1(fibers), reduce(unit, (effect, fiber) => fiber === winner ? effect : pipe(effect, zipLeft(interruptFiber(fiber))))) : unit))
2436
1582
  });
2437
1583
 
2438
1584
  /* @internal */
2439
- const reduceEffect = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, zero, f, options) => matchSimple(options, () => fromIterable$1(elements).reduce((acc, a, i) => zipWith(acc, a, (acc, a) => f(acc, a, i)), zero), () => suspend(() => pipe(mergeAll([zero, ...elements], none$2(), (acc, elem, i) => {
1585
+ const reduceEffect = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, zero, f, options) => matchSimple(options, () => fromIterable(elements).reduce((acc, a, i) => zipWith(acc, a, (acc, a) => f(acc, a, i)), zero), () => suspend(() => pipe(mergeAll([zero, ...elements], none(), (acc, elem, i) => {
2440
1586
  switch (acc._tag) {
2441
1587
  case "None":
2442
1588
  {
@@ -2447,7 +1593,7 @@ const reduceEffect = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, z
2447
1593
  return some(f(acc.value, elem, i));
2448
1594
  }
2449
1595
  }
2450
- }, options), map$2(option => {
1596
+ }, options), map$1(option => {
2451
1597
  switch (option._tag) {
2452
1598
  case "None":
2453
1599
  {
@@ -2461,7 +1607,7 @@ const reduceEffect = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, z
2461
1607
  })))));
2462
1608
 
2463
1609
  /* @internal */
2464
- const parallelFinalizers = self => contextWithEffect(context => match$1(getOption(context, scopeTag), {
1610
+ const parallelFinalizers = self => contextWithEffect(context => match(getOption(context, scopeTag), {
2465
1611
  onNone: () => self,
2466
1612
  onSome: scope => {
2467
1613
  switch (scope.strategy._tag) {
@@ -2475,7 +1621,7 @@ const parallelFinalizers = self => contextWithEffect(context => match$1(getOptio
2475
1621
  }));
2476
1622
 
2477
1623
  /* @internal */
2478
- const parallelNFinalizers = parallelism => self => contextWithEffect(context => match$1(getOption(context, scopeTag), {
1624
+ const parallelNFinalizers = parallelism => self => contextWithEffect(context => match(getOption(context, scopeTag), {
2479
1625
  onNone: () => self,
2480
1626
  onSome: scope => {
2481
1627
  if (scope.strategy._tag === "ParallelN" && scope.strategy.parallelism === parallelism) {
@@ -2486,7 +1632,7 @@ const parallelNFinalizers = parallelism => self => contextWithEffect(context =>
2486
1632
  }));
2487
1633
 
2488
1634
  /* @internal */
2489
- const finalizersMask = strategy => self => contextWithEffect(context => match$1(getOption(context, scopeTag), {
1635
+ const finalizersMask = strategy => self => contextWithEffect(context => match(getOption(context, scopeTag), {
2490
1636
  onNone: () => self(identity),
2491
1637
  onSome: scope => {
2492
1638
  const patch = strategy._tag === "Parallel" ? parallelFinalizers : strategy._tag === "Sequential" ? sequentialFinalizers : parallelNFinalizers(strategy.parallelism);
@@ -2508,7 +1654,7 @@ const scopeWith = f => flatMap$1(scopeTag, f);
2508
1654
  const scopedEffect = effect => flatMap$1(scopeMake(), scope => scopeUse(scope)(effect));
2509
1655
 
2510
1656
  /* @internal */
2511
- const sequentialFinalizers = self => contextWithEffect(context => match$1(getOption(context, scopeTag), {
1657
+ const sequentialFinalizers = self => contextWithEffect(context => match(getOption(context, scopeTag), {
2512
1658
  onNone: () => self,
2513
1659
  onSome: scope => {
2514
1660
  switch (scope.strategy._tag) {
@@ -2525,7 +1671,7 @@ const sequentialFinalizers = self => contextWithEffect(context => match$1(getOpt
2525
1671
  const tagMetricsScoped = (key, value) => labelMetricsScoped([make$3(key, value)]);
2526
1672
 
2527
1673
  /* @internal */
2528
- const labelMetricsScoped = labels => labelMetricsScopedSet(fromIterable(labels));
1674
+ const labelMetricsScoped = labels => labelMetricsScopedSet(fromIterable$2(labels));
2529
1675
 
2530
1676
  /* @internal */
2531
1677
  const labelMetricsScopedSet = labels => fiberRefLocallyScopedWith(currentMetricLabels, set => pipe(set, union(labels)));
@@ -2546,13 +1692,13 @@ const validateWith = /*#__PURE__*/dual(args => isEffect(args[1]), (self, that, f
2546
1692
  const validateFirst = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, f, options) => flip(forEachOptions(elements, (a, i) => flip(f(a, i)), options)));
2547
1693
 
2548
1694
  /* @internal */
2549
- const withClockScoped = value => fiberRefLocallyScopedWith(currentServices, add$1(clockTag, value));
1695
+ const withClockScoped = value => fiberRefLocallyScopedWith(currentServices, add(clockTag, value));
2550
1696
 
2551
1697
  /* @internal */
2552
- const withConfigProviderScoped = value => fiberRefLocallyScopedWith(currentServices, add$1(configProviderTag, value));
1698
+ const withConfigProviderScoped = value => fiberRefLocallyScopedWith(currentServices, add(configProviderTag, value));
2553
1699
 
2554
1700
  /* @internal */
2555
- const withEarlyRelease = self => scopeWith(parent => flatMap$1(scopeFork(parent, sequential$2), child => pipe(self, scopeExtend(child), map$2(value => [fiberIdWith(fiberId => scopeClose(child, exitInterrupt(fiberId))), value]))));
1701
+ const withEarlyRelease = self => scopeWith(parent => flatMap$1(scopeFork(parent, sequential$2), child => pipe(self, scopeExtend(child), map$1(value => [fiberIdWith(fiberId => scopeClose(child, exitInterrupt(fiberId))), value]))));
2556
1702
 
2557
1703
  /** @internal */
2558
1704
  const zipOptions = /*#__PURE__*/dual(args => isEffect(args[1]), (self, that, options) => zipWithOptions(self, that, (a, b) => [a, b], options));
@@ -2564,20 +1710,20 @@ const zipLeftOptions = /*#__PURE__*/dual(args => isEffect(args[1]), (self, that,
2564
1710
  const zipRightOptions = /*#__PURE__*/dual(args => isEffect(args[1]), (self, that, options) => zipWithOptions(self, that, (_, b) => b, options));
2565
1711
 
2566
1712
  /** @internal */
2567
- const zipWithOptions = /*#__PURE__*/dual(args => isEffect(args[1]), (self, that, f, options) => map$2(all([self, that], {
1713
+ const zipWithOptions = /*#__PURE__*/dual(args => isEffect(args[1]), (self, that, f, options) => map$1(all([self, that], {
2568
1714
  concurrency: options?.concurrent ? 2 : 1,
2569
1715
  batching: options?.batching
2570
1716
  }), ([a, a2]) => f(a, a2)));
2571
1717
 
2572
1718
  /* @internal */
2573
1719
  const withRuntimeFlagsScoped = update => {
2574
- if (update === empty$3) {
1720
+ if (update === empty$1) {
2575
1721
  return unit;
2576
1722
  }
2577
1723
  return pipe(runtimeFlags, flatMap$1(runtimeFlags => {
2578
- const updatedRuntimeFlags = patch$1(runtimeFlags, update);
2579
- const revertRuntimeFlags = diff$1(updatedRuntimeFlags, runtimeFlags);
2580
- return pipe(updateRuntimeFlags(update), zipRight$1(addFinalizer(() => updateRuntimeFlags(revertRuntimeFlags))), asUnit);
1724
+ const updatedRuntimeFlags = patch(runtimeFlags, update);
1725
+ const revertRuntimeFlags = diff(updatedRuntimeFlags, runtimeFlags);
1726
+ return pipe(updateRuntimeFlags(update), zipRight(addFinalizer(() => updateRuntimeFlags(revertRuntimeFlags))), asUnit);
2581
1727
  }), uninterruptible);
2582
1728
  };
2583
1729
 
@@ -2601,11 +1747,11 @@ const releaseMapReleaseAll = (strategy, exit$1) => self => suspend(() => {
2601
1747
  exit: exit$1,
2602
1748
  update
2603
1749
  };
2604
- return isSequential(strategy) ? pipe(finalizers, forEachSequential(fin => exit(update(fin)(exit$1))), flatMap$1(results => pipe(exitCollectAll(results), map$3(exitAsUnit), getOrElse(() => exitUnit)))) : isParallel(strategy) ? pipe(forEachParUnbounded(finalizers, fin => exit(update(fin)(exit$1)), false), flatMap$1(results => pipe(exitCollectAll(results, {
1750
+ return isSequential(strategy) ? pipe(finalizers, forEachSequential(fin => exit(update(fin)(exit$1))), flatMap$1(results => pipe(exitCollectAll(results), map(exitAsUnit), getOrElse(() => exitUnit)))) : isParallel(strategy) ? pipe(forEachParUnbounded(finalizers, fin => exit(update(fin)(exit$1)), false), flatMap$1(results => pipe(exitCollectAll(results, {
2605
1751
  parallel: true
2606
- }), map$3(exitAsUnit), getOrElse(() => exitUnit)))) : pipe(forEachParN(finalizers, strategy.parallelism, fin => exit(update(fin)(exit$1)), false), flatMap$1(results => pipe(exitCollectAll(results, {
1752
+ }), map(exitAsUnit), getOrElse(() => exitUnit)))) : pipe(forEachParN(finalizers, strategy.parallelism, fin => exit(update(fin)(exit$1)), false), flatMap$1(results => pipe(exitCollectAll(results, {
2607
1753
  parallel: true
2608
- }), map$3(exitAsUnit), getOrElse(() => exitUnit))));
1754
+ }), map(exitAsUnit), getOrElse(() => exitUnit))));
2609
1755
  }
2610
1756
  }
2611
1757
  });
@@ -2619,7 +1765,7 @@ const scopeTag = /*#__PURE__*/Tag(ScopeTypeId);
2619
1765
  const scope = scopeTag;
2620
1766
 
2621
1767
  /* @internal */
2622
- const scopeMake = (strategy = sequential$2) => map$2(releaseMapMake, rm => ({
1768
+ const scopeMake = (strategy = sequential$2) => map$1(releaseMapMake, rm => ({
2623
1769
  [ScopeTypeId]: ScopeTypeId,
2624
1770
  [CloseableScopeTypeId]: CloseableScopeTypeId,
2625
1771
  strategy,
@@ -2634,7 +1780,7 @@ const scopeMake = (strategy = sequential$2) => map$2(releaseMapMake, rm => ({
2634
1780
  /* @internal */
2635
1781
  const scopeExtend = /*#__PURE__*/dual(2, (effect, scope) => mapInputContext(effect,
2636
1782
  // @ts-expect-error
2637
- merge(make$6(scopeTag, scope))));
1783
+ merge(make$2(scopeTag, scope))));
2638
1784
 
2639
1785
  /* @internal */
2640
1786
  const scopeUse = /*#__PURE__*/dual(2, (effect, scope) => pipe(effect, scopeExtend(scope), onExit(exit => scope.close(exit))));
@@ -2644,7 +1790,7 @@ const scopeUse = /*#__PURE__*/dual(2, (effect, scope) => pipe(effect, scopeExten
2644
1790
  /** @internal */
2645
1791
  const fiberRefUnsafeMakeSupervisor = initial => fiberRefUnsafeMakePatch(initial, {
2646
1792
  differ: differ,
2647
- fork: empty
1793
+ fork: empty$2
2648
1794
  });
2649
1795
 
2650
1796
  // circular with FiberRef
@@ -2659,7 +1805,7 @@ const fiberRefLocallyScopedWith = /*#__PURE__*/dual(2, (self, f) => fiberRefGetW
2659
1805
  const fiberRefMake = (initial, options) => fiberRefMakeWith(() => fiberRefUnsafeMake(initial, options));
2660
1806
 
2661
1807
  /* @internal */
2662
- const fiberRefMakeWith = ref => acquireRelease(tap(sync$2(ref), ref => fiberRefUpdate(ref, identity)), fiberRef => fiberRefDelete(fiberRef));
1808
+ const fiberRefMakeWith = ref => acquireRelease(tap(sync(ref), ref => fiberRefUpdate(ref, identity)), fiberRef => fiberRefDelete(fiberRef));
2663
1809
 
2664
1810
  /* @internal */
2665
1811
  const fiberRefMakeContext = initial => fiberRefMakeWith(() => fiberRefUnsafeMakeContext(initial));
@@ -2668,10 +1814,10 @@ const fiberRefMakeContext = initial => fiberRefMakeWith(() => fiberRefUnsafeMake
2668
1814
  const fiberRefMakeRuntimeFlags = initial => fiberRefMakeWith(() => fiberRefUnsafeMakeRuntimeFlags(initial));
2669
1815
 
2670
1816
  /** @internal */
2671
- const currentRuntimeFlags = /*#__PURE__*/fiberRefUnsafeMakeRuntimeFlags(none$4);
1817
+ const currentRuntimeFlags = /*#__PURE__*/fiberRefUnsafeMakeRuntimeFlags(none$3);
2672
1818
 
2673
1819
  /** @internal */
2674
- const currentSupervisor = /*#__PURE__*/fiberRefUnsafeMakeSupervisor(none);
1820
+ const currentSupervisor = /*#__PURE__*/fiberRefUnsafeMakeSupervisor(none$1);
2675
1821
 
2676
1822
  // circular with Fiber
2677
1823
 
@@ -2681,22 +1827,22 @@ const fiberAwaitAll = fibers => asUnit(_await(fiberAll(fibers)));
2681
1827
  /** @internal */
2682
1828
  const fiberAll = fibers => ({
2683
1829
  [FiberTypeId]: fiberVariance,
2684
- id: () => fromIterable$1(fibers).reduce((id, fiber) => combine$1(id, fiber.id()), none$3),
1830
+ id: () => fromIterable(fibers).reduce((id, fiber) => combine(id, fiber.id()), none$2),
2685
1831
  await: () => exit(forEachParUnbounded(fibers, fiber => flatten(fiber.await()), false)),
2686
- children: () => map$2(forEachParUnbounded(fibers, fiber => fiber.children(), false), flatten$1),
1832
+ children: () => map$1(forEachParUnbounded(fibers, fiber => fiber.children(), false), flatten$1),
2687
1833
  inheritAll: () => forEachSequentialDiscard(fibers, fiber => fiber.inheritAll()),
2688
- poll: () => map$2(forEachSequential(fibers, fiber => fiber.poll()), reduceRight(some(exitSucceed(new Array())), (optionB, optionA) => {
1834
+ poll: () => map$1(forEachSequential(fibers, fiber => fiber.poll()), reduceRight(some(exitSucceed(new Array())), (optionB, optionA) => {
2689
1835
  switch (optionA._tag) {
2690
1836
  case "None":
2691
1837
  {
2692
- return none$2();
1838
+ return none();
2693
1839
  }
2694
1840
  case "Some":
2695
1841
  {
2696
1842
  switch (optionB._tag) {
2697
1843
  case "None":
2698
1844
  {
2699
- return none$2();
1845
+ return none();
2700
1846
  }
2701
1847
  case "Some":
2702
1848
  {
@@ -2722,7 +1868,7 @@ const fiberInterruptFork = self => asUnit(forkDaemon(interruptFiber(self)));
2722
1868
  const fiberJoinAll = fibers => asUnit(join(fiberAll(fibers)));
2723
1869
 
2724
1870
  /* @internal */
2725
- const fiberScoped = self => acquireRelease(succeed$3(self), interruptFiber);
1871
+ const fiberScoped = self => acquireRelease(succeed(self), interruptFiber);
2726
1872
 
2727
1873
  //
2728
1874
  // circular race
@@ -2774,7 +1920,7 @@ const race = /*#__PURE__*/dual(2, (self, that) => fiberIdWith(parentFiberId => r
2774
1920
  /** @internal */
2775
1921
  const raceFibersWith = /*#__PURE__*/dual(3, (self, other, options) => withFiberRuntime((parentFiber, parentStatus) => {
2776
1922
  const parentRuntimeFlags = parentStatus.runtimeFlags;
2777
- const raceIndicator = make$7(true);
1923
+ const raceIndicator = make$4(true);
2778
1924
  const leftFiber = unsafeMakeChildFiber(self, parentFiber, parentRuntimeFlags, options.selfScope);
2779
1925
  const rightFiber = unsafeMakeChildFiber(other, parentFiber, parentRuntimeFlags, options.otherScope);
2780
1926
  return async(cb => {
@@ -2782,7 +1928,7 @@ const raceFibersWith = /*#__PURE__*/dual(3, (self, other, options) => withFiberR
2782
1928
  rightFiber.addObserver(() => completeRace(rightFiber, leftFiber, options.onOtherWin, raceIndicator, cb));
2783
1929
  leftFiber.startFork(self);
2784
1930
  rightFiber.startFork(other);
2785
- }, combine$1(leftFiber.id(), rightFiber.id()));
1931
+ }, combine(leftFiber.id(), rightFiber.id()));
2786
1932
  }));
2787
1933
  const completeRace = (winner, loser, cont, ab, cb) => {
2788
1934
  if (compareAndSet(true, false)(ab)) {
@@ -2821,7 +1967,7 @@ const invokeWithInterrupt = (dataSource, all) => fiberIdWith(id => flatMap$1(fla
2821
1967
  return () => r.listeners.removeObserver(observer);
2822
1968
  });
2823
1969
  checkDone();
2824
- return sync$2(() => {
1970
+ return sync(() => {
2825
1971
  cleanup.forEach(f => f());
2826
1972
  });
2827
1973
  })), () => suspend(() => {
@@ -2836,22 +1982,22 @@ const invokeWithInterrupt = (dataSource, all) => fiberIdWith(id => flatMap$1(fla
2836
1982
 
2837
1983
  /** @internal */
2838
1984
  const interruptWhenPossible = /*#__PURE__*/dual(2, (self, all) => fiberRefGetWith(currentRequestMap, map => suspend(() => {
2839
- const entries = fromIterable$1(all).flatMap(_ => map.has(_) ? [map.get(_)] : []);
1985
+ const entries = fromIterable(all).flatMap(_ => map.has(_) ? [map.get(_)] : []);
2840
1986
  return invokeWithInterrupt(self, entries);
2841
1987
  })));
2842
1988
 
2843
1989
  // circular Tracer
2844
1990
 
2845
1991
  /** @internal */
2846
- const useSpanScoped = (name, options) => acquireRelease(makeSpan(name, options), (span, exit) => flatMap$1(currentTimeNanosTracing, endTime => sync$2(() => span.end(endTime, exit))));
1992
+ const useSpanScoped = (name, options) => acquireRelease(makeSpan(name, options), (span, exit) => flatMap$1(currentTimeNanosTracing, endTime => sync(() => span.end(endTime, exit))));
2847
1993
 
2848
1994
  /* @internal */
2849
1995
  const withSpanScoped = (name, options) => flatMap$1(useSpanScoped(name, options), span => fiberRefLocallyScopedWith(currentTracerSpan, prepend$1(span)));
2850
1996
 
2851
1997
  /* @internal */
2852
- const withTracerScoped = value => fiberRefLocallyScopedWith(currentServices, add$1(tracerTag, value));
1998
+ const withTracerScoped = value => fiberRefLocallyScopedWith(currentServices, add(tracerTag, value));
2853
1999
 
2854
2000
  /* @internal */
2855
2001
  const withParentSpanScoped = span => fiberRefLocallyScopedWith(currentTracerSpan, prepend$1(span));
2856
2002
 
2857
- export { withParentSpanScoped as $, scopedEffect as A, using as B, withEarlyRelease as C, daemonChildren as D, fork as E, forkDaemon as F, forkWithErrorHandler as G, fiberRefLocallyScoped as H, fiberRefLocallyScopedWith as I, withClockScoped as J, withConfigProviderScoped as K, raceAll as L, race as M, raceWith as N, withRuntimeFlagsScoped as O, tagMetricsScoped as P, labelMetricsScoped as Q, labelMetricsScopedSet as R, validate as S, validateWith as T, zipOptions as U, zipLeftOptions as V, zipRightOptions as W, zipWithOptions as X, withTracerScoped as Y, useSpanScoped as Z, withSpanScoped as _, all as a, timer as a$, fiberRefMake as a0, fiberRefMakeWith as a1, fiberRefMakeContext as a2, fiberRefMakeRuntimeFlags as a3, fiberRefUnsafeMakeSupervisor as a4, currentLoggers as a5, currentMinimumLogLevel as a6, currentRuntimeFlags as a7, currentSupervisor as a8, fiberAwaitAll as a9, logfmtLogger as aA, stringLogger as aB, tracerLogger as aC, logFmtLogger as aD, MetricTypeId as aE, globalMetricRegistry as aF, make as aG, mapInput as aH, counter as aI, frequency as aJ, withConstantInput as aK, fromMetricKey as aL, gauge as aM, histogram as aN, increment as aO, incrementBy as aP, map as aQ, mapType as aR, set as aS, snapshot as aT, succeed$1 as aU, sync as aV, summary as aW, summaryTimestamp as aX, tagged$1 as aY, taggedWithLabelsInput as aZ, taggedWithLabels as a_, fiberAll as aa, track as ab, raceFibersWith as ac, scopeExtend as ad, Zip as ae, Listeners as af, FiberRuntime as ag, none as ah, scopeTag as ai, scopeUse as aj, fiberInterruptFork as ak, fiberJoinAll as al, fiberScoped as am, LoggerTypeId as an, makeLogger as ao, mapInput$1 as ap, filterLogLevel as aq, map$1 as ar, none$1 as as, simple as at, succeed$2 as au, sync$1 as av, zip$1 as aw, zipLeft as ax, zipRight as ay, defaultLogger as az, acquireRelease as b, timerWithBoundaries as b0, trackAll as b1, trackDefect as b2, trackDefectWith as b3, trackDuration as b4, trackDurationWith as b5, trackError as b6, trackErrorWith as b7, trackSuccess as b8, trackSuccessWith as b9, update as ba, value as bb, withNow as bc, zip as bd, unsafeSnapshot as be, fiberStarted as bf, fiberSuccesses as bg, fiberFailures as bh, fiberLifetimes as bi, fiberActive as bj, RequestTypeId as bk, isRequest as bl, of as bm, tagged as bn, complete as bo, interruptWhenPossible as bp, completeEffect as bq, fail as br, succeed as bs, SupervisorTypeId as bt, fibersIn as bu, fromEffect as bv, unsafeTrack as bw, ProxySupervisor as bx, supervisorVariance as by, invokeWithInterrupt as bz, forEachParUnboundedDiscard as c, allWith as d, allSuccesses as e, forEachParUnbounded as f, exists as g, filter as h, forEachOptions as i, replicate as j, replicateEffect as k, validateFirst as l, mergeAll as m, disconnect as n, acquireReleaseInterruptible as o, partition as p, addFinalizer as q, reduceEffect as r, scopeMake as s, ensuring as t, parallelFinalizers as u, validateAll as v, finalizersMask as w, sequentialFinalizers as x, scope as y, scopeWith as z };
2003
+ export { FiberRuntime, acquireRelease, acquireReleaseInterruptible, addFinalizer, all, allSuccesses, allWith, currentLoggers, currentMinimumLogLevel, currentRuntimeFlags, currentSupervisor, daemonChildren, defaultLogger, disconnect, ensuring, exists, fiberActive, fiberAll, fiberAwaitAll, fiberFailures, fiberInterruptFork, fiberJoinAll, fiberLifetimes, fiberRefLocallyScoped, fiberRefLocallyScopedWith, fiberRefMake, fiberRefMakeContext, fiberRefMakeRuntimeFlags, fiberRefMakeWith, fiberRefUnsafeMakeSupervisor, fiberScoped, fiberStarted, fiberSuccesses, filter, finalizersMask, forEachOptions, forEachParN, forEachParNDiscard, forEachParUnbounded, forEachParUnboundedDiscard, fork, forkDaemon, forkWithErrorHandler, getConsole, interruptWhenPossible, invokeWithInterrupt, labelMetricsScoped, labelMetricsScopedSet, logFmtLogger, mergeAll, parallelFinalizers, parallelNFinalizers, partition, race, raceAll, raceFibersWith, raceWith, reduceEffect, releaseMapReleaseAll, replicate, replicateEffect, runtimeFiberVariance, scope, scopeExtend, scopeMake, scopeTag, scopeUse, scopeWith, scopedEffect, sequentialFinalizers, tagMetricsScoped, tracerLogger, unsafeFork, unsafeMakeChildFiber, useSpanScoped, using, validate, validateAll, validateFirst, validateWith, withClockScoped, withConfigProviderScoped, withEarlyRelease, withParentSpanScoped, withRuntimeFlagsScoped, withSpanScoped, withTracerScoped, zipLeftOptions, zipOptions, zipRightOptions, zipWithOptions };