effect 2.0.0-next.41 → 2.0.0-next.43

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 (684) hide show
  1. package/Bigint/dist/effect-Bigint.cjs.dev.js +365 -28
  2. package/Bigint/dist/effect-Bigint.cjs.prod.js +365 -28
  3. package/Boolean/dist/effect-Boolean.cjs.dev.js +243 -22
  4. package/Boolean/dist/effect-Boolean.cjs.prod.js +243 -22
  5. package/Brand/dist/effect-Brand.cjs.dev.js +221 -26
  6. package/Brand/dist/effect-Brand.cjs.prod.js +221 -26
  7. package/Cache/dist/effect-Cache.cjs.dev.js +182 -77
  8. package/Cache/dist/effect-Cache.cjs.prod.js +182 -77
  9. package/Cause/dist/effect-Cause.cjs.dev.js +754 -93
  10. package/Cause/dist/effect-Cause.cjs.prod.js +754 -93
  11. package/Channel/dist/effect-Channel.cjs.dev.js +1206 -214
  12. package/Channel/dist/effect-Channel.cjs.prod.js +1206 -214
  13. package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.dev.js +118 -12
  14. package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.prod.js +118 -12
  15. package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.dev.js +63 -9
  16. package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.prod.js +63 -9
  17. package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.dev.js +107 -12
  18. package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.prod.js +107 -12
  19. package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.dev.js +88 -10
  20. package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.prod.js +88 -10
  21. package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.dev.js +131 -90
  22. package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.prod.js +131 -90
  23. package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.dev.js +88 -10
  24. package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.prod.js +88 -10
  25. package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.dev.js +87 -10
  26. package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.prod.js +87 -10
  27. package/Chunk/dist/effect-Chunk.cjs.dev.js +1170 -101
  28. package/Chunk/dist/effect-Chunk.cjs.prod.js +1170 -101
  29. package/Clock/dist/effect-Clock.cjs.dev.js +121 -50
  30. package/Clock/dist/effect-Clock.cjs.prod.js +121 -50
  31. package/Config/dist/effect-Config.cjs.dev.js +386 -71
  32. package/Config/dist/effect-Config.cjs.prod.js +386 -71
  33. package/ConfigError/dist/effect-ConfigError.cjs.dev.js +219 -40
  34. package/ConfigError/dist/effect-ConfigError.cjs.prod.js +219 -40
  35. package/ConfigProvider/dist/effect-ConfigProvider.cjs.dev.js +250 -58
  36. package/ConfigProvider/dist/effect-ConfigProvider.cjs.prod.js +250 -58
  37. package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.dev.js +92 -28
  38. package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.prod.js +92 -28
  39. package/ConfigSecret/dist/effect-ConfigSecret.cjs.dev.js +85 -28
  40. package/ConfigSecret/dist/effect-ConfigSecret.cjs.prod.js +85 -28
  41. package/Console/dist/effect-Console.cjs.dev.js +316 -106
  42. package/Console/dist/effect-Console.cjs.prod.js +316 -106
  43. package/Context/dist/effect-Context.cjs.dev.js +322 -33
  44. package/Context/dist/effect-Context.cjs.prod.js +322 -33
  45. package/Data/dist/effect-Data.cjs.dev.js +223 -21
  46. package/Data/dist/effect-Data.cjs.prod.js +223 -21
  47. package/DefaultServices/dist/effect-DefaultServices.cjs.dev.js +60 -42
  48. package/DefaultServices/dist/effect-DefaultServices.cjs.prod.js +60 -42
  49. package/Deferred/dist/effect-Deferred.cjs.dev.js +254 -55
  50. package/Deferred/dist/effect-Deferred.cjs.prod.js +254 -55
  51. package/Differ/dist/effect-Differ.cjs.dev.js +985 -42
  52. package/Differ/dist/effect-Differ.cjs.prod.js +985 -42
  53. package/Duration/dist/effect-Duration.cjs.dev.js +476 -51
  54. package/Duration/dist/effect-Duration.cjs.prod.js +476 -51
  55. package/Effect/dist/effect-Effect.cjs.dev.js +3485 -411
  56. package/Effect/dist/effect-Effect.cjs.prod.js +3485 -411
  57. package/Effectable/dist/effect-Effectable.cjs.dev.js +92 -21
  58. package/Effectable/dist/effect-Effectable.cjs.prod.js +92 -21
  59. package/Either/dist/effect-Either.cjs.dev.js +475 -43
  60. package/Either/dist/effect-Either.cjs.prod.js +475 -43
  61. package/Encoding/dist/effect-Encoding.cjs.dev.js +302 -29
  62. package/Encoding/dist/effect-Encoding.cjs.prod.js +302 -29
  63. package/Equal/dist/effect-Equal.cjs.dev.js +61 -10
  64. package/Equal/dist/effect-Equal.cjs.prod.js +61 -10
  65. package/Equivalence/dist/effect-Equivalence.cjs.dev.js +213 -23
  66. package/Equivalence/dist/effect-Equivalence.cjs.prod.js +213 -23
  67. package/Error/dist/effect-Error.cjs.dev.js +131 -91
  68. package/Error/dist/effect-Error.cjs.mjs +1 -1
  69. package/Error/dist/effect-Error.cjs.prod.js +131 -91
  70. package/Error/dist/effect-Error.esm.js +2 -2
  71. package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.dev.js +2 -2
  72. package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.prod.js +2 -2
  73. package/Exit/dist/effect-Exit.cjs.dev.js +395 -69
  74. package/Exit/dist/effect-Exit.cjs.prod.js +395 -69
  75. package/Fiber/dist/effect-Fiber.cjs.dev.js +538 -124
  76. package/Fiber/dist/effect-Fiber.cjs.prod.js +538 -124
  77. package/FiberId/dist/effect-FiberId.cjs.dev.js +19 -19
  78. package/FiberId/dist/effect-FiberId.cjs.prod.js +19 -19
  79. package/FiberRef/dist/effect-FiberRef.cjs.dev.js +401 -121
  80. package/FiberRef/dist/effect-FiberRef.cjs.prod.js +401 -121
  81. package/FiberRefs/dist/effect-FiberRefs.cjs.dev.js +147 -46
  82. package/FiberRefs/dist/effect-FiberRefs.cjs.prod.js +147 -46
  83. package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.dev.js +110 -40
  84. package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.prod.js +110 -40
  85. package/FiberStatus/dist/effect-FiberStatus.cjs.dev.js +185 -18
  86. package/FiberStatus/dist/effect-FiberStatus.cjs.prod.js +185 -18
  87. package/Function/dist/effect-Function.cjs.dev.js +511 -24
  88. package/Function/dist/effect-Function.cjs.prod.js +511 -24
  89. package/GlobalValue/dist/effect-GlobalValue.cjs.dev.js +18 -3
  90. package/GlobalValue/dist/effect-GlobalValue.cjs.prod.js +18 -3
  91. package/GroupBy/dist/effect-GroupBy.cjs.dev.js +168 -111
  92. package/GroupBy/dist/effect-GroupBy.cjs.prod.js +168 -111
  93. package/Hash/dist/effect-Hash.cjs.dev.js +175 -19
  94. package/Hash/dist/effect-Hash.cjs.prod.js +175 -19
  95. package/HashMap/dist/effect-HashMap.cjs.dev.js +337 -52
  96. package/HashMap/dist/effect-HashMap.cjs.prod.js +337 -52
  97. package/HashSet/dist/effect-HashSet.cjs.dev.js +266 -45
  98. package/HashSet/dist/effect-HashSet.cjs.prod.js +266 -45
  99. package/Hub/dist/effect-Hub.cjs.dev.js +1320 -89
  100. package/Hub/dist/effect-Hub.cjs.prod.js +1320 -89
  101. package/Inspectable/dist/effect-Inspectable.cjs.dev.js +37 -4
  102. package/Inspectable/dist/effect-Inspectable.cjs.prod.js +37 -4
  103. package/KeyedPool/dist/effect-KeyedPool.cjs.dev.js +328 -83
  104. package/KeyedPool/dist/effect-KeyedPool.cjs.prod.js +328 -83
  105. package/Layer/dist/effect-Layer.cjs.dev.js +697 -147
  106. package/Layer/dist/effect-Layer.cjs.prod.js +697 -147
  107. package/List/dist/effect-List.cjs.dev.js +868 -68
  108. package/List/dist/effect-List.cjs.prod.js +868 -68
  109. package/LogLevel/dist/effect-LogLevel.cjs.dev.js +243 -50
  110. package/LogLevel/dist/effect-LogLevel.cjs.prod.js +243 -50
  111. package/LogSpan/dist/effect-LogSpan.cjs.dev.js +34 -3
  112. package/LogSpan/dist/effect-LogSpan.cjs.prod.js +34 -3
  113. package/Logger/dist/effect-Logger.cjs.dev.js +314 -113
  114. package/Logger/dist/effect-Logger.cjs.prod.js +314 -113
  115. package/Metric/dist/effect-Metric.cjs.dev.js +504 -116
  116. package/Metric/dist/effect-Metric.cjs.prod.js +504 -116
  117. package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.dev.js +72 -26
  118. package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.prod.js +72 -26
  119. package/MetricHook/dist/effect-MetricHook.cjs.dev.js +95 -33
  120. package/MetricHook/dist/effect-MetricHook.cjs.prod.js +95 -33
  121. package/MetricKey/dist/effect-MetricKey.cjs.dev.js +133 -35
  122. package/MetricKey/dist/effect-MetricKey.cjs.prod.js +133 -35
  123. package/MetricKeyType/dist/effect-MetricKeyType.cjs.dev.js +179 -38
  124. package/MetricKeyType/dist/effect-MetricKeyType.cjs.prod.js +179 -38
  125. package/MetricLabel/dist/effect-MetricLabel.cjs.dev.js +47 -12
  126. package/MetricLabel/dist/effect-MetricLabel.cjs.prod.js +47 -12
  127. package/MetricPair/dist/effect-MetricPair.cjs.dev.js +38 -6
  128. package/MetricPair/dist/effect-MetricPair.cjs.prod.js +38 -6
  129. package/MetricPolling/dist/effect-MetricPolling.cjs.dev.js +230 -86
  130. package/MetricPolling/dist/effect-MetricPolling.cjs.prod.js +230 -86
  131. package/MetricRegistry/dist/effect-MetricRegistry.cjs.dev.js +55 -33
  132. package/MetricRegistry/dist/effect-MetricRegistry.cjs.prod.js +55 -33
  133. package/MetricState/dist/effect-MetricState.cjs.dev.js +174 -29
  134. package/MetricState/dist/effect-MetricState.cjs.prod.js +174 -29
  135. package/MutableHashMap/dist/effect-MutableHashMap.cjs.dev.js +149 -32
  136. package/MutableHashMap/dist/effect-MutableHashMap.cjs.prod.js +149 -32
  137. package/MutableHashSet/dist/effect-MutableHashSet.cjs.dev.js +111 -30
  138. package/MutableHashSet/dist/effect-MutableHashSet.cjs.prod.js +111 -30
  139. package/MutableList/dist/effect-MutableList.cjs.dev.js +276 -20
  140. package/MutableList/dist/effect-MutableList.cjs.prod.js +276 -20
  141. package/MutableQueue/dist/effect-MutableQueue.cjs.dev.js +209 -32
  142. package/MutableQueue/dist/effect-MutableQueue.cjs.prod.js +209 -32
  143. package/MutableRef/dist/effect-MutableRef.cjs.dev.js +175 -28
  144. package/MutableRef/dist/effect-MutableRef.cjs.prod.js +175 -28
  145. package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.dev.js +25 -2
  146. package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.prod.js +25 -2
  147. package/Number/dist/effect-Number.cjs.dev.js +389 -29
  148. package/Number/dist/effect-Number.cjs.prod.js +389 -29
  149. package/Option/dist/effect-Option.cjs.dev.js +1137 -79
  150. package/Option/dist/effect-Option.cjs.prod.js +1137 -79
  151. package/Order/dist/effect-Order.cjs.dev.js +288 -31
  152. package/Order/dist/effect-Order.cjs.prod.js +288 -31
  153. package/Ordering/dist/effect-Ordering.cjs.dev.js +89 -7
  154. package/Ordering/dist/effect-Ordering.cjs.prod.js +89 -7
  155. package/Pipeable/dist/effect-Pipeable.cjs.dev.js +41 -2
  156. package/Pipeable/dist/effect-Pipeable.cjs.prod.js +41 -2
  157. package/Pool/dist/effect-Pool.cjs.dev.js +177 -79
  158. package/Pool/dist/effect-Pool.cjs.prod.js +177 -79
  159. package/Predicate/dist/effect-Predicate.cjs.dev.js +672 -44
  160. package/Predicate/dist/effect-Predicate.cjs.prod.js +672 -44
  161. package/Queue/dist/effect-Queue.cjs.dev.js +427 -105
  162. package/Queue/dist/effect-Queue.cjs.prod.js +427 -105
  163. package/Random/dist/effect-Random.cjs.dev.js +127 -51
  164. package/Random/dist/effect-Random.cjs.prod.js +127 -51
  165. package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.dev.js +1589 -157
  166. package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js +1589 -157
  167. package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.dev.js +552 -42
  168. package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.prod.js +552 -42
  169. package/RedBlackTree/dist/effect-RedBlackTree.cjs.dev.js +1638 -59
  170. package/RedBlackTree/dist/effect-RedBlackTree.cjs.prod.js +1638 -59
  171. package/Ref/dist/effect-Ref.cjs.dev.js +31 -31
  172. package/Ref/dist/effect-Ref.cjs.prod.js +31 -31
  173. package/Reloadable/dist/effect-Reloadable.cjs.dev.js +226 -93
  174. package/Reloadable/dist/effect-Reloadable.cjs.prod.js +226 -93
  175. package/Request/dist/effect-Request.cjs.dev.js +238 -88
  176. package/Request/dist/effect-Request.cjs.prod.js +238 -88
  177. package/RequestBlock/dist/effect-RequestBlock.cjs.dev.js +195 -100
  178. package/RequestBlock/dist/effect-RequestBlock.cjs.prod.js +195 -100
  179. package/RequestResolver/dist/effect-RequestResolver.cjs.dev.js +292 -110
  180. package/RequestResolver/dist/effect-RequestResolver.cjs.prod.js +292 -110
  181. package/Resource/dist/effect-Resource.cjs.dev.js +177 -85
  182. package/Resource/dist/effect-Resource.cjs.prod.js +177 -85
  183. package/Runtime/dist/effect-Runtime.cjs.dev.js +245 -94
  184. package/Runtime/dist/effect-Runtime.cjs.prod.js +245 -94
  185. package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.dev.js +419 -121
  186. package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.prod.js +419 -121
  187. package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.dev.js +25 -25
  188. package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.prod.js +25 -25
  189. package/STM/dist/effect-STM.cjs.dev.js +1421 -237
  190. package/STM/dist/effect-STM.cjs.prod.js +1421 -237
  191. package/Schedule/dist/effect-Schedule.cjs.dev.js +1107 -156
  192. package/Schedule/dist/effect-Schedule.cjs.prod.js +1107 -156
  193. package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.dev.js +111 -28
  194. package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.prod.js +111 -28
  195. package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.dev.js +237 -33
  196. package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.prod.js +237 -33
  197. package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.dev.js +264 -36
  198. package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.prod.js +264 -36
  199. package/Scheduler/dist/effect-Scheduler.cjs.dev.js +365 -48
  200. package/Scheduler/dist/effect-Scheduler.cjs.prod.js +365 -48
  201. package/Scope/dist/effect-Scope.cjs.dev.js +192 -82
  202. package/Scope/dist/effect-Scope.cjs.prod.js +192 -82
  203. package/ScopedCache/dist/effect-ScopedCache.cjs.dev.js +512 -79
  204. package/ScopedCache/dist/effect-ScopedCache.cjs.prod.js +512 -79
  205. package/ScopedRef/dist/effect-ScopedRef.cjs.dev.js +147 -82
  206. package/ScopedRef/dist/effect-ScopedRef.cjs.prod.js +147 -82
  207. package/Sink/dist/effect-Sink.cjs.dev.js +1199 -208
  208. package/Sink/dist/effect-Sink.cjs.prod.js +1199 -208
  209. package/SortedMap/dist/effect-SortedMap.cjs.dev.js +194 -39
  210. package/SortedMap/dist/effect-SortedMap.cjs.prod.js +194 -39
  211. package/SortedSet/dist/effect-SortedSet.cjs.dev.js +293 -42
  212. package/SortedSet/dist/effect-SortedSet.cjs.prod.js +293 -42
  213. package/Stream/dist/effect-Stream.cjs.dev.js +3273 -401
  214. package/Stream/dist/effect-Stream.cjs.prod.js +3273 -401
  215. package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.dev.js +2 -2
  216. package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.prod.js +2 -2
  217. package/String/dist/effect-String.cjs.dev.js +652 -64
  218. package/String/dist/effect-String.cjs.prod.js +652 -64
  219. package/Struct/dist/effect-Struct.cjs.dev.js +126 -9
  220. package/Struct/dist/effect-Struct.cjs.prod.js +126 -9
  221. package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.dev.js +337 -131
  222. package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.prod.js +337 -131
  223. package/Supervisor/dist/effect-Supervisor.cjs.dev.js +234 -94
  224. package/Supervisor/dist/effect-Supervisor.cjs.prod.js +234 -94
  225. package/Symbol/dist/effect-Symbol.cjs.dev.js +29 -6
  226. package/Symbol/dist/effect-Symbol.cjs.prod.js +29 -6
  227. package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.dev.js +254 -102
  228. package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.prod.js +254 -102
  229. package/TArray/dist/effect-TArray.cjs.dev.js +517 -156
  230. package/TArray/dist/effect-TArray.cjs.prod.js +517 -156
  231. package/TDeferred/dist/effect-TDeferred.cjs.dev.js +219 -121
  232. package/TDeferred/dist/effect-TDeferred.cjs.prod.js +219 -121
  233. package/THub/dist/effect-THub.cjs.dev.js +651 -131
  234. package/THub/dist/effect-THub.cjs.prod.js +651 -131
  235. package/TMap/dist/effect-TMap.cjs.dev.js +526 -159
  236. package/TMap/dist/effect-TMap.cjs.prod.js +526 -159
  237. package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.dev.js +459 -133
  238. package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.prod.js +459 -133
  239. package/TQueue/dist/effect-TQueue.cjs.dev.js +430 -143
  240. package/TQueue/dist/effect-TQueue.cjs.prod.js +430 -143
  241. package/TRandom/dist/effect-TRandom.cjs.dev.js +290 -124
  242. package/TRandom/dist/effect-TRandom.cjs.prod.js +290 -124
  243. package/TReentrantLock/dist/effect-TReentrantLock.cjs.dev.js +531 -132
  244. package/TReentrantLock/dist/effect-TReentrantLock.cjs.prod.js +531 -132
  245. package/TRef/dist/effect-TRef.cjs.dev.js +238 -128
  246. package/TRef/dist/effect-TRef.cjs.prod.js +238 -128
  247. package/TSemaphore/dist/effect-TSemaphore.cjs.dev.js +283 -127
  248. package/TSemaphore/dist/effect-TSemaphore.cjs.prod.js +283 -127
  249. package/TSet/dist/effect-TSet.cjs.dev.js +515 -147
  250. package/TSet/dist/effect-TSet.cjs.prod.js +515 -147
  251. package/Take/dist/effect-Take.cjs.dev.js +296 -112
  252. package/Take/dist/effect-Take.cjs.prod.js +296 -112
  253. package/TestAnnotation/dist/effect-TestAnnotation.cjs.dev.js +132 -33
  254. package/TestAnnotation/dist/effect-TestAnnotation.cjs.prod.js +132 -33
  255. package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.dev.js +106 -11
  256. package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.prod.js +106 -11
  257. package/TestAnnotations/dist/effect-TestAnnotations.cjs.dev.js +128 -62
  258. package/TestAnnotations/dist/effect-TestAnnotations.cjs.prod.js +128 -62
  259. package/TestClock/dist/effect-TestClock.cjs.dev.js +624 -102
  260. package/TestClock/dist/effect-TestClock.cjs.prod.js +624 -102
  261. package/TestConfig/dist/effect-TestConfig.cjs.dev.js +41 -20
  262. package/TestConfig/dist/effect-TestConfig.cjs.prod.js +41 -20
  263. package/TestContext/dist/effect-TestContext.cjs.dev.js +118 -99
  264. package/TestContext/dist/effect-TestContext.cjs.prod.js +118 -99
  265. package/TestLive/dist/effect-TestLive.cjs.dev.js +86 -46
  266. package/TestLive/dist/effect-TestLive.cjs.prod.js +86 -46
  267. package/TestServices/dist/effect-TestServices.cjs.dev.js +381 -130
  268. package/TestServices/dist/effect-TestServices.cjs.prod.js +381 -130
  269. package/TestSized/dist/effect-TestSized.cjs.dev.js +78 -35
  270. package/TestSized/dist/effect-TestSized.cjs.prod.js +78 -35
  271. package/Tracer/dist/effect-Tracer.cjs.dev.js +108 -47
  272. package/Tracer/dist/effect-Tracer.cjs.prod.js +108 -47
  273. package/Tuple/dist/effect-Tuple.cjs.dev.js +182 -17
  274. package/Tuple/dist/effect-Tuple.cjs.prod.js +182 -17
  275. package/Unify/dist/effect-Unify.cjs.dev.js +37 -3
  276. package/Unify/dist/effect-Unify.cjs.prod.js +37 -3
  277. package/Utils/dist/effect-Utils.cjs.dev.js +354 -9
  278. package/Utils/dist/effect-Utils.cjs.prod.js +354 -9
  279. package/dist/{Context-f958cabc.cjs.prod.js → Context-01a123ac.cjs.prod.js} +8 -8
  280. package/dist/{Context-96739709.cjs.dev.js → Context-593661f6.cjs.dev.js} +8 -8
  281. package/dist/{Effectable-a6403e5f.cjs.dev.js → Effectable-2f022879.cjs.dev.js} +4 -4
  282. package/dist/{Effectable-f867d1cb.cjs.prod.js → Effectable-cd8f3a96.cjs.prod.js} +4 -4
  283. package/dist/{Either-9c349424.cjs.dev.js → Either-12bbe00c.cjs.dev.js} +5 -5
  284. package/dist/{Either-d03d5f05.cjs.prod.js → Either-7a881c7a.cjs.prod.js} +5 -5
  285. package/dist/{ExecutionStrategy-89fbe735.cjs.dev.js → ExecutionStrategy-14d3053a.cjs.prod.js} +1 -13
  286. package/dist/{ExecutionStrategy-dc778180.cjs.prod.js → ExecutionStrategy-70f1a920.cjs.dev.js} +1 -13
  287. package/dist/{FiberId-929dcce4.cjs.dev.js → FiberId-557db880.cjs.dev.js} +8 -30
  288. package/dist/{FiberId-b79e8047.cjs.prod.js → FiberId-e594f6e8.cjs.prod.js} +8 -30
  289. package/dist/{HashSet-ece2cfe8.cjs.dev.js → HashSet-0b4ff1e4.cjs.dev.js} +7 -7
  290. package/dist/{HashSet-6fe62df2.cjs.prod.js → HashSet-6257b66d.cjs.prod.js} +7 -7
  291. package/dist/{Ref-af783b72.cjs.dev.js → Ref-74b592a4.cjs.dev.js} +5 -25
  292. package/dist/{Ref-30e5ee58.cjs.prod.js → Ref-a3a4e50d.cjs.prod.js} +5 -25
  293. package/dist/{RuntimeFlagsPatch-130e990c.cjs.dev.js → RuntimeFlagsPatch-e2769b87.cjs.prod.js} +2 -24
  294. package/dist/{RuntimeFlagsPatch-5570758d.cjs.prod.js → RuntimeFlagsPatch-ea268c50.cjs.dev.js} +2 -24
  295. package/dist/{StreamHaltStrategy-66a53f66.cjs.dev.js → StreamHaltStrategy-9a61b88d.cjs.dev.js} +1 -16
  296. package/dist/{StreamHaltStrategy-07f544a6.cjs.prod.js → StreamHaltStrategy-b495622b.cjs.prod.js} +1 -16
  297. package/dist/{boundaries-03c7494a.cjs.dev.js → boundaries-20cfad9d.cjs.prod.js} +6 -6
  298. package/dist/{boundaries-5d1a46e1.cjs.prod.js → boundaries-3810d885.cjs.dev.js} +6 -6
  299. package/dist/{cache-ab7bbfbd.cjs.prod.js → cache-3a55a13a.cjs.prod.js} +21 -21
  300. package/dist/{cache-6cdc31f7.cjs.dev.js → cache-83d14f6e.cjs.dev.js} +21 -21
  301. package/dist/{childExecutorDecision-2b30946c.cjs.prod.js → childExecutorDecision-2eed6e25.cjs.dev.js} +1 -1
  302. package/dist/{childExecutorDecision-ad3db696.cjs.dev.js → childExecutorDecision-b5842db5.cjs.prod.js} +1 -1
  303. package/dist/{circular-81e1906f.cjs.dev.js → circular-2162b720.cjs.dev.js} +7 -7
  304. package/dist/{circular-4cb0b79d.cjs.dev.js → circular-a4887ee9.cjs.dev.js} +19 -19
  305. package/dist/{circular-6a5291c3.cjs.prod.js → circular-c3ce70f4.cjs.prod.js} +7 -7
  306. package/dist/{circular-5b3558d9.cjs.prod.js → circular-f72fcb1d.cjs.prod.js} +19 -19
  307. package/dist/{config-10f2a1d1.cjs.dev.js → config-80900693.cjs.dev.js} +10 -10
  308. package/dist/{config-78feb1ac.cjs.prod.js → config-d0ddc159.cjs.prod.js} +10 -10
  309. package/dist/{configError-6a3652f8.cjs.prod.js → configError-240e9b61.cjs.dev.js} +3 -3
  310. package/dist/{configError-1686533e.cjs.dev.js → configError-33e55472.cjs.prod.js} +3 -3
  311. package/dist/{configProvider-2b177eac.cjs.prod.js → configProvider-93617d6d.cjs.prod.js} +13 -13
  312. package/dist/{configProvider-e2eb112d.cjs.dev.js → configProvider-ce43fdbf.cjs.dev.js} +13 -13
  313. package/dist/{configSecret-ecb6c5b3.cjs.prod.js → configSecret-d1caca55.cjs.prod.js} +4 -4
  314. package/dist/{configSecret-5812fa69.cjs.dev.js → configSecret-e34c1b14.cjs.dev.js} +4 -4
  315. package/dist/{core-c2eb171a.cjs.prod.js → core-0b0539de.cjs.prod.js} +24 -24
  316. package/dist/{core-bce61cfc.cjs.prod.js → core-8ff5a82c.cjs.prod.js} +14 -14
  317. package/dist/{core-898decb7.cjs.dev.js → core-b2dfee8d.cjs.dev.js} +14 -14
  318. package/dist/{core-ac668be0.cjs.dev.js → core-b4d7b4f5.cjs.dev.js} +24 -24
  319. package/dist/{core-effect-a9b8ee08.cjs.dev.js → core-effect-892f3686.cjs.dev.js} +23 -23
  320. package/dist/{core-effect-bf806dd9.cjs.prod.js → core-effect-c65770cd.cjs.prod.js} +23 -23
  321. package/dist/{dataSource-31698050.cjs.dev.js → dataSource-5227437c.cjs.dev.js} +7 -7
  322. package/dist/{dataSource-77d1e579.cjs.prod.js → dataSource-837686e6.cjs.prod.js} +7 -7
  323. package/dist/declarations/src/Data.d.ts +2 -2
  324. package/dist/declarations/src/Error.d.ts +1 -1
  325. package/dist/declarations/src/Error.d.ts.map +1 -1
  326. package/dist/declarations/src/index.d.ts.map +1 -1
  327. package/dist/{defaultServices-60c753dc.cjs.dev.js → defaultServices-086b8ac9.cjs.prod.js} +13 -13
  328. package/dist/{defaultServices-4112c0c9.cjs.prod.js → defaultServices-5530ff0e.cjs.dev.js} +13 -13
  329. package/dist/effect.cjs.dev.js +466 -344
  330. package/dist/effect.cjs.prod.js +466 -344
  331. package/dist/effect.esm.js +283 -283
  332. package/dist/{fiber-da1a207c.cjs.dev.js → fiber-1bfb4c1d.cjs.dev.js} +14 -14
  333. package/dist/{fiber-90ffaf8c.cjs.prod.js → fiber-2eb0a4c1.cjs.prod.js} +14 -14
  334. package/dist/{fiberRefs-64c35250.cjs.prod.js → fiberRefs-be4fae6a.cjs.dev.js} +7 -7
  335. package/dist/{fiberRefs-a7e00f7e.cjs.dev.js → fiberRefs-be6b6a70.cjs.prod.js} +7 -7
  336. package/dist/{fiberRuntime-1c369a47.cjs.prod.js → fiberRuntime-af2d0ca1.cjs.prod.js} +47 -47
  337. package/dist/{fiberRuntime-e9680313.cjs.dev.js → fiberRuntime-e0db0ab6.cjs.dev.js} +47 -47
  338. package/dist/{groupBy-aa608972.cjs.prod.js → groupBy-7ce46ea3.cjs.prod.js} +14 -14
  339. package/dist/{groupBy-fa001ed8.cjs.dev.js → groupBy-bd943372.cjs.dev.js} +14 -14
  340. package/dist/{hook-822704ea.cjs.dev.js → hook-470b717e.cjs.prod.js} +9 -9
  341. package/dist/{hook-6c7550dc.cjs.prod.js → hook-e72b20fd.cjs.dev.js} +9 -9
  342. package/dist/{key-330b98b1.cjs.prod.js → key-378a6a2c.cjs.prod.js} +8 -8
  343. package/dist/{key-a474fc0d.cjs.dev.js → key-f0a1408a.cjs.dev.js} +8 -8
  344. package/dist/{keyType-1e916ae2.cjs.dev.js → keyType-55f27f07.cjs.dev.js} +5 -5
  345. package/dist/{keyType-8460e792.cjs.prod.js → keyType-cf67c69c.cjs.prod.js} +5 -5
  346. package/dist/{label-3e143765.cjs.prod.js → label-011edbe7.cjs.dev.js} +4 -4
  347. package/dist/{label-246fb11d.cjs.dev.js → label-655343b5.cjs.prod.js} +4 -4
  348. package/dist/{layer-6f71c525.cjs.prod.js → layer-3b1b0e2e.cjs.prod.js} +19 -19
  349. package/dist/{layer-7991a9d1.cjs.dev.js → layer-9cbb61ce.cjs.dev.js} +19 -19
  350. package/dist/{mergeDecision-e483c280.cjs.prod.js → mergeDecision-07c6b5c9.cjs.prod.js} +1 -1
  351. package/dist/{mergeDecision-e457a76b.cjs.dev.js → mergeDecision-be41e797.cjs.dev.js} +1 -1
  352. package/dist/{mergeState-dba66248.cjs.prod.js → mergeState-75990fa2.cjs.prod.js} +1 -1
  353. package/dist/{mergeState-83204f38.cjs.dev.js → mergeState-8153ce39.cjs.dev.js} +1 -1
  354. package/dist/{mergeStrategy-845a1279.cjs.prod.js → mergeStrategy-3dd6e55f.cjs.prod.js} +1 -1
  355. package/dist/{mergeStrategy-b19dc19a.cjs.dev.js → mergeStrategy-81ea5b80.cjs.dev.js} +1 -1
  356. package/dist/{pair-e5443c93.cjs.prod.js → pair-291b78d7.cjs.dev.js} +1 -1
  357. package/dist/{pair-08a8685e.cjs.dev.js → pair-6254cf85.cjs.prod.js} +1 -1
  358. package/dist/{patch-4671ab7f.cjs.dev.js → patch-a1b2802f.cjs.dev.js} +4 -4
  359. package/dist/{patch-f27e9f08.cjs.prod.js → patch-c4d6c61e.cjs.prod.js} +4 -4
  360. package/dist/{pathPatch-e46d4168.cjs.dev.js → pathPatch-15c8d723.cjs.prod.js} +6 -6
  361. package/dist/{pathPatch-ded405f6.cjs.prod.js → pathPatch-d9d41297.cjs.dev.js} +6 -6
  362. package/dist/{pool-3f16af61.cjs.dev.js → pool-29b03fb2.cjs.dev.js} +12 -12
  363. package/dist/{pool-59a31f55.cjs.prod.js → pool-b5c7d254.cjs.prod.js} +12 -12
  364. package/dist/{query-193d0a89.cjs.dev.js → query-67a7c448.cjs.dev.js} +6 -6
  365. package/dist/{query-fe4a82d6.cjs.prod.js → query-d5eefc43.cjs.prod.js} +6 -6
  366. package/dist/{queue-b81aee38.cjs.prod.js → queue-38614769.cjs.prod.js} +9 -9
  367. package/dist/{queue-04ae7ec7.cjs.dev.js → queue-997d6e51.cjs.dev.js} +9 -9
  368. package/dist/{registry-29905dcc.cjs.prod.js → registry-013ecdde.cjs.prod.js} +7 -7
  369. package/dist/{registry-c883cf52.cjs.dev.js → registry-1099de3f.cjs.dev.js} +7 -7
  370. package/dist/{runtime-3ae98f19.cjs.dev.js → runtime-15cc9cc5.cjs.dev.js} +18 -16
  371. package/dist/{runtime-8c3f1bd3.cjs.prod.js → runtime-3a59f5c4.cjs.prod.js} +18 -16
  372. package/dist/{schedule-7e30db2d.cjs.prod.js → schedule-1d92198c.cjs.prod.js} +22 -22
  373. package/dist/{schedule-479d8fcc.cjs.dev.js → schedule-e0f55cab.cjs.dev.js} +22 -22
  374. package/dist/{scopedRef-16d9d192.cjs.dev.js → scopedRef-88ae648a.cjs.dev.js} +9 -9
  375. package/dist/{scopedRef-40b5bb82.cjs.prod.js → scopedRef-a0257d92.cjs.prod.js} +9 -9
  376. package/dist/{singleProducerAsyncInput-24ccc472.cjs.prod.js → singleProducerAsyncInput-1c6cc8fb.cjs.prod.js} +13 -13
  377. package/dist/{singleProducerAsyncInput-18fc5896.cjs.dev.js → singleProducerAsyncInput-998b8fac.cjs.dev.js} +13 -13
  378. package/dist/{sink-3a597454.cjs.dev.js → sink-1ac24bca.cjs.dev.js} +42 -42
  379. package/dist/{sink-1f4c02bb.cjs.prod.js → sink-4d668efb.cjs.prod.js} +42 -42
  380. package/dist/{state-0d29362f.cjs.prod.js → state-8fbec044.cjs.dev.js} +4 -4
  381. package/dist/{state-8a8a647c.cjs.dev.js → state-dd1bd066.cjs.prod.js} +4 -4
  382. package/dist/{stm-789f4457.cjs.dev.js → stm-fbb398a5.cjs.dev.js} +13 -13
  383. package/dist/{stm-8e837f76.cjs.prod.js → stm-fcac86d5.cjs.prod.js} +13 -13
  384. package/dist/{stream-42bee6fa.cjs.dev.js → stream-adef675d.cjs.dev.js} +33 -33
  385. package/dist/{stream-71fa9ae8.cjs.prod.js → stream-e670e8fa.cjs.prod.js} +33 -33
  386. package/dist/{synchronizedRef-58a64ffe.cjs.dev.js → synchronizedRef-37e32854.cjs.dev.js} +3 -3
  387. package/dist/{synchronizedRef-6cfe9354.cjs.prod.js → synchronizedRef-b4cde4de.cjs.prod.js} +3 -3
  388. package/dist/{tArray-b96cf402.cjs.prod.js → tArray-239d37ad.cjs.dev.js} +7 -7
  389. package/dist/{tArray-56df545e.cjs.dev.js → tArray-70de8ec4.cjs.prod.js} +7 -7
  390. package/dist/{tMap-1103e942.cjs.dev.js → tMap-4b27665d.cjs.dev.js} +12 -12
  391. package/dist/{tMap-3ed5a386.cjs.prod.js → tMap-a202396b.cjs.prod.js} +12 -12
  392. package/dist/{tQueue-4d90a114.cjs.dev.js → tQueue-004a478e.cjs.dev.js} +8 -8
  393. package/dist/{tQueue-9c69c6b3.cjs.prod.js → tQueue-82c4db95.cjs.prod.js} +8 -8
  394. package/dist/{tRef-5c469ca5.cjs.dev.js → tRef-bb7cc73a.cjs.dev.js} +3 -3
  395. package/dist/{tRef-68a9114f.cjs.prod.js → tRef-ee2c7f44.cjs.prod.js} +3 -3
  396. package/dist/{take-85954a45.cjs.prod.js → take-4857b6af.cjs.dev.js} +7 -7
  397. package/dist/{take-84a0722c.cjs.dev.js → take-9c555b46.cjs.prod.js} +7 -7
  398. package/dist/{timeout-2a62e4b5.cjs.prod.js → timeout-489f3f86.cjs.prod.js} +2 -2
  399. package/dist/{timeout-0245c158.cjs.dev.js → timeout-d380d3f8.cjs.dev.js} +2 -2
  400. package/dist/{upstreamPullRequest-705e868d.cjs.prod.js → upstreamPullRequest-7a694281.cjs.dev.js} +1 -1
  401. package/dist/{upstreamPullRequest-c08f06a4.cjs.dev.js → upstreamPullRequest-c89f818d.cjs.prod.js} +1 -1
  402. package/dist/{upstreamPullStrategy-34452db1.cjs.prod.js → upstreamPullStrategy-63cc8967.cjs.prod.js} +1 -1
  403. package/dist/{upstreamPullStrategy-0ccf2960.cjs.dev.js → upstreamPullStrategy-f9f1ab57.cjs.dev.js} +1 -1
  404. package/internal/core.esm.js +5 -5
  405. package/internal/defaultServices/console.esm.js +1 -1
  406. package/internal/defaultServices.esm.js +2 -1
  407. package/internal/fiberRuntime.esm.js +7 -7
  408. package/internal/logger.esm.js +3 -3
  409. package/internal/runtime.esm.js +2 -0
  410. package/internal/supervisor.esm.js +2 -1
  411. package/internal/timeout.esm.js +2 -2
  412. package/package.json +3 -2
  413. package/dist/Bigint-0ebd807c.cjs.dev.js +0 -392
  414. package/dist/Bigint-912c77f3.cjs.prod.js +0 -392
  415. package/dist/Boolean-97839b78.cjs.prod.js +0 -264
  416. package/dist/Boolean-f0bc3abf.cjs.dev.js +0 -264
  417. package/dist/Brand-93578f43.cjs.prod.js +0 -224
  418. package/dist/Brand-b238487d.cjs.dev.js +0 -224
  419. package/dist/Cache-1688e584.cjs.dev.js +0 -127
  420. package/dist/Cache-8f2f2b55.cjs.prod.js +0 -127
  421. package/dist/Cause-384e2165.cjs.prod.js +0 -791
  422. package/dist/Cause-96c29074.cjs.dev.js +0 -791
  423. package/dist/Channel-0701d2dd.cjs.dev.js +0 -1217
  424. package/dist/Channel-7aed463e.cjs.prod.js +0 -1217
  425. package/dist/ChannelChildExecutorDecision-168278f6.cjs.prod.js +0 -136
  426. package/dist/ChannelChildExecutorDecision-b0e715de.cjs.dev.js +0 -136
  427. package/dist/ChannelMergeDecision-9c266aeb.cjs.prod.js +0 -78
  428. package/dist/ChannelMergeDecision-eeaf4779.cjs.dev.js +0 -78
  429. package/dist/ChannelMergeState-4366d090.cjs.prod.js +0 -125
  430. package/dist/ChannelMergeState-abce1d88.cjs.dev.js +0 -125
  431. package/dist/ChannelMergeStrategy-6193b8e0.cjs.prod.js +0 -104
  432. package/dist/ChannelMergeStrategy-e7ddbb7a.cjs.dev.js +0 -104
  433. package/dist/ChannelSingleProducerAsyncInput-46c393db.cjs.dev.js +0 -55
  434. package/dist/ChannelSingleProducerAsyncInput-7eb9d2ae.cjs.prod.js +0 -55
  435. package/dist/ChannelUpstreamPullRequest-1ca7d2bd.cjs.dev.js +0 -104
  436. package/dist/ChannelUpstreamPullRequest-208751c3.cjs.prod.js +0 -104
  437. package/dist/ChannelUpstreamPullStrategy-266b5a77.cjs.prod.js +0 -103
  438. package/dist/ChannelUpstreamPullStrategy-ec57dc70.cjs.dev.js +0 -103
  439. package/dist/Chunk-6cf5a8e6.cjs.prod.js +0 -1248
  440. package/dist/Chunk-bd290b8e.cjs.dev.js +0 -1248
  441. package/dist/Clock-09ecce0a.cjs.prod.js +0 -97
  442. package/dist/Clock-bec722c1.cjs.dev.js +0 -97
  443. package/dist/Config-85ae6286.cjs.prod.js +0 -393
  444. package/dist/Config-dc58cf69.cjs.dev.js +0 -393
  445. package/dist/ConfigError-c1f762d2.cjs.dev.js +0 -225
  446. package/dist/ConfigError-cee682fa.cjs.prod.js +0 -225
  447. package/dist/ConfigProvider-8341a5f5.cjs.prod.js +0 -240
  448. package/dist/ConfigProvider-de45b085.cjs.dev.js +0 -240
  449. package/dist/ConfigProviderPathPatch-52422b32.cjs.prod.js +0 -86
  450. package/dist/ConfigProviderPathPatch-d22442e3.cjs.dev.js +0 -86
  451. package/dist/ConfigSecret-c76717e8.cjs.dev.js +0 -83
  452. package/dist/ConfigSecret-ebab2ae7.cjs.prod.js +0 -83
  453. package/dist/Console-63eebbd5.cjs.prod.js +0 -271
  454. package/dist/Console-a1c2c16f.cjs.dev.js +0 -271
  455. package/dist/Context-25a49952.cjs.prod.js +0 -327
  456. package/dist/Context-3c9e986b.cjs.dev.js +0 -327
  457. package/dist/Data-07dc27f1.cjs.prod.js +0 -237
  458. package/dist/Data-85559fb3.cjs.dev.js +0 -237
  459. package/dist/DefaultServices-d5740d37.cjs.dev.js +0 -34
  460. package/dist/DefaultServices-df7495bb.cjs.prod.js +0 -34
  461. package/dist/Deferred-5d5c886c.cjs.dev.js +0 -253
  462. package/dist/Deferred-9d825b3b.cjs.prod.js +0 -253
  463. package/dist/Differ-0122f60e.cjs.dev.js +0 -992
  464. package/dist/Differ-0bd34066.cjs.prod.js +0 -992
  465. package/dist/Duration-0bc08d03.cjs.prod.js +0 -508
  466. package/dist/Duration-604874d1.cjs.dev.js +0 -508
  467. package/dist/Effect-4de56bb2.cjs.prod.js +0 -3740
  468. package/dist/Effect-cf226187.cjs.dev.js +0 -3740
  469. package/dist/Effectable-04f3cd30.cjs.dev.js +0 -99
  470. package/dist/Effectable-8997112d.cjs.prod.js +0 -99
  471. package/dist/Either-3fab3796.cjs.prod.js +0 -502
  472. package/dist/Either-a806809d.cjs.dev.js +0 -502
  473. package/dist/Encoding-0cab52d5.cjs.prod.js +0 -309
  474. package/dist/Encoding-d993b1b0.cjs.dev.js +0 -309
  475. package/dist/Equal-281b6ca8.cjs.dev.js +0 -71
  476. package/dist/Equal-ce9977a8.cjs.prod.js +0 -71
  477. package/dist/Equivalence-0bc84518.cjs.prod.js +0 -238
  478. package/dist/Equivalence-de7a0d51.cjs.dev.js +0 -238
  479. package/dist/Error-05f55a51.cjs.prod.js +0 -57
  480. package/dist/Error-469a9429.cjs.dev.js +0 -57
  481. package/dist/Exit-5691142c.cjs.prod.js +0 -408
  482. package/dist/Exit-a23874e1.cjs.dev.js +0 -408
  483. package/dist/Fiber-6432d5f7.cjs.dev.js +0 -521
  484. package/dist/Fiber-e61b3c65.cjs.prod.js +0 -521
  485. package/dist/FiberRef-1db44a9b.cjs.dev.js +0 -385
  486. package/dist/FiberRef-efb4a3ac.cjs.prod.js +0 -385
  487. package/dist/FiberRefs-43bfd8b9.cjs.dev.js +0 -135
  488. package/dist/FiberRefs-4cb171f7.cjs.prod.js +0 -135
  489. package/dist/FiberRefsPatch-5236f61e.cjs.dev.js +0 -90
  490. package/dist/FiberRefsPatch-cb847553.cjs.prod.js +0 -90
  491. package/dist/FiberStatus-b82dad24.cjs.prod.js +0 -197
  492. package/dist/FiberStatus-bac7d58d.cjs.dev.js +0 -197
  493. package/dist/Function-2e6b0cda.cjs.prod.js +0 -538
  494. package/dist/Function-41ce433d.cjs.dev.js +0 -538
  495. package/dist/GlobalValue-81ab6908.cjs.dev.js +0 -28
  496. package/dist/GlobalValue-cb645c99.cjs.prod.js +0 -28
  497. package/dist/GroupBy-2d7ec675.cjs.dev.js +0 -79
  498. package/dist/GroupBy-cf6e72eb.cjs.prod.js +0 -79
  499. package/dist/HKT-2cc79e63.cjs.dev.js +0 -7
  500. package/dist/HKT-d682535d.cjs.prod.js +0 -7
  501. package/dist/Hash-1bd73210.cjs.prod.js +0 -192
  502. package/dist/Hash-bd154268.cjs.dev.js +0 -192
  503. package/dist/HashMap-12668911.cjs.prod.js +0 -361
  504. package/dist/HashMap-68e290b6.cjs.dev.js +0 -361
  505. package/dist/HashSet-6978c08e.cjs.dev.js +0 -283
  506. package/dist/HashSet-c40a52b1.cjs.prod.js +0 -283
  507. package/dist/Hub-6e64debd.cjs.prod.js +0 -1280
  508. package/dist/Hub-74834668.cjs.dev.js +0 -1280
  509. package/dist/Inspectable-3c4a0f5d.cjs.prod.js +0 -50
  510. package/dist/Inspectable-ac929af4.cjs.dev.js +0 -50
  511. package/dist/KeyedPool-b05481e9.cjs.dev.js +0 -282
  512. package/dist/KeyedPool-cd8abf95.cjs.prod.js +0 -282
  513. package/dist/Layer-b05441ff.cjs.dev.js +0 -688
  514. package/dist/Layer-b1461d01.cjs.prod.js +0 -688
  515. package/dist/List-c6ea7efe.cjs.dev.js +0 -912
  516. package/dist/List-d9775087.cjs.prod.js +0 -912
  517. package/dist/LogLevel-99f64f82.cjs.dev.js +0 -240
  518. package/dist/LogLevel-e9848e15.cjs.prod.js +0 -240
  519. package/dist/LogSpan-c905a192.cjs.prod.js +0 -46
  520. package/dist/LogSpan-e345ba58.cjs.dev.js +0 -46
  521. package/dist/Logger-72da8fab.cjs.dev.js +0 -275
  522. package/dist/Logger-ea8c75a9.cjs.prod.js +0 -275
  523. package/dist/Metric-09d012ff.cjs.dev.js +0 -488
  524. package/dist/Metric-b7563a68.cjs.prod.js +0 -488
  525. package/dist/MetricBoundaries-cf5df220.cjs.prod.js +0 -68
  526. package/dist/MetricBoundaries-f5f5aae1.cjs.dev.js +0 -68
  527. package/dist/MetricHook-3104e93b.cjs.dev.js +0 -90
  528. package/dist/MetricHook-efd05d72.cjs.prod.js +0 -90
  529. package/dist/MetricKey-9cfcaec8.cjs.prod.js +0 -130
  530. package/dist/MetricKey-c3ba437e.cjs.dev.js +0 -130
  531. package/dist/MetricKeyType-6d2d9036.cjs.prod.js +0 -187
  532. package/dist/MetricKeyType-c1d7ebe8.cjs.dev.js +0 -187
  533. package/dist/MetricLabel-6a1886c6.cjs.dev.js +0 -53
  534. package/dist/MetricLabel-7e1d569e.cjs.prod.js +0 -53
  535. package/dist/MetricPair-658ab13d.cjs.dev.js +0 -50
  536. package/dist/MetricPair-aec13967.cjs.prod.js +0 -50
  537. package/dist/MetricPolling-5af0ff67.cjs.dev.js +0 -177
  538. package/dist/MetricPolling-a0a4e798.cjs.prod.js +0 -177
  539. package/dist/MetricRegistry-e4af936b.cjs.dev.js +0 -38
  540. package/dist/MetricRegistry-ff6df283.cjs.prod.js +0 -38
  541. package/dist/MetricState-b65340a4.cjs.dev.js +0 -191
  542. package/dist/MetricState-bd6a5001.cjs.prod.js +0 -191
  543. package/dist/MutableHashMap-74e83e84.cjs.dev.js +0 -154
  544. package/dist/MutableHashMap-95493edb.cjs.prod.js +0 -154
  545. package/dist/MutableHashSet-780dfd63.cjs.prod.js +0 -110
  546. package/dist/MutableHashSet-ec8d7cc4.cjs.dev.js +0 -110
  547. package/dist/MutableList-58124ef2.cjs.dev.js +0 -296
  548. package/dist/MutableList-732af09a.cjs.prod.js +0 -296
  549. package/dist/MutableQueue-0e9f2466.cjs.dev.js +0 -215
  550. package/dist/MutableQueue-f8aba856.cjs.prod.js +0 -215
  551. package/dist/MutableRef-4a2f1f23.cjs.prod.js +0 -194
  552. package/dist/MutableRef-724c4082.cjs.dev.js +0 -194
  553. package/dist/NonEmptyIterable-418cef14.cjs.prod.js +0 -36
  554. package/dist/NonEmptyIterable-bb452f41.cjs.dev.js +0 -36
  555. package/dist/Number-588f6483.cjs.dev.js +0 -417
  556. package/dist/Number-cb2ba2e8.cjs.prod.js +0 -417
  557. package/dist/Option-02025c86.cjs.prod.js +0 -1198
  558. package/dist/Option-03997d77.cjs.dev.js +0 -1198
  559. package/dist/Order-28bdebd2.cjs.dev.js +0 -321
  560. package/dist/Order-8a112bfb.cjs.prod.js +0 -321
  561. package/dist/Ordering-60bf9127.cjs.prod.js +0 -104
  562. package/dist/Ordering-b955b746.cjs.dev.js +0 -104
  563. package/dist/Pipeable-4698db72.cjs.dev.js +0 -52
  564. package/dist/Pipeable-d3ec6711.cjs.prod.js +0 -52
  565. package/dist/Pool-54389592.cjs.prod.js +0 -122
  566. package/dist/Pool-fe1b506a.cjs.dev.js +0 -122
  567. package/dist/Predicate-9e859c9c.cjs.dev.js +0 -718
  568. package/dist/Predicate-daa86e61.cjs.prod.js +0 -718
  569. package/dist/Queue-5f954287.cjs.prod.js +0 -394
  570. package/dist/Queue-8d082fe4.cjs.dev.js +0 -394
  571. package/dist/Random-35304046.cjs.dev.js +0 -104
  572. package/dist/Random-b4709b6a.cjs.prod.js +0 -104
  573. package/dist/ReadonlyArray-48949ee7.cjs.dev.js +0 -1721
  574. package/dist/ReadonlyArray-8157f697.cjs.prod.js +0 -1721
  575. package/dist/ReadonlyRecord-605a625b.cjs.dev.js +0 -568
  576. package/dist/ReadonlyRecord-8db8bada.cjs.prod.js +0 -568
  577. package/dist/RedBlackTree-e6bd147c.cjs.dev.js +0 -1669
  578. package/dist/RedBlackTree-eb41ea8a.cjs.prod.js +0 -1669
  579. package/dist/Reloadable-97b2e406.cjs.dev.js +0 -169
  580. package/dist/Reloadable-d1cd2c7d.cjs.prod.js +0 -169
  581. package/dist/Request-53592fe4.cjs.prod.js +0 -190
  582. package/dist/Request-d3b63af6.cjs.dev.js +0 -190
  583. package/dist/RequestBlock-5062df49.cjs.dev.js +0 -124
  584. package/dist/RequestBlock-8552671f.cjs.prod.js +0 -124
  585. package/dist/RequestResolver-3a24e033.cjs.prod.js +0 -233
  586. package/dist/RequestResolver-7fcb89fb.cjs.dev.js +0 -233
  587. package/dist/Resource-2530fe45.cjs.prod.js +0 -118
  588. package/dist/Resource-e50b4b25.cjs.dev.js +0 -118
  589. package/dist/Runtime-0d643f0c.cjs.prod.js +0 -191
  590. package/dist/Runtime-c4b887ff.cjs.dev.js +0 -191
  591. package/dist/RuntimeFlags-128b287a.cjs.dev.js +0 -381
  592. package/dist/RuntimeFlags-f50d0c72.cjs.prod.js +0 -381
  593. package/dist/STM-243df414.cjs.prod.js +0 -1447
  594. package/dist/STM-2b6ea69d.cjs.dev.js +0 -1447
  595. package/dist/Schedule-0444792d.cjs.prod.js +0 -1159
  596. package/dist/Schedule-b6c7b49a.cjs.dev.js +0 -1159
  597. package/dist/ScheduleDecision-369f2d2b.cjs.prod.js +0 -106
  598. package/dist/ScheduleDecision-ba8d0e87.cjs.dev.js +0 -106
  599. package/dist/ScheduleInterval-51f42533.cjs.dev.js +0 -244
  600. package/dist/ScheduleInterval-78037484.cjs.prod.js +0 -244
  601. package/dist/ScheduleIntervals-b0bfcf3b.cjs.dev.js +0 -265
  602. package/dist/ScheduleIntervals-db13140c.cjs.prod.js +0 -265
  603. package/dist/Scheduler-819ee02a.cjs.prod.js +0 -358
  604. package/dist/Scheduler-d080442d.cjs.dev.js +0 -358
  605. package/dist/Scope-311c7eb9.cjs.prod.js +0 -143
  606. package/dist/Scope-6ba9ec6d.cjs.dev.js +0 -143
  607. package/dist/ScopedCache-3f58b125.cjs.dev.js +0 -467
  608. package/dist/ScopedCache-8f99505c.cjs.prod.js +0 -467
  609. package/dist/ScopedRef-7946d287.cjs.prod.js +0 -87
  610. package/dist/ScopedRef-b92e1633.cjs.dev.js +0 -87
  611. package/dist/Sink-175252a1.cjs.dev.js +0 -1215
  612. package/dist/Sink-85c6820f.cjs.prod.js +0 -1215
  613. package/dist/SortedMap-bb3311c3.cjs.prod.js +0 -210
  614. package/dist/SortedMap-f452cc44.cjs.dev.js +0 -210
  615. package/dist/SortedSet-424670fe.cjs.prod.js +0 -311
  616. package/dist/SortedSet-f90b14a2.cjs.dev.js +0 -311
  617. package/dist/Stream-31c121b4.cjs.prod.js +0 -3469
  618. package/dist/Stream-f833c9da.cjs.dev.js +0 -3469
  619. package/dist/StreamEmit-a10e1de5.cjs.prod.js +0 -7
  620. package/dist/StreamEmit-ec1da471.cjs.dev.js +0 -7
  621. package/dist/String-23b18ca9.cjs.prod.js +0 -694
  622. package/dist/String-830aaa3e.cjs.dev.js +0 -694
  623. package/dist/Struct-14648d76.cjs.dev.js +0 -141
  624. package/dist/Struct-c6b00f29.cjs.prod.js +0 -141
  625. package/dist/SubscriptionRef-10afb90a.cjs.prod.js +0 -269
  626. package/dist/SubscriptionRef-8870f37c.cjs.dev.js +0 -269
  627. package/dist/Supervisor-0b397027.cjs.dev.js +0 -170
  628. package/dist/Supervisor-18f2ef4e.cjs.prod.js +0 -170
  629. package/dist/Symbol-55d0b3d8.cjs.prod.js +0 -40
  630. package/dist/Symbol-5d74a5f2.cjs.dev.js +0 -40
  631. package/dist/SynchronizedRef-3181eb0a.cjs.dev.js +0 -212
  632. package/dist/SynchronizedRef-c6e0884b.cjs.prod.js +0 -212
  633. package/dist/TArray-13d02e45.cjs.prod.js +0 -455
  634. package/dist/TArray-d244048f.cjs.dev.js +0 -455
  635. package/dist/TDeferred-66f69724.cjs.prod.js +0 -129
  636. package/dist/TDeferred-6b7151e4.cjs.dev.js +0 -129
  637. package/dist/THub-4f3308b5.cjs.dev.js +0 -570
  638. package/dist/THub-70471c3e.cjs.prod.js +0 -570
  639. package/dist/TMap-6ec29b88.cjs.prod.js +0 -463
  640. package/dist/TMap-d28007c5.cjs.dev.js +0 -463
  641. package/dist/TPriorityQueue-76d9fb5a.cjs.prod.js +0 -381
  642. package/dist/TPriorityQueue-b2370942.cjs.dev.js +0 -381
  643. package/dist/TQueue-d66ff462.cjs.dev.js +0 -353
  644. package/dist/TQueue-defe6f54.cjs.prod.js +0 -353
  645. package/dist/TRandom-2d293b98.cjs.prod.js +0 -203
  646. package/dist/TRandom-f6a907b8.cjs.dev.js +0 -203
  647. package/dist/TReentrantLock-81ebe2df.cjs.prod.js +0 -456
  648. package/dist/TReentrantLock-eed7de13.cjs.dev.js +0 -456
  649. package/dist/TRef-ad753da1.cjs.dev.js +0 -152
  650. package/dist/TRef-f8453998.cjs.prod.js +0 -152
  651. package/dist/TSemaphore-26326b8a.cjs.dev.js +0 -197
  652. package/dist/TSemaphore-de7a42e6.cjs.prod.js +0 -197
  653. package/dist/TSet-eb8e6abb.cjs.prod.js +0 -444
  654. package/dist/TSet-f5f2a16b.cjs.dev.js +0 -444
  655. package/dist/Take-7eae9eb6.cjs.dev.js +0 -236
  656. package/dist/Take-bf728196.cjs.prod.js +0 -236
  657. package/dist/TestAnnotation-73be7a68.cjs.dev.js +0 -135
  658. package/dist/TestAnnotation-b9b93d03.cjs.prod.js +0 -135
  659. package/dist/TestAnnotationMap-80c87410.cjs.dev.js +0 -125
  660. package/dist/TestAnnotationMap-e946bab5.cjs.prod.js +0 -125
  661. package/dist/TestAnnotations-5db95828.cjs.prod.js +0 -97
  662. package/dist/TestAnnotations-733b39ef.cjs.dev.js +0 -97
  663. package/dist/TestClock-7b24411c.cjs.dev.js +0 -581
  664. package/dist/TestClock-93cdaabb.cjs.prod.js +0 -581
  665. package/dist/TestConfig-1a73e844.cjs.prod.js +0 -37
  666. package/dist/TestConfig-e5ffa946.cjs.dev.js +0 -37
  667. package/dist/TestContext-eeb935e5.cjs.dev.js +0 -41
  668. package/dist/TestContext-fe76c79a.cjs.prod.js +0 -41
  669. package/dist/TestLive-465ad3ef.cjs.dev.js +0 -60
  670. package/dist/TestLive-f3232ac4.cjs.prod.js +0 -60
  671. package/dist/TestServices-217f5abb.cjs.dev.js +0 -341
  672. package/dist/TestServices-3e29bef4.cjs.prod.js +0 -341
  673. package/dist/TestSized-6c1abc21.cjs.dev.js +0 -64
  674. package/dist/TestSized-a9a87d64.cjs.prod.js +0 -64
  675. package/dist/Tracer-d06d0b61.cjs.prod.js +0 -81
  676. package/dist/Tracer-da182c8c.cjs.dev.js +0 -81
  677. package/dist/Tuple-27ecf3a1.cjs.prod.js +0 -199
  678. package/dist/Tuple-75d2a389.cjs.dev.js +0 -199
  679. package/dist/Types-1280d3aa.cjs.dev.js +0 -7
  680. package/dist/Types-3a58df45.cjs.prod.js +0 -7
  681. package/dist/Unify-99be0499.cjs.dev.js +0 -48
  682. package/dist/Unify-e86fd412.cjs.prod.js +0 -48
  683. package/dist/Utils-864e1d48.cjs.prod.js +0 -370
  684. package/dist/Utils-b0c14d1b.cjs.dev.js +0 -370
@@ -2,416 +2,3490 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../dist/Context-25a49952.cjs.prod.js');
6
- require('../../dist/Function-2e6b0cda.cjs.prod.js');
7
- require('../../dist/defaultServices-4112c0c9.cjs.prod.js');
8
- require('../../dist/core-c2eb171a.cjs.prod.js');
9
- require('../../dist/core-effect-bf806dd9.cjs.prod.js');
10
- require('../../dist/circular-5b3558d9.cjs.prod.js');
11
- require('../../dist/fiberRuntime-1c369a47.cjs.prod.js');
12
- require('../../dist/layer-6f71c525.cjs.prod.js');
13
- require('../../dist/circular-6a5291c3.cjs.prod.js');
14
- require('../../dist/query-fe4a82d6.cjs.prod.js');
15
- require('../../dist/runtime-8c3f1bd3.cjs.prod.js');
16
- require('../../dist/schedule-7e30db2d.cjs.prod.js');
17
- require('../../dist/Scheduler-819ee02a.cjs.prod.js');
18
- var Effect_dist_effectEffect = require('../../dist/Effect-4de56bb2.cjs.prod.js');
19
- require('../../dist/Context-f958cabc.cjs.prod.js');
20
- require('../../dist/Equal-ce9977a8.cjs.prod.js');
21
- require('../../dist/Hash-1bd73210.cjs.prod.js');
22
- require('../../dist/GlobalValue-cb645c99.cjs.prod.js');
23
- require('../../dist/Utils-864e1d48.cjs.prod.js');
24
- require('../../dist/Predicate-daa86e61.cjs.prod.js');
25
- require('../../dist/Inspectable-3c4a0f5d.cjs.prod.js');
26
- require('../../dist/Option-02025c86.cjs.prod.js');
27
- require('../../dist/Equivalence-0bc84518.cjs.prod.js');
28
- require('../../dist/Either-d03d5f05.cjs.prod.js');
29
- require('../../dist/Effectable-f867d1cb.cjs.prod.js');
30
- require('../../dist/Data-07dc27f1.cjs.prod.js');
31
- require('../../dist/Pipeable-d3ec6711.cjs.prod.js');
32
- require('../../dist/Number-cb2ba2e8.cjs.prod.js');
33
- require('../../dist/Order-8a112bfb.cjs.prod.js');
34
- require('../../dist/Duration-0bc08d03.cjs.prod.js');
35
- require('../../dist/Either-3fab3796.cjs.prod.js');
36
- require('../../dist/timeout-2a62e4b5.cjs.prod.js');
37
- require('../../dist/configProvider-2b177eac.cjs.prod.js');
38
- require('../../dist/HashMap-12668911.cjs.prod.js');
39
- require('../../dist/HashSet-6fe62df2.cjs.prod.js');
5
+ var Context_dist_effectContext = require('../../Context/dist/effect-Context.cjs.prod.js');
6
+ var Function_dist_effectFunction = require('../../Function/dist/effect-Function.cjs.prod.js');
7
+ var defaultServices = require('../../dist/defaultServices-086b8ac9.cjs.prod.js');
8
+ var core = require('../../dist/core-0b0539de.cjs.prod.js');
9
+ var coreEffect = require('../../dist/core-effect-c65770cd.cjs.prod.js');
10
+ var circular = require('../../dist/circular-f72fcb1d.cjs.prod.js');
11
+ var fiberRuntime = require('../../dist/fiberRuntime-af2d0ca1.cjs.prod.js');
12
+ var layer = require('../../dist/layer-3b1b0e2e.cjs.prod.js');
13
+ var circular$1 = require('../../dist/circular-c3ce70f4.cjs.prod.js');
14
+ var query = require('../../dist/query-d5eefc43.cjs.prod.js');
15
+ var runtime$1 = require('../../dist/runtime-3a59f5c4.cjs.prod.js');
16
+ var schedule$1 = require('../../dist/schedule-1d92198c.cjs.prod.js');
17
+ var Scheduler_dist_effectScheduler = require('../../Scheduler/dist/effect-Scheduler.cjs.prod.js');
18
+ require('../../dist/Context-01a123ac.cjs.prod.js');
19
+ require('../../Equal/dist/effect-Equal.cjs.prod.js');
20
+ require('../../Hash/dist/effect-Hash.cjs.prod.js');
21
+ require('../../GlobalValue/dist/effect-GlobalValue.cjs.prod.js');
22
+ require('../../Utils/dist/effect-Utils.cjs.prod.js');
23
+ require('../../Predicate/dist/effect-Predicate.cjs.prod.js');
24
+ require('../../Inspectable/dist/effect-Inspectable.cjs.prod.js');
25
+ require('../../Option/dist/effect-Option.cjs.prod.js');
26
+ require('../../Equivalence/dist/effect-Equivalence.cjs.prod.js');
27
+ require('../../dist/Either-7a881c7a.cjs.prod.js');
28
+ require('../../dist/Effectable-cd8f3a96.cjs.prod.js');
29
+ require('../../Data/dist/effect-Data.cjs.prod.js');
30
+ require('../../Pipeable/dist/effect-Pipeable.cjs.prod.js');
31
+ require('../../Number/dist/effect-Number.cjs.prod.js');
32
+ require('../../Order/dist/effect-Order.cjs.prod.js');
33
+ require('../../Duration/dist/effect-Duration.cjs.prod.js');
34
+ require('../../Either/dist/effect-Either.cjs.prod.js');
35
+ require('../../dist/timeout-489f3f86.cjs.prod.js');
36
+ require('../../dist/configProvider-93617d6d.cjs.prod.js');
37
+ require('../../HashMap/dist/effect-HashMap.cjs.prod.js');
38
+ require('../../dist/HashSet-6257b66d.cjs.prod.js');
40
39
  require('../../dist/Stack-fc8f9fe5.cjs.prod.js');
41
- require('../../dist/HashSet-c40a52b1.cjs.prod.js');
42
- require('../../dist/config-78feb1ac.cjs.prod.js');
43
- require('../../dist/Chunk-6cf5a8e6.cjs.prod.js');
44
- require('../../dist/ReadonlyArray-8157f697.cjs.prod.js');
40
+ require('../../HashSet/dist/effect-HashSet.cjs.prod.js');
41
+ require('../../dist/config-d0ddc159.cjs.prod.js');
42
+ require('../../Chunk/dist/effect-Chunk.cjs.prod.js');
43
+ require('../../ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js');
45
44
  require('../../dist/ReadonlyArray-f9ed7a05.cjs.prod.js');
46
- require('../../dist/ReadonlyRecord-8db8bada.cjs.prod.js');
47
- require('../../dist/ConfigError-cee682fa.cjs.prod.js');
48
- require('../../dist/configError-6a3652f8.cjs.prod.js');
49
- require('../../dist/configSecret-ecb6c5b3.cjs.prod.js');
50
- require('../../dist/pathPatch-ded405f6.cjs.prod.js');
51
- require('../../dist/List-d9775087.cjs.prod.js');
52
- require('../../dist/MutableRef-4a2f1f23.cjs.prod.js');
53
- require('../../dist/Differ-0bd34066.cjs.prod.js');
54
- require('../../dist/FiberId-b79e8047.cjs.prod.js');
55
- require('../../dist/RuntimeFlagsPatch-5570758d.cjs.prod.js');
56
- require('../../dist/Clock-09ecce0a.cjs.prod.js');
57
- require('../../dist/FiberRefs-4cb171f7.cjs.prod.js');
58
- require('../../dist/fiberRefs-64c35250.cjs.prod.js');
59
- require('../../dist/patch-f27e9f08.cjs.prod.js');
60
- require('../../dist/label-3e143765.cjs.prod.js');
61
- require('../../dist/LogLevel-e9848e15.cjs.prod.js');
62
- require('../../dist/LogSpan-c905a192.cjs.prod.js');
63
- require('../../dist/Ref-30e5ee58.cjs.prod.js');
64
- require('../../dist/Tracer-d06d0b61.cjs.prod.js');
65
- require('../../dist/Exit-5691142c.cjs.prod.js');
66
- require('../../dist/ExecutionStrategy-dc778180.cjs.prod.js');
67
- require('../../dist/fiber-90ffaf8c.cjs.prod.js');
68
- require('../../dist/FiberStatus-b82dad24.cjs.prod.js');
69
- require('../../dist/MutableHashMap-95493edb.cjs.prod.js');
70
- require('../../dist/Boolean-97839b78.cjs.prod.js');
71
- require('../../dist/Deferred-9d825b3b.cjs.prod.js');
72
- require('../../dist/FiberRefsPatch-cb847553.cjs.prod.js');
73
- require('../../dist/boundaries-5d1a46e1.cjs.prod.js');
74
- require('../../dist/key-330b98b1.cjs.prod.js');
75
- require('../../dist/keyType-8460e792.cjs.prod.js');
76
- require('../../dist/registry-29905dcc.cjs.prod.js');
77
- require('../../dist/hook-6c7550dc.cjs.prod.js');
78
- require('../../dist/state-0d29362f.cjs.prod.js');
79
- require('../../dist/pair-e5443c93.cjs.prod.js');
80
- require('../../dist/SortedSet-424670fe.cjs.prod.js');
81
- require('../../dist/RedBlackTree-eb41ea8a.cjs.prod.js');
82
- require('../../dist/Cause-384e2165.cjs.prod.js');
83
- require('../../dist/synchronizedRef-6cfe9354.cjs.prod.js');
84
- require('../../dist/ScheduleDecision-369f2d2b.cjs.prod.js');
85
- require('../../dist/ScheduleIntervals-db13140c.cjs.prod.js');
86
- require('../../dist/ScheduleInterval-78037484.cjs.prod.js');
87
- require('../../dist/Scope-311c7eb9.cjs.prod.js');
88
- require('../../dist/Layer-b1461d01.cjs.prod.js');
89
- require('../../dist/cache-ab7bbfbd.cjs.prod.js');
90
- require('../../dist/MutableQueue-f8aba856.cjs.prod.js');
91
- require('../../dist/MutableList-732af09a.cjs.prod.js');
92
- require('../../dist/Fiber-e61b3c65.cjs.prod.js');
93
- require('../../dist/Random-b4709b6a.cjs.prod.js');
94
-
95
-
96
-
97
- exports.Do = Effect_dist_effectEffect.Do;
98
- exports.EffectTypeId = Effect_dist_effectEffect.EffectTypeId;
99
- exports.acquireRelease = Effect_dist_effectEffect.acquireRelease;
100
- exports.acquireReleaseInterruptible = Effect_dist_effectEffect.acquireReleaseInterruptible;
101
- exports.acquireUseRelease = Effect_dist_effectEffect.acquireUseRelease;
102
- exports.addFinalizer = Effect_dist_effectEffect.addFinalizer;
103
- exports.all = Effect_dist_effectEffect.all;
104
- exports.allSuccesses = Effect_dist_effectEffect.allSuccesses;
105
- exports.allWith = Effect_dist_effectEffect.allWith;
106
- exports.allowInterrupt = Effect_dist_effectEffect.allowInterrupt;
107
- exports.annotateCurrentSpan = Effect_dist_effectEffect.annotateCurrentSpan;
108
- exports.annotateLogs = Effect_dist_effectEffect.annotateLogs;
109
- exports.annotateSpans = Effect_dist_effectEffect.annotateSpans;
110
- exports.as = Effect_dist_effectEffect.as;
111
- exports.asSome = Effect_dist_effectEffect.asSome;
112
- exports.asSomeError = Effect_dist_effectEffect.asSomeError;
113
- exports.asUnit = Effect_dist_effectEffect.asUnit;
114
- exports.async = Effect_dist_effectEffect.async;
115
- exports.asyncEffect = Effect_dist_effectEffect.asyncEffect;
116
- exports.asyncEither = Effect_dist_effectEffect.asyncEither;
117
- exports.asyncOption = Effect_dist_effectEffect.asyncOption;
118
- exports.awaitAllChildren = Effect_dist_effectEffect.awaitAllChildren;
119
- exports.bind = Effect_dist_effectEffect.bind;
120
- exports.bindTo = Effect_dist_effectEffect.bindTo;
121
- exports.blocked = Effect_dist_effectEffect.blocked;
122
- exports.cacheRequestResult = Effect_dist_effectEffect.cacheRequestResult;
123
- exports.cached = Effect_dist_effectEffect.cached;
124
- exports.cachedFunction = Effect_dist_effectEffect.cachedFunction;
125
- exports.cachedInvalidateWithTTL = Effect_dist_effectEffect.cachedInvalidateWithTTL;
126
- exports.cachedWithTTL = Effect_dist_effectEffect.cachedWithTTL;
127
- exports["catch"] = Effect_dist_effectEffect._catch;
128
- exports.catchAll = Effect_dist_effectEffect.catchAll;
129
- exports.catchAllCause = Effect_dist_effectEffect.catchAllCause;
130
- exports.catchAllDefect = Effect_dist_effectEffect.catchAllDefect;
131
- exports.catchIf = Effect_dist_effectEffect.catchIf;
132
- exports.catchSome = Effect_dist_effectEffect.catchSome;
133
- exports.catchSomeCause = Effect_dist_effectEffect.catchSomeCause;
134
- exports.catchSomeDefect = Effect_dist_effectEffect.catchSomeDefect;
135
- exports.catchTag = Effect_dist_effectEffect.catchTag;
136
- exports.catchTags = Effect_dist_effectEffect.catchTags;
137
- exports.cause = Effect_dist_effectEffect.cause;
138
- exports.checkInterruptible = Effect_dist_effectEffect.checkInterruptible;
139
- exports.clock = Effect_dist_effectEffect.clock;
140
- exports.clockWith = Effect_dist_effectEffect.clockWith;
141
- exports.config = Effect_dist_effectEffect.config;
142
- exports.configProviderWith = Effect_dist_effectEffect.configProviderWith;
143
- exports.context = Effect_dist_effectEffect.context;
144
- exports.contextWith = Effect_dist_effectEffect.contextWith;
145
- exports.contextWithEffect = Effect_dist_effectEffect.contextWithEffect;
146
- exports.currentParentSpan = Effect_dist_effectEffect.currentParentSpan;
147
- exports.currentSpan = Effect_dist_effectEffect.currentSpan;
148
- exports.daemonChildren = Effect_dist_effectEffect.daemonChildren;
149
- exports.delay = Effect_dist_effectEffect.delay;
150
- exports.descriptor = Effect_dist_effectEffect.descriptor;
151
- exports.descriptorWith = Effect_dist_effectEffect.descriptorWith;
152
- exports.die = Effect_dist_effectEffect.die;
153
- exports.dieMessage = Effect_dist_effectEffect.dieMessage;
154
- exports.dieSync = Effect_dist_effectEffect.dieSync;
155
- exports.diffFiberRefs = Effect_dist_effectEffect.diffFiberRefs;
156
- exports.disconnect = Effect_dist_effectEffect.disconnect;
157
- exports.dropUntil = Effect_dist_effectEffect.dropUntil;
158
- exports.dropWhile = Effect_dist_effectEffect.dropWhile;
159
- exports.either = Effect_dist_effectEffect.either;
160
- exports.ensuring = Effect_dist_effectEffect.ensuring;
161
- exports.ensuringChild = Effect_dist_effectEffect.ensuringChild;
162
- exports.ensuringChildren = Effect_dist_effectEffect.ensuringChildren;
163
- exports.eventually = Effect_dist_effectEffect.eventually;
164
- exports.every = Effect_dist_effectEffect.every;
165
- exports.exists = Effect_dist_effectEffect.exists;
166
- exports.exit = Effect_dist_effectEffect.exit;
167
- exports.fail = Effect_dist_effectEffect.fail;
168
- exports.failCause = Effect_dist_effectEffect.failCause;
169
- exports.failCauseSync = Effect_dist_effectEffect.failCauseSync;
170
- exports.failSync = Effect_dist_effectEffect.failSync;
171
- exports.fiberId = Effect_dist_effectEffect.fiberId;
172
- exports.fiberIdWith = Effect_dist_effectEffect.fiberIdWith;
173
- exports.filter = Effect_dist_effectEffect.filter;
174
- exports.filterOrDie = Effect_dist_effectEffect.filterOrDie;
175
- exports.filterOrDieMessage = Effect_dist_effectEffect.filterOrDieMessage;
176
- exports.filterOrElse = Effect_dist_effectEffect.filterOrElse;
177
- exports.filterOrFail = Effect_dist_effectEffect.filterOrFail;
178
- exports.finalizersMask = Effect_dist_effectEffect.finalizersMask;
179
- exports.findFirst = Effect_dist_effectEffect.findFirst;
180
- exports.firstSuccessOf = Effect_dist_effectEffect.firstSuccessOf;
181
- exports.flatMap = Effect_dist_effectEffect.flatMap;
182
- exports.flatMapStep = Effect_dist_effectEffect.flatMapStep;
183
- exports.flatten = Effect_dist_effectEffect.flatten;
184
- exports.flip = Effect_dist_effectEffect.flip;
185
- exports.flipWith = Effect_dist_effectEffect.flipWith;
186
- exports.forEach = Effect_dist_effectEffect.forEach;
187
- exports.forever = Effect_dist_effectEffect.forever;
188
- exports.fork = Effect_dist_effectEffect.fork;
189
- exports.forkAll = Effect_dist_effectEffect.forkAll;
190
- exports.forkDaemon = Effect_dist_effectEffect.forkDaemon;
191
- exports.forkIn = Effect_dist_effectEffect.forkIn;
192
- exports.forkScoped = Effect_dist_effectEffect.forkScoped;
193
- exports.forkWithErrorHandler = Effect_dist_effectEffect.forkWithErrorHandler;
194
- exports.fromFiber = Effect_dist_effectEffect.fromFiber;
195
- exports.fromFiberEffect = Effect_dist_effectEffect.fromFiberEffect;
196
- exports.fromNullable = Effect_dist_effectEffect.fromNullable;
197
- exports.gen = Effect_dist_effectEffect.gen;
198
- exports.getFiberRefs = Effect_dist_effectEffect.getFiberRefs;
199
- exports.getRuntimeFlags = Effect_dist_effectEffect.getRuntimeFlags;
200
- exports.head = Effect_dist_effectEffect.head;
201
- exports["if"] = Effect_dist_effectEffect.if_;
202
- exports.ignore = Effect_dist_effectEffect.ignore;
203
- exports.ignoreLogged = Effect_dist_effectEffect.ignoreLogged;
204
- exports.inheritFiberRefs = Effect_dist_effectEffect.inheritFiberRefs;
205
- exports.interrupt = Effect_dist_effectEffect.interrupt;
206
- exports.interruptWith = Effect_dist_effectEffect.interruptWith;
207
- exports.interruptible = Effect_dist_effectEffect.interruptible;
208
- exports.interruptibleMask = Effect_dist_effectEffect.interruptibleMask;
209
- exports.intoDeferred = Effect_dist_effectEffect.intoDeferred;
210
- exports.isEffect = Effect_dist_effectEffect.isEffect;
211
- exports.isFailure = Effect_dist_effectEffect.isFailure;
212
- exports.isSuccess = Effect_dist_effectEffect.isSuccess;
213
- exports.iterate = Effect_dist_effectEffect.iterate;
214
- exports.labelMetrics = Effect_dist_effectEffect.labelMetrics;
215
- exports.labelMetricsScoped = Effect_dist_effectEffect.labelMetricsScoped;
216
- exports.labelMetricsScopedSet = Effect_dist_effectEffect.labelMetricsScopedSet;
217
- exports.labelMetricsSet = Effect_dist_effectEffect.labelMetricsSet;
218
- exports["let"] = Effect_dist_effectEffect.let_;
219
- exports.linkSpans = Effect_dist_effectEffect.linkSpans;
220
- exports.locally = Effect_dist_effectEffect.locally;
221
- exports.locallyScoped = Effect_dist_effectEffect.locallyScoped;
222
- exports.locallyScopedWith = Effect_dist_effectEffect.locallyScopedWith;
223
- exports.locallyWith = Effect_dist_effectEffect.locallyWith;
224
- exports.log = Effect_dist_effectEffect.log;
225
- exports.logAnnotations = Effect_dist_effectEffect.logAnnotations;
226
- exports.logDebug = Effect_dist_effectEffect.logDebug;
227
- exports.logError = Effect_dist_effectEffect.logError;
228
- exports.logFatal = Effect_dist_effectEffect.logFatal;
229
- exports.logInfo = Effect_dist_effectEffect.logInfo;
230
- exports.logTrace = Effect_dist_effectEffect.logTrace;
231
- exports.logWarning = Effect_dist_effectEffect.logWarning;
232
- exports.loop = Effect_dist_effectEffect.loop;
233
- exports.makeSemaphore = Effect_dist_effectEffect.makeSemaphore;
234
- exports.makeSpan = Effect_dist_effectEffect.makeSpan;
235
- exports.map = Effect_dist_effectEffect.map;
236
- exports.mapAccum = Effect_dist_effectEffect.mapAccum;
237
- exports.mapBoth = Effect_dist_effectEffect.mapBoth;
238
- exports.mapError = Effect_dist_effectEffect.mapError;
239
- exports.mapErrorCause = Effect_dist_effectEffect.mapErrorCause;
240
- exports.mapInputContext = Effect_dist_effectEffect.mapInputContext;
241
- exports.match = Effect_dist_effectEffect.match;
242
- exports.matchCause = Effect_dist_effectEffect.matchCause;
243
- exports.matchCauseEffect = Effect_dist_effectEffect.matchCauseEffect;
244
- exports.matchEffect = Effect_dist_effectEffect.matchEffect;
245
- exports.merge = Effect_dist_effectEffect.merge;
246
- exports.mergeAll = Effect_dist_effectEffect.mergeAll;
247
- exports.metricLabels = Effect_dist_effectEffect.metricLabels;
248
- exports.negate = Effect_dist_effectEffect.negate;
249
- exports.never = Effect_dist_effectEffect.never;
250
- exports.none = Effect_dist_effectEffect.none;
251
- exports.onError = Effect_dist_effectEffect.onError;
252
- exports.onExit = Effect_dist_effectEffect.onExit;
253
- exports.onInterrupt = Effect_dist_effectEffect.onInterrupt;
254
- exports.once = Effect_dist_effectEffect.once;
255
- exports.option = Effect_dist_effectEffect.option;
256
- exports.optionFromOptional = Effect_dist_effectEffect.optionFromOptional;
257
- exports.orDie = Effect_dist_effectEffect.orDie;
258
- exports.orDieWith = Effect_dist_effectEffect.orDieWith;
259
- exports.orElse = Effect_dist_effectEffect.orElse;
260
- exports.orElseFail = Effect_dist_effectEffect.orElseFail;
261
- exports.orElseSucceed = Effect_dist_effectEffect.orElseSucceed;
262
- exports.parallelErrors = Effect_dist_effectEffect.parallelErrors;
263
- exports.parallelFinalizers = Effect_dist_effectEffect.parallelFinalizers;
264
- exports.partition = Effect_dist_effectEffect.partition;
265
- exports.patchFiberRefs = Effect_dist_effectEffect.patchFiberRefs;
266
- exports.patchRuntimeFlags = Effect_dist_effectEffect.patchRuntimeFlags;
267
- exports.promise = Effect_dist_effectEffect.promise;
268
- exports.provide = Effect_dist_effectEffect.provide;
269
- exports.provideService = Effect_dist_effectEffect.provideService;
270
- exports.provideServiceEffect = Effect_dist_effectEffect.provideServiceEffect;
271
- exports.race = Effect_dist_effectEffect.race;
272
- exports.raceAll = Effect_dist_effectEffect.raceAll;
273
- exports.raceFirst = Effect_dist_effectEffect.raceFirst;
274
- exports.raceWith = Effect_dist_effectEffect.raceWith;
275
- exports.random = Effect_dist_effectEffect.random;
276
- exports.randomWith = Effect_dist_effectEffect.randomWith;
277
- exports.reduce = Effect_dist_effectEffect.reduce;
278
- exports.reduceEffect = Effect_dist_effectEffect.reduceEffect;
279
- exports.reduceRight = Effect_dist_effectEffect.reduceRight;
280
- exports.reduceWhile = Effect_dist_effectEffect.reduceWhile;
281
- exports.repeat = Effect_dist_effectEffect.repeat;
282
- exports.repeatN = Effect_dist_effectEffect.repeatN;
283
- exports.repeatOrElse = Effect_dist_effectEffect.repeatOrElse;
284
- exports.repeatUntil = Effect_dist_effectEffect.repeatUntil;
285
- exports.repeatUntilEffect = Effect_dist_effectEffect.repeatUntilEffect;
286
- exports.repeatWhile = Effect_dist_effectEffect.repeatWhile;
287
- exports.repeatWhileEffect = Effect_dist_effectEffect.repeatWhileEffect;
288
- exports.replicate = Effect_dist_effectEffect.replicate;
289
- exports.replicateEffect = Effect_dist_effectEffect.replicateEffect;
290
- exports.request = Effect_dist_effectEffect.request;
291
- exports.retry = Effect_dist_effectEffect.retry;
292
- exports.retryN = Effect_dist_effectEffect.retryN;
293
- exports.retryOrElse = Effect_dist_effectEffect.retryOrElse;
294
- exports.retryUntil = Effect_dist_effectEffect.retryUntil;
295
- exports.retryUntilEffect = Effect_dist_effectEffect.retryUntilEffect;
296
- exports.retryWhile = Effect_dist_effectEffect.retryWhile;
297
- exports.retryWhileEffect = Effect_dist_effectEffect.retryWhileEffect;
298
- exports.runCallback = Effect_dist_effectEffect.runCallback;
299
- exports.runFork = Effect_dist_effectEffect.runFork;
300
- exports.runPromise = Effect_dist_effectEffect.runPromise;
301
- exports.runPromiseExit = Effect_dist_effectEffect.runPromiseExit;
302
- exports.runRequestBlock = Effect_dist_effectEffect.runRequestBlock;
303
- exports.runSync = Effect_dist_effectEffect.runSync;
304
- exports.runSyncExit = Effect_dist_effectEffect.runSyncExit;
305
- exports.runtime = Effect_dist_effectEffect.runtime;
306
- exports.sandbox = Effect_dist_effectEffect.sandbox;
307
- exports.schedule = Effect_dist_effectEffect.schedule;
308
- exports.scheduleForked = Effect_dist_effectEffect.scheduleForked;
309
- exports.scheduleFrom = Effect_dist_effectEffect.scheduleFrom;
310
- exports.scope = Effect_dist_effectEffect.scope;
311
- exports.scopeWith = Effect_dist_effectEffect.scopeWith;
312
- exports.scoped = Effect_dist_effectEffect.scoped;
313
- exports.sequentialFinalizers = Effect_dist_effectEffect.sequentialFinalizers;
314
- exports.serviceConstants = Effect_dist_effectEffect.serviceConstants;
315
- exports.serviceFunction = Effect_dist_effectEffect.serviceFunction;
316
- exports.serviceFunctionEffect = Effect_dist_effectEffect.serviceFunctionEffect;
317
- exports.serviceFunctions = Effect_dist_effectEffect.serviceFunctions;
318
- exports.serviceMembers = Effect_dist_effectEffect.serviceMembers;
319
- exports.serviceOption = Effect_dist_effectEffect.serviceOption;
320
- exports.setClock = Effect_dist_effectEffect.setClock;
321
- exports.setConfigProvider = Effect_dist_effectEffect.setConfigProvider;
322
- exports.setFiberRefs = Effect_dist_effectEffect.setFiberRefs;
323
- exports.setParentSpan = Effect_dist_effectEffect.setParentSpan;
324
- exports.setRequestBatching = Effect_dist_effectEffect.setRequestBatching;
325
- exports.setRequestCache = Effect_dist_effectEffect.setRequestCache;
326
- exports.setRequestCaching = Effect_dist_effectEffect.setRequestCaching;
327
- exports.setScheduler = Effect_dist_effectEffect.setScheduler;
328
- exports.setSpan = Effect_dist_effectEffect.setSpan;
329
- exports.setTracer = Effect_dist_effectEffect.setTracer;
330
- exports.setTracerTiming = Effect_dist_effectEffect.setTracerTiming;
331
- exports.setUnhandledErrorLogLevel = Effect_dist_effectEffect.setUnhandledErrorLogLevel;
332
- exports.sleep = Effect_dist_effectEffect.sleep;
333
- exports.spanAnnotations = Effect_dist_effectEffect.spanAnnotations;
334
- exports.spanLinks = Effect_dist_effectEffect.spanLinks;
335
- exports.step = Effect_dist_effectEffect.step;
336
- exports.succeed = Effect_dist_effectEffect.succeed;
337
- exports.succeedNone = Effect_dist_effectEffect.succeedNone;
338
- exports.succeedSome = Effect_dist_effectEffect.succeedSome;
339
- exports.summarized = Effect_dist_effectEffect.summarized;
340
- exports.supervised = Effect_dist_effectEffect.supervised;
341
- exports.suspend = Effect_dist_effectEffect.suspend;
342
- exports.sync = Effect_dist_effectEffect.sync;
343
- exports.tagMetrics = Effect_dist_effectEffect.tagMetrics;
344
- exports.tagMetricsScoped = Effect_dist_effectEffect.tagMetricsScoped;
345
- exports.takeUntil = Effect_dist_effectEffect.takeUntil;
346
- exports.takeWhile = Effect_dist_effectEffect.takeWhile;
347
- exports.tap = Effect_dist_effectEffect.tap;
348
- exports.tapBoth = Effect_dist_effectEffect.tapBoth;
349
- exports.tapDefect = Effect_dist_effectEffect.tapDefect;
350
- exports.tapError = Effect_dist_effectEffect.tapError;
351
- exports.tapErrorCause = Effect_dist_effectEffect.tapErrorCause;
352
- exports.tapErrorTag = Effect_dist_effectEffect.tapErrorTag;
353
- exports.timed = Effect_dist_effectEffect.timed;
354
- exports.timedWith = Effect_dist_effectEffect.timedWith;
355
- exports.timeout = Effect_dist_effectEffect.timeout;
356
- exports.timeoutFail = Effect_dist_effectEffect.timeoutFail;
357
- exports.timeoutFailCause = Effect_dist_effectEffect.timeoutFailCause;
358
- exports.timeoutTo = Effect_dist_effectEffect.timeoutTo;
359
- exports.tracer = Effect_dist_effectEffect.tracer;
360
- exports.tracerWith = Effect_dist_effectEffect.tracerWith;
361
- exports.transplant = Effect_dist_effectEffect.transplant;
362
- exports["try"] = Effect_dist_effectEffect.try_;
363
- exports.tryMap = Effect_dist_effectEffect.tryMap;
364
- exports.tryMapPromise = Effect_dist_effectEffect.tryMapPromise;
365
- exports.tryPromise = Effect_dist_effectEffect.tryPromise;
366
- exports.unified = Effect_dist_effectEffect.unified;
367
- exports.unifiedFn = Effect_dist_effectEffect.unifiedFn;
368
- exports.uninterruptible = Effect_dist_effectEffect.uninterruptible;
369
- exports.uninterruptibleMask = Effect_dist_effectEffect.uninterruptibleMask;
370
- exports.unit = Effect_dist_effectEffect.unit;
371
- exports.unless = Effect_dist_effectEffect.unless;
372
- exports.unlessEffect = Effect_dist_effectEffect.unlessEffect;
373
- exports.unsafeMakeSemaphore = Effect_dist_effectEffect.unsafeMakeSemaphore;
374
- exports.unsandbox = Effect_dist_effectEffect.unsandbox;
375
- exports.updateFiberRefs = Effect_dist_effectEffect.updateFiberRefs;
376
- exports.updateService = Effect_dist_effectEffect.updateService;
377
- exports.useSpan = Effect_dist_effectEffect.useSpan;
378
- exports.useSpanScoped = Effect_dist_effectEffect.useSpanScoped;
379
- exports.using = Effect_dist_effectEffect.using;
380
- exports.validate = Effect_dist_effectEffect.validate;
381
- exports.validateAll = Effect_dist_effectEffect.validateAll;
382
- exports.validateFirst = Effect_dist_effectEffect.validateFirst;
383
- exports.validateWith = Effect_dist_effectEffect.validateWith;
384
- exports.when = Effect_dist_effectEffect.when;
385
- exports.whenEffect = Effect_dist_effectEffect.whenEffect;
386
- exports.whenFiberRef = Effect_dist_effectEffect.whenFiberRef;
387
- exports.whenRef = Effect_dist_effectEffect.whenRef;
388
- exports.whileLoop = Effect_dist_effectEffect.whileLoop;
389
- exports.withClock = Effect_dist_effectEffect.withClock;
390
- exports.withClockScoped = Effect_dist_effectEffect.withClockScoped;
391
- exports.withConcurrency = Effect_dist_effectEffect.withConcurrency;
392
- exports.withConfigProvider = Effect_dist_effectEffect.withConfigProvider;
393
- exports.withConfigProviderScoped = Effect_dist_effectEffect.withConfigProviderScoped;
394
- exports.withEarlyRelease = Effect_dist_effectEffect.withEarlyRelease;
395
- exports.withLogSpan = Effect_dist_effectEffect.withLogSpan;
396
- exports.withMaxOpsBeforeYield = Effect_dist_effectEffect.withMaxOpsBeforeYield;
397
- exports.withMetric = Effect_dist_effectEffect.withMetric;
398
- exports.withParentSpan = Effect_dist_effectEffect.withParentSpan;
399
- exports.withParentSpanScoped = Effect_dist_effectEffect.withParentSpanScoped;
400
- exports.withRequestBatching = Effect_dist_effectEffect.withRequestBatching;
401
- exports.withRequestCache = Effect_dist_effectEffect.withRequestCache;
402
- exports.withRequestCaching = Effect_dist_effectEffect.withRequestCaching;
403
- exports.withRuntimeFlagsPatch = Effect_dist_effectEffect.withRuntimeFlagsPatch;
404
- exports.withRuntimeFlagsPatchScoped = Effect_dist_effectEffect.withRuntimeFlagsPatchScoped;
405
- exports.withScheduler = Effect_dist_effectEffect.withScheduler;
406
- exports.withSchedulingPriority = Effect_dist_effectEffect.withSchedulingPriority;
407
- exports.withSpan = Effect_dist_effectEffect.withSpan;
408
- exports.withSpanScoped = Effect_dist_effectEffect.withSpanScoped;
409
- exports.withTracer = Effect_dist_effectEffect.withTracer;
410
- exports.withTracerScoped = Effect_dist_effectEffect.withTracerScoped;
411
- exports.withTracerTiming = Effect_dist_effectEffect.withTracerTiming;
412
- exports.withUnhandledErrorLogLevel = Effect_dist_effectEffect.withUnhandledErrorLogLevel;
413
- exports.yieldNow = Effect_dist_effectEffect.yieldNow;
414
- exports.zip = Effect_dist_effectEffect.zip;
415
- exports.zipLeft = Effect_dist_effectEffect.zipLeft;
416
- exports.zipRight = Effect_dist_effectEffect.zipRight;
417
- exports.zipWith = Effect_dist_effectEffect.zipWith;
45
+ require('../../ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.prod.js');
46
+ require('../../ConfigError/dist/effect-ConfigError.cjs.prod.js');
47
+ require('../../dist/configError-33e55472.cjs.prod.js');
48
+ require('../../dist/configSecret-d1caca55.cjs.prod.js');
49
+ require('../../dist/pathPatch-15c8d723.cjs.prod.js');
50
+ require('../../List/dist/effect-List.cjs.prod.js');
51
+ require('../../MutableRef/dist/effect-MutableRef.cjs.prod.js');
52
+ require('../../Differ/dist/effect-Differ.cjs.prod.js');
53
+ require('../../dist/FiberId-e594f6e8.cjs.prod.js');
54
+ require('../../dist/RuntimeFlagsPatch-e2769b87.cjs.prod.js');
55
+ require('../../Clock/dist/effect-Clock.cjs.prod.js');
56
+ require('../../FiberRefs/dist/effect-FiberRefs.cjs.prod.js');
57
+ require('../../dist/fiberRefs-be6b6a70.cjs.prod.js');
58
+ require('../../dist/patch-c4d6c61e.cjs.prod.js');
59
+ require('../../dist/label-655343b5.cjs.prod.js');
60
+ require('../../LogLevel/dist/effect-LogLevel.cjs.prod.js');
61
+ require('../../LogSpan/dist/effect-LogSpan.cjs.prod.js');
62
+ require('../../dist/Ref-a3a4e50d.cjs.prod.js');
63
+ require('../../Tracer/dist/effect-Tracer.cjs.prod.js');
64
+ require('../../Exit/dist/effect-Exit.cjs.prod.js');
65
+ require('../../dist/ExecutionStrategy-14d3053a.cjs.prod.js');
66
+ require('../../dist/fiber-2eb0a4c1.cjs.prod.js');
67
+ require('../../FiberStatus/dist/effect-FiberStatus.cjs.prod.js');
68
+ require('../../MutableHashMap/dist/effect-MutableHashMap.cjs.prod.js');
69
+ require('../../Boolean/dist/effect-Boolean.cjs.prod.js');
70
+ require('../../Deferred/dist/effect-Deferred.cjs.prod.js');
71
+ require('../../FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.prod.js');
72
+ require('../../dist/boundaries-20cfad9d.cjs.prod.js');
73
+ require('../../dist/key-378a6a2c.cjs.prod.js');
74
+ require('../../dist/keyType-cf67c69c.cjs.prod.js');
75
+ require('../../dist/registry-013ecdde.cjs.prod.js');
76
+ require('../../dist/hook-470b717e.cjs.prod.js');
77
+ require('../../dist/state-dd1bd066.cjs.prod.js');
78
+ require('../../dist/pair-6254cf85.cjs.prod.js');
79
+ require('../../SortedSet/dist/effect-SortedSet.cjs.prod.js');
80
+ require('../../RedBlackTree/dist/effect-RedBlackTree.cjs.prod.js');
81
+ require('../../Cause/dist/effect-Cause.cjs.prod.js');
82
+ require('../../dist/synchronizedRef-b4cde4de.cjs.prod.js');
83
+ require('../../ScheduleDecision/dist/effect-ScheduleDecision.cjs.prod.js');
84
+ require('../../ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.prod.js');
85
+ require('../../ScheduleInterval/dist/effect-ScheduleInterval.cjs.prod.js');
86
+ require('../../Scope/dist/effect-Scope.cjs.prod.js');
87
+ require('../../Layer/dist/effect-Layer.cjs.prod.js');
88
+ require('../../dist/cache-3a55a13a.cjs.prod.js');
89
+ require('../../MutableQueue/dist/effect-MutableQueue.cjs.prod.js');
90
+ require('../../MutableList/dist/effect-MutableList.cjs.prod.js');
91
+ require('../../Fiber/dist/effect-Fiber.cjs.prod.js');
92
+ require('../../Random/dist/effect-Random.cjs.prod.js');
93
+
94
+ /**
95
+ * @since 2.0.0
96
+ */
97
+
98
+ // -------------------------------------------------------------------------------------
99
+ // models
100
+ // -------------------------------------------------------------------------------------
101
+ /**
102
+ * @since 2.0.0
103
+ */
104
+ /**
105
+ * @since 2.0.0
106
+ * @category symbols
107
+ */
108
+ const EffectTypeId = core.EffectTypeId;
109
+
110
+ /**
111
+ * @since 2.0.0
112
+ * @category symbols
113
+ */
114
+
115
+ /**
116
+ * The `Effect` interface defines a value that lazily describes a workflow or job.
117
+ * The workflow requires some context `R`, and may fail with an error of type `E`,
118
+ * or succeed with a value of type `A`.
119
+ *
120
+ * `Effect` values model resourceful interaction with the outside world, including
121
+ * synchronous, asynchronous, concurrent, and parallel interaction. They use a
122
+ * fiber-based concurrency model, with built-in support for scheduling, fine-grained
123
+ * interruption, structured concurrency, and high scalability.
124
+ *
125
+ * To run an `Effect` value, you need a `Runtime`, which is a type that is capable
126
+ * of executing `Effect` values.
127
+ *
128
+ * @since 2.0.0
129
+ * @category models
130
+ */
131
+
132
+ /**
133
+ * @since 2.0.0
134
+ * @category models
135
+ */
136
+
137
+ /**
138
+ * @category models
139
+ * @since 2.0.0
140
+ */
141
+
142
+ /**
143
+ * @category type lambdas
144
+ * @since 2.0.0
145
+ */
146
+
147
+ /**
148
+ * @since 2.0.0
149
+ * @category models
150
+ */
151
+
152
+ /**
153
+ * @since 2.0.0
154
+ * @category models
155
+ */
156
+
157
+ /**
158
+ * @since 2.0.0
159
+ * @category models
160
+ */
161
+
162
+ /**
163
+ * @since 2.0.0
164
+ * @category models
165
+ */
166
+
167
+ /**
168
+ * @since 2.0.0
169
+ */
170
+
171
+ // -------------------------------------------------------------------------------------
172
+ // refinements
173
+ // -------------------------------------------------------------------------------------
174
+ /**
175
+ * This function returns `true` if the specified value is an `Effect` value,
176
+ * `false` otherwise.
177
+ *
178
+ * This function can be useful for checking the type of a value before
179
+ * attempting to operate on it as an `Effect` value. For example, you could
180
+ * use `isEffect` to check the type of a value before using it as an
181
+ * argument to a function that expects an `Effect` value.
182
+ *
183
+ * @param u - The value to check for being an `Effect` value.
184
+ *
185
+ * @returns `true` if the specified value is an `Effect` value, `false`
186
+ * otherwise.
187
+ *
188
+ * @since 2.0.0
189
+ * @category refinements
190
+ */
191
+ const isEffect = core.isEffect;
192
+
193
+ // -------------------------------------------------------------------------------------
194
+ // caching
195
+ // -------------------------------------------------------------------------------------
196
+
197
+ /**
198
+ * Returns an effect that, if evaluated, will return the cached result of this
199
+ * effect. Cached results will expire after `timeToLive` duration.
200
+ *
201
+ * @since 2.0.0
202
+ * @category caching
203
+ */
204
+ const cachedWithTTL = circular.cached;
205
+
206
+ /**
207
+ * Returns an effect that, if evaluated, will return the cached result of this
208
+ * effect. Cached results will expire after `timeToLive` duration. In
209
+ * addition, returns an effect that can be used to invalidate the current
210
+ * cached value before the `timeToLive` duration expires.
211
+ *
212
+ * @since 2.0.0
213
+ * @category caching
214
+ */
215
+ const cachedInvalidateWithTTL = circular.cachedInvalidate;
216
+
217
+ /**
218
+ * Returns an effect that, if evaluated, will return the lazily computed
219
+ * result of this effect.
220
+ *
221
+ * @since 2.0.0
222
+ * @category caching
223
+ */
224
+ const cached = coreEffect.memoize;
225
+
226
+ /**
227
+ * Returns a memoized version of the specified effectual function.
228
+ *
229
+ * @since 2.0.0
230
+ * @category caching
231
+ */
232
+ const cachedFunction = circular.memoizeFunction;
233
+
234
+ /**
235
+ * Returns an effect that will be executed at most once, even if it is
236
+ * evaluated multiple times.
237
+ *
238
+ * @since 2.0.0
239
+ * @category caching
240
+ */
241
+ const once = coreEffect.once;
242
+
243
+ // -------------------------------------------------------------------------------------
244
+ // collecting & elements
245
+ // -------------------------------------------------------------------------------------
246
+
247
+ /**
248
+ * Runs all the provided effects in sequence respecting the structure provided in input.
249
+ *
250
+ * Supports multiple arguments, a single argument tuple / array or record / struct.
251
+ *
252
+ * @since 2.0.0
253
+ * @category collecting & elements
254
+ */
255
+ const all = fiberRuntime.all;
256
+
257
+ /**
258
+ * Data-last variant of `Effect.all`.
259
+ *
260
+ * Runs all the provided effects in sequence respecting the structure provided in input.
261
+ *
262
+ * Supports multiple arguments, a single argument tuple / array or record / struct.
263
+ *
264
+ * @since 2.0.0
265
+ * @category collecting & elements
266
+ */
267
+ const allWith = fiberRuntime.allWith;
268
+
269
+ /**
270
+ * @since 2.0.0
271
+ */
272
+
273
+ /**
274
+ * Evaluate and run each effect in the structure and collect the results,
275
+ * discarding results from failed effects.
276
+ *
277
+ * @since 2.0.0
278
+ * @category collecting & elements
279
+ */
280
+ const allSuccesses = fiberRuntime.allSuccesses;
281
+
282
+ /**
283
+ * Drops all elements until the effectful predicate returns true.
284
+ *
285
+ * @since 2.0.0
286
+ * @category collecting & elements
287
+ */
288
+ const dropUntil = coreEffect.dropUntil;
289
+
290
+ /**
291
+ * Drops all elements so long as the predicate returns true.
292
+ *
293
+ * @since 2.0.0
294
+ * @category collecting & elements
295
+ */
296
+ const dropWhile = coreEffect.dropWhile;
297
+
298
+ /**
299
+ * Determines whether all elements of the `Collection<A>` satisfies the effectual
300
+ * predicate `f`.
301
+ *
302
+ * @since 2.0.0
303
+ * @category collecting & elements
304
+ */
305
+ const every = coreEffect.every;
306
+
307
+ /**
308
+ * Determines whether any element of the `Iterable<A>` satisfies the effectual
309
+ * predicate `f`.
310
+ *
311
+ * @since 2.0.0
312
+ * @category collecting & elements
313
+ */
314
+ const exists = fiberRuntime.exists;
315
+
316
+ /**
317
+ * Filters the collection using the specified effectful predicate.
318
+ *
319
+ * @since 2.0.0
320
+ * @category collecting & elements
321
+ */
322
+ const filter = fiberRuntime.filter;
323
+
324
+ /**
325
+ * Returns the first element that satisfies the effectful predicate.
326
+ *
327
+ * @since 2.0.0
328
+ * @category collecting & elements
329
+ */
330
+ const findFirst = coreEffect.findFirst;
331
+
332
+ /**
333
+ * This function takes an iterable of `Effect` values and returns a new
334
+ * `Effect` value that represents the first `Effect` value in the iterable
335
+ * that succeeds. If all of the `Effect` values in the iterable fail, then
336
+ * the resulting `Effect` value will fail as well.
337
+ *
338
+ * This function is sequential, meaning that the `Effect` values in the
339
+ * iterable will be executed in sequence, and the first one that succeeds
340
+ * will determine the outcome of the resulting `Effect` value.
341
+ *
342
+ * @param effects - The iterable of `Effect` values to evaluate.
343
+ *
344
+ * @returns A new `Effect` value that represents the first successful
345
+ * `Effect` value in the iterable, or a failed `Effect` value if all of the
346
+ * `Effect` values in the iterable fail.
347
+ *
348
+ * @since 2.0.0
349
+ * @category collecting & elements
350
+ */
351
+ const firstSuccessOf = coreEffect.firstSuccessOf;
352
+
353
+ /**
354
+ * @since 2.0.0
355
+ * @category collecting & elements
356
+ */
357
+ const forEach = fiberRuntime.forEachOptions;
358
+
359
+ /**
360
+ * Returns a successful effect with the head of the collection if the collection
361
+ * is non-empty, or fails with the error `None` if the collection is empty.
362
+ *
363
+ * @since 2.0.0
364
+ * @category collecting & elements
365
+ */
366
+ const head = coreEffect.head;
367
+
368
+ /**
369
+ * Merges an `Iterable<Effect<R, E, A>>` to a single effect, working
370
+ * sequentially.
371
+ *
372
+ * @since 2.0.0
373
+ * @category collecting & elements
374
+ */
375
+ const mergeAll = fiberRuntime.mergeAll;
376
+
377
+ /**
378
+ * Feeds elements of type `A` to a function `f` that returns an effect.
379
+ * Collects all successes and failures in a tupled fashion.
380
+ *
381
+ * @since 2.0.0
382
+ * @category collecting & elements
383
+ */
384
+ const partition = fiberRuntime.partition;
385
+
386
+ /**
387
+ * Folds an `Iterable<A>` using an effectual function f, working sequentially
388
+ * from left to right.
389
+ *
390
+ * @since 2.0.0
391
+ * @category collecting & elements
392
+ */
393
+ const reduce = coreEffect.reduce;
394
+
395
+ /**
396
+ * Reduces an `Iterable<Effect<R, E, A>>` to a single effect.
397
+ *
398
+ * @since 2.0.0
399
+ * @category collecting & elements
400
+ */
401
+ const reduceEffect = fiberRuntime.reduceEffect;
402
+
403
+ /**
404
+ * Folds an `Iterable<A>` using an effectual function f, working sequentially from left to right.
405
+ *
406
+ * @since 2.0.0
407
+ * @category collecting & elements
408
+ */
409
+ const reduceRight = coreEffect.reduceRight;
410
+
411
+ /**
412
+ * Folds over the elements in this chunk from the left, stopping the fold early
413
+ * when the predicate is not satisfied.
414
+ *
415
+ * @since 2.0.0
416
+ * @category collecting & elements
417
+ */
418
+ const reduceWhile = coreEffect.reduceWhile;
419
+
420
+ /**
421
+ * Replicates the given effect `n` times.
422
+ *
423
+ * @since 2.0.0
424
+ * @category collecting & elements
425
+ */
426
+ const replicate = fiberRuntime.replicate;
427
+
428
+ /**
429
+ * Performs this effect the specified number of times and collects the
430
+ * results.
431
+ *
432
+ * @since 2.0.0
433
+ * @category collecting & elements
434
+ */
435
+ const replicateEffect = fiberRuntime.replicateEffect;
436
+
437
+ /**
438
+ * Takes elements until the effectual predicate returns true.
439
+ *
440
+ * @since 2.0.0
441
+ * @category collecting & elements
442
+ */
443
+ const takeUntil = coreEffect.takeUntil;
444
+
445
+ /**
446
+ * Takes all elements so long as the effectual predicate returns true.
447
+ *
448
+ * @since 2.0.0
449
+ * @category collecting & elements
450
+ */
451
+ const takeWhile = coreEffect.takeWhile;
452
+
453
+ /**
454
+ * Feeds elements of type `A` to `f` and accumulates all errors in error
455
+ * channel or successes in success channel.
456
+ *
457
+ * This combinator is lossy meaning that if there are errors all successes
458
+ * will be lost. To retain all information please use `partition`.
459
+ *
460
+ * @since 2.0.0
461
+ * @category collecting & elements
462
+ */
463
+ const validateAll = fiberRuntime.validateAll;
464
+
465
+ /**
466
+ * Feeds elements of type `A` to `f` until it succeeds. Returns first success
467
+ * or the accumulation of all errors.
468
+ *
469
+ * If `elements` is empty then `Effect.fail([])` is returned.
470
+ *
471
+ * @example
472
+ * import * as Effect from "effect/Effect"
473
+ * import * as Exit from "effect/Exit"
474
+ *
475
+ * const f = (n: number) => (n > 0 ? Effect.succeed(n) : Effect.fail(`${n} is negative`))
476
+ *
477
+ * assert.deepStrictEqual(Effect.runSyncExit(Effect.validateFirst([], f)), Exit.fail([]))
478
+ * assert.deepStrictEqual(Effect.runSyncExit(Effect.validateFirst([1, 2], f)), Exit.succeed(1))
479
+ * assert.deepStrictEqual(Effect.runSyncExit(Effect.validateFirst([1, -1], f)), Exit.succeed(1))
480
+ * assert.deepStrictEqual(Effect.runSyncExit(Effect.validateFirst([-1, 2], f)), Exit.succeed(2))
481
+ * assert.deepStrictEqual(Effect.runSyncExit(Effect.validateFirst([-1, -2], f)), Exit.fail(['-1 is negative', '-2 is negative']))
482
+ *
483
+ * @since 2.0.0
484
+ * @category collecting & elements
485
+ */
486
+ const validateFirst = fiberRuntime.validateFirst;
487
+
488
+ // -------------------------------------------------------------------------------------
489
+ // constructors
490
+ // -------------------------------------------------------------------------------------
491
+
492
+ /**
493
+ * Imports an asynchronous side-effect into a pure `Effect` value.
494
+ * The callback function `Effect<R, E, A> => void` must be called at most once.
495
+ *
496
+ * If an Effect is returned by the registration function, it will be executed
497
+ * if the fiber executing the effect is interrupted.
498
+ *
499
+ * The registration function can also receive an `AbortSignal` if required for
500
+ * interruption.
501
+ *
502
+ * The `FiberId` of the fiber that may complete the async callback may be
503
+ * provided to allow for better diagnostics.
504
+ *
505
+ * @since 2.0.0
506
+ * @category constructors
507
+ */
508
+ const async = core.async;
509
+
510
+ /**
511
+ * Converts an asynchronous, callback-style API into an `Effect`, which will
512
+ * be executed asynchronously.
513
+ *
514
+ * With this variant, the registration function may return a an `Effect`.
515
+ *
516
+ * @since 2.0.0
517
+ * @category constructors
518
+ */
519
+ const asyncEffect = runtime$1.asyncEffect;
520
+
521
+ /**
522
+ * Imports an asynchronous effect into a pure `Effect` value, possibly returning
523
+ * the value synchronously.
524
+ *
525
+ * If the register function returns a value synchronously, then the callback
526
+ * function `Effect<R, E, A> => void` must not be called. Otherwise the callback
527
+ * function must be called at most once.
528
+ *
529
+ * The `FiberId` of the fiber that may complete the async callback may be
530
+ * provided to allow for better diagnostics.
531
+ *
532
+ * @since 2.0.0
533
+ * @category constructors
534
+ */
535
+ const asyncOption = coreEffect.asyncOption;
536
+
537
+ /**
538
+ * Imports an asynchronous side-effect into an effect. It has the option of
539
+ * returning the value synchronously, which is useful in cases where it cannot
540
+ * be determined if the effect is synchronous or asynchronous until the register
541
+ * is actually executed. It also has the option of returning a canceler,
542
+ * which will be used by the runtime to cancel the asynchronous effect if the fiber
543
+ * executing the effect is interrupted.
544
+ *
545
+ * If the register function returns a value synchronously, then the callback
546
+ * function `Effect<R, E, A> => void` must not be called. Otherwise the callback
547
+ * function must be called at most once.
548
+ *
549
+ * The `FiberId` of the fiber that may complete the async callback may be
550
+ * provided to allow for better diagnostics.
551
+ *
552
+ * @since 2.0.0
553
+ * @category constructors
554
+ */
555
+ const asyncEither = core.asyncEither;
556
+
557
+ /**
558
+ * @since 2.0.0
559
+ * @category constructors
560
+ */
561
+ const fail = core.fail;
562
+
563
+ /**
564
+ * @since 2.0.0
565
+ * @category constructors
566
+ */
567
+ const failSync = core.failSync;
568
+
569
+ /**
570
+ * @since 2.0.0
571
+ * @category constructors
572
+ */
573
+ const failCause = core.failCause;
574
+
575
+ /**
576
+ * @since 2.0.0
577
+ * @category constructors
578
+ */
579
+ const failCauseSync = core.failCauseSync;
580
+
581
+ /**
582
+ * @since 2.0.0
583
+ * @category constructors
584
+ */
585
+ const die = core.die$1;
586
+
587
+ /**
588
+ * Returns an effect that dies with a `RuntimeException` having the specified
589
+ * text message. This method can be used for terminating a fiber because a
590
+ * defect has been detected in the code.
591
+ *
592
+ * @since 2.0.0
593
+ * @category constructors
594
+ */
595
+ const dieMessage = core.dieMessage;
596
+
597
+ /**
598
+ * @since 2.0.0
599
+ * @category constructors
600
+ */
601
+ const dieSync = core.dieSync;
602
+
603
+ /**
604
+ * @since 2.0.0
605
+ * @category constructors
606
+ */
607
+ const gen = coreEffect.gen;
608
+
609
+ /**
610
+ * @category models
611
+ * @since 2.0.0
612
+ */
613
+
614
+ /**
615
+ * @since 2.0.0
616
+ * @category models
617
+ */
618
+
619
+ /**
620
+ * Returns a effect that will never produce anything. The moral equivalent of
621
+ * `while(true) {}`, only without the wasted CPU cycles.
622
+ *
623
+ * @since 2.0.0
624
+ * @category constructors
625
+ */
626
+ const never = core.never;
627
+
628
+ /**
629
+ * Requires the option produced by this value to be `None`.
630
+ *
631
+ * @since 2.0.0
632
+ * @category constructors
633
+ */
634
+ const none = coreEffect.none;
635
+
636
+ /**
637
+ * Like `tryPromise` but produces a defect in case of errors.
638
+ *
639
+ * An optional `AbortSignal` can be provided to allow for interruption of the
640
+ * wrapped Promise api.
641
+ *
642
+ * @since 2.0.0
643
+ * @category constructors
644
+ */
645
+ const promise = coreEffect.promise;
646
+
647
+ /**
648
+ * @since 2.0.0
649
+ * @category constructors
650
+ */
651
+ const succeed = core.succeed;
652
+
653
+ /**
654
+ * Returns an effect which succeeds with `None`.
655
+ *
656
+ * @since 2.0.0
657
+ * @category constructors
658
+ */
659
+ const succeedNone = coreEffect.succeedNone;
660
+
661
+ /**
662
+ * Returns an effect which succeeds with the value wrapped in a `Some`.
663
+ *
664
+ * @since 2.0.0
665
+ * @category constructors
666
+ */
667
+ const succeedSome = coreEffect.succeedSome;
668
+
669
+ /**
670
+ * @since 2.0.0
671
+ * @category constructors
672
+ */
673
+ const suspend = core.suspend;
674
+
675
+ /**
676
+ * @since 2.0.0
677
+ * @category constructors
678
+ */
679
+ const sync = core.sync;
680
+
681
+ /**
682
+ * @since 2.0.0
683
+ * @category constructors
684
+ */
685
+ const unit = core.unit;
686
+
687
+ /**
688
+ * @since 2.0.0
689
+ * @category constructors
690
+ */
691
+ const yieldNow = core.yieldNow;
692
+
693
+ // -------------------------------------------------------------------------------------
694
+ // error handling
695
+ // -------------------------------------------------------------------------------------
696
+
697
+ const _catch = coreEffect._catch;
698
+
699
+ /**
700
+ * Recovers from all recoverable errors.
701
+ *
702
+ * **Note**: that `Effect.catchAll` will not recover from unrecoverable defects. To
703
+ * recover from both recoverable and unrecoverable errors use
704
+ * `Effect.catchAllCause`.
705
+ *
706
+ * @since 2.0.0
707
+ * @category error handling
708
+ */
709
+ const catchAll = core.catchAll;
710
+
711
+ /**
712
+ * Recovers from both recoverable and unrecoverable errors.
713
+ *
714
+ * See `absorb`, `sandbox`, `mapErrorCause` for other functions that can
715
+ * recover from defects.
716
+ *
717
+ * @since 2.0.0
718
+ * @category error handling
719
+ */
720
+ const catchAllCause = core.catchAllCause;
721
+
722
+ /**
723
+ * Recovers from all defects with provided function.
724
+ *
725
+ * **WARNING**: There is no sensible way to recover from defects. This
726
+ * method should be used only at the boundary between Effect and an external
727
+ * system, to transmit information on a defect for diagnostic or explanatory
728
+ * purposes.
729
+ *
730
+ * @since 2.0.0
731
+ * @category error handling
732
+ */
733
+ const catchAllDefect = coreEffect.catchAllDefect;
734
+
735
+ /**
736
+ * Recovers from errors that match the given predicate.
737
+ *
738
+ * @since 2.0.0
739
+ * @category error handling
740
+ */
741
+ const catchIf = core.catchIf;
742
+
743
+ /**
744
+ * Recovers from some or all of the error cases.
745
+ *
746
+ * @since 2.0.0
747
+ * @category error handling
748
+ */
749
+ const catchSome = core.catchSome;
750
+
751
+ /**
752
+ * Recovers from some or all of the error cases with provided cause.
753
+ *
754
+ * @since 2.0.0
755
+ * @category error handling
756
+ */
757
+ const catchSomeCause = coreEffect.catchSomeCause;
758
+
759
+ /**
760
+ * Recovers from some or all of the defects with provided partial function.
761
+ *
762
+ * **WARNING**: There is no sensible way to recover from defects. This
763
+ * method should be used only at the boundary between Effect and an external
764
+ * system, to transmit information on a defect for diagnostic or explanatory
765
+ * purposes.
766
+ *
767
+ * @since 2.0.0
768
+ * @category error handling
769
+ */
770
+ const catchSomeDefect = coreEffect.catchSomeDefect;
771
+
772
+ /**
773
+ * Recovers from the specified tagged error.
774
+ *
775
+ * @since 2.0.0
776
+ * @category error handling
777
+ */
778
+ const catchTag = coreEffect.catchTag;
779
+
780
+ /**
781
+ * Recovers from the specified tagged errors.
782
+ *
783
+ * @since 2.0.0
784
+ * @category error handling
785
+ */
786
+ const catchTags = coreEffect.catchTags;
787
+
788
+ /**
789
+ * Returns an effect that succeeds with the cause of failure of this effect,
790
+ * or `Cause.empty` if the effect did succeed.
791
+ *
792
+ * @since 2.0.0
793
+ * @category error handling
794
+ */
795
+ const cause = coreEffect.cause;
796
+
797
+ /**
798
+ * Returns an effect that ignores errors and runs repeatedly until it
799
+ * eventually succeeds.
800
+ *
801
+ * @since 2.0.0
802
+ * @category error handling
803
+ */
804
+ const eventually = coreEffect.eventually;
805
+
806
+ /**
807
+ * Returns a new effect that ignores the success or failure of this effect.
808
+ *
809
+ * @since 2.0.0
810
+ * @category error handling
811
+ */
812
+ const ignore = coreEffect.ignore;
813
+
814
+ /**
815
+ * Returns a new effect that ignores the success or failure of this effect,
816
+ * but which also logs failures at the Debug level, just in case the failure
817
+ * turns out to be important.
818
+ *
819
+ * @since 2.0.0
820
+ * @category error handling
821
+ */
822
+ const ignoreLogged = coreEffect.ignoreLogged;
823
+
824
+ /**
825
+ * Exposes all parallel errors in a single call.
826
+ *
827
+ * @since 2.0.0
828
+ * @category error handling
829
+ */
830
+ const parallelErrors = coreEffect.parallelErrors;
831
+
832
+ /**
833
+ * Exposes the full `Cause` of failure for the specified effect.
834
+ *
835
+ * @since 2.0.0
836
+ * @category error handling
837
+ */
838
+ const sandbox = coreEffect.sandbox;
839
+
840
+ /**
841
+ * Retries with the specified retry policy. Retries are done following the
842
+ * failure of the original `io` (up to a fixed maximum with `once` or `recurs`
843
+ * for example), so that that `io.retry(Schedule.once)` means "execute `io`
844
+ * and in case of failure, try again once".
845
+ *
846
+ * @since 2.0.0
847
+ * @category error handling
848
+ */
849
+ const retry = schedule$1.retry_Effect;
850
+
851
+ /**
852
+ * Retries this effect the specified number of times.
853
+ *
854
+ * @since 2.0.0
855
+ * @category error handling
856
+ */
857
+ const retryN = schedule$1.retryN_Effect;
858
+
859
+ /**
860
+ * Retries with the specified schedule, until it fails, and then both the
861
+ * value produced by the schedule together with the last error are passed to
862
+ * the recovery function.
863
+ *
864
+ * @since 2.0.0
865
+ * @category error handling
866
+ */
867
+ const retryOrElse = schedule$1.retryOrElse_Effect;
868
+
869
+ /**
870
+ * Retries this effect until its error satisfies the specified predicate.
871
+ *
872
+ * @since 2.0.0
873
+ * @category error handling
874
+ */
875
+ const retryUntil = schedule$1.retryUntil_Effect;
876
+
877
+ /**
878
+ * Retries this effect until its error satisfies the specified effectful
879
+ * predicate.
880
+ *
881
+ * @since 2.0.0
882
+ * @category error handling
883
+ */
884
+ const retryUntilEffect = schedule$1.retryUntilEffect_Effect;
885
+
886
+ /**
887
+ * Retries this effect while its error satisfies the specified predicate.
888
+ *
889
+ * @since 2.0.0
890
+ * @category error handling
891
+ */
892
+ const retryWhile = schedule$1.retryWhile_Effect;
893
+
894
+ /**
895
+ * Retries this effect while its error satisfies the specified effectful
896
+ * predicate.
897
+ *
898
+ * @since 2.0.0
899
+ * @category error handling
900
+ */
901
+ const retryWhileEffect = schedule$1.retryWhileEffect_Effect;
902
+ const try_ = coreEffect.try_;
903
+
904
+ /**
905
+ * Returns an effect whose success is mapped by the specified side effecting
906
+ * `try` function, translating any promise rejections into typed failed effects
907
+ * via the `catch` function.
908
+ *
909
+ * @since 2.0.0
910
+ * @category error handling
911
+ */
912
+ const tryMap = coreEffect.tryMap;
913
+
914
+ /**
915
+ * Returns an effect whose success is mapped by the specified side effecting
916
+ * `try` function, translating any promise rejections into typed failed effects
917
+ * via the `catch` function.
918
+ *
919
+ * An optional `AbortSignal` can be provided to allow for interruption of the
920
+ * wrapped Promise api.
921
+ *
922
+ * @since 2.0.0
923
+ * @category error handling
924
+ */
925
+ const tryMapPromise = coreEffect.tryMapPromise;
926
+
927
+ /**
928
+ * Create an `Effect` that when executed will construct `promise` and wait for
929
+ * its result, errors will produce failure as `unknown`.
930
+ *
931
+ * An optional `AbortSignal` can be provided to allow for interruption of the
932
+ * wrapped Promise api.
933
+ *
934
+ * @since 2.0.0
935
+ * @category error handling
936
+ */
937
+ const tryPromise = coreEffect.tryPromise;
938
+
939
+ /**
940
+ * The inverse operation `sandbox(effect)`
941
+ *
942
+ * Terminates with exceptions on the `Left` side of the `Either` error, if it
943
+ * exists. Otherwise extracts the contained `Effect<R, E, A>`
944
+ *
945
+ * @since 2.0.0
946
+ * @category error handling
947
+ */
948
+ const unsandbox = coreEffect.unsandbox;
949
+
950
+ // -------------------------------------------------------------------------------------
951
+ // interuption
952
+ // -------------------------------------------------------------------------------------
953
+
954
+ /**
955
+ * This function checks if any fibers are attempting to interrupt the current
956
+ * fiber, and if so, performs self-interruption.
957
+ *
958
+ * Note that this allows for interruption to occur in uninterruptible regions.
959
+ *
960
+ * @returns A new `Effect` value that represents the check for interruption
961
+ * and the potential self-interruption of the current fiber.
962
+ *
963
+ * @since 2.0.0
964
+ * @category interruption
965
+ */
966
+ const allowInterrupt = coreEffect.allowInterrupt;
967
+
968
+ /**
969
+ * Checks the interrupt status, and produces the effect returned by the
970
+ * specified callback.
971
+ *
972
+ * @since 2.0.0
973
+ * @category interruption
974
+ */
975
+ const checkInterruptible = core.checkInterruptible;
976
+
977
+ /**
978
+ * Returns an effect whose interruption will be disconnected from the
979
+ * fiber's own interruption, being performed in the background without
980
+ * slowing down the fiber's interruption.
981
+ *
982
+ * This method is useful to create "fast interrupting" effects. For
983
+ * example, if you call this on a bracketed effect, then even if the
984
+ * effect is "stuck" in acquire or release, its interruption will return
985
+ * immediately, while the acquire / release are performed in the
986
+ * background.
987
+ *
988
+ * See timeout and race for other applications.
989
+ *
990
+ * @since 2.0.0
991
+ * @category interruption
992
+ */
993
+ const disconnect = fiberRuntime.disconnect;
994
+
995
+ /**
996
+ * @since 2.0.0
997
+ * @category interruption
998
+ */
999
+ const interrupt = core.interrupt;
1000
+
1001
+ /**
1002
+ * @since 2.0.0
1003
+ * @category interruption
1004
+ */
1005
+ const interruptWith = core.interruptWith;
1006
+
1007
+ /**
1008
+ * @since 2.0.0
1009
+ * @category interruption
1010
+ */
1011
+ const interruptible = core.interruptible;
1012
+
1013
+ /**
1014
+ * @since 2.0.0
1015
+ * @category interruption
1016
+ */
1017
+ const interruptibleMask = core.interruptibleMask;
1018
+
1019
+ /**
1020
+ * @since 2.0.0
1021
+ * @category interruption
1022
+ */
1023
+ const onInterrupt = core.onInterrupt;
1024
+
1025
+ /**
1026
+ * @since 2.0.0
1027
+ * @category interruption
1028
+ */
1029
+ const uninterruptible = core.uninterruptible;
1030
+
1031
+ /**
1032
+ * @since 2.0.0
1033
+ * @category interruption
1034
+ */
1035
+ const uninterruptibleMask = core.uninterruptibleMask;
1036
+
1037
+ // -------------------------------------------------------------------------------------
1038
+ // mapping
1039
+ // -------------------------------------------------------------------------------------
1040
+
1041
+ /**
1042
+ * This function maps the success value of an `Effect` value to a specified
1043
+ * constant value.
1044
+ *
1045
+ * @param value - The constant value that the success value of the `Effect`
1046
+ * value will be mapped to.
1047
+ * @param self - The `Effect` value whose success value will be mapped to the
1048
+ * specified constant value.
1049
+ *
1050
+ * @returns A new `Effect` value that represents the mapping of the success
1051
+ * value of the original `Effect` value to the specified constant value.
1052
+ *
1053
+ * @since 2.0.0
1054
+ * @category mapping
1055
+ */
1056
+ const as = core.as;
1057
+
1058
+ /**
1059
+ * This function maps the success value of an `Effect` value to a `Some` value
1060
+ * in an `Option` value. If the original `Effect` value fails, the returned
1061
+ * `Effect` value will also fail.
1062
+ *
1063
+ * @param self - The `Effect` value whose success value will be mapped to a
1064
+ * `Some` value in an `Option` value.
1065
+ *
1066
+ * @returns A new `Effect` value that represents the mapping of the success
1067
+ * value of the original `Effect` value to a `Some` value in an `Option`
1068
+ * value. The returned `Effect` value may fail if the original `Effect` value
1069
+ * fails.
1070
+ *
1071
+ * @category mapping
1072
+ * @since 2.0.0
1073
+ */
1074
+ const asSome = coreEffect.asSome;
1075
+
1076
+ /**
1077
+ * This function maps the error value of an `Effect` value to a `Some` value
1078
+ * in an `Option` value. If the original `Effect` value succeeds, the returned
1079
+ * `Effect` value will also succeed.
1080
+ *
1081
+ * @param self - The `Effect` value whose error value will be mapped to a
1082
+ * `Some` value in an `Option` value.
1083
+ *
1084
+ * @returns A new `Effect` value that represents the mapping of the error
1085
+ * value of the original `Effect` value to a `Some` value in an `Option`
1086
+ * value. The returned `Effect` value may succeed if the original `Effect`
1087
+ * value succeeds.
1088
+ *
1089
+ * @category mapping
1090
+ * @since 2.0.0
1091
+ */
1092
+ const asSomeError = coreEffect.asSomeError;
1093
+
1094
+ /**
1095
+ * This function maps the success value of an `Effect` value to `void`. If the
1096
+ * original `Effect` value succeeds, the returned `Effect` value will also
1097
+ * succeed. If the original `Effect` value fails, the returned `Effect` value
1098
+ * will fail with the same error.
1099
+ *
1100
+ * @param self - The `Effect` value whose success value will be mapped to `void`.
1101
+ *
1102
+ * @returns A new `Effect` value that represents the mapping of the success
1103
+ * value of the original `Effect` value to `void`.
1104
+ *
1105
+ * @since 2.0.0
1106
+ * @category mapping
1107
+ */
1108
+ const asUnit = core.asUnit;
1109
+
1110
+ /**
1111
+ * Returns an effect that swaps the error/success cases. This allows you to
1112
+ * use all methods on the error channel, possibly before flipping back.
1113
+ *
1114
+ * @since 2.0.0
1115
+ * @category mapping
1116
+ */
1117
+ const flip = core.flip;
1118
+
1119
+ /**
1120
+ * Swaps the error/value parameters, applies the function `f` and flips the
1121
+ * parameters back
1122
+ *
1123
+ * @since 2.0.0
1124
+ * @category mapping
1125
+ */
1126
+ const flipWith = coreEffect.flipWith;
1127
+
1128
+ /**
1129
+ * @since 2.0.0
1130
+ * @category mapping
1131
+ */
1132
+ const map = core.map;
1133
+
1134
+ /**
1135
+ * Statefully and effectfully maps over the elements of this chunk to produce
1136
+ * new elements.
1137
+ *
1138
+ * @since 2.0.0
1139
+ * @category mapping
1140
+ */
1141
+ const mapAccum = coreEffect.mapAccum;
1142
+
1143
+ /**
1144
+ * Returns an effect whose failure and success channels have been mapped by
1145
+ * the specified `onFailure` and `onSuccess` functions.
1146
+ *
1147
+ * @since 2.0.0
1148
+ * @category mapping
1149
+ */
1150
+ const mapBoth = core.mapBoth;
1151
+
1152
+ /**
1153
+ * Returns an effect with its error channel mapped using the specified function.
1154
+ *
1155
+ * @since 2.0.0
1156
+ * @category mapping
1157
+ */
1158
+ const mapError = core.mapError;
1159
+
1160
+ /**
1161
+ * Returns an effect with its full cause of failure mapped using the specified
1162
+ * function. This can be used to transform errors while preserving the
1163
+ * original structure of `Cause`.
1164
+ *
1165
+ * See `absorb`, `sandbox`, `catchAllCause` for other functions for dealing
1166
+ * with defects.
1167
+ *
1168
+ * @since 2.0.0
1169
+ * @category mapping
1170
+ */
1171
+ const mapErrorCause = coreEffect.mapErrorCause;
1172
+
1173
+ /**
1174
+ * Returns a new effect where the error channel has been merged into the
1175
+ * success channel to their common combined type.
1176
+ *
1177
+ * @since 2.0.0
1178
+ * @category mapping
1179
+ */
1180
+ const merge = coreEffect.merge;
1181
+
1182
+ /**
1183
+ * Returns a new effect where boolean value of this effect is negated.
1184
+ *
1185
+ * @since 2.0.0
1186
+ * @category mapping
1187
+ */
1188
+ const negate = coreEffect.negate;
1189
+
1190
+ // -------------------------------------------------------------------------------------
1191
+ // scoping, resources & finalization
1192
+ // -------------------------------------------------------------------------------------
1193
+
1194
+ /**
1195
+ * This function constructs a scoped resource from an `acquire` and `release`
1196
+ * `Effect` value.
1197
+ *
1198
+ * If the `acquire` `Effect` value successfully completes execution, then the
1199
+ * `release` `Effect` value will be added to the finalizers associated with the
1200
+ * scope of this `Effect` value, and it is guaranteed to be run when the scope
1201
+ * is closed.
1202
+ *
1203
+ * The `acquire` and `release` `Effect` values will be run uninterruptibly.
1204
+ * Additionally, the `release` `Effect` value may depend on the `Exit` value
1205
+ * specified when the scope is closed.
1206
+ *
1207
+ * @param acquire - The `Effect` value that acquires the resource.
1208
+ * @param release - The `Effect` value that releases the resource.
1209
+ *
1210
+ * @returns A new `Effect` value that represents the scoped resource.
1211
+ *
1212
+ * @since 2.0.0
1213
+ * @category scoping, resources & finalization
1214
+ */
1215
+ const acquireRelease = fiberRuntime.acquireRelease;
1216
+
1217
+ /**
1218
+ * This function constructs a scoped resource from an `acquire` and `release`
1219
+ * `Effect` value.
1220
+ *
1221
+ * If the `acquire` `Effect` value successfully completes execution, then the
1222
+ * `release` `Effect` value will be added to the finalizers associated with the
1223
+ * scope of this `Effect` value, and it is guaranteed to be run when the scope
1224
+ * is closed.
1225
+ *
1226
+ * The `acquire` `Effect` values will be run interruptibly.
1227
+ * The `release` `Effect` values will be run uninterruptibly.
1228
+ *
1229
+ * Additionally, the `release` `Effect` value may depend on the `Exit` value
1230
+ * specified when the scope is closed.
1231
+ *
1232
+ * @param acquire - The `Effect` value that acquires the resource.
1233
+ * @param release - The `Effect` value that releases the resource.
1234
+ *
1235
+ * @returns A new `Effect` value that represents the scoped resource.
1236
+ *
1237
+ * @since 2.0.0
1238
+ * @category scoping, resources & finalization
1239
+ */
1240
+ const acquireReleaseInterruptible = fiberRuntime.acquireReleaseInterruptible;
1241
+
1242
+ /**
1243
+ * This function is used to ensure that an `Effect` value that represents the
1244
+ * acquisition of a resource (for example, opening a file, launching a thread,
1245
+ * etc.) will not be interrupted, and that the resource will always be released
1246
+ * when the `Effect` value completes execution.
1247
+ *
1248
+ * `acquireUseRelease` does the following:
1249
+ *
1250
+ * 1. Ensures that the `Effect` value that acquires the resource will not be
1251
+ * interrupted. Note that acquisition may still fail due to internal
1252
+ * reasons (such as an uncaught exception).
1253
+ * 2. Ensures that the `release` `Effect` value will not be interrupted,
1254
+ * and will be executed as long as the acquisition `Effect` value
1255
+ * successfully acquires the resource.
1256
+ *
1257
+ * During the time period between the acquisition and release of the resource,
1258
+ * the `use` `Effect` value will be executed.
1259
+ *
1260
+ * If the `release` `Effect` value fails, then the entire `Effect` value will
1261
+ * fail, even if the `use` `Effect` value succeeds. If this fail-fast behavior
1262
+ * is not desired, errors produced by the `release` `Effect` value can be caught
1263
+ * and ignored.
1264
+ *
1265
+ * @param acquire - The `Effect` value that acquires the resource.
1266
+ * @param use - The `Effect` value that is executed between the acquisition
1267
+ * and release of the resource.
1268
+ * @param release - The `Effect` value that releases the resource.
1269
+ *
1270
+ * @returns A new `Effect` value that represents the acquisition, use, and
1271
+ * release of the resource.
1272
+ *
1273
+ * @since 2.0.0
1274
+ * @category scoping, resources & finalization
1275
+ */
1276
+ const acquireUseRelease = core.acquireUseRelease;
1277
+
1278
+ /**
1279
+ * This function adds a finalizer to the scope of the calling `Effect` value.
1280
+ * The finalizer is guaranteed to be run when the scope is closed, and it may
1281
+ * depend on the `Exit` value that the scope is closed with.
1282
+ *
1283
+ * @param finalizer - The finalizer to add to the scope of the calling
1284
+ * `Effect` value. This function must take an `Exit` value as its parameter,
1285
+ * and return a new `Effect` value.
1286
+ *
1287
+ * @returns A new `Effect` value that represents the addition of the finalizer
1288
+ * to the scope of the calling `Effect` value.
1289
+ *
1290
+ * @since 2.0.0
1291
+ * @category scoping, resources & finalization
1292
+ */
1293
+ const addFinalizer = fiberRuntime.addFinalizer;
1294
+
1295
+ /**
1296
+ * Returns an effect that, if this effect _starts_ execution, then the
1297
+ * specified `finalizer` is guaranteed to be executed, whether this effect
1298
+ * succeeds, fails, or is interrupted.
1299
+ *
1300
+ * For use cases that need access to the effect's result, see `onExit`.
1301
+ *
1302
+ * Finalizers offer very powerful guarantees, but they are low-level, and
1303
+ * should generally not be used for releasing resources. For higher-level
1304
+ * logic built on `ensuring`, see the `acquireRelease` family of methods.
1305
+ *
1306
+ * @since 2.0.0
1307
+ * @category scoping, resources & finalization
1308
+ */
1309
+ const ensuring = fiberRuntime.ensuring;
1310
+
1311
+ /**
1312
+ * Runs the specified effect if this effect fails, providing the error to the
1313
+ * effect if it exists. The provided effect will not be interrupted.
1314
+ *
1315
+ * @since 2.0.0
1316
+ * @category scoping, resources & finalization
1317
+ */
1318
+ const onError = core.onError;
1319
+
1320
+ /**
1321
+ * Ensures that a cleanup functions runs, whether this effect succeeds, fails,
1322
+ * or is interrupted.
1323
+ *
1324
+ * @since 2.0.0
1325
+ * @category scoping, resources & finalization
1326
+ */
1327
+ const onExit = core.onExit;
1328
+
1329
+ /**
1330
+ * @since 2.0.0
1331
+ * @category scoping, resources & finalization
1332
+ */
1333
+ const parallelFinalizers = fiberRuntime.parallelFinalizers;
1334
+
1335
+ /**
1336
+ * @since 2.0.0
1337
+ * @category scoping, resources & finalization
1338
+ */
1339
+ const finalizersMask = fiberRuntime.finalizersMask;
1340
+
1341
+ /**
1342
+ * Returns a new scoped workflow that runs finalizers added to the scope of
1343
+ * this workflow sequentially in the reverse of the order in which they were
1344
+ * added. Note that finalizers are run sequentially by default so this only
1345
+ * has meaning if used within a scope where finalizers are being run in
1346
+ * parallel.
1347
+ *
1348
+ * @since 2.0.0
1349
+ * @category scoping, resources & finalization
1350
+ */
1351
+ const sequentialFinalizers = fiberRuntime.sequentialFinalizers;
1352
+
1353
+ /**
1354
+ * @since 2.0.0
1355
+ * @category scoping, resources & finalization
1356
+ */
1357
+ const scope = fiberRuntime.scope;
1358
+
1359
+ /**
1360
+ * Accesses the current scope and uses it to perform the specified effect.
1361
+ *
1362
+ * @since 2.0.0
1363
+ * @category scoping, resources & finalization
1364
+ */
1365
+ const scopeWith = fiberRuntime.scopeWith;
1366
+
1367
+ /**
1368
+ * Scopes all resources uses in this workflow to the lifetime of the workflow,
1369
+ * ensuring that their finalizers are run as soon as this workflow completes
1370
+ * execution, whether by success, failure, or interruption.
1371
+ *
1372
+ * @since 2.0.0
1373
+ * @category scoping, resources & finalization
1374
+ */
1375
+ const scoped = fiberRuntime.scopedEffect;
1376
+
1377
+ /**
1378
+ * Scopes all resources acquired by `resource` to the lifetime of `use`
1379
+ * without effecting the scope of any resources acquired by `use`.
1380
+ *
1381
+ * @since 2.0.0
1382
+ * @category scoping, resources & finalization
1383
+ */
1384
+ const using = fiberRuntime.using;
1385
+
1386
+ /**
1387
+ * Returns a new scoped workflow that returns the result of this workflow as
1388
+ * well as a finalizer that can be run to close the scope of this workflow.
1389
+ *
1390
+ * @since 2.0.0
1391
+ * @category scoping, resources & finalization
1392
+ */
1393
+ const withEarlyRelease = fiberRuntime.withEarlyRelease;
1394
+
1395
+ // -------------------------------------------------------------------------------------
1396
+ // supervision & fibers
1397
+ // -------------------------------------------------------------------------------------
1398
+
1399
+ /**
1400
+ * Returns a new effect that will not succeed with its value before first
1401
+ * waiting for the end of all child fibers forked by the effect.
1402
+ *
1403
+ * @since 2.0.0
1404
+ * @category supervision & fibers
1405
+ */
1406
+ const awaitAllChildren = circular.awaitAllChildren;
1407
+
1408
+ /**
1409
+ * Returns a new workflow that will not supervise any fibers forked by this
1410
+ * workflow.
1411
+ *
1412
+ * @since 2.0.0
1413
+ * @category supervision & fibers
1414
+ */
1415
+ const daemonChildren = fiberRuntime.daemonChildren;
1416
+
1417
+ /**
1418
+ * Constructs an effect with information about the current `Fiber`.
1419
+ *
1420
+ * @since 2.0.0
1421
+ * @category supervision & fibers
1422
+ */
1423
+ const descriptor = coreEffect.descriptor;
1424
+
1425
+ /**
1426
+ * Constructs an effect based on information about the current `Fiber`.
1427
+ *
1428
+ * @since 2.0.0
1429
+ * @category supervision & fibers
1430
+ */
1431
+ const descriptorWith = coreEffect.descriptorWith;
1432
+
1433
+ /**
1434
+ * Returns a new workflow that executes this one and captures the changes in
1435
+ * `FiberRef` values.
1436
+ *
1437
+ * @since 2.0.0
1438
+ * @category supervision & fibers
1439
+ */
1440
+ const diffFiberRefs = coreEffect.diffFiberRefs;
1441
+
1442
+ /**
1443
+ * Acts on the children of this fiber (collected into a single fiber),
1444
+ * guaranteeing the specified callback will be invoked, whether or not this
1445
+ * effect succeeds.
1446
+ *
1447
+ * @since 2.0.0
1448
+ * @category supervision & fibers
1449
+ */
1450
+ const ensuringChild = circular.ensuringChild;
1451
+
1452
+ /**
1453
+ * Acts on the children of this fiber, guaranteeing the specified callback
1454
+ * will be invoked, whether or not this effect succeeds.
1455
+ *
1456
+ * @since 2.0.0
1457
+ * @category supervision & fibers
1458
+ */
1459
+ const ensuringChildren = circular.ensuringChildren;
1460
+
1461
+ /**
1462
+ * @since 2.0.0
1463
+ * @category supervision & fibers
1464
+ */
1465
+ const fiberId = core.fiberId;
1466
+
1467
+ /**
1468
+ * @since 2.0.0
1469
+ * @category supervision & fibers
1470
+ */
1471
+ const fiberIdWith = core.fiberIdWith;
1472
+
1473
+ /**
1474
+ * Returns an effect that forks this effect into its own separate fiber,
1475
+ * returning the fiber immediately, without waiting for it to begin executing
1476
+ * the effect.
1477
+ *
1478
+ * You can use the `fork` method whenever you want to execute an effect in a
1479
+ * new fiber, concurrently and without "blocking" the fiber executing other
1480
+ * effects. Using fibers can be tricky, so instead of using this method
1481
+ * directly, consider other higher-level methods, such as `raceWith`,
1482
+ * `zipPar`, and so forth.
1483
+ *
1484
+ * The fiber returned by this method has methods to interrupt the fiber and to
1485
+ * wait for it to finish executing the effect. See `Fiber` for more
1486
+ * information.
1487
+ *
1488
+ * Whenever you use this method to launch a new fiber, the new fiber is
1489
+ * attached to the parent fiber's scope. This means when the parent fiber
1490
+ * terminates, the child fiber will be terminated as well, ensuring that no
1491
+ * fibers leak. This behavior is called "auto supervision", and if this
1492
+ * behavior is not desired, you may use the `forkDaemon` or `forkIn` methods.
1493
+ *
1494
+ * @since 2.0.0
1495
+ * @category supervision & fibers
1496
+ */
1497
+ const fork = fiberRuntime.fork;
1498
+
1499
+ /**
1500
+ * Forks the effect into a new fiber attached to the global scope. Because the
1501
+ * new fiber is attached to the global scope, when the fiber executing the
1502
+ * returned effect terminates, the forked fiber will continue running.
1503
+ *
1504
+ * @since 2.0.0
1505
+ * @category supervision & fibers
1506
+ */
1507
+ const forkDaemon = fiberRuntime.forkDaemon;
1508
+
1509
+ /**
1510
+ * Returns an effect that forks all of the specified values, and returns a
1511
+ * composite fiber that produces a list of their results, in order.
1512
+ *
1513
+ * @since 2.0.0
1514
+ * @category supervision & fibers
1515
+ */
1516
+ const forkAll = circular.forkAll;
1517
+
1518
+ /**
1519
+ * Forks the effect in the specified scope. The fiber will be interrupted
1520
+ * when the scope is closed.
1521
+ *
1522
+ * @since 2.0.0
1523
+ * @category supervision & fibers
1524
+ */
1525
+ const forkIn = circular.forkIn;
1526
+
1527
+ /**
1528
+ * Forks the fiber in a `Scope`, interrupting it when the scope is closed.
1529
+ *
1530
+ * @since 2.0.0
1531
+ * @category supervision & fibers
1532
+ */
1533
+ const forkScoped = circular.forkScoped;
1534
+
1535
+ /**
1536
+ * Like fork but handles an error with the provided handler.
1537
+ *
1538
+ * @since 2.0.0
1539
+ * @category supervision & fibers
1540
+ */
1541
+ const forkWithErrorHandler = fiberRuntime.forkWithErrorHandler;
1542
+
1543
+ /**
1544
+ * Creates an `Effect` value that represents the exit value of the specified
1545
+ * fiber.
1546
+ *
1547
+ * @since 2.0.0
1548
+ * @category supervision & fibers
1549
+ */
1550
+ const fromFiber = circular.fromFiber;
1551
+
1552
+ /**
1553
+ * Creates an `Effect` value that represents the exit value of the specified
1554
+ * fiber.
1555
+ *
1556
+ * @since 2.0.0
1557
+ * @category supervision & fibers
1558
+ */
1559
+ const fromFiberEffect = circular.fromFiberEffect;
1560
+
1561
+ /**
1562
+ * Returns an effect with the behavior of this one, but where all child fibers
1563
+ * forked in the effect are reported to the specified supervisor.
1564
+ *
1565
+ * @since 2.0.0
1566
+ * @category supervision & fibers
1567
+ */
1568
+ const supervised = circular.supervised;
1569
+
1570
+ /**
1571
+ * Transplants specified effects so that when those effects fork other
1572
+ * effects, the forked effects will be governed by the scope of the fiber that
1573
+ * executes this effect.
1574
+ *
1575
+ * This can be used to "graft" deep grandchildren onto a higher-level scope,
1576
+ * effectively extending their lifespans into the parent scope.
1577
+ *
1578
+ * @since 2.0.0
1579
+ * @category supervision & fibers
1580
+ */
1581
+ const transplant = core.transplant;
1582
+
1583
+ /**
1584
+ * @since 2.0.0
1585
+ * @category supervision & fibers
1586
+ */
1587
+ const withConcurrency = core.withConcurrency;
1588
+
1589
+ // ---------------------------------------------------------------------------------------
1590
+ // scheduler
1591
+ // ---------------------------------------------------------------------------------------
1592
+
1593
+ /**
1594
+ * @since 2.0.0
1595
+ * @category scheduler
1596
+ */
1597
+ const setScheduler = scheduler => layer.scopedDiscard(fiberRuntime.fiberRefLocallyScoped(Scheduler_dist_effectScheduler.currentScheduler, scheduler));
1598
+
1599
+ /**
1600
+ * Sets the provided scheduler for usage in the wrapped effect
1601
+ *
1602
+ * @since 2.0.0
1603
+ * @category scheduler
1604
+ */
1605
+ const withScheduler = Scheduler_dist_effectScheduler.withScheduler;
1606
+
1607
+ /**
1608
+ * Sets the scheduling priority used when yielding
1609
+ *
1610
+ * @since 2.0.0
1611
+ * @category utils
1612
+ */
1613
+ const withSchedulingPriority = core.withSchedulingPriority;
1614
+
1615
+ /**
1616
+ * Sets the maximum number of operations before yield by the default schedulers
1617
+ *
1618
+ * @since 2.0.0
1619
+ * @category utils
1620
+ */
1621
+ const withMaxOpsBeforeYield = core.withMaxOpsBeforeYield;
1622
+
1623
+ // ---------------------------------------------------------------------------------------
1624
+ // clock
1625
+ // ---------------------------------------------------------------------------------------
1626
+
1627
+ /**
1628
+ * Retreives the `Clock` service from the context
1629
+ *
1630
+ * @since 2.0.0
1631
+ * @category clock
1632
+ */
1633
+ const clock = coreEffect.clock;
1634
+
1635
+ /**
1636
+ * Retreives the `Clock` service from the context and provides it to the
1637
+ * specified effectful function.
1638
+ *
1639
+ * @since 2.0.0
1640
+ * @category clock
1641
+ */
1642
+ const clockWith = coreEffect.clockWith;
1643
+
1644
+ /**
1645
+ * @since 2.0.0
1646
+ * @category clock
1647
+ */
1648
+ const setClock = clock => layer.scopedDiscard(fiberRuntime.fiberRefLocallyScopedWith(defaultServices.currentServices, Context_dist_effectContext.add(defaultServices.clockTag, clock)));
1649
+
1650
+ /**
1651
+ * Sets the implementation of the clock service to the specified value and
1652
+ * restores it to its original value when the scope is closed.
1653
+ *
1654
+ * @since 2.0.0
1655
+ * @category constructors
1656
+ */
1657
+ const withClockScoped = fiberRuntime.withClockScoped;
1658
+
1659
+ /**
1660
+ * Executes the specified workflow with the specified implementation of the
1661
+ * clock service.
1662
+ *
1663
+ * @since 2.0.0
1664
+ * @category clock
1665
+ */
1666
+ const withClock = defaultServices.withClock;
1667
+
1668
+ // ---------------------------------------------------------------------------------------
1669
+ // delays & timeouts
1670
+ // ---------------------------------------------------------------------------------------
1671
+
1672
+ /**
1673
+ * Returns an effect that is delayed from this effect by the specified
1674
+ * `Duration`.
1675
+ *
1676
+ * @since 2.0.0
1677
+ * @category delays & timeouts
1678
+ */
1679
+ const delay = coreEffect.delay;
1680
+
1681
+ /**
1682
+ * Returns an effect that suspends for the specified duration. This method is
1683
+ * asynchronous, and does not actually block the fiber executing the effect.
1684
+ *
1685
+ * @since 2.0.0
1686
+ * @category delays & timeouts
1687
+ */
1688
+ const sleep = coreEffect.sleep;
1689
+
1690
+ /**
1691
+ * Returns a new effect that executes this one and times the execution.
1692
+ *
1693
+ * @since 2.0.0
1694
+ * @category delays & timeouts
1695
+ */
1696
+ const timed = coreEffect.timed;
1697
+
1698
+ /**
1699
+ * A more powerful variation of `timed` that allows specifying the clock.
1700
+ *
1701
+ * @since 2.0.0
1702
+ * @category delays & timeouts
1703
+ */
1704
+ const timedWith = coreEffect.timedWith;
1705
+
1706
+ /**
1707
+ * Returns an effect that will timeout this effect, returning `None` if the
1708
+ * timeout elapses before the effect has produced a value; and returning
1709
+ * `Some` of the produced value otherwise.
1710
+ *
1711
+ * If the timeout elapses without producing a value, the running effect will
1712
+ * be safely interrupted.
1713
+ *
1714
+ * WARNING: The effect returned by this method will not itself return until
1715
+ * the underlying effect is actually interrupted. This leads to more
1716
+ * predictable resource utilization. If early return is desired, then instead
1717
+ * of using `effect.timeout(d)`, use `effect.disconnect.timeout(d)`, which
1718
+ * first disconnects the effect's interruption signal before performing the
1719
+ * timeout, resulting in earliest possible return, before an underlying effect
1720
+ * has been successfully interrupted.
1721
+ *
1722
+ * @since 2.0.0
1723
+ * @category delays & timeouts
1724
+ */
1725
+ const timeout = circular.timeout;
1726
+
1727
+ /**
1728
+ * The same as `timeout`, but instead of producing a `None` in the event of
1729
+ * timeout, it will produce the specified error.
1730
+ *
1731
+ * @since 2.0.0
1732
+ * @category delays & timeouts
1733
+ */
1734
+ const timeoutFail = circular.timeoutFail;
1735
+
1736
+ /**
1737
+ * The same as `timeout`, but instead of producing a `None` in the event of
1738
+ * timeout, it will produce the specified failure.
1739
+ *
1740
+ * @since 2.0.0
1741
+ * @category delays & timeouts
1742
+ */
1743
+ const timeoutFailCause = circular.timeoutFailCause;
1744
+
1745
+ /**
1746
+ * Returns an effect that will timeout this effect, returning either the
1747
+ * default value if the timeout elapses before the effect has produced a
1748
+ * value or returning the result of applying the function `onSuccess` to the
1749
+ * success value of the effect.
1750
+ *
1751
+ * If the timeout elapses without producing a value, the running effect will
1752
+ * be safely interrupted.
1753
+ *
1754
+ * @since 2.0.0
1755
+ * @category delays & timeouts
1756
+ */
1757
+ const timeoutTo = circular.timeoutTo;
1758
+
1759
+ // -------------------------------------------------------------------------------------
1760
+ // config
1761
+ // -------------------------------------------------------------------------------------
1762
+
1763
+ /**
1764
+ * Uses the default config provider to load the specified config, or fail with
1765
+ * an error of type Config.Error.
1766
+ *
1767
+ * @since 2.0.0
1768
+ * @category config
1769
+ */
1770
+ const config = defaultServices.config;
1771
+
1772
+ /**
1773
+ * Retrieves the default config provider, and passes it to the specified
1774
+ * function, which may return an effect that uses the provider to perform some
1775
+ * work or compute some value.
1776
+ *
1777
+ * @since 2.0.0
1778
+ * @category config
1779
+ */
1780
+ const configProviderWith = defaultServices.configProviderWith;
1781
+
1782
+ /**
1783
+ * Sets the current `ConfigProvider`.
1784
+ *
1785
+ * @since 2.0.0
1786
+ * @category config
1787
+ */
1788
+ const setConfigProvider = circular$1.setConfigProvider;
1789
+
1790
+ /**
1791
+ * Executes the specified workflow with the specified configuration provider.
1792
+ *
1793
+ * @since 2.0.0
1794
+ * @category config
1795
+ */
1796
+ const withConfigProvider = defaultServices.withConfigProvider;
1797
+
1798
+ /**
1799
+ * Sets the configuration provider to the specified value and restores it to its original value
1800
+ * when the scope is closed.
1801
+ *
1802
+ * @since 2.0.0
1803
+ * @category config
1804
+ */
1805
+ const withConfigProviderScoped = fiberRuntime.withConfigProviderScoped;
1806
+
1807
+ // -------------------------------------------------------------------------------------
1808
+ // context
1809
+ // -------------------------------------------------------------------------------------
1810
+
1811
+ /**
1812
+ * @since 2.0.0
1813
+ * @category context
1814
+ */
1815
+ const context = core.context;
1816
+
1817
+ /**
1818
+ * Accesses the context of the effect.
1819
+ *
1820
+ * @since 2.0.0
1821
+ * @category context
1822
+ */
1823
+ const contextWith = coreEffect.contextWith;
1824
+
1825
+ /**
1826
+ * Effectually accesses the context of the effect.
1827
+ *
1828
+ * @since 2.0.0
1829
+ * @category context
1830
+ */
1831
+ const contextWithEffect = core.contextWithEffect;
1832
+
1833
+ /**
1834
+ * Provides some of the context required to run this effect,
1835
+ * leaving the remainder `R0`.
1836
+ *
1837
+ * @since 2.0.0
1838
+ * @category context
1839
+ */
1840
+ const mapInputContext = core.mapInputContext;
1841
+
1842
+ /**
1843
+ * Splits the context into two parts, providing one part using the
1844
+ * specified layer/context/runtime and leaving the remainder `R0`
1845
+ *
1846
+ * @since 2.0.0
1847
+ * @category context
1848
+ */
1849
+ const provide = layer.effect_provide;
1850
+
1851
+ /**
1852
+ * Provides the effect with the single service it requires. If the effect
1853
+ * requires more than one service use `provideContext` instead.
1854
+ *
1855
+ * @since 2.0.0
1856
+ * @category context
1857
+ */
1858
+ const provideService = coreEffect.provideService;
1859
+
1860
+ /**
1861
+ * Provides the effect with the single service it requires. If the effect
1862
+ * requires more than one service use `provideContext` instead.
1863
+ *
1864
+ * @since 2.0.0
1865
+ * @category context
1866
+ */
1867
+ const provideServiceEffect = coreEffect.provideServiceEffect;
1868
+
1869
+ /**
1870
+ * @since 2.0.0
1871
+ * @category context
1872
+ */
1873
+ const serviceFunction = coreEffect.serviceFunction;
1874
+
1875
+ /**
1876
+ * @since 2.0.0
1877
+ * @category context
1878
+ */
1879
+ const serviceFunctionEffect = coreEffect.serviceFunctionEffect;
1880
+
1881
+ /**
1882
+ * @since 2.0.0
1883
+ * @category context
1884
+ */
1885
+ const serviceFunctions = coreEffect.serviceFunctions;
1886
+
1887
+ /**
1888
+ * @since 2.0.0
1889
+ * @category context
1890
+ */
1891
+ const serviceConstants = coreEffect.serviceConstants;
1892
+
1893
+ /**
1894
+ * @since 2.0.0
1895
+ * @category context
1896
+ */
1897
+ const serviceMembers = coreEffect.serviceMembers;
1898
+
1899
+ /**
1900
+ * @since 2.0.0
1901
+ * @category context
1902
+ */
1903
+ const serviceOption = tag => contextWith(_ => Context_dist_effectContext.getOption(_, tag));
1904
+
1905
+ /**
1906
+ * Updates the service with the required service entry.
1907
+ *
1908
+ * @since 2.0.0
1909
+ * @category context
1910
+ */
1911
+ const updateService = coreEffect.updateService;
1912
+
1913
+ // -------------------------------------------------------------------------------------
1914
+ // do notation
1915
+ // -------------------------------------------------------------------------------------
1916
+
1917
+ /**
1918
+ * @since 2.0.0
1919
+ * @category do notation
1920
+ */
1921
+ const Do = coreEffect.Do;
1922
+
1923
+ /**
1924
+ * Binds an effectful value in a `do` scope
1925
+ *
1926
+ * @since 2.0.0
1927
+ * @category do notation
1928
+ */
1929
+ const bind = coreEffect.bind;
1930
+
1931
+ /**
1932
+ * @category do notation
1933
+ * @since 2.0.0
1934
+ */
1935
+ const bindTo = coreEffect.bindTo;
1936
+ const let_ = coreEffect.bindValue;
1937
+
1938
+ // -------------------------------------------------------------------------------------
1939
+ // conversions
1940
+ // -------------------------------------------------------------------------------------
1941
+
1942
+ /**
1943
+ * Returns an effect whose failure and success have been lifted into an
1944
+ * `Either`. The resulting effect cannot fail, because the failure case has
1945
+ * been exposed as part of the `Either` success case.
1946
+ *
1947
+ * This method is useful for recovering from effects that may fail.
1948
+ *
1949
+ * The error parameter of the returned `Effect` is `never`, since it is
1950
+ * guaranteed the effect does not model failure.
1951
+ *
1952
+ * @since 2.0.0
1953
+ * @category conversions
1954
+ */
1955
+ const either = core.either;
1956
+
1957
+ /**
1958
+ * @since 2.0.0
1959
+ * @category conversions
1960
+ */
1961
+ const exit = core.exit;
1962
+
1963
+ /**
1964
+ * @since 2.0.0
1965
+ * @category conversions
1966
+ */
1967
+ const intoDeferred = core.intoDeferred;
1968
+
1969
+ /**
1970
+ * Executes this effect, skipping the error but returning optionally the
1971
+ * success.
1972
+ *
1973
+ * @since 2.0.0
1974
+ * @category conversions
1975
+ */
1976
+ const option = coreEffect.option;
1977
+
1978
+ // -------------------------------------------------------------------------------------
1979
+ // filtering & conditionals
1980
+ // -------------------------------------------------------------------------------------
1981
+
1982
+ const if_ = core.if_;
1983
+
1984
+ /**
1985
+ * Filter the specified effect with the provided function, dying with specified
1986
+ * defect if the predicate fails.
1987
+ *
1988
+ * @since 2.0.0
1989
+ * @category filtering & conditionals
1990
+ */
1991
+ const filterOrDie = coreEffect.filterOrDie;
1992
+
1993
+ /**
1994
+ * Filter the specified effect with the provided function, dying with specified
1995
+ * message if the predicate fails.
1996
+ *
1997
+ * @since 2.0.0
1998
+ * @category filtering & conditionals
1999
+ */
2000
+ const filterOrDieMessage = coreEffect.filterOrDieMessage;
2001
+
2002
+ /**
2003
+ * Filters the specified effect with the provided function returning the value
2004
+ * of the effect if it is successful, otherwise returns the value of `orElse`.
2005
+ *
2006
+ * @since 2.0.0
2007
+ * @category filtering & conditionals
2008
+ */
2009
+ const filterOrElse = coreEffect.filterOrElse;
2010
+
2011
+ /**
2012
+ * Filter the specified effect with the provided function, failing with specified
2013
+ * error if the predicate fails.
2014
+ *
2015
+ * @since 2.0.0
2016
+ * @category filtering & conditionals
2017
+ */
2018
+ const filterOrFail = coreEffect.filterOrFail;
2019
+
2020
+ /**
2021
+ * The moral equivalent of `if (!p) exp`.
2022
+ *
2023
+ * @since 2.0.0
2024
+ * @category filtering & conditionals
2025
+ */
2026
+ const unless = coreEffect.unless;
2027
+
2028
+ /**
2029
+ * The moral equivalent of `if (!p) exp` when `p` has side-effects.
2030
+ *
2031
+ * @since 2.0.0
2032
+ * @category filtering & conditionals
2033
+ */
2034
+ const unlessEffect = coreEffect.unlessEffect;
2035
+
2036
+ /**
2037
+ * The moral equivalent of `if (p) exp`.
2038
+ *
2039
+ * @since 2.0.0
2040
+ * @category filtering & conditionals
2041
+ */
2042
+ const when = coreEffect.when;
2043
+
2044
+ /**
2045
+ * @since 2.0.0
2046
+ * @category filtering & conditionals
2047
+ */
2048
+ const whenEffect = core.whenEffect;
2049
+
2050
+ /**
2051
+ * Executes this workflow when value of the specified `FiberRef` satisfies the
2052
+ * predicate.
2053
+ *
2054
+ * @since 2.0.0
2055
+ * @category filtering & conditionals
2056
+ */
2057
+ const whenFiberRef = coreEffect.whenFiberRef;
2058
+
2059
+ /**
2060
+ * Executes this workflow when the value of the `Ref` satisfies the predicate.
2061
+ *
2062
+ * @since 2.0.0
2063
+ * @category filtering & conditionals
2064
+ */
2065
+ const whenRef = coreEffect.whenRef;
2066
+
2067
+ // -------------------------------------------------------------------------------------
2068
+ // sequencing
2069
+ // -------------------------------------------------------------------------------------
2070
+
2071
+ /**
2072
+ * This function is a pipeable operator that maps over an `Effect` value,
2073
+ * flattening the result of the mapping function into a new `Effect` value.
2074
+ *
2075
+ * @param f - The mapping function to apply to the `Effect` value.
2076
+ * This function must return another `Effect` value.
2077
+ *
2078
+ * @returns A new `Effect` value that is the result of flattening the
2079
+ * mapped `Effect` value.
2080
+ *
2081
+ * @since 2.0.0
2082
+ * @category sequencing
2083
+ */
2084
+ const flatMap = core.flatMap;
2085
+
2086
+ /**
2087
+ * @since 2.0.0
2088
+ * @category sequencing
2089
+ */
2090
+ const flatten = core.flatten;
2091
+
2092
+ /**
2093
+ * Returns an effect that races this effect with all the specified effects,
2094
+ * yielding the value of the first effect to succeed with a value. Losers of
2095
+ * the race will be interrupted immediately
2096
+ *
2097
+ * @since 2.0.0
2098
+ * @category sequencing
2099
+ */
2100
+ const raceAll = fiberRuntime.raceAll;
2101
+
2102
+ /**
2103
+ * Returns an effect that races this effect with the specified effect,
2104
+ * returning the first successful `A` from the faster side. If one effect
2105
+ * succeeds, the other will be interrupted. If neither succeeds, then the
2106
+ * effect will fail with some error.
2107
+ *
2108
+ * @since 2.0.0
2109
+ * @category sequencing
2110
+ */
2111
+ const race = fiberRuntime.race;
2112
+
2113
+ /**
2114
+ * Returns an effect that races this effect with the specified effect,
2115
+ * yielding the first result to complete, whether by success or failure. If
2116
+ * neither effect completes, then the composed effect will not complete.
2117
+ *
2118
+ * WARNING: The raced effect will safely interrupt the "loser", but will not
2119
+ * resume until the loser has been cleanly terminated. If early return is
2120
+ * desired, then instead of performing `l raceFirst r`, perform
2121
+ * `l.disconnect raceFirst r.disconnect`, which disconnects left and right
2122
+ * interrupt signal, allowing a fast return, with interruption performed
2123
+ * in the background.
2124
+ *
2125
+ * @since 2.0.0
2126
+ * @category sequencing
2127
+ */
2128
+ const raceFirst = circular.raceFirst;
2129
+
2130
+ /**
2131
+ * Returns an effect that races this effect with the specified effect, calling
2132
+ * the specified finisher as soon as one result or the other has been computed.
2133
+ *
2134
+ * @since 2.0.0
2135
+ * @category sequencing
2136
+ */
2137
+ const raceWith = fiberRuntime.raceWith;
2138
+
2139
+ /**
2140
+ * Summarizes a effect by computing some value before and after execution, and
2141
+ * then combining the values to produce a summary, together with the result of
2142
+ * execution.
2143
+ *
2144
+ * @since 2.0.0
2145
+ * @category sequencing
2146
+ */
2147
+ const summarized = coreEffect.summarized;
2148
+
2149
+ /**
2150
+ * @since 2.0.0
2151
+ * @category sequencing
2152
+ */
2153
+ const tap = core.tap;
2154
+
2155
+ /**
2156
+ * Returns an effect that effectfully "peeks" at the failure or success of
2157
+ * this effect.
2158
+ *
2159
+ * @since 2.0.0
2160
+ * @category sequencing
2161
+ */
2162
+ const tapBoth = coreEffect.tapBoth;
2163
+
2164
+ /**
2165
+ * Returns an effect that effectually "peeks" at the defect of this effect.
2166
+ *
2167
+ * @since 2.0.0
2168
+ * @category sequencing
2169
+ */
2170
+ const tapDefect = coreEffect.tapDefect;
2171
+
2172
+ /**
2173
+ * Returns an effect that effectfully "peeks" at the failure of this effect.
2174
+ *
2175
+ * @since 2.0.0
2176
+ * @category sequencing
2177
+ */
2178
+ const tapError = coreEffect.tapError;
2179
+
2180
+ /**
2181
+ * Returns an effect that effectfully "peeks" at the specific tagged failure of this effect.
2182
+ *
2183
+ * @since 2.0.0
2184
+ * @category sequencing
2185
+ */
2186
+ const tapErrorTag = coreEffect.tapErrorTag;
2187
+
2188
+ /**
2189
+ * Returns an effect that effectually "peeks" at the cause of the failure of
2190
+ * this effect.
2191
+ *
2192
+ * @since 2.0.0
2193
+ * @category sequencing
2194
+ */
2195
+ const tapErrorCause = coreEffect.tapErrorCause;
2196
+
2197
+ // -------------------------------------------------------------------------------------
2198
+ // repetition / recursion
2199
+ // -------------------------------------------------------------------------------------
2200
+
2201
+ /**
2202
+ * Repeats this effect forever (until the first error).
2203
+ *
2204
+ * @since 2.0.0
2205
+ * @category repetition / recursion
2206
+ */
2207
+ const forever = coreEffect.forever;
2208
+
2209
+ /**
2210
+ * Iterates with the specified effectual function. The moral equivalent of:
2211
+ *
2212
+ * ```ts
2213
+ * let s = initial
2214
+ *
2215
+ * while (cont(s)) {
2216
+ * s = body(s)
2217
+ * }
2218
+ *
2219
+ * return s
2220
+ * ```
2221
+ *
2222
+ * @since 2.0.0
2223
+ * @category repetition / recursion
2224
+ */
2225
+ const iterate = coreEffect.iterate;
2226
+
2227
+ /**
2228
+ * Loops with the specified effectual function, collecting the results into a
2229
+ * list. The moral equivalent of:
2230
+ *
2231
+ * ```ts
2232
+ * let s = initial
2233
+ * let as = [] as readonly A[]
2234
+ *
2235
+ * while (cont(s)) {
2236
+ * as = [body(s), ...as]
2237
+ * s = inc(s)
2238
+ * }
2239
+ *
2240
+ * A.reverse(as)
2241
+ * ```
2242
+ *
2243
+ * @since 2.0.0
2244
+ * @category repetition / recursion
2245
+ */
2246
+ const loop = coreEffect.loop;
2247
+
2248
+ /**
2249
+ * Returns a new effect that repeats this effect according to the specified
2250
+ * schedule or until the first failure. Scheduled recurrences are in addition
2251
+ * to the first execution, so that `io.repeat(Schedule.once)` yields an effect
2252
+ * that executes `io`, and then if that succeeds, executes `io` an additional
2253
+ * time.
2254
+ *
2255
+ * @since 2.0.0
2256
+ * @category repetition / recursion
2257
+ */
2258
+ const repeat = schedule$1.repeat_Effect;
2259
+
2260
+ /**
2261
+ * Returns a new effect that repeats this effect the specified number of times
2262
+ * or until the first failure. Repeats are in addition to the first execution,
2263
+ * so that `io.repeatN(1)` yields an effect that executes `io`, and then if
2264
+ * that succeeds, executes `io` an additional time.
2265
+ *
2266
+ * @since 2.0.0
2267
+ * @category repetition / recursion
2268
+ */
2269
+ const repeatN = coreEffect.repeatN;
2270
+
2271
+ /**
2272
+ * Returns a new effect that repeats this effect according to the specified
2273
+ * schedule or until the first failure, at which point, the failure value and
2274
+ * schedule output are passed to the specified handler.
2275
+ *
2276
+ * Scheduled recurrences are in addition to the first execution, so that
2277
+ * `pipe(effect, Effect.repeat(Schedule.once()))` yields an effect that executes
2278
+ * `effect`, and then if that succeeds, executes `effect` an additional time.
2279
+ *
2280
+ * @since 2.0.0
2281
+ * @category repetition / recursion
2282
+ */
2283
+ const repeatOrElse = schedule$1.repeatOrElse_Effect;
2284
+
2285
+ /**
2286
+ * Repeats this effect until its value satisfies the specified predicate or
2287
+ * until the first failure.
2288
+ *
2289
+ * @since 2.0.0
2290
+ * @category repetition / recursion
2291
+ */
2292
+ const repeatUntil = schedule$1.repeatUntil_Effect;
2293
+
2294
+ /**
2295
+ * Repeats this effect until its value satisfies the specified effectful
2296
+ * predicate or until the first failure.
2297
+ *
2298
+ * @since 2.0.0
2299
+ * @category repetition / recursion
2300
+ */
2301
+ const repeatUntilEffect = schedule$1.repeatUntilEffect_Effect;
2302
+
2303
+ /**
2304
+ * Repeats this effect while its value satisfies the specified effectful
2305
+ * predicate or until the first failure.
2306
+ *
2307
+ * @since 2.0.0
2308
+ * @category repetition / recursion
2309
+ */
2310
+ const repeatWhile = schedule$1.repeatWhile_Effect;
2311
+
2312
+ /**
2313
+ * Repeats this effect while its value satisfies the specified effectful
2314
+ * predicate or until the first failure.
2315
+ *
2316
+ * @since 2.0.0
2317
+ * @category repetition / recursion
2318
+ */
2319
+ const repeatWhileEffect = schedule$1.repeatWhileEffect_Effect;
2320
+
2321
+ /**
2322
+ * Runs this effect according to the specified schedule.
2323
+ *
2324
+ * See `scheduleFrom` for a variant that allows the schedule's decision to
2325
+ * depend on the result of this effect.
2326
+ *
2327
+ * @since 2.0.0
2328
+ * @category repetition / recursion
2329
+ */
2330
+ const schedule = schedule$1.schedule_Effect;
2331
+
2332
+ /**
2333
+ * Runs this effect according to the specified schedule in a new fiber
2334
+ * attached to the current scope.
2335
+ *
2336
+ * @since 2.0.0
2337
+ * @category repetition / recursion
2338
+ */
2339
+ const scheduleForked = circular.scheduleForked;
2340
+
2341
+ /**
2342
+ * Runs this effect according to the specified schedule starting from the
2343
+ * specified input value.
2344
+ *
2345
+ * @since 2.0.0
2346
+ * @category repetition / recursion
2347
+ */
2348
+ const scheduleFrom = schedule$1.scheduleFrom_Effect;
2349
+
2350
+ /**
2351
+ * @since 2.0.0
2352
+ * @category repetition / recursion
2353
+ */
2354
+ const whileLoop = core.whileLoop;
2355
+
2356
+ // -------------------------------------------------------------------------------------
2357
+ // fiber refs
2358
+ // -------------------------------------------------------------------------------------
2359
+
2360
+ /**
2361
+ * Returns a collection of all `FiberRef` values for the fiber running this
2362
+ * effect.
2363
+ *
2364
+ * @since 2.0.0
2365
+ * @category fiber refs
2366
+ */
2367
+ const getFiberRefs = coreEffect.fiberRefs;
2368
+
2369
+ /**
2370
+ * Inherits values from all `FiberRef` instances into current fiber.
2371
+ *
2372
+ * @since 2.0.0
2373
+ * @category fiber refs
2374
+ */
2375
+ const inheritFiberRefs = coreEffect.inheritFiberRefs;
2376
+
2377
+ /**
2378
+ * @since 2.0.0
2379
+ * @category fiber refs
2380
+ */
2381
+ const locally = core.fiberRefLocally;
2382
+
2383
+ /**
2384
+ * @since 2.0.0
2385
+ * @category fiber refs
2386
+ */
2387
+ const locallyWith = core.fiberRefLocallyWith;
2388
+
2389
+ /**
2390
+ * @since 2.0.0
2391
+ * @category fiber refs
2392
+ */
2393
+ const locallyScoped = fiberRuntime.fiberRefLocallyScoped;
2394
+
2395
+ /**
2396
+ * @since 2.0.0
2397
+ * @category fiber refs
2398
+ */
2399
+ const locallyScopedWith = fiberRuntime.fiberRefLocallyScopedWith;
2400
+
2401
+ /**
2402
+ * Applies the specified changes to the `FiberRef` values for the fiber
2403
+ * running this workflow.
2404
+ *
2405
+ * @since 2.0.0
2406
+ * @category fiber refs
2407
+ */
2408
+ const patchFiberRefs = coreEffect.patchFiberRefs;
2409
+
2410
+ /**
2411
+ * Sets the `FiberRef` values for the fiber running this effect to the values
2412
+ * in the specified collection of `FiberRef` values.
2413
+ *
2414
+ * @since 2.0.0
2415
+ * @category fiber refs
2416
+ */
2417
+ const setFiberRefs = coreEffect.setFiberRefs;
2418
+
2419
+ /**
2420
+ * Updates the `FiberRef` values for the fiber running this effect using the
2421
+ * specified function.
2422
+ *
2423
+ * @since 2.0.0
2424
+ * @category fiber refs
2425
+ */
2426
+ const updateFiberRefs = coreEffect.updateFiberRefs;
2427
+
2428
+ // -------------------------------------------------------------------------------------
2429
+ // getters & folding
2430
+ // -------------------------------------------------------------------------------------
2431
+
2432
+ /**
2433
+ * Returns `true` if this effect is a failure, `false` otherwise.
2434
+ *
2435
+ * @since 2.0.0
2436
+ * @category getters & folding
2437
+ */
2438
+ const isFailure = coreEffect.isFailure;
2439
+
2440
+ /**
2441
+ * Returns `true` if this effect is a success, `false` otherwise.
2442
+ *
2443
+ * @since 2.0.0
2444
+ * @category getters & folding
2445
+ */
2446
+ const isSuccess = coreEffect.isSuccess;
2447
+
2448
+ /**
2449
+ * Folds over the failure value or the success value to yield an effect that
2450
+ * does not fail, but succeeds with the value returned by the left or right
2451
+ * function passed to `match`.
2452
+ *
2453
+ * @since 2.0.0
2454
+ * @category getters & folding
2455
+ */
2456
+ const match = coreEffect.match;
2457
+
2458
+ /**
2459
+ * @since 2.0.0
2460
+ * @category getters & folding
2461
+ */
2462
+ const matchCause = core.matchCause;
2463
+
2464
+ /**
2465
+ * @since 2.0.0
2466
+ * @category getters & folding
2467
+ */
2468
+ const matchCauseEffect = core.matchCauseEffect;
2469
+
2470
+ /**
2471
+ * @since 2.0.0
2472
+ * @category getters & folding
2473
+ */
2474
+ const matchEffect = core.matchEffect;
2475
+
2476
+ // -------------------------------------------------------------------------------------
2477
+ // logging
2478
+ // -------------------------------------------------------------------------------------
2479
+
2480
+ /**
2481
+ * Logs the specified message or cause at the current log level.
2482
+ *
2483
+ * You can set the current log level using `FiberRef.currentLogLevel`.
2484
+ *
2485
+ * @since 2.0.0
2486
+ * @category logging
2487
+ */
2488
+ const log = coreEffect.log;
2489
+
2490
+ /**
2491
+ * Logs the specified message or cause at the Trace log level.
2492
+ *
2493
+ * @since 2.0.0
2494
+ * @category logging
2495
+ */
2496
+ const logTrace = coreEffect.logTrace;
2497
+
2498
+ /**
2499
+ * Logs the specified message or cause at the Debug log level.
2500
+ *
2501
+ * @since 2.0.0
2502
+ * @category logging
2503
+ */
2504
+ const logDebug = coreEffect.logDebug;
2505
+
2506
+ /**
2507
+ * Logs the specified message or cause at the Info log level.
2508
+ *
2509
+ * @since 2.0.0
2510
+ * @category logging
2511
+ */
2512
+ const logInfo = coreEffect.logInfo;
2513
+
2514
+ /**
2515
+ * Logs the specified message or cause at the Warning log level.
2516
+ *
2517
+ * @since 2.0.0
2518
+ * @category logging
2519
+ */
2520
+ const logWarning = coreEffect.logWarning;
2521
+
2522
+ /**
2523
+ * Logs the specified message or cause at the Error log level.
2524
+ *
2525
+ * @since 2.0.0
2526
+ * @category logging
2527
+ */
2528
+ const logError = coreEffect.logError;
2529
+
2530
+ /**
2531
+ * Logs the specified message or cause at the Fatal log level.
2532
+ *
2533
+ * @since 2.0.0
2534
+ * @category logging
2535
+ */
2536
+ const logFatal = coreEffect.logFatal;
2537
+
2538
+ /**
2539
+ * Adjusts the label for the current logging span.
2540
+ *
2541
+ * @since 2.0.0
2542
+ * @category logging
2543
+ */
2544
+ const withLogSpan = coreEffect.withLogSpan;
2545
+
2546
+ /**
2547
+ * Annotates each log in this effect with the specified log annotation.
2548
+ *
2549
+ * @since 2.0.0
2550
+ * @category logging
2551
+ */
2552
+ const annotateLogs = coreEffect.annotateLogs;
2553
+
2554
+ /**
2555
+ * Retrieves the log annotations associated with the current scope.
2556
+ *
2557
+ * @since 2.0.0
2558
+ * @category logging
2559
+ */
2560
+ const logAnnotations = coreEffect.logAnnotations;
2561
+
2562
+ /**
2563
+ * Decides wether child fibers will report or not unhandled errors via the logger
2564
+ *
2565
+ * @since 2.0.0
2566
+ * @category logging
2567
+ */
2568
+ const withUnhandledErrorLogLevel = core.withUnhandledErrorLogLevel;
2569
+
2570
+ /**
2571
+ * @since 2.0.0
2572
+ * @category logging
2573
+ */
2574
+ const setUnhandledErrorLogLevel = level => layer.scopedDiscard(fiberRuntime.fiberRefLocallyScoped(core.currentUnhandledErrorLogLevel, level));
2575
+
2576
+ // -------------------------------------------------------------------------------------
2577
+ // alternatives
2578
+ // -------------------------------------------------------------------------------------
2579
+
2580
+ /**
2581
+ * Translates effect failure into death of the fiber, making all failures
2582
+ * unchecked and not a part of the type of the effect.
2583
+ *
2584
+ * @since 2.0.0
2585
+ * @category alternatives
2586
+ */
2587
+ const orDie = core.orDie;
2588
+
2589
+ /**
2590
+ * Keeps none of the errors, and terminates the fiber with them, using the
2591
+ * specified function to convert the `E` into a `Throwable`.
2592
+ *
2593
+ * @since 2.0.0
2594
+ * @category alternatives
2595
+ */
2596
+ const orDieWith = core.orDieWith;
2597
+
2598
+ /**
2599
+ * Executes this effect and returns its value, if it succeeds, but otherwise
2600
+ * executes the specified effect.
2601
+ *
2602
+ * @since 2.0.0
2603
+ * @category alternatives
2604
+ */
2605
+ const orElse = core.orElse;
2606
+
2607
+ /**
2608
+ * Executes this effect and returns its value, if it succeeds, but otherwise
2609
+ * fails with the specified error.
2610
+ *
2611
+ * @since 2.0.0
2612
+ * @category alternatives
2613
+ */
2614
+ const orElseFail = coreEffect.orElseFail;
2615
+
2616
+ /**
2617
+ * Executes this effect and returns its value, if it succeeds, but
2618
+ * otherwise succeeds with the specified value.
2619
+ *
2620
+ * @since 2.0.0
2621
+ * @category alternatives
2622
+ */
2623
+ const orElseSucceed = coreEffect.orElseSucceed;
2624
+
2625
+ // -------------------------------------------------------------------------------------
2626
+ // random
2627
+ // -------------------------------------------------------------------------------------
2628
+
2629
+ /**
2630
+ * Retreives the `Random` service from the context.
2631
+ *
2632
+ * @since 2.0.0
2633
+ * @category random
2634
+ */
2635
+ const random = coreEffect.random;
2636
+
2637
+ /**
2638
+ * Retreives the `Random` service from the context and uses it to run the
2639
+ * specified workflow.
2640
+ *
2641
+ * @since 2.0.0
2642
+ * @category random
2643
+ */
2644
+ const randomWith = defaultServices.randomWith;
2645
+
2646
+ // -------------------------------------------------------------------------------------
2647
+ // runtime
2648
+ // -------------------------------------------------------------------------------------
2649
+
2650
+ /**
2651
+ * Returns an effect that accesses the runtime, which can be used to
2652
+ * (unsafely) execute tasks. This is useful for integration with legacy code
2653
+ * that must call back into Effect code.
2654
+ *
2655
+ * @since 2.0.0
2656
+ * @category runtime
2657
+ */
2658
+ const runtime = runtime$1.runtime;
2659
+
2660
+ /**
2661
+ * Retrieves an effect that succeeds with the current runtime flags, which
2662
+ * govern behavior and features of the runtime system.
2663
+ *
2664
+ * @since 2.0.0
2665
+ * @category runtime
2666
+ */
2667
+ const getRuntimeFlags = core.runtimeFlags;
2668
+
2669
+ /**
2670
+ * @since 2.0.0
2671
+ * @category runtime
2672
+ */
2673
+ const patchRuntimeFlags = core.updateRuntimeFlags;
2674
+
2675
+ /**
2676
+ * @since 2.0.0
2677
+ * @category runtime
2678
+ */
2679
+ const withRuntimeFlagsPatch = core.withRuntimeFlags;
2680
+
2681
+ /**
2682
+ * @since 2.0.0
2683
+ * @category runtime
2684
+ */
2685
+ const withRuntimeFlagsPatchScoped = fiberRuntime.withRuntimeFlagsScoped;
2686
+
2687
+ // -------------------------------------------------------------------------------------
2688
+ // metrics
2689
+ // -------------------------------------------------------------------------------------
2690
+
2691
+ /**
2692
+ * Tags each metric in this effect with the specific tag.
2693
+ *
2694
+ * @since 2.0.0
2695
+ * @category metrics
2696
+ */
2697
+ const tagMetrics = coreEffect.tagMetrics;
2698
+
2699
+ /**
2700
+ * Tags each metric in this effect with the specific tag.
2701
+ *
2702
+ * @since 2.0.0
2703
+ * @category metrics
2704
+ */
2705
+ const labelMetrics = coreEffect.labelMetrics;
2706
+
2707
+ /**
2708
+ * Tags each metric in this effect with the specific tag.
2709
+ *
2710
+ * @since 2.0.0
2711
+ * @category metrics
2712
+ */
2713
+ const labelMetricsSet = coreEffect.labelMetricsSet;
2714
+
2715
+ /**
2716
+ * Tags each metric in a scope with a the specific tag.
2717
+ *
2718
+ * @since 2.0.0
2719
+ * @category metrics
2720
+ */
2721
+ const tagMetricsScoped = fiberRuntime.tagMetricsScoped;
2722
+
2723
+ /**
2724
+ * Tags each metric in a scope with a the specific tag.
2725
+ *
2726
+ * @since 2.0.0
2727
+ * @category metrics
2728
+ */
2729
+ const labelMetricsScoped = fiberRuntime.labelMetricsScoped;
2730
+
2731
+ /**
2732
+ * Tags each metric in a scope with a the specific tag.
2733
+ *
2734
+ * @since 2.0.0
2735
+ * @category metrics
2736
+ */
2737
+ const labelMetricsScopedSet = fiberRuntime.labelMetricsScopedSet;
2738
+
2739
+ /**
2740
+ * Retrieves the metric labels associated with the current scope.
2741
+ *
2742
+ * @since 2.0.0
2743
+ * @category metrics
2744
+ */
2745
+ const metricLabels = core.metricLabels;
2746
+
2747
+ /**
2748
+ * @since 2.0.0
2749
+ * @category metrics
2750
+ */
2751
+ const withMetric = coreEffect.withMetric;
2752
+
2753
+ // -------------------------------------------------------------------------------------
2754
+ // unify
2755
+ // -------------------------------------------------------------------------------------
2756
+
2757
+ /**
2758
+ * Used to unify functions that would otherwise return `Effect<A, B, C> | Effect<D, E, F>`
2759
+ *
2760
+ * @category unify
2761
+ * @since 2.0.0
2762
+ */
2763
+ const unifiedFn = core.unified;
2764
+
2765
+ /**
2766
+ * Used to unify effects that would otherwise be `Effect<A, B, C> | Effect<D, E, F>`
2767
+ *
2768
+ * @category unify
2769
+ * @since 2.0.0
2770
+ */
2771
+ const unified = Function_dist_effectFunction.identity;
2772
+
2773
+ // -------------------------------------------------------------------------------------
2774
+ // semaphore
2775
+ // -------------------------------------------------------------------------------------
2776
+
2777
+ /**
2778
+ * @category semaphore
2779
+ * @since 2.0.0
2780
+ */
2781
+ /**
2782
+ * @category semaphore
2783
+ * @since 2.0.0
2784
+ */
2785
+ /**
2786
+ * Unsafely creates a new Semaphore
2787
+ *
2788
+ * @since 2.0.0
2789
+ * @category semaphore
2790
+ */
2791
+ const unsafeMakeSemaphore = circular.unsafeMakeSemaphore;
2792
+
2793
+ /**
2794
+ * Creates a new Semaphore
2795
+ *
2796
+ * @since 2.0.0
2797
+ * @category semaphore
2798
+ */
2799
+ const makeSemaphore = circular.makeSemaphore;
2800
+
2801
+ // -------------------------------------------------------------------------------------
2802
+ // execution
2803
+ // -------------------------------------------------------------------------------------
2804
+
2805
+ /**
2806
+ * @since 2.0.0
2807
+ * @category execution
2808
+ */
2809
+ const runFork = runtime$1.unsafeForkEffect;
2810
+
2811
+ /**
2812
+ * @since 2.0.0
2813
+ * @category execution
2814
+ */
2815
+ const runCallback = runtime$1.unsafeRunEffect;
2816
+
2817
+ /**
2818
+ * Runs an `Effect` workflow, returning a `Promise` which resolves with the
2819
+ * result of the workflow or rejects with an error.
2820
+ *
2821
+ * @since 2.0.0
2822
+ * @category execution
2823
+ */
2824
+ const runPromise = runtime$1.unsafeRunPromiseEffect;
2825
+
2826
+ /**
2827
+ * Runs an `Effect` workflow, returning a `Promise` which resolves with the
2828
+ * `Exit` value of the workflow.
2829
+ *
2830
+ * @since 2.0.0
2831
+ * @category execution
2832
+ */
2833
+ const runPromiseExit = runtime$1.unsafeRunPromiseExitEffect;
2834
+
2835
+ /**
2836
+ * @since 2.0.0
2837
+ * @category execution
2838
+ */
2839
+ const runSync = runtime$1.unsafeRunSyncEffect;
2840
+
2841
+ /**
2842
+ * @since 2.0.0
2843
+ * @category execution
2844
+ */
2845
+ const runSyncExit = runtime$1.unsafeRunSyncExitEffect;
2846
+
2847
+ // -------------------------------------------------------------------------------------
2848
+ // zipping
2849
+ // -------------------------------------------------------------------------------------
2850
+
2851
+ /**
2852
+ * Sequentially zips the this result with the specified result. Combines both
2853
+ * `Cause`s when both effects fail.
2854
+ *
2855
+ * @since 2.0.0
2856
+ * @category zipping
2857
+ */
2858
+ const validate = fiberRuntime.validate;
2859
+
2860
+ /**
2861
+ * Sequentially zips this effect with the specified effect using the specified
2862
+ * combiner function. Combines the causes in case both effect fail.
2863
+ *
2864
+ * @since 2.0.0
2865
+ * @category zipping
2866
+ */
2867
+ const validateWith = fiberRuntime.validateWith;
2868
+
2869
+ /**
2870
+ * @since 2.0.0
2871
+ * @category zipping
2872
+ */
2873
+ const zip = fiberRuntime.zipOptions;
2874
+
2875
+ /**
2876
+ * @since 2.0.0
2877
+ * @category zipping
2878
+ */
2879
+ const zipLeft = fiberRuntime.zipLeftOptions;
2880
+
2881
+ /**
2882
+ * @since 2.0.0
2883
+ * @category zipping
2884
+ */
2885
+ const zipRight = fiberRuntime.zipRightOptions;
2886
+
2887
+ /**
2888
+ * @since 2.0.0
2889
+ * @category zipping
2890
+ */
2891
+ const zipWith = fiberRuntime.zipWithOptions;
2892
+
2893
+ // -------------------------------------------------------------------------------------
2894
+ // requests & batching
2895
+ // -------------------------------------------------------------------------------------
2896
+
2897
+ /**
2898
+ * @category requests & batching
2899
+ * @since 2.0.0
2900
+ */
2901
+ const blocked = core.blocked;
2902
+
2903
+ /**
2904
+ * @category requests & batching
2905
+ * @since 2.0.0
2906
+ */
2907
+ const runRequestBlock = core.runRequestBlock;
2908
+
2909
+ /**
2910
+ * @category requests & batching
2911
+ * @since 2.0.0
2912
+ */
2913
+ const step = core.step;
2914
+
2915
+ /**
2916
+ * @category requests & batching
2917
+ * @since 2.0.0
2918
+ */
2919
+ const flatMapStep = core.flatMapStep;
2920
+
2921
+ /**
2922
+ * @since 2.0.0
2923
+ * @category requests & batching
2924
+ */
2925
+ const request = query.fromRequest;
2926
+
2927
+ /**
2928
+ * @since 2.0.0
2929
+ * @category requests & batching
2930
+ */
2931
+ const cacheRequestResult = query.cacheRequest;
2932
+
2933
+ /**
2934
+ * @since 2.0.0
2935
+ * @category requests & batching
2936
+ */
2937
+ const withRequestBatching = core.withRequestBatching;
2938
+
2939
+ /**
2940
+ * @since 2.0.0
2941
+ * @category requests & batching
2942
+ */
2943
+ const setRequestBatching = requestBatching => layer.scopedDiscard(fiberRuntime.fiberRefLocallyScoped(core.currentRequestBatching, requestBatching));
2944
+
2945
+ /**
2946
+ * @since 2.0.0
2947
+ * @category requests & batching
2948
+ */
2949
+ const setRequestCaching = requestCaching => layer.scopedDiscard(fiberRuntime.fiberRefLocallyScoped(query.currentCacheEnabled, requestCaching));
2950
+
2951
+ /**
2952
+ * @since 2.0.0
2953
+ * @category requests & batching
2954
+ */
2955
+ const setRequestCache = cache => layer.scopedDiscard(core.isEffect(cache) ? core.flatMap(cache, x => fiberRuntime.fiberRefLocallyScoped(query.currentCache, x)) : fiberRuntime.fiberRefLocallyScoped(query.currentCache, cache));
2956
+
2957
+ /**
2958
+ * @since 2.0.0
2959
+ * @category requests & batching
2960
+ */
2961
+ const withRequestCaching = query.withRequestCaching;
2962
+
2963
+ /**
2964
+ * @since 2.0.0
2965
+ * @category requests & batching
2966
+ */
2967
+ const withRequestCache = query.withRequestCache;
2968
+
2969
+ // -------------------------------------------------------------------------------------
2970
+ // tracing
2971
+ // -------------------------------------------------------------------------------------
2972
+
2973
+ /**
2974
+ * Create a Layer that sets the current Tracer
2975
+ *
2976
+ * @since 2.0.0
2977
+ * @category tracing
2978
+ */
2979
+ const setTracer = circular$1.setTracer;
2980
+
2981
+ /**
2982
+ * @since 2.0.0
2983
+ * @category tracing
2984
+ */
2985
+ const tracer = coreEffect.tracer;
2986
+
2987
+ /**
2988
+ * @since 2.0.0
2989
+ * @category tracing
2990
+ */
2991
+ const tracerWith = defaultServices.tracerWith;
2992
+
2993
+ /**
2994
+ * @since 2.0.0
2995
+ * @category tracing
2996
+ */
2997
+ const withTracer = defaultServices.withTracer;
2998
+
2999
+ /**
3000
+ * @since 2.0.0
3001
+ * @category tracing
3002
+ */
3003
+ const withTracerScoped = fiberRuntime.withTracerScoped;
3004
+
3005
+ /**
3006
+ * @since 2.0.0
3007
+ * @category tracing
3008
+ */
3009
+ const withTracerTiming = core.withTracerTiming;
3010
+
3011
+ /**
3012
+ * @since 2.0.0
3013
+ * @category tracing
3014
+ */
3015
+ const setTracerTiming = enabled => layer.scopedDiscard(fiberRuntime.fiberRefLocallyScoped(core.currentTracerTimingEnabled, enabled));
3016
+
3017
+ /**
3018
+ * Adds an annotation to each span in this effect.
3019
+ *
3020
+ * @since 2.0.0
3021
+ * @category tracing
3022
+ */
3023
+ const annotateSpans = coreEffect.annotateSpans;
3024
+
3025
+ /**
3026
+ * Adds an annotation to the current span if available
3027
+ *
3028
+ * @since 2.0.0
3029
+ * @category tracing
3030
+ */
3031
+ const annotateCurrentSpan = coreEffect.annotateCurrentSpan;
3032
+
3033
+ /**
3034
+ * @since 2.0.0
3035
+ * @category tracing
3036
+ */
3037
+ const currentSpan = coreEffect.currentSpan;
3038
+
3039
+ /**
3040
+ * @since 2.0.0
3041
+ * @category tracing
3042
+ */
3043
+ const currentParentSpan = coreEffect.currentParentSpan;
3044
+
3045
+ /**
3046
+ * @since 2.0.0
3047
+ * @category tracing
3048
+ */
3049
+ const spanAnnotations = coreEffect.spanAnnotations;
3050
+
3051
+ /**
3052
+ * @since 2.0.0
3053
+ * @category tracing
3054
+ */
3055
+ const spanLinks = coreEffect.spanLinks;
3056
+
3057
+ /**
3058
+ * For all spans in this effect, add a link with the provided span.
3059
+ *
3060
+ * @since 2.0.0
3061
+ * @category tracing
3062
+ */
3063
+ const linkSpans = coreEffect.linkSpans;
3064
+
3065
+ /**
3066
+ * Create a new span for tracing.
3067
+ *
3068
+ * @since 2.0.0
3069
+ * @category tracing
3070
+ */
3071
+ const makeSpan = coreEffect.makeSpan;
3072
+
3073
+ /**
3074
+ * Adds the provided span to the span stack.
3075
+ *
3076
+ * @since 2.0.0
3077
+ * @category tracing
3078
+ */
3079
+ const setParentSpan = circular$1.setParentSpan;
3080
+
3081
+ /**
3082
+ * Create and add a span to the current span stack.
3083
+ *
3084
+ * The span is ended when the Layer is released.
3085
+ *
3086
+ * @since 2.0.0
3087
+ * @category tracing
3088
+ */
3089
+ const setSpan = circular$1.setSpan;
3090
+
3091
+ /**
3092
+ * Create a new span for tracing, and automatically close it when the effect
3093
+ * completes.
3094
+ *
3095
+ * The span is not added to the current span stack, so no child spans will be
3096
+ * created for it.
3097
+ *
3098
+ * @since 2.0.0
3099
+ * @category tracing
3100
+ */
3101
+ const useSpan = coreEffect.useSpan;
3102
+
3103
+ /**
3104
+ * Create a new span for tracing, and automatically close it when the Scope
3105
+ * finalizes.
3106
+ *
3107
+ * The span is not added to the current span stack, so no child spans will be
3108
+ * created for it.
3109
+ *
3110
+ * @since 2.0.0
3111
+ * @category tracing
3112
+ */
3113
+ const useSpanScoped = fiberRuntime.useSpanScoped;
3114
+
3115
+ /**
3116
+ * Wraps the effect with a new span for tracing.
3117
+ *
3118
+ * @since 2.0.0
3119
+ * @category tracing
3120
+ */
3121
+ const withSpan = coreEffect.withSpan;
3122
+
3123
+ /**
3124
+ * Create and add a span to the current span stack.
3125
+ *
3126
+ * The span is ended when the Scope is finalized.
3127
+ *
3128
+ * @since 2.0.0
3129
+ * @category tracing
3130
+ */
3131
+ const withSpanScoped = fiberRuntime.withSpanScoped;
3132
+
3133
+ /**
3134
+ * Adds the provided span to the current span stack.
3135
+ *
3136
+ * @since 2.0.0
3137
+ * @category tracing
3138
+ */
3139
+ const withParentSpan = coreEffect.withParentSpan;
3140
+
3141
+ /**
3142
+ * Adds the provided span to the current span stack.
3143
+ *
3144
+ * @since 2.0.0
3145
+ * @category tracing
3146
+ */
3147
+ const withParentSpanScoped = fiberRuntime.withParentSpanScoped;
3148
+
3149
+ // -------------------------------------------------------------------------------------
3150
+ // optionality
3151
+ // -------------------------------------------------------------------------------------
3152
+
3153
+ /**
3154
+ * Returns an effect that errors with `NoSuchElementException` if the value is
3155
+ * null or undefined, otherwise succeeds with the value.
3156
+ *
3157
+ * @since 2.0.0
3158
+ * @category optionality
3159
+ */
3160
+ const fromNullable = coreEffect.fromNullable;
3161
+
3162
+ /**
3163
+ * Wraps the success value of this effect with `Option.some`, and maps
3164
+ * `Cause.NoSuchElementException` to `Option.none`.
3165
+ *
3166
+ * @since 2.0.0
3167
+ * @category optionality
3168
+ */
3169
+ const optionFromOptional = coreEffect.optionFromOptional;
3170
+
3171
+ exports.Do = Do;
3172
+ exports.EffectTypeId = EffectTypeId;
3173
+ exports.acquireRelease = acquireRelease;
3174
+ exports.acquireReleaseInterruptible = acquireReleaseInterruptible;
3175
+ exports.acquireUseRelease = acquireUseRelease;
3176
+ exports.addFinalizer = addFinalizer;
3177
+ exports.all = all;
3178
+ exports.allSuccesses = allSuccesses;
3179
+ exports.allWith = allWith;
3180
+ exports.allowInterrupt = allowInterrupt;
3181
+ exports.annotateCurrentSpan = annotateCurrentSpan;
3182
+ exports.annotateLogs = annotateLogs;
3183
+ exports.annotateSpans = annotateSpans;
3184
+ exports.as = as;
3185
+ exports.asSome = asSome;
3186
+ exports.asSomeError = asSomeError;
3187
+ exports.asUnit = asUnit;
3188
+ exports.async = async;
3189
+ exports.asyncEffect = asyncEffect;
3190
+ exports.asyncEither = asyncEither;
3191
+ exports.asyncOption = asyncOption;
3192
+ exports.awaitAllChildren = awaitAllChildren;
3193
+ exports.bind = bind;
3194
+ exports.bindTo = bindTo;
3195
+ exports.blocked = blocked;
3196
+ exports.cacheRequestResult = cacheRequestResult;
3197
+ exports.cached = cached;
3198
+ exports.cachedFunction = cachedFunction;
3199
+ exports.cachedInvalidateWithTTL = cachedInvalidateWithTTL;
3200
+ exports.cachedWithTTL = cachedWithTTL;
3201
+ exports["catch"] = _catch;
3202
+ exports.catchAll = catchAll;
3203
+ exports.catchAllCause = catchAllCause;
3204
+ exports.catchAllDefect = catchAllDefect;
3205
+ exports.catchIf = catchIf;
3206
+ exports.catchSome = catchSome;
3207
+ exports.catchSomeCause = catchSomeCause;
3208
+ exports.catchSomeDefect = catchSomeDefect;
3209
+ exports.catchTag = catchTag;
3210
+ exports.catchTags = catchTags;
3211
+ exports.cause = cause;
3212
+ exports.checkInterruptible = checkInterruptible;
3213
+ exports.clock = clock;
3214
+ exports.clockWith = clockWith;
3215
+ exports.config = config;
3216
+ exports.configProviderWith = configProviderWith;
3217
+ exports.context = context;
3218
+ exports.contextWith = contextWith;
3219
+ exports.contextWithEffect = contextWithEffect;
3220
+ exports.currentParentSpan = currentParentSpan;
3221
+ exports.currentSpan = currentSpan;
3222
+ exports.daemonChildren = daemonChildren;
3223
+ exports.delay = delay;
3224
+ exports.descriptor = descriptor;
3225
+ exports.descriptorWith = descriptorWith;
3226
+ exports.die = die;
3227
+ exports.dieMessage = dieMessage;
3228
+ exports.dieSync = dieSync;
3229
+ exports.diffFiberRefs = diffFiberRefs;
3230
+ exports.disconnect = disconnect;
3231
+ exports.dropUntil = dropUntil;
3232
+ exports.dropWhile = dropWhile;
3233
+ exports.either = either;
3234
+ exports.ensuring = ensuring;
3235
+ exports.ensuringChild = ensuringChild;
3236
+ exports.ensuringChildren = ensuringChildren;
3237
+ exports.eventually = eventually;
3238
+ exports.every = every;
3239
+ exports.exists = exists;
3240
+ exports.exit = exit;
3241
+ exports.fail = fail;
3242
+ exports.failCause = failCause;
3243
+ exports.failCauseSync = failCauseSync;
3244
+ exports.failSync = failSync;
3245
+ exports.fiberId = fiberId;
3246
+ exports.fiberIdWith = fiberIdWith;
3247
+ exports.filter = filter;
3248
+ exports.filterOrDie = filterOrDie;
3249
+ exports.filterOrDieMessage = filterOrDieMessage;
3250
+ exports.filterOrElse = filterOrElse;
3251
+ exports.filterOrFail = filterOrFail;
3252
+ exports.finalizersMask = finalizersMask;
3253
+ exports.findFirst = findFirst;
3254
+ exports.firstSuccessOf = firstSuccessOf;
3255
+ exports.flatMap = flatMap;
3256
+ exports.flatMapStep = flatMapStep;
3257
+ exports.flatten = flatten;
3258
+ exports.flip = flip;
3259
+ exports.flipWith = flipWith;
3260
+ exports.forEach = forEach;
3261
+ exports.forever = forever;
3262
+ exports.fork = fork;
3263
+ exports.forkAll = forkAll;
3264
+ exports.forkDaemon = forkDaemon;
3265
+ exports.forkIn = forkIn;
3266
+ exports.forkScoped = forkScoped;
3267
+ exports.forkWithErrorHandler = forkWithErrorHandler;
3268
+ exports.fromFiber = fromFiber;
3269
+ exports.fromFiberEffect = fromFiberEffect;
3270
+ exports.fromNullable = fromNullable;
3271
+ exports.gen = gen;
3272
+ exports.getFiberRefs = getFiberRefs;
3273
+ exports.getRuntimeFlags = getRuntimeFlags;
3274
+ exports.head = head;
3275
+ exports["if"] = if_;
3276
+ exports.ignore = ignore;
3277
+ exports.ignoreLogged = ignoreLogged;
3278
+ exports.inheritFiberRefs = inheritFiberRefs;
3279
+ exports.interrupt = interrupt;
3280
+ exports.interruptWith = interruptWith;
3281
+ exports.interruptible = interruptible;
3282
+ exports.interruptibleMask = interruptibleMask;
3283
+ exports.intoDeferred = intoDeferred;
3284
+ exports.isEffect = isEffect;
3285
+ exports.isFailure = isFailure;
3286
+ exports.isSuccess = isSuccess;
3287
+ exports.iterate = iterate;
3288
+ exports.labelMetrics = labelMetrics;
3289
+ exports.labelMetricsScoped = labelMetricsScoped;
3290
+ exports.labelMetricsScopedSet = labelMetricsScopedSet;
3291
+ exports.labelMetricsSet = labelMetricsSet;
3292
+ exports["let"] = let_;
3293
+ exports.linkSpans = linkSpans;
3294
+ exports.locally = locally;
3295
+ exports.locallyScoped = locallyScoped;
3296
+ exports.locallyScopedWith = locallyScopedWith;
3297
+ exports.locallyWith = locallyWith;
3298
+ exports.log = log;
3299
+ exports.logAnnotations = logAnnotations;
3300
+ exports.logDebug = logDebug;
3301
+ exports.logError = logError;
3302
+ exports.logFatal = logFatal;
3303
+ exports.logInfo = logInfo;
3304
+ exports.logTrace = logTrace;
3305
+ exports.logWarning = logWarning;
3306
+ exports.loop = loop;
3307
+ exports.makeSemaphore = makeSemaphore;
3308
+ exports.makeSpan = makeSpan;
3309
+ exports.map = map;
3310
+ exports.mapAccum = mapAccum;
3311
+ exports.mapBoth = mapBoth;
3312
+ exports.mapError = mapError;
3313
+ exports.mapErrorCause = mapErrorCause;
3314
+ exports.mapInputContext = mapInputContext;
3315
+ exports.match = match;
3316
+ exports.matchCause = matchCause;
3317
+ exports.matchCauseEffect = matchCauseEffect;
3318
+ exports.matchEffect = matchEffect;
3319
+ exports.merge = merge;
3320
+ exports.mergeAll = mergeAll;
3321
+ exports.metricLabels = metricLabels;
3322
+ exports.negate = negate;
3323
+ exports.never = never;
3324
+ exports.none = none;
3325
+ exports.onError = onError;
3326
+ exports.onExit = onExit;
3327
+ exports.onInterrupt = onInterrupt;
3328
+ exports.once = once;
3329
+ exports.option = option;
3330
+ exports.optionFromOptional = optionFromOptional;
3331
+ exports.orDie = orDie;
3332
+ exports.orDieWith = orDieWith;
3333
+ exports.orElse = orElse;
3334
+ exports.orElseFail = orElseFail;
3335
+ exports.orElseSucceed = orElseSucceed;
3336
+ exports.parallelErrors = parallelErrors;
3337
+ exports.parallelFinalizers = parallelFinalizers;
3338
+ exports.partition = partition;
3339
+ exports.patchFiberRefs = patchFiberRefs;
3340
+ exports.patchRuntimeFlags = patchRuntimeFlags;
3341
+ exports.promise = promise;
3342
+ exports.provide = provide;
3343
+ exports.provideService = provideService;
3344
+ exports.provideServiceEffect = provideServiceEffect;
3345
+ exports.race = race;
3346
+ exports.raceAll = raceAll;
3347
+ exports.raceFirst = raceFirst;
3348
+ exports.raceWith = raceWith;
3349
+ exports.random = random;
3350
+ exports.randomWith = randomWith;
3351
+ exports.reduce = reduce;
3352
+ exports.reduceEffect = reduceEffect;
3353
+ exports.reduceRight = reduceRight;
3354
+ exports.reduceWhile = reduceWhile;
3355
+ exports.repeat = repeat;
3356
+ exports.repeatN = repeatN;
3357
+ exports.repeatOrElse = repeatOrElse;
3358
+ exports.repeatUntil = repeatUntil;
3359
+ exports.repeatUntilEffect = repeatUntilEffect;
3360
+ exports.repeatWhile = repeatWhile;
3361
+ exports.repeatWhileEffect = repeatWhileEffect;
3362
+ exports.replicate = replicate;
3363
+ exports.replicateEffect = replicateEffect;
3364
+ exports.request = request;
3365
+ exports.retry = retry;
3366
+ exports.retryN = retryN;
3367
+ exports.retryOrElse = retryOrElse;
3368
+ exports.retryUntil = retryUntil;
3369
+ exports.retryUntilEffect = retryUntilEffect;
3370
+ exports.retryWhile = retryWhile;
3371
+ exports.retryWhileEffect = retryWhileEffect;
3372
+ exports.runCallback = runCallback;
3373
+ exports.runFork = runFork;
3374
+ exports.runPromise = runPromise;
3375
+ exports.runPromiseExit = runPromiseExit;
3376
+ exports.runRequestBlock = runRequestBlock;
3377
+ exports.runSync = runSync;
3378
+ exports.runSyncExit = runSyncExit;
3379
+ exports.runtime = runtime;
3380
+ exports.sandbox = sandbox;
3381
+ exports.schedule = schedule;
3382
+ exports.scheduleForked = scheduleForked;
3383
+ exports.scheduleFrom = scheduleFrom;
3384
+ exports.scope = scope;
3385
+ exports.scopeWith = scopeWith;
3386
+ exports.scoped = scoped;
3387
+ exports.sequentialFinalizers = sequentialFinalizers;
3388
+ exports.serviceConstants = serviceConstants;
3389
+ exports.serviceFunction = serviceFunction;
3390
+ exports.serviceFunctionEffect = serviceFunctionEffect;
3391
+ exports.serviceFunctions = serviceFunctions;
3392
+ exports.serviceMembers = serviceMembers;
3393
+ exports.serviceOption = serviceOption;
3394
+ exports.setClock = setClock;
3395
+ exports.setConfigProvider = setConfigProvider;
3396
+ exports.setFiberRefs = setFiberRefs;
3397
+ exports.setParentSpan = setParentSpan;
3398
+ exports.setRequestBatching = setRequestBatching;
3399
+ exports.setRequestCache = setRequestCache;
3400
+ exports.setRequestCaching = setRequestCaching;
3401
+ exports.setScheduler = setScheduler;
3402
+ exports.setSpan = setSpan;
3403
+ exports.setTracer = setTracer;
3404
+ exports.setTracerTiming = setTracerTiming;
3405
+ exports.setUnhandledErrorLogLevel = setUnhandledErrorLogLevel;
3406
+ exports.sleep = sleep;
3407
+ exports.spanAnnotations = spanAnnotations;
3408
+ exports.spanLinks = spanLinks;
3409
+ exports.step = step;
3410
+ exports.succeed = succeed;
3411
+ exports.succeedNone = succeedNone;
3412
+ exports.succeedSome = succeedSome;
3413
+ exports.summarized = summarized;
3414
+ exports.supervised = supervised;
3415
+ exports.suspend = suspend;
3416
+ exports.sync = sync;
3417
+ exports.tagMetrics = tagMetrics;
3418
+ exports.tagMetricsScoped = tagMetricsScoped;
3419
+ exports.takeUntil = takeUntil;
3420
+ exports.takeWhile = takeWhile;
3421
+ exports.tap = tap;
3422
+ exports.tapBoth = tapBoth;
3423
+ exports.tapDefect = tapDefect;
3424
+ exports.tapError = tapError;
3425
+ exports.tapErrorCause = tapErrorCause;
3426
+ exports.tapErrorTag = tapErrorTag;
3427
+ exports.timed = timed;
3428
+ exports.timedWith = timedWith;
3429
+ exports.timeout = timeout;
3430
+ exports.timeoutFail = timeoutFail;
3431
+ exports.timeoutFailCause = timeoutFailCause;
3432
+ exports.timeoutTo = timeoutTo;
3433
+ exports.tracer = tracer;
3434
+ exports.tracerWith = tracerWith;
3435
+ exports.transplant = transplant;
3436
+ exports["try"] = try_;
3437
+ exports.tryMap = tryMap;
3438
+ exports.tryMapPromise = tryMapPromise;
3439
+ exports.tryPromise = tryPromise;
3440
+ exports.unified = unified;
3441
+ exports.unifiedFn = unifiedFn;
3442
+ exports.uninterruptible = uninterruptible;
3443
+ exports.uninterruptibleMask = uninterruptibleMask;
3444
+ exports.unit = unit;
3445
+ exports.unless = unless;
3446
+ exports.unlessEffect = unlessEffect;
3447
+ exports.unsafeMakeSemaphore = unsafeMakeSemaphore;
3448
+ exports.unsandbox = unsandbox;
3449
+ exports.updateFiberRefs = updateFiberRefs;
3450
+ exports.updateService = updateService;
3451
+ exports.useSpan = useSpan;
3452
+ exports.useSpanScoped = useSpanScoped;
3453
+ exports.using = using;
3454
+ exports.validate = validate;
3455
+ exports.validateAll = validateAll;
3456
+ exports.validateFirst = validateFirst;
3457
+ exports.validateWith = validateWith;
3458
+ exports.when = when;
3459
+ exports.whenEffect = whenEffect;
3460
+ exports.whenFiberRef = whenFiberRef;
3461
+ exports.whenRef = whenRef;
3462
+ exports.whileLoop = whileLoop;
3463
+ exports.withClock = withClock;
3464
+ exports.withClockScoped = withClockScoped;
3465
+ exports.withConcurrency = withConcurrency;
3466
+ exports.withConfigProvider = withConfigProvider;
3467
+ exports.withConfigProviderScoped = withConfigProviderScoped;
3468
+ exports.withEarlyRelease = withEarlyRelease;
3469
+ exports.withLogSpan = withLogSpan;
3470
+ exports.withMaxOpsBeforeYield = withMaxOpsBeforeYield;
3471
+ exports.withMetric = withMetric;
3472
+ exports.withParentSpan = withParentSpan;
3473
+ exports.withParentSpanScoped = withParentSpanScoped;
3474
+ exports.withRequestBatching = withRequestBatching;
3475
+ exports.withRequestCache = withRequestCache;
3476
+ exports.withRequestCaching = withRequestCaching;
3477
+ exports.withRuntimeFlagsPatch = withRuntimeFlagsPatch;
3478
+ exports.withRuntimeFlagsPatchScoped = withRuntimeFlagsPatchScoped;
3479
+ exports.withScheduler = withScheduler;
3480
+ exports.withSchedulingPriority = withSchedulingPriority;
3481
+ exports.withSpan = withSpan;
3482
+ exports.withSpanScoped = withSpanScoped;
3483
+ exports.withTracer = withTracer;
3484
+ exports.withTracerScoped = withTracerScoped;
3485
+ exports.withTracerTiming = withTracerTiming;
3486
+ exports.withUnhandledErrorLogLevel = withUnhandledErrorLogLevel;
3487
+ exports.yieldNow = yieldNow;
3488
+ exports.zip = zip;
3489
+ exports.zipLeft = zipLeft;
3490
+ exports.zipRight = zipRight;
3491
+ exports.zipWith = zipWith;