effect 2.0.0-next.37 → 2.0.0-next.38

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 (1714) hide show
  1. package/Bigint/dist/effect-Bigint.cjs.dev.js +5 -5
  2. package/Bigint/dist/effect-Bigint.cjs.prod.js +5 -5
  3. package/Bigint/dist/effect-Bigint.esm.js +5 -5
  4. package/Boolean/dist/effect-Boolean.cjs.dev.js +5 -5
  5. package/Boolean/dist/effect-Boolean.cjs.prod.js +5 -5
  6. package/Boolean/dist/effect-Boolean.esm.js +5 -5
  7. package/Brand/dist/effect-Brand.cjs.dev.js +20 -20
  8. package/Brand/dist/effect-Brand.cjs.prod.js +20 -20
  9. package/Brand/dist/effect-Brand.esm.js +20 -20
  10. package/Cache/dist/effect-Cache.cjs.dev.js +72 -72
  11. package/Cache/dist/effect-Cache.cjs.prod.js +72 -72
  12. package/Cache/dist/effect-Cache.esm.js +72 -72
  13. package/Cause/dist/effect-Cause.cjs.dev.js +32 -32
  14. package/Cause/dist/effect-Cause.cjs.prod.js +32 -32
  15. package/Cause/dist/effect-Cause.esm.js +32 -32
  16. package/Channel/dist/effect-Channel.cjs.dev.js +105 -105
  17. package/Channel/dist/effect-Channel.cjs.prod.js +105 -105
  18. package/Channel/dist/effect-Channel.esm.js +105 -105
  19. package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.dev.js +3 -3
  20. package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.prod.js +3 -3
  21. package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.esm.js +3 -3
  22. package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.dev.js +3 -3
  23. package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.prod.js +3 -3
  24. package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.esm.js +3 -3
  25. package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.dev.js +3 -3
  26. package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.prod.js +3 -3
  27. package/ChannelMergeState/dist/effect-ChannelMergeState.esm.js +3 -3
  28. package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.dev.js +3 -3
  29. package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.prod.js +3 -3
  30. package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.esm.js +3 -3
  31. package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.dev.js +89 -89
  32. package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.prod.js +89 -89
  33. package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.esm.js +89 -89
  34. package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.dev.js +3 -3
  35. package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.prod.js +3 -3
  36. package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.esm.js +3 -3
  37. package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.dev.js +3 -3
  38. package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.prod.js +3 -3
  39. package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.esm.js +3 -3
  40. package/Chunk/dist/effect-Chunk.cjs.dev.js +20 -20
  41. package/Chunk/dist/effect-Chunk.cjs.prod.js +20 -20
  42. package/Chunk/dist/effect-Chunk.esm.js +20 -20
  43. package/Clock/dist/effect-Clock.cjs.dev.js +40 -40
  44. package/Clock/dist/effect-Clock.cjs.prod.js +40 -40
  45. package/Clock/dist/effect-Clock.esm.js +40 -40
  46. package/Config/dist/effect-Config.cjs.dev.js +36 -36
  47. package/Config/dist/effect-Config.cjs.prod.js +36 -36
  48. package/Config/dist/effect-Config.esm.js +36 -36
  49. package/ConfigError/dist/effect-ConfigError.cjs.dev.js +21 -21
  50. package/ConfigError/dist/effect-ConfigError.cjs.prod.js +21 -21
  51. package/ConfigError/dist/effect-ConfigError.esm.js +21 -21
  52. package/ConfigProvider/dist/effect-ConfigProvider.cjs.dev.js +38 -38
  53. package/ConfigProvider/dist/effect-ConfigProvider.cjs.prod.js +38 -38
  54. package/ConfigProvider/dist/effect-ConfigProvider.esm.js +38 -38
  55. package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.dev.js +24 -24
  56. package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.prod.js +24 -24
  57. package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.esm.js +24 -24
  58. package/ConfigSecret/dist/effect-ConfigSecret.cjs.dev.js +22 -22
  59. package/ConfigSecret/dist/effect-ConfigSecret.cjs.prod.js +22 -22
  60. package/ConfigSecret/dist/effect-ConfigSecret.esm.js +22 -22
  61. package/Console/dist/effect-Console.cjs.dev.js +81 -81
  62. package/Console/dist/effect-Console.cjs.prod.js +81 -81
  63. package/Console/dist/effect-Console.esm.js +81 -81
  64. package/Context/dist/effect-Context.cjs.dev.js +17 -17
  65. package/Context/dist/effect-Context.cjs.prod.js +17 -17
  66. package/Context/dist/effect-Context.esm.js +17 -17
  67. package/Data/dist/effect-Data.cjs.dev.js +7 -7
  68. package/Data/dist/effect-Data.cjs.prod.js +7 -7
  69. package/Data/dist/effect-Data.esm.js +7 -7
  70. package/DefaultServices/dist/effect-DefaultServices.cjs.dev.js +40 -40
  71. package/DefaultServices/dist/effect-DefaultServices.cjs.prod.js +40 -40
  72. package/DefaultServices/dist/effect-DefaultServices.esm.js +40 -40
  73. package/Deferred/dist/effect-Deferred.cjs.dev.js +32 -32
  74. package/Deferred/dist/effect-Deferred.cjs.prod.js +32 -32
  75. package/Deferred/dist/effect-Deferred.esm.js +32 -32
  76. package/Differ/dist/effect-Differ.cjs.dev.js +25 -25
  77. package/Differ/dist/effect-Differ.cjs.prod.js +25 -25
  78. package/Differ/dist/effect-Differ.esm.js +25 -25
  79. package/Duration/dist/effect-Duration.cjs.dev.js +16 -16
  80. package/Duration/dist/effect-Duration.cjs.prod.js +16 -16
  81. package/Duration/dist/effect-Duration.esm.js +16 -16
  82. package/Effect/dist/effect-Effect.cjs.dev.js +87 -87
  83. package/Effect/dist/effect-Effect.cjs.prod.js +87 -87
  84. package/Effect/dist/effect-Effect.esm.js +87 -87
  85. package/Effectable/dist/effect-Effectable.cjs.dev.js +10 -10
  86. package/Effectable/dist/effect-Effectable.cjs.prod.js +10 -10
  87. package/Effectable/dist/effect-Effectable.esm.js +10 -10
  88. package/Either/dist/effect-Either.cjs.dev.js +13 -13
  89. package/Either/dist/effect-Either.cjs.prod.js +13 -13
  90. package/Either/dist/effect-Either.esm.js +13 -13
  91. package/Encoding/dist/effect-Encoding.cjs.dev.js +14 -14
  92. package/Encoding/dist/effect-Encoding.cjs.prod.js +14 -14
  93. package/Encoding/dist/effect-Encoding.esm.js +14 -14
  94. package/Equal/dist/effect-Equal.cjs.dev.js +6 -6
  95. package/Equal/dist/effect-Equal.cjs.prod.js +6 -6
  96. package/Equal/dist/effect-Equal.esm.js +6 -6
  97. package/Equivalence/dist/effect-Equivalence.cjs.dev.js +2 -2
  98. package/Equivalence/dist/effect-Equivalence.cjs.prod.js +2 -2
  99. package/Equivalence/dist/effect-Equivalence.esm.js +2 -2
  100. package/Error/dist/effect-Error.cjs.dev.js +89 -89
  101. package/Error/dist/effect-Error.cjs.prod.js +89 -89
  102. package/Error/dist/effect-Error.esm.js +89 -89
  103. package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.dev.js +2 -2
  104. package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.prod.js +2 -2
  105. package/ExecutionStrategy/dist/effect-ExecutionStrategy.esm.js +2 -2
  106. package/Exit/dist/effect-Exit.cjs.dev.js +32 -32
  107. package/Exit/dist/effect-Exit.cjs.prod.js +32 -32
  108. package/Exit/dist/effect-Exit.esm.js +32 -32
  109. package/Fiber/dist/effect-Fiber.cjs.dev.js +75 -75
  110. package/Fiber/dist/effect-Fiber.cjs.prod.js +75 -75
  111. package/Fiber/dist/effect-Fiber.esm.js +75 -75
  112. package/FiberId/dist/effect-FiberId.cjs.dev.js +19 -19
  113. package/FiberId/dist/effect-FiberId.cjs.prod.js +19 -19
  114. package/FiberId/dist/effect-FiberId.esm.js +19 -19
  115. package/FiberRef/dist/effect-FiberRef.cjs.dev.js +73 -73
  116. package/FiberRef/dist/effect-FiberRef.cjs.prod.js +73 -73
  117. package/FiberRef/dist/effect-FiberRef.esm.js +73 -73
  118. package/FiberRefs/dist/effect-FiberRefs.cjs.dev.js +33 -33
  119. package/FiberRefs/dist/effect-FiberRefs.cjs.prod.js +33 -33
  120. package/FiberRefs/dist/effect-FiberRefs.esm.js +33 -33
  121. package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.dev.js +34 -34
  122. package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.prod.js +34 -34
  123. package/FiberRefsPatch/dist/effect-FiberRefsPatch.esm.js +34 -34
  124. package/FiberStatus/dist/effect-FiberStatus.cjs.dev.js +7 -7
  125. package/FiberStatus/dist/effect-FiberStatus.cjs.prod.js +7 -7
  126. package/FiberStatus/dist/effect-FiberStatus.esm.js +7 -7
  127. package/Function/dist/effect-Function.cjs.dev.js +1 -1
  128. package/Function/dist/effect-Function.cjs.prod.js +1 -1
  129. package/Function/dist/effect-Function.esm.js +1 -1
  130. package/GlobalValue/dist/effect-GlobalValue.cjs.dev.js +1 -1
  131. package/GlobalValue/dist/effect-GlobalValue.cjs.prod.js +1 -1
  132. package/GlobalValue/dist/effect-GlobalValue.esm.js +1 -1
  133. package/GroupBy/dist/effect-GroupBy.cjs.dev.js +106 -106
  134. package/GroupBy/dist/effect-GroupBy.cjs.prod.js +106 -106
  135. package/GroupBy/dist/effect-GroupBy.esm.js +106 -106
  136. package/Hash/dist/effect-Hash.cjs.dev.js +5 -5
  137. package/Hash/dist/effect-Hash.cjs.prod.js +5 -5
  138. package/Hash/dist/effect-Hash.esm.js +5 -5
  139. package/HashMap/dist/effect-HashMap.cjs.dev.js +17 -17
  140. package/HashMap/dist/effect-HashMap.cjs.prod.js +17 -17
  141. package/HashMap/dist/effect-HashMap.esm.js +17 -17
  142. package/HashSet/dist/effect-HashSet.cjs.dev.js +17 -17
  143. package/HashSet/dist/effect-HashSet.cjs.prod.js +17 -17
  144. package/HashSet/dist/effect-HashSet.esm.js +17 -17
  145. package/Hub/dist/effect-Hub.cjs.dev.js +72 -72
  146. package/Hub/dist/effect-Hub.cjs.prod.js +72 -72
  147. package/Hub/dist/effect-Hub.esm.js +72 -72
  148. package/Inspectable/dist/effect-Inspectable.cjs.dev.js +1 -1
  149. package/Inspectable/dist/effect-Inspectable.cjs.prod.js +1 -1
  150. package/Inspectable/dist/effect-Inspectable.esm.js +1 -1
  151. package/KeyedPool/dist/effect-KeyedPool.cjs.dev.js +73 -73
  152. package/KeyedPool/dist/effect-KeyedPool.cjs.prod.js +73 -73
  153. package/KeyedPool/dist/effect-KeyedPool.esm.js +73 -73
  154. package/Layer/dist/effect-Layer.cjs.dev.js +81 -81
  155. package/Layer/dist/effect-Layer.cjs.prod.js +81 -81
  156. package/Layer/dist/effect-Layer.esm.js +81 -81
  157. package/List/dist/effect-List.cjs.dev.js +21 -21
  158. package/List/dist/effect-List.cjs.prod.js +21 -21
  159. package/List/dist/effect-List.esm.js +21 -21
  160. package/LogLevel/dist/effect-LogLevel.cjs.dev.js +32 -32
  161. package/LogLevel/dist/effect-LogLevel.cjs.prod.js +32 -32
  162. package/LogLevel/dist/effect-LogLevel.esm.js +32 -32
  163. package/LogSpan/dist/effect-LogSpan.cjs.dev.js +1 -1
  164. package/LogSpan/dist/effect-LogSpan.cjs.prod.js +1 -1
  165. package/LogSpan/dist/effect-LogSpan.esm.js +1 -1
  166. package/Logger/dist/effect-Logger.cjs.dev.js +83 -83
  167. package/Logger/dist/effect-Logger.cjs.prod.js +83 -83
  168. package/Logger/dist/effect-Logger.esm.js +83 -83
  169. package/Metric/dist/effect-Metric.cjs.dev.js +69 -69
  170. package/Metric/dist/effect-Metric.cjs.prod.js +69 -69
  171. package/Metric/dist/effect-Metric.esm.js +69 -69
  172. package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.dev.js +22 -22
  173. package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.prod.js +22 -22
  174. package/MetricBoundaries/dist/effect-MetricBoundaries.esm.js +22 -22
  175. package/MetricHook/dist/effect-MetricHook.cjs.dev.js +26 -26
  176. package/MetricHook/dist/effect-MetricHook.cjs.prod.js +26 -26
  177. package/MetricHook/dist/effect-MetricHook.esm.js +26 -26
  178. package/MetricKey/dist/effect-MetricKey.cjs.dev.js +22 -22
  179. package/MetricKey/dist/effect-MetricKey.cjs.prod.js +22 -22
  180. package/MetricKey/dist/effect-MetricKey.esm.js +22 -22
  181. package/MetricKeyType/dist/effect-MetricKeyType.cjs.dev.js +18 -18
  182. package/MetricKeyType/dist/effect-MetricKeyType.cjs.prod.js +18 -18
  183. package/MetricKeyType/dist/effect-MetricKeyType.esm.js +18 -18
  184. package/MetricLabel/dist/effect-MetricLabel.cjs.dev.js +9 -9
  185. package/MetricLabel/dist/effect-MetricLabel.cjs.prod.js +9 -9
  186. package/MetricLabel/dist/effect-MetricLabel.esm.js +9 -9
  187. package/MetricPair/dist/effect-MetricPair.cjs.dev.js +3 -3
  188. package/MetricPair/dist/effect-MetricPair.cjs.prod.js +3 -3
  189. package/MetricPair/dist/effect-MetricPair.esm.js +3 -3
  190. package/MetricPolling/dist/effect-MetricPolling.cjs.dev.js +75 -75
  191. package/MetricPolling/dist/effect-MetricPolling.cjs.prod.js +75 -75
  192. package/MetricPolling/dist/effect-MetricPolling.esm.js +75 -75
  193. package/MetricRegistry/dist/effect-MetricRegistry.cjs.dev.js +32 -32
  194. package/MetricRegistry/dist/effect-MetricRegistry.cjs.prod.js +32 -32
  195. package/MetricRegistry/dist/effect-MetricRegistry.esm.js +32 -32
  196. package/MetricState/dist/effect-MetricState.cjs.dev.js +9 -9
  197. package/MetricState/dist/effect-MetricState.cjs.prod.js +9 -9
  198. package/MetricState/dist/effect-MetricState.esm.js +9 -9
  199. package/MutableHashMap/dist/effect-MutableHashMap.cjs.dev.js +19 -19
  200. package/MutableHashMap/dist/effect-MutableHashMap.cjs.prod.js +19 -19
  201. package/MutableHashMap/dist/effect-MutableHashMap.esm.js +19 -19
  202. package/MutableHashSet/dist/effect-MutableHashSet.cjs.dev.js +20 -20
  203. package/MutableHashSet/dist/effect-MutableHashSet.cjs.prod.js +20 -20
  204. package/MutableHashSet/dist/effect-MutableHashSet.esm.js +20 -20
  205. package/MutableList/dist/effect-MutableList.cjs.dev.js +4 -4
  206. package/MutableList/dist/effect-MutableList.cjs.prod.js +4 -4
  207. package/MutableList/dist/effect-MutableList.esm.js +4 -4
  208. package/MutableQueue/dist/effect-MutableQueue.cjs.dev.js +22 -22
  209. package/MutableQueue/dist/effect-MutableQueue.cjs.prod.js +22 -22
  210. package/MutableQueue/dist/effect-MutableQueue.esm.js +22 -22
  211. package/MutableRef/dist/effect-MutableRef.cjs.dev.js +9 -9
  212. package/MutableRef/dist/effect-MutableRef.cjs.prod.js +9 -9
  213. package/MutableRef/dist/effect-MutableRef.esm.js +9 -9
  214. package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.dev.js +1 -1
  215. package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.prod.js +1 -1
  216. package/NonEmptyIterable/dist/effect-NonEmptyIterable.esm.js +1 -1
  217. package/Number/dist/effect-Number.cjs.dev.js +5 -5
  218. package/Number/dist/effect-Number.cjs.prod.js +5 -5
  219. package/Number/dist/effect-Number.esm.js +5 -5
  220. package/Option/dist/effect-Option.cjs.dev.js +15 -15
  221. package/Option/dist/effect-Option.cjs.prod.js +15 -15
  222. package/Option/dist/effect-Option.esm.js +15 -15
  223. package/Order/dist/effect-Order.cjs.dev.js +2 -2
  224. package/Order/dist/effect-Order.cjs.prod.js +2 -2
  225. package/Order/dist/effect-Order.esm.js +2 -2
  226. package/Ordering/dist/effect-Ordering.cjs.dev.js +2 -2
  227. package/Ordering/dist/effect-Ordering.cjs.prod.js +2 -2
  228. package/Ordering/dist/effect-Ordering.esm.js +2 -2
  229. package/Pipeable/dist/effect-Pipeable.cjs.dev.js +1 -1
  230. package/Pipeable/dist/effect-Pipeable.cjs.prod.js +1 -1
  231. package/Pipeable/dist/effect-Pipeable.esm.js +1 -1
  232. package/Pool/dist/effect-Pool.cjs.dev.js +73 -73
  233. package/Pool/dist/effect-Pool.cjs.prod.js +73 -73
  234. package/Pool/dist/effect-Pool.esm.js +73 -73
  235. package/Predicate/dist/effect-Predicate.cjs.dev.js +2 -2
  236. package/Predicate/dist/effect-Predicate.cjs.prod.js +2 -2
  237. package/Predicate/dist/effect-Predicate.esm.js +2 -2
  238. package/Queue/dist/effect-Queue.cjs.dev.js +72 -72
  239. package/Queue/dist/effect-Queue.cjs.prod.js +72 -72
  240. package/Queue/dist/effect-Queue.esm.js +72 -72
  241. package/Random/dist/effect-Random.cjs.dev.js +40 -40
  242. package/Random/dist/effect-Random.cjs.prod.js +40 -40
  243. package/Random/dist/effect-Random.esm.js +40 -40
  244. package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.dev.js +19 -19
  245. package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js +19 -19
  246. package/ReadonlyArray/dist/effect-ReadonlyArray.esm.js +19 -19
  247. package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.dev.js +17 -17
  248. package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.prod.js +17 -17
  249. package/ReadonlyRecord/dist/effect-ReadonlyRecord.esm.js +17 -17
  250. package/RedBlackTree/dist/effect-RedBlackTree.cjs.dev.js +21 -21
  251. package/RedBlackTree/dist/effect-RedBlackTree.cjs.prod.js +21 -21
  252. package/RedBlackTree/dist/effect-RedBlackTree.esm.js +21 -21
  253. package/Ref/dist/effect-Ref.cjs.dev.js +32 -32
  254. package/Ref/dist/effect-Ref.cjs.prod.js +32 -32
  255. package/Ref/dist/effect-Ref.esm.js +32 -32
  256. package/Reloadable/dist/effect-Reloadable.cjs.dev.js +82 -82
  257. package/Reloadable/dist/effect-Reloadable.cjs.prod.js +82 -82
  258. package/Reloadable/dist/effect-Reloadable.esm.js +82 -82
  259. package/Request/dist/effect-Request.cjs.dev.js +72 -72
  260. package/Request/dist/effect-Request.cjs.prod.js +72 -72
  261. package/Request/dist/effect-Request.esm.js +72 -72
  262. package/RequestBlock/dist/effect-RequestBlock.cjs.dev.js +89 -89
  263. package/RequestBlock/dist/effect-RequestBlock.cjs.prod.js +89 -89
  264. package/RequestBlock/dist/effect-RequestBlock.esm.js +89 -89
  265. package/RequestResolver/dist/effect-RequestResolver.cjs.dev.js +89 -89
  266. package/RequestResolver/dist/effect-RequestResolver.cjs.prod.js +89 -89
  267. package/RequestResolver/dist/effect-RequestResolver.esm.js +89 -89
  268. package/Resource/dist/effect-Resource.cjs.dev.js +77 -77
  269. package/Resource/dist/effect-Resource.cjs.prod.js +77 -77
  270. package/Resource/dist/effect-Resource.esm.js +77 -77
  271. package/Runtime/dist/effect-Runtime.cjs.dev.js +77 -77
  272. package/Runtime/dist/effect-Runtime.cjs.prod.js +77 -77
  273. package/Runtime/dist/effect-Runtime.esm.js +77 -77
  274. package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.dev.js +83 -83
  275. package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.prod.js +83 -83
  276. package/RuntimeFlags/dist/effect-RuntimeFlags.esm.js +83 -83
  277. package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.dev.js +26 -26
  278. package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.prod.js +26 -26
  279. package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.esm.js +26 -26
  280. package/STM/dist/effect-STM.cjs.dev.js +110 -110
  281. package/STM/dist/effect-STM.cjs.prod.js +110 -110
  282. package/STM/dist/effect-STM.esm.js +110 -110
  283. package/Schedule/dist/effect-Schedule.cjs.dev.js +55 -55
  284. package/Schedule/dist/effect-Schedule.cjs.prod.js +55 -55
  285. package/Schedule/dist/effect-Schedule.esm.js +55 -55
  286. package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.dev.js +24 -24
  287. package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.prod.js +24 -24
  288. package/ScheduleDecision/dist/effect-ScheduleDecision.esm.js +24 -24
  289. package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.dev.js +17 -17
  290. package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.prod.js +17 -17
  291. package/ScheduleInterval/dist/effect-ScheduleInterval.esm.js +17 -17
  292. package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.dev.js +23 -23
  293. package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.prod.js +23 -23
  294. package/ScheduleIntervals/dist/effect-ScheduleIntervals.esm.js +23 -23
  295. package/Scheduler/dist/effect-Scheduler.cjs.dev.js +32 -32
  296. package/Scheduler/dist/effect-Scheduler.cjs.prod.js +32 -32
  297. package/Scheduler/dist/effect-Scheduler.esm.js +32 -32
  298. package/Scope/dist/effect-Scope.cjs.dev.js +69 -69
  299. package/Scope/dist/effect-Scope.cjs.prod.js +69 -69
  300. package/Scope/dist/effect-Scope.esm.js +69 -69
  301. package/ScopedCache/dist/effect-ScopedCache.cjs.dev.js +73 -73
  302. package/ScopedCache/dist/effect-ScopedCache.cjs.prod.js +73 -73
  303. package/ScopedCache/dist/effect-ScopedCache.esm.js +73 -73
  304. package/ScopedRef/dist/effect-ScopedRef.cjs.dev.js +77 -77
  305. package/ScopedRef/dist/effect-ScopedRef.cjs.prod.js +77 -77
  306. package/ScopedRef/dist/effect-ScopedRef.esm.js +77 -77
  307. package/Sink/dist/effect-Sink.cjs.dev.js +99 -99
  308. package/Sink/dist/effect-Sink.cjs.prod.js +99 -99
  309. package/Sink/dist/effect-Sink.esm.js +99 -99
  310. package/SortedMap/dist/effect-SortedMap.cjs.dev.js +22 -22
  311. package/SortedMap/dist/effect-SortedMap.cjs.prod.js +22 -22
  312. package/SortedMap/dist/effect-SortedMap.esm.js +22 -22
  313. package/SortedSet/dist/effect-SortedSet.cjs.dev.js +22 -22
  314. package/SortedSet/dist/effect-SortedSet.cjs.prod.js +22 -22
  315. package/SortedSet/dist/effect-SortedSet.esm.js +22 -22
  316. package/Stream/dist/effect-Stream.cjs.dev.js +106 -106
  317. package/Stream/dist/effect-Stream.cjs.prod.js +106 -106
  318. package/Stream/dist/effect-Stream.esm.js +106 -106
  319. package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.dev.js +2 -2
  320. package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.prod.js +2 -2
  321. package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.esm.js +2 -2
  322. package/String/dist/effect-String.cjs.dev.js +17 -17
  323. package/String/dist/effect-String.cjs.prod.js +17 -17
  324. package/String/dist/effect-String.esm.js +17 -17
  325. package/Struct/dist/effect-Struct.cjs.dev.js +4 -4
  326. package/Struct/dist/effect-Struct.cjs.prod.js +4 -4
  327. package/Struct/dist/effect-Struct.esm.js +4 -4
  328. package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.dev.js +106 -106
  329. package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.prod.js +106 -106
  330. package/SubscriptionRef/dist/effect-SubscriptionRef.esm.js +106 -106
  331. package/Supervisor/dist/effect-Supervisor.cjs.dev.js +83 -83
  332. package/Supervisor/dist/effect-Supervisor.cjs.prod.js +83 -83
  333. package/Supervisor/dist/effect-Supervisor.esm.js +83 -83
  334. package/Symbol/dist/effect-Symbol.cjs.dev.js +4 -4
  335. package/Symbol/dist/effect-Symbol.cjs.prod.js +4 -4
  336. package/Symbol/dist/effect-Symbol.esm.js +4 -4
  337. package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.dev.js +76 -76
  338. package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.prod.js +76 -76
  339. package/SynchronizedRef/dist/effect-SynchronizedRef.esm.js +76 -76
  340. package/TArray/dist/effect-TArray.cjs.dev.js +112 -112
  341. package/TArray/dist/effect-TArray.cjs.prod.js +112 -112
  342. package/TArray/dist/effect-TArray.esm.js +112 -112
  343. package/TDeferred/dist/effect-TDeferred.cjs.dev.js +111 -111
  344. package/TDeferred/dist/effect-TDeferred.cjs.prod.js +111 -111
  345. package/TDeferred/dist/effect-TDeferred.esm.js +111 -111
  346. package/THub/dist/effect-THub.cjs.dev.js +113 -113
  347. package/THub/dist/effect-THub.cjs.prod.js +113 -113
  348. package/THub/dist/effect-THub.esm.js +113 -113
  349. package/TMap/dist/effect-TMap.cjs.dev.js +114 -114
  350. package/TMap/dist/effect-TMap.cjs.prod.js +114 -114
  351. package/TMap/dist/effect-TMap.esm.js +114 -114
  352. package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.dev.js +111 -111
  353. package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.prod.js +111 -111
  354. package/TPriorityQueue/dist/effect-TPriorityQueue.esm.js +111 -111
  355. package/TQueue/dist/effect-TQueue.cjs.dev.js +113 -113
  356. package/TQueue/dist/effect-TQueue.cjs.prod.js +113 -113
  357. package/TQueue/dist/effect-TQueue.esm.js +113 -113
  358. package/TRandom/dist/effect-TRandom.cjs.dev.js +112 -112
  359. package/TRandom/dist/effect-TRandom.cjs.prod.js +112 -112
  360. package/TRandom/dist/effect-TRandom.esm.js +112 -112
  361. package/TReentrantLock/dist/effect-TReentrantLock.cjs.dev.js +110 -110
  362. package/TReentrantLock/dist/effect-TReentrantLock.cjs.prod.js +110 -110
  363. package/TReentrantLock/dist/effect-TReentrantLock.esm.js +110 -110
  364. package/TRef/dist/effect-TRef.cjs.dev.js +110 -110
  365. package/TRef/dist/effect-TRef.cjs.prod.js +110 -110
  366. package/TRef/dist/effect-TRef.esm.js +110 -110
  367. package/TSemaphore/dist/effect-TSemaphore.cjs.dev.js +112 -112
  368. package/TSemaphore/dist/effect-TSemaphore.cjs.prod.js +112 -112
  369. package/TSemaphore/dist/effect-TSemaphore.esm.js +112 -112
  370. package/TSet/dist/effect-TSet.cjs.dev.js +114 -114
  371. package/TSet/dist/effect-TSet.cjs.prod.js +114 -114
  372. package/TSet/dist/effect-TSet.esm.js +114 -114
  373. package/Take/dist/effect-Take.cjs.dev.js +89 -89
  374. package/Take/dist/effect-Take.cjs.prod.js +89 -89
  375. package/Take/dist/effect-Take.esm.js +89 -89
  376. package/TestAnnotation/dist/effect-TestAnnotation.cjs.dev.js +25 -25
  377. package/TestAnnotation/dist/effect-TestAnnotation.cjs.prod.js +25 -25
  378. package/TestAnnotation/dist/effect-TestAnnotation.esm.js +25 -25
  379. package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.dev.js +2 -2
  380. package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.prod.js +2 -2
  381. package/TestAnnotationMap/dist/effect-TestAnnotationMap.esm.js +2 -2
  382. package/TestAnnotations/dist/effect-TestAnnotations.cjs.dev.js +57 -57
  383. package/TestAnnotations/dist/effect-TestAnnotations.cjs.prod.js +57 -57
  384. package/TestAnnotations/dist/effect-TestAnnotations.esm.js +57 -57
  385. package/TestClock/dist/effect-TestClock.cjs.dev.js +85 -85
  386. package/TestClock/dist/effect-TestClock.cjs.prod.js +85 -85
  387. package/TestClock/dist/effect-TestClock.esm.js +85 -85
  388. package/TestConfig/dist/effect-TestConfig.cjs.dev.js +18 -18
  389. package/TestConfig/dist/effect-TestConfig.cjs.prod.js +18 -18
  390. package/TestConfig/dist/effect-TestConfig.esm.js +18 -18
  391. package/TestContext/dist/effect-TestContext.cjs.dev.js +96 -96
  392. package/TestContext/dist/effect-TestContext.cjs.prod.js +96 -96
  393. package/TestContext/dist/effect-TestContext.esm.js +96 -96
  394. package/TestLive/dist/effect-TestLive.cjs.dev.js +40 -40
  395. package/TestLive/dist/effect-TestLive.cjs.prod.js +40 -40
  396. package/TestLive/dist/effect-TestLive.esm.js +40 -40
  397. package/TestServices/dist/effect-TestServices.cjs.dev.js +94 -94
  398. package/TestServices/dist/effect-TestServices.cjs.prod.js +94 -94
  399. package/TestServices/dist/effect-TestServices.esm.js +94 -94
  400. package/TestSized/dist/effect-TestSized.cjs.dev.js +32 -32
  401. package/TestSized/dist/effect-TestSized.cjs.prod.js +32 -32
  402. package/TestSized/dist/effect-TestSized.esm.js +32 -32
  403. package/Tracer/dist/effect-Tracer.cjs.dev.js +40 -40
  404. package/Tracer/dist/effect-Tracer.cjs.prod.js +40 -40
  405. package/Tracer/dist/effect-Tracer.esm.js +40 -40
  406. package/Tuple/dist/effect-Tuple.cjs.dev.js +4 -4
  407. package/Tuple/dist/effect-Tuple.cjs.prod.js +4 -4
  408. package/Tuple/dist/effect-Tuple.esm.js +4 -4
  409. package/Unify/dist/effect-Unify.cjs.dev.js +2 -2
  410. package/Unify/dist/effect-Unify.cjs.prod.js +2 -2
  411. package/Unify/dist/effect-Unify.esm.js +2 -2
  412. package/Utils/dist/effect-Utils.cjs.dev.js +3 -3
  413. package/Utils/dist/effect-Utils.cjs.prod.js +3 -3
  414. package/Utils/dist/effect-Utils.esm.js +3 -3
  415. package/dist/Bigint-0ebd807c.cjs.dev.js +392 -0
  416. package/dist/Bigint-912c77f3.cjs.prod.js +392 -0
  417. package/dist/Bigint-bf034c1f.esm.js +370 -0
  418. package/dist/Boolean-97839b78.cjs.prod.js +264 -0
  419. package/dist/Boolean-bf38e241.esm.js +248 -0
  420. package/dist/Boolean-f0bc3abf.cjs.dev.js +264 -0
  421. package/dist/Brand-93578f43.cjs.prod.js +224 -0
  422. package/dist/Brand-b238487d.cjs.dev.js +224 -0
  423. package/dist/Brand-f068009f.esm.js +215 -0
  424. package/dist/Cache-27cd0ab7.esm.js +120 -0
  425. package/dist/Cache-65f7e875.cjs.prod.js +127 -0
  426. package/dist/Cache-e7468f24.cjs.dev.js +127 -0
  427. package/dist/Cause-384e2165.cjs.prod.js +791 -0
  428. package/dist/Cause-5946c7a3.esm.js +730 -0
  429. package/dist/Cause-96c29074.cjs.dev.js +791 -0
  430. package/dist/Channel-4099f225.cjs.dev.js +1217 -0
  431. package/dist/Channel-482334e0.cjs.prod.js +1217 -0
  432. package/dist/Channel-4bba5096.esm.js +1109 -0
  433. package/dist/ChannelChildExecutorDecision-168278f6.cjs.prod.js +136 -0
  434. package/dist/ChannelChildExecutorDecision-674b3a48.esm.js +125 -0
  435. package/dist/ChannelChildExecutorDecision-b0e715de.cjs.dev.js +136 -0
  436. package/dist/ChannelMergeDecision-9c266aeb.cjs.prod.js +78 -0
  437. package/dist/ChannelMergeDecision-e5f34de0.esm.js +70 -0
  438. package/dist/ChannelMergeDecision-eeaf4779.cjs.dev.js +78 -0
  439. package/dist/ChannelMergeState-4366d090.cjs.prod.js +125 -0
  440. package/dist/ChannelMergeState-abce1d88.cjs.dev.js +125 -0
  441. package/dist/ChannelMergeState-ae694a7c.esm.js +114 -0
  442. package/dist/ChannelMergeStrategy-6193b8e0.cjs.prod.js +104 -0
  443. package/dist/ChannelMergeStrategy-9ef51c54.esm.js +95 -0
  444. package/dist/ChannelMergeStrategy-e7ddbb7a.cjs.dev.js +104 -0
  445. package/dist/ChannelSingleProducerAsyncInput-1d15a3ec.esm.js +52 -0
  446. package/dist/ChannelSingleProducerAsyncInput-9d23aac3.cjs.prod.js +55 -0
  447. package/dist/ChannelSingleProducerAsyncInput-e1260219.cjs.dev.js +55 -0
  448. package/dist/ChannelUpstreamPullRequest-1ca7d2bd.cjs.dev.js +104 -0
  449. package/dist/ChannelUpstreamPullRequest-208751c3.cjs.prod.js +104 -0
  450. package/dist/ChannelUpstreamPullRequest-9b3a6733.esm.js +95 -0
  451. package/dist/ChannelUpstreamPullStrategy-266b5a77.cjs.prod.js +103 -0
  452. package/dist/ChannelUpstreamPullStrategy-85e1042b.esm.js +94 -0
  453. package/dist/ChannelUpstreamPullStrategy-ec57dc70.cjs.dev.js +103 -0
  454. package/dist/Chunk-4c1f4599.esm.js +1167 -0
  455. package/dist/Chunk-6cf5a8e6.cjs.prod.js +1248 -0
  456. package/dist/Chunk-bd290b8e.cjs.dev.js +1248 -0
  457. package/dist/Clock-0b777b1b.cjs.prod.js +97 -0
  458. package/dist/Clock-80bf3b4b.cjs.dev.js +97 -0
  459. package/dist/Clock-f8b987d7.esm.js +88 -0
  460. package/dist/Config-85ae6286.cjs.prod.js +393 -0
  461. package/dist/Config-8d8f5a9f.esm.js +358 -0
  462. package/dist/Config-dc58cf69.cjs.dev.js +393 -0
  463. package/dist/ConfigError-41421a53.esm.js +206 -0
  464. package/dist/ConfigError-c1f762d2.cjs.dev.js +225 -0
  465. package/dist/ConfigError-cee682fa.cjs.prod.js +225 -0
  466. package/dist/ConfigProvider-8341a5f5.cjs.prod.js +240 -0
  467. package/dist/ConfigProvider-977168f2.esm.js +220 -0
  468. package/dist/ConfigProvider-de45b085.cjs.dev.js +240 -0
  469. package/dist/ConfigProviderPathPatch-52422b32.cjs.prod.js +86 -0
  470. package/dist/ConfigProviderPathPatch-881ec2b5.esm.js +79 -0
  471. package/dist/ConfigProviderPathPatch-d22442e3.cjs.dev.js +86 -0
  472. package/dist/ConfigSecret-9d3bf471.esm.js +74 -0
  473. package/dist/ConfigSecret-c76717e8.cjs.dev.js +83 -0
  474. package/dist/ConfigSecret-ebab2ae7.cjs.prod.js +83 -0
  475. package/dist/Console-69b2fba9.cjs.prod.js +271 -0
  476. package/dist/Console-9be5cd81.esm.js +247 -0
  477. package/dist/Console-ff87924b.cjs.dev.js +271 -0
  478. package/dist/Context-149c432f.esm.js +208 -0
  479. package/dist/Context-25a49952.cjs.prod.js +327 -0
  480. package/dist/Context-3c9e986b.cjs.dev.js +327 -0
  481. package/dist/Context-96739709.cjs.dev.js +222 -0
  482. package/dist/Context-c41aa832.esm.js +312 -0
  483. package/dist/Context-f958cabc.cjs.prod.js +222 -0
  484. package/dist/Data-07dc27f1.cjs.prod.js +237 -0
  485. package/dist/Data-85559fb3.cjs.dev.js +237 -0
  486. package/dist/Data-dee529b9.esm.js +224 -0
  487. package/dist/DefaultServices-6a83f0aa.cjs.prod.js +34 -0
  488. package/dist/DefaultServices-b70d7e44.esm.js +30 -0
  489. package/dist/DefaultServices-c1a6b148.cjs.dev.js +34 -0
  490. package/dist/Deferred-5d5c886c.cjs.dev.js +253 -0
  491. package/dist/Deferred-9010d2ac.esm.js +230 -0
  492. package/dist/Deferred-9d825b3b.cjs.prod.js +253 -0
  493. package/dist/Differ-0122f60e.cjs.dev.js +992 -0
  494. package/dist/Differ-0bd34066.cjs.prod.js +992 -0
  495. package/dist/Differ-a249bf4d.esm.js +975 -0
  496. package/dist/Duration-011e7325.cjs.prod.js +500 -0
  497. package/dist/Duration-5ac57eb4.cjs.dev.js +500 -0
  498. package/dist/Duration-98bca14c.esm.js +467 -0
  499. package/dist/Effect-8392a3cd.cjs.dev.js +3740 -0
  500. package/dist/Effect-ee05a487.esm.js +3417 -0
  501. package/dist/Effect-f0659a90.cjs.prod.js +3740 -0
  502. package/dist/Effectable-04f3cd30.cjs.dev.js +99 -0
  503. package/dist/Effectable-8997112d.cjs.prod.js +99 -0
  504. package/dist/Effectable-a292d920.esm.js +158 -0
  505. package/dist/Effectable-a6403e5f.cjs.dev.js +181 -0
  506. package/dist/Effectable-d9b23ee3.esm.js +89 -0
  507. package/dist/Effectable-f867d1cb.cjs.prod.js +181 -0
  508. package/dist/Either-3fab3796.cjs.prod.js +502 -0
  509. package/dist/Either-408d23a8.esm.js +163 -0
  510. package/dist/Either-9c349424.cjs.dev.js +178 -0
  511. package/dist/Either-a806809d.cjs.dev.js +502 -0
  512. package/dist/Either-aa46c018.esm.js +473 -0
  513. package/dist/Either-d03d5f05.cjs.prod.js +178 -0
  514. package/dist/Encoding-0cab52d5.cjs.prod.js +309 -0
  515. package/dist/Encoding-d95012ad.esm.js +295 -0
  516. package/dist/Encoding-d993b1b0.cjs.dev.js +309 -0
  517. package/dist/Equal-281b6ca8.cjs.dev.js +71 -0
  518. package/dist/Equal-2a99fde3.esm.js +65 -0
  519. package/dist/Equal-ce9977a8.cjs.prod.js +71 -0
  520. package/dist/Equivalence-0bc84518.cjs.prod.js +238 -0
  521. package/dist/Equivalence-cf2752b1.esm.js +218 -0
  522. package/dist/Equivalence-de7a0d51.cjs.dev.js +238 -0
  523. package/dist/Error-083b7b69.esm.js +53 -0
  524. package/dist/Error-5edcd83a.cjs.dev.js +57 -0
  525. package/dist/Error-d7f0de14.cjs.prod.js +57 -0
  526. package/dist/ExecutionStrategy-89fbe735.cjs.dev.js +180 -0
  527. package/dist/ExecutionStrategy-dc778180.cjs.prod.js +180 -0
  528. package/dist/ExecutionStrategy-e3775e86.esm.js +168 -0
  529. package/dist/Exit-5691142c.cjs.prod.js +408 -0
  530. package/dist/Exit-666b4f01.esm.js +371 -0
  531. package/dist/Exit-a23874e1.cjs.dev.js +408 -0
  532. package/dist/Fiber-3b2a4091.cjs.prod.js +521 -0
  533. package/dist/Fiber-c797d281.cjs.dev.js +521 -0
  534. package/dist/Fiber-ebef9c60.esm.js +473 -0
  535. package/dist/FiberId-17e50f05.esm.js +422 -0
  536. package/dist/FiberId-929dcce4.cjs.dev.js +443 -0
  537. package/dist/FiberId-b79e8047.cjs.prod.js +443 -0
  538. package/dist/FiberRef-0b332631.cjs.prod.js +385 -0
  539. package/dist/FiberRef-61cd9abe.cjs.dev.js +385 -0
  540. package/dist/FiberRef-ddf157fd.esm.js +338 -0
  541. package/dist/FiberRefs-43bfd8b9.cjs.dev.js +135 -0
  542. package/dist/FiberRefs-4cb171f7.cjs.prod.js +135 -0
  543. package/dist/FiberRefs-f705c1b5.esm.js +122 -0
  544. package/dist/FiberRefsPatch-04e0adc7.esm.js +84 -0
  545. package/dist/FiberRefsPatch-5236f61e.cjs.dev.js +90 -0
  546. package/dist/FiberRefsPatch-cb847553.cjs.prod.js +90 -0
  547. package/dist/FiberStatus-7a24d5ef.esm.js +187 -0
  548. package/dist/FiberStatus-b82dad24.cjs.prod.js +197 -0
  549. package/dist/FiberStatus-bac7d58d.cjs.dev.js +197 -0
  550. package/dist/Function-12511160.esm.js +516 -0
  551. package/dist/Function-2e6b0cda.cjs.prod.js +538 -0
  552. package/dist/Function-41ce433d.cjs.dev.js +538 -0
  553. package/dist/GlobalValue-81ab6908.cjs.dev.js +28 -0
  554. package/dist/GlobalValue-b5edf230.esm.js +25 -0
  555. package/dist/GlobalValue-cb645c99.cjs.prod.js +28 -0
  556. package/dist/GroupBy-4c667347.esm.js +72 -0
  557. package/dist/GroupBy-bb08aeb2.cjs.prod.js +79 -0
  558. package/dist/GroupBy-bd212344.cjs.dev.js +79 -0
  559. package/dist/Hash-1bd73210.cjs.prod.js +192 -0
  560. package/dist/Hash-7910f34f.esm.js +179 -0
  561. package/dist/Hash-bd154268.cjs.dev.js +192 -0
  562. package/dist/HashMap-12668911.cjs.prod.js +361 -0
  563. package/dist/HashMap-68e290b6.cjs.dev.js +361 -0
  564. package/dist/HashMap-6c230bde.esm.js +327 -0
  565. package/dist/HashSet-6978c08e.cjs.dev.js +283 -0
  566. package/dist/HashSet-69824ba8.esm.js +907 -0
  567. package/dist/HashSet-6fe62df2.cjs.prod.js +965 -0
  568. package/dist/HashSet-ae2856c1.esm.js +256 -0
  569. package/dist/HashSet-c40a52b1.cjs.prod.js +283 -0
  570. package/dist/HashSet-ece2cfe8.cjs.dev.js +965 -0
  571. package/dist/Hub-121dbf51.esm.js +1264 -0
  572. package/dist/Hub-926961e9.cjs.prod.js +1280 -0
  573. package/dist/Hub-af0194fd.cjs.dev.js +1280 -0
  574. package/dist/Inspectable-3c4a0f5d.cjs.prod.js +50 -0
  575. package/dist/Inspectable-ac929af4.cjs.dev.js +50 -0
  576. package/dist/Inspectable-b0c51e90.esm.js +45 -0
  577. package/dist/KeyedPool-08ee3618.esm.js +273 -0
  578. package/dist/KeyedPool-0ddba691.cjs.prod.js +282 -0
  579. package/dist/KeyedPool-f7b4675c.cjs.dev.js +282 -0
  580. package/dist/Layer-6ad0ac38.cjs.dev.js +687 -0
  581. package/dist/Layer-8586a429.esm.js +623 -0
  582. package/dist/Layer-ec0ab71c.cjs.prod.js +687 -0
  583. package/dist/List-6e58a1e9.esm.js +865 -0
  584. package/dist/List-c6ea7efe.cjs.dev.js +912 -0
  585. package/dist/List-d9775087.cjs.prod.js +912 -0
  586. package/dist/LogLevel-5a4fa506.esm.js +222 -0
  587. package/dist/LogLevel-99f64f82.cjs.dev.js +240 -0
  588. package/dist/LogLevel-e9848e15.cjs.prod.js +240 -0
  589. package/dist/LogSpan-c905a192.cjs.prod.js +46 -0
  590. package/dist/LogSpan-e345ba58.cjs.dev.js +46 -0
  591. package/dist/LogSpan-f36e9619.esm.js +42 -0
  592. package/dist/Logger-3df1180d.cjs.prod.js +275 -0
  593. package/dist/Logger-620f1fa9.cjs.dev.js +275 -0
  594. package/dist/Logger-aafaa76b.esm.js +246 -0
  595. package/dist/Metric-9607aa06.cjs.prod.js +488 -0
  596. package/dist/Metric-ebc35919.cjs.dev.js +488 -0
  597. package/dist/Metric-fef02dd6.esm.js +442 -0
  598. package/dist/MetricBoundaries-c8610876.esm.js +61 -0
  599. package/dist/MetricBoundaries-cf5df220.cjs.prod.js +68 -0
  600. package/dist/MetricBoundaries-f5f5aae1.cjs.dev.js +68 -0
  601. package/dist/MetricHook-6859801b.esm.js +80 -0
  602. package/dist/MetricHook-a742d813.cjs.prod.js +90 -0
  603. package/dist/MetricHook-fdc68e37.cjs.dev.js +90 -0
  604. package/dist/MetricKey-b17b2c9a.cjs.prod.js +130 -0
  605. package/dist/MetricKey-be3afc49.cjs.dev.js +130 -0
  606. package/dist/MetricKey-d1b96e85.esm.js +118 -0
  607. package/dist/MetricKeyType-3dfa6802.cjs.prod.js +187 -0
  608. package/dist/MetricKeyType-4ce20904.esm.js +168 -0
  609. package/dist/MetricKeyType-fba3e0ec.cjs.dev.js +187 -0
  610. package/dist/MetricLabel-123185d1.esm.js +48 -0
  611. package/dist/MetricLabel-6a1886c6.cjs.dev.js +53 -0
  612. package/dist/MetricLabel-7e1d569e.cjs.prod.js +53 -0
  613. package/dist/MetricPair-658ab13d.cjs.dev.js +50 -0
  614. package/dist/MetricPair-840a98b7.esm.js +45 -0
  615. package/dist/MetricPair-aec13967.cjs.prod.js +50 -0
  616. package/dist/MetricPolling-061de6b9.cjs.dev.js +177 -0
  617. package/dist/MetricPolling-538e65c8.esm.js +167 -0
  618. package/dist/MetricPolling-6e5e4b2e.cjs.prod.js +177 -0
  619. package/dist/MetricRegistry-1e32438c.esm.js +34 -0
  620. package/dist/MetricRegistry-4df5e56b.cjs.dev.js +38 -0
  621. package/dist/MetricRegistry-da2c65bd.cjs.prod.js +38 -0
  622. package/dist/MetricState-b65340a4.cjs.dev.js +191 -0
  623. package/dist/MetricState-bd6a5001.cjs.prod.js +191 -0
  624. package/dist/MetricState-ccc2e0db.esm.js +172 -0
  625. package/dist/MutableHashMap-02b39969.esm.js +142 -0
  626. package/dist/MutableHashMap-74e83e84.cjs.dev.js +154 -0
  627. package/dist/MutableHashMap-95493edb.cjs.prod.js +154 -0
  628. package/dist/MutableHashSet-780dfd63.cjs.prod.js +110 -0
  629. package/dist/MutableHashSet-db4f96e8.esm.js +101 -0
  630. package/dist/MutableHashSet-ec8d7cc4.cjs.dev.js +110 -0
  631. package/dist/MutableList-58124ef2.cjs.dev.js +296 -0
  632. package/dist/MutableList-732af09a.cjs.prod.js +296 -0
  633. package/dist/MutableList-76401868.esm.js +281 -0
  634. package/dist/MutableQueue-0e9f2466.cjs.dev.js +215 -0
  635. package/dist/MutableQueue-446ac662.esm.js +202 -0
  636. package/dist/MutableQueue-f8aba856.cjs.prod.js +215 -0
  637. package/dist/MutableRef-2734b082.esm.js +176 -0
  638. package/dist/MutableRef-4a2f1f23.cjs.prod.js +194 -0
  639. package/dist/MutableRef-724c4082.cjs.dev.js +194 -0
  640. package/dist/NonEmptyIterable-418cef14.cjs.prod.js +36 -0
  641. package/dist/NonEmptyIterable-bb452f41.cjs.dev.js +36 -0
  642. package/dist/NonEmptyIterable-e78d759e.esm.js +33 -0
  643. package/dist/Number-4b836a09.esm.js +394 -0
  644. package/dist/Number-588f6483.cjs.dev.js +417 -0
  645. package/dist/Number-cb2ba2e8.cjs.prod.js +417 -0
  646. package/dist/Option-02025c86.cjs.prod.js +1198 -0
  647. package/dist/Option-03997d77.cjs.dev.js +1198 -0
  648. package/dist/Option-df40d2b9.esm.js +1135 -0
  649. package/dist/Order-28bdebd2.cjs.dev.js +321 -0
  650. package/dist/Order-8a112bfb.cjs.prod.js +321 -0
  651. package/dist/Order-a875fe30.esm.js +293 -0
  652. package/dist/Ordering-079176ff.esm.js +97 -0
  653. package/dist/Ordering-60bf9127.cjs.prod.js +104 -0
  654. package/dist/Ordering-b955b746.cjs.dev.js +104 -0
  655. package/dist/Pipeable-10760a1d.esm.js +49 -0
  656. package/dist/Pipeable-4698db72.cjs.dev.js +52 -0
  657. package/dist/Pipeable-d3ec6711.cjs.prod.js +52 -0
  658. package/dist/Pool-d8e4142e.cjs.prod.js +122 -0
  659. package/dist/Pool-e8a79a57.cjs.dev.js +122 -0
  660. package/dist/Pool-f1667f78.esm.js +114 -0
  661. package/dist/Predicate-6b61b95b.esm.js +677 -0
  662. package/dist/Predicate-9e859c9c.cjs.dev.js +718 -0
  663. package/dist/Predicate-daa86e61.cjs.prod.js +718 -0
  664. package/dist/Queue-55a39179.cjs.dev.js +394 -0
  665. package/dist/Queue-d99be5de.esm.js +362 -0
  666. package/dist/Queue-de055f1c.cjs.prod.js +394 -0
  667. package/dist/Random-5ed16d23.esm.js +94 -0
  668. package/dist/Random-ade126e8.cjs.prod.js +104 -0
  669. package/dist/Random-d6a2f801.cjs.dev.js +104 -0
  670. package/dist/ReadonlyArray-0a71b226.esm.js +1584 -0
  671. package/dist/ReadonlyArray-48949ee7.cjs.dev.js +1721 -0
  672. package/dist/ReadonlyArray-8157f697.cjs.prod.js +1721 -0
  673. package/dist/ReadonlyArray-9a1474f6.cjs.dev.js +10 -0
  674. package/dist/ReadonlyArray-c8b1f51c.esm.js +8 -0
  675. package/dist/ReadonlyArray-f9ed7a05.cjs.prod.js +10 -0
  676. package/dist/ReadonlyRecord-605a625b.cjs.dev.js +568 -0
  677. package/dist/ReadonlyRecord-8db8bada.cjs.prod.js +568 -0
  678. package/dist/ReadonlyRecord-c9f03980.esm.js +544 -0
  679. package/dist/RedBlackTree-611b3b4c.esm.js +1632 -0
  680. package/dist/RedBlackTree-e6bd147c.cjs.dev.js +1669 -0
  681. package/dist/RedBlackTree-eb41ea8a.cjs.prod.js +1669 -0
  682. package/dist/Ref-30e5ee58.cjs.prod.js +282 -0
  683. package/dist/Ref-5eefaff1.esm.js +248 -0
  684. package/dist/Ref-af783b72.cjs.dev.js +282 -0
  685. package/dist/Reloadable-5f1ed95c.cjs.prod.js +169 -0
  686. package/dist/Reloadable-e2eba7eb.esm.js +159 -0
  687. package/dist/Reloadable-e8bcb00e.cjs.dev.js +169 -0
  688. package/dist/Request-45226c5f.cjs.prod.js +190 -0
  689. package/dist/Request-8b0e9130.esm.js +175 -0
  690. package/dist/Request-9d12c3ba.cjs.dev.js +190 -0
  691. package/dist/RequestBlock-0e9f377b.cjs.dev.js +124 -0
  692. package/dist/RequestBlock-88afac19.esm.js +114 -0
  693. package/dist/RequestBlock-d4c7c31d.cjs.prod.js +124 -0
  694. package/dist/RequestResolver-8764ee8c.cjs.prod.js +233 -0
  695. package/dist/RequestResolver-b287a04a.cjs.dev.js +233 -0
  696. package/dist/RequestResolver-f17a25be.esm.js +213 -0
  697. package/dist/Resource-4f2b627f.cjs.dev.js +118 -0
  698. package/dist/Resource-525ecb8a.esm.js +111 -0
  699. package/dist/Resource-f95cf55a.cjs.prod.js +118 -0
  700. package/dist/Runtime-7b6c0a8b.esm.js +175 -0
  701. package/dist/Runtime-969e6cb2.cjs.prod.js +191 -0
  702. package/dist/Runtime-dc0234a0.cjs.dev.js +191 -0
  703. package/dist/RuntimeFlags-60048f70.esm.js +344 -0
  704. package/dist/RuntimeFlags-60dfc3f5.cjs.dev.js +381 -0
  705. package/dist/RuntimeFlags-7a400d83.cjs.prod.js +381 -0
  706. package/dist/RuntimeFlagsPatch-130e990c.cjs.dev.js +411 -0
  707. package/dist/RuntimeFlagsPatch-51f77dce.esm.js +365 -0
  708. package/dist/RuntimeFlagsPatch-5570758d.cjs.prod.js +411 -0
  709. package/dist/STM-1ef98d11.esm.js +1321 -0
  710. package/dist/STM-af9026e6.cjs.dev.js +1447 -0
  711. package/dist/STM-b8d9766d.cjs.prod.js +1447 -0
  712. package/dist/Schedule-58648908.cjs.prod.js +1159 -0
  713. package/dist/Schedule-76089454.cjs.dev.js +1159 -0
  714. package/dist/Schedule-8502145c.esm.js +1059 -0
  715. package/dist/ScheduleDecision-9555a6dc.cjs.dev.js +106 -0
  716. package/dist/ScheduleDecision-e0b221dc.esm.js +99 -0
  717. package/dist/ScheduleDecision-fbd6bb79.cjs.prod.js +106 -0
  718. package/dist/ScheduleInterval-15c7da05.cjs.prod.js +244 -0
  719. package/dist/ScheduleInterval-3ca6dbb0.cjs.dev.js +244 -0
  720. package/dist/ScheduleInterval-cc7fc624.esm.js +229 -0
  721. package/dist/ScheduleIntervals-36ff45c1.cjs.dev.js +265 -0
  722. package/dist/ScheduleIntervals-a5bbdb0d.cjs.prod.js +265 -0
  723. package/dist/ScheduleIntervals-c4dc0500.esm.js +252 -0
  724. package/dist/Scheduler-819ee02a.cjs.prod.js +358 -0
  725. package/dist/Scheduler-844c1a90.esm.js +343 -0
  726. package/dist/Scheduler-d080442d.cjs.dev.js +358 -0
  727. package/dist/Scope-0253ac82.esm.js +131 -0
  728. package/dist/Scope-820b74b2.cjs.dev.js +143 -0
  729. package/dist/Scope-e3e714b4.cjs.prod.js +143 -0
  730. package/dist/ScopedCache-467ccc2b.cjs.prod.js +467 -0
  731. package/dist/ScopedCache-8fa7e96d.esm.js +462 -0
  732. package/dist/ScopedCache-f9b2f52e.cjs.dev.js +467 -0
  733. package/dist/ScopedRef-735385de.cjs.dev.js +87 -0
  734. package/dist/ScopedRef-b45fd0e8.cjs.prod.js +87 -0
  735. package/dist/ScopedRef-d92cda3b.esm.js +80 -0
  736. package/dist/Sink-322b0a96.esm.js +1107 -0
  737. package/dist/Sink-cb1bba84.cjs.prod.js +1215 -0
  738. package/dist/Sink-dffe83ea.cjs.dev.js +1215 -0
  739. package/dist/SortedMap-bb3311c3.cjs.prod.js +210 -0
  740. package/dist/SortedMap-e429b26f.esm.js +190 -0
  741. package/dist/SortedMap-f452cc44.cjs.dev.js +210 -0
  742. package/dist/SortedSet-424670fe.cjs.prod.js +311 -0
  743. package/dist/SortedSet-f90b14a2.cjs.dev.js +311 -0
  744. package/dist/SortedSet-ffc2cefd.esm.js +288 -0
  745. package/dist/Stream-39e8de11.cjs.prod.js +3469 -0
  746. package/dist/Stream-a54c82e5.esm.js +3175 -0
  747. package/dist/Stream-c348a386.cjs.dev.js +3469 -0
  748. package/dist/StreamHaltStrategy-07f544a6.cjs.prod.js +214 -0
  749. package/dist/StreamHaltStrategy-592df221.esm.js +201 -0
  750. package/dist/StreamHaltStrategy-66a53f66.cjs.dev.js +214 -0
  751. package/dist/String-23b18ca9.cjs.prod.js +694 -0
  752. package/dist/String-5d27ad4c.esm.js +648 -0
  753. package/dist/String-830aaa3e.cjs.dev.js +694 -0
  754. package/dist/Struct-14648d76.cjs.dev.js +141 -0
  755. package/dist/Struct-b95eb81c.esm.js +134 -0
  756. package/dist/Struct-c6b00f29.cjs.prod.js +141 -0
  757. package/dist/SubscriptionRef-53e8686c.cjs.dev.js +269 -0
  758. package/dist/SubscriptionRef-62745b92.cjs.prod.js +269 -0
  759. package/dist/SubscriptionRef-93d8d20b.esm.js +245 -0
  760. package/dist/Supervisor-0ea7382b.cjs.prod.js +170 -0
  761. package/dist/Supervisor-802f0ad0.esm.js +160 -0
  762. package/dist/Supervisor-cf21fcaa.cjs.dev.js +170 -0
  763. package/dist/Symbol-55d0b3d8.cjs.prod.js +40 -0
  764. package/dist/Symbol-5d74a5f2.cjs.dev.js +40 -0
  765. package/dist/Symbol-81368584.esm.js +36 -0
  766. package/dist/SynchronizedRef-2cc5af97.cjs.prod.js +212 -0
  767. package/dist/SynchronizedRef-5b418159.esm.js +187 -0
  768. package/dist/SynchronizedRef-9e9689e9.cjs.dev.js +212 -0
  769. package/dist/TArray-0b280c93.cjs.dev.js +455 -0
  770. package/dist/TArray-6057170a.cjs.prod.js +455 -0
  771. package/dist/TArray-e0699120.esm.js +412 -0
  772. package/dist/TDeferred-73b5dfc2.cjs.prod.js +129 -0
  773. package/dist/TDeferred-786b2b13.cjs.dev.js +129 -0
  774. package/dist/TDeferred-96a9e821.esm.js +120 -0
  775. package/dist/THub-573c2fb3.esm.js +553 -0
  776. package/dist/THub-810db270.cjs.prod.js +570 -0
  777. package/dist/THub-bcd35bc0.cjs.dev.js +570 -0
  778. package/dist/TMap-06e0747b.cjs.dev.js +463 -0
  779. package/dist/TMap-0b08af84.esm.js +419 -0
  780. package/dist/TMap-7206da08.cjs.prod.js +463 -0
  781. package/dist/TPriorityQueue-0844551b.cjs.dev.js +381 -0
  782. package/dist/TPriorityQueue-71490af5.cjs.prod.js +381 -0
  783. package/dist/TPriorityQueue-a5eb73d4.esm.js +360 -0
  784. package/dist/TQueue-2c224826.esm.js +324 -0
  785. package/dist/TQueue-5621ef6e.cjs.dev.js +353 -0
  786. package/dist/TQueue-67ccf55b.cjs.prod.js +353 -0
  787. package/dist/TRandom-557dc8e1.cjs.prod.js +203 -0
  788. package/dist/TRandom-c974e739.cjs.dev.js +203 -0
  789. package/dist/TRandom-dbfd1b25.esm.js +192 -0
  790. package/dist/TReentrantLock-5f7cba2d.cjs.dev.js +456 -0
  791. package/dist/TReentrantLock-83290260.esm.js +435 -0
  792. package/dist/TReentrantLock-e6ee830e.cjs.prod.js +456 -0
  793. package/dist/TRef-38eac0f0.cjs.dev.js +152 -0
  794. package/dist/TRef-bb02383a.esm.js +135 -0
  795. package/dist/TRef-f7b2bc6f.cjs.prod.js +152 -0
  796. package/dist/TSemaphore-28d87428.cjs.prod.js +197 -0
  797. package/dist/TSemaphore-3cf15f77.cjs.dev.js +197 -0
  798. package/dist/TSemaphore-9a746009.esm.js +183 -0
  799. package/dist/TSet-1dca2ef3.cjs.dev.js +444 -0
  800. package/dist/TSet-677ac73c.cjs.prod.js +444 -0
  801. package/dist/TSet-91c5d646.esm.js +412 -0
  802. package/dist/Take-880079f7.esm.js +214 -0
  803. package/dist/Take-bfdbd28d.cjs.dev.js +236 -0
  804. package/dist/Take-e40627bd.cjs.prod.js +236 -0
  805. package/dist/TestAnnotation-73be7a68.cjs.dev.js +135 -0
  806. package/dist/TestAnnotation-b9b93d03.cjs.prod.js +135 -0
  807. package/dist/TestAnnotation-f4477615.esm.js +124 -0
  808. package/dist/TestAnnotationMap-11d08509.esm.js +114 -0
  809. package/dist/TestAnnotationMap-80c87410.cjs.dev.js +125 -0
  810. package/dist/TestAnnotationMap-e946bab5.cjs.prod.js +125 -0
  811. package/dist/TestAnnotations-14444032.cjs.prod.js +97 -0
  812. package/dist/TestAnnotations-39f7e011.esm.js +91 -0
  813. package/dist/TestAnnotations-ee0f8c79.cjs.dev.js +97 -0
  814. package/dist/TestClock-30ba14e8.cjs.prod.js +581 -0
  815. package/dist/TestClock-ab72e391.esm.js +565 -0
  816. package/dist/TestClock-d782f3ee.cjs.dev.js +581 -0
  817. package/dist/TestConfig-0d2c885c.esm.js +33 -0
  818. package/dist/TestConfig-1a73e844.cjs.prod.js +37 -0
  819. package/dist/TestConfig-e5ffa946.cjs.dev.js +37 -0
  820. package/dist/TestContext-61178585.esm.js +36 -0
  821. package/dist/TestContext-eebb1aad.cjs.dev.js +41 -0
  822. package/dist/TestContext-f76f750e.cjs.prod.js +41 -0
  823. package/dist/TestLive-61a5e471.esm.js +55 -0
  824. package/dist/TestLive-dc458127.cjs.dev.js +60 -0
  825. package/dist/TestLive-e5d614fe.cjs.prod.js +60 -0
  826. package/dist/TestServices-310ebe14.esm.js +306 -0
  827. package/dist/TestServices-7a60d735.cjs.dev.js +341 -0
  828. package/dist/TestServices-b3af20a3.cjs.prod.js +341 -0
  829. package/dist/TestSized-6c1abc21.cjs.dev.js +64 -0
  830. package/dist/TestSized-745ac7e5.esm.js +58 -0
  831. package/dist/TestSized-a9a87d64.cjs.prod.js +64 -0
  832. package/dist/Tracer-3cd1e3bc.cjs.prod.js +81 -0
  833. package/dist/Tracer-435e56fd.cjs.dev.js +81 -0
  834. package/dist/Tracer-da65ce12.esm.js +75 -0
  835. package/dist/Tuple-27ecf3a1.cjs.prod.js +199 -0
  836. package/dist/Tuple-75d2a389.cjs.dev.js +199 -0
  837. package/dist/Tuple-eefd2c03.esm.js +187 -0
  838. package/dist/Unify-118c2d56.esm.js +45 -0
  839. package/dist/Unify-99be0499.cjs.dev.js +48 -0
  840. package/dist/Unify-e86fd412.cjs.prod.js +48 -0
  841. package/dist/Utils-80c21479.esm.js +362 -0
  842. package/dist/Utils-864e1d48.cjs.prod.js +370 -0
  843. package/dist/Utils-b0c14d1b.cjs.dev.js +370 -0
  844. package/dist/boundaries-03c7494a.cjs.dev.js +54 -0
  845. package/dist/boundaries-52029180.esm.js +48 -0
  846. package/dist/boundaries-5d1a46e1.cjs.prod.js +54 -0
  847. package/dist/cache-66637407.cjs.dev.js +523 -0
  848. package/dist/cache-c88afdc0.cjs.prod.js +523 -0
  849. package/dist/cache-d62912e6.esm.js +514 -0
  850. package/dist/childExecutorDecision-2b30946c.cjs.prod.js +98 -0
  851. package/dist/childExecutorDecision-a7b466d2.esm.js +85 -0
  852. package/dist/childExecutorDecision-ad3db696.cjs.dev.js +98 -0
  853. package/dist/circular-08fb0138.esm.js +311 -0
  854. package/dist/circular-5c436934.cjs.dev.js +107 -0
  855. package/dist/circular-7eed8a92.cjs.prod.js +341 -0
  856. package/dist/circular-c8f8e360.cjs.prod.js +107 -0
  857. package/dist/circular-d08ca815.cjs.dev.js +341 -0
  858. package/dist/circular-e463e1e6.esm.js +82 -0
  859. package/dist/config-10f2a1d1.cjs.dev.js +474 -0
  860. package/dist/config-78feb1ac.cjs.prod.js +474 -0
  861. package/dist/config-b039b99f.esm.js +428 -0
  862. package/dist/configError-1686533e.cjs.dev.js +323 -0
  863. package/dist/configError-6a3652f8.cjs.prod.js +323 -0
  864. package/dist/configError-8b2e2999.esm.js +305 -0
  865. package/dist/configProvider-2b177eac.cjs.prod.js +447 -0
  866. package/dist/configProvider-c997961d.esm.js +428 -0
  867. package/dist/configProvider-e2eb112d.cjs.dev.js +447 -0
  868. package/dist/configSecret-5812fa69.cjs.dev.js +74 -0
  869. package/dist/configSecret-6e9eaf9d.esm.js +66 -0
  870. package/dist/configSecret-ecb6c5b3.cjs.prod.js +74 -0
  871. package/dist/core-20a91d69.cjs.prod.js +1072 -0
  872. package/dist/core-64ab7ff5.esm.js +3225 -0
  873. package/dist/core-6e50c01f.cjs.dev.js +1072 -0
  874. package/dist/core-ac668be0.cjs.dev.js +3502 -0
  875. package/dist/core-c2eb171a.cjs.prod.js +3502 -0
  876. package/dist/core-effect-023f4abe.cjs.prod.js +1030 -0
  877. package/dist/core-effect-57445976.esm.js +902 -0
  878. package/dist/core-effect-780f9db7.cjs.dev.js +1030 -0
  879. package/dist/core-f6cae6d7.esm.js +1032 -0
  880. package/dist/dataSource-1f41ea46.esm.js +60 -0
  881. package/dist/dataSource-7ec08fa5.cjs.prod.js +74 -0
  882. package/dist/dataSource-e56e2a99.cjs.dev.js +74 -0
  883. package/dist/declarations/src/Bigint.d.ts +22 -22
  884. package/dist/declarations/src/Boolean.d.ts +15 -15
  885. package/dist/declarations/src/Brand.d.ts +20 -20
  886. package/dist/declarations/src/Cache.d.ts +14 -14
  887. package/dist/declarations/src/Cause.d.ts +81 -81
  888. package/dist/declarations/src/Channel.d.ts +117 -117
  889. package/dist/declarations/src/ChannelChildExecutorDecision.d.ts +16 -16
  890. package/dist/declarations/src/ChannelMergeDecision.d.ts +11 -11
  891. package/dist/declarations/src/ChannelMergeState.d.ts +17 -17
  892. package/dist/declarations/src/ChannelMergeStrategy.d.ts +13 -13
  893. package/dist/declarations/src/ChannelSingleProducerAsyncInput.d.ts +5 -5
  894. package/dist/declarations/src/ChannelUpstreamPullRequest.d.ts +13 -13
  895. package/dist/declarations/src/ChannelUpstreamPullStrategy.d.ts +13 -13
  896. package/dist/declarations/src/Chunk.d.ts +84 -84
  897. package/dist/declarations/src/Clock.d.ts +13 -13
  898. package/dist/declarations/src/Config.d.ts +40 -40
  899. package/dist/declarations/src/ConfigError.d.ts +31 -31
  900. package/dist/declarations/src/ConfigProvider.d.ts +27 -27
  901. package/dist/declarations/src/ConfigProviderPathPatch.d.ts +11 -11
  902. package/dist/declarations/src/ConfigSecret.d.ts +12 -12
  903. package/dist/declarations/src/Console.d.ts +26 -26
  904. package/dist/declarations/src/Context.d.ts +24 -24
  905. package/dist/declarations/src/Data.d.ts +22 -22
  906. package/dist/declarations/src/DefaultServices.d.ts +4 -4
  907. package/dist/declarations/src/Deferred.d.ts +26 -26
  908. package/dist/declarations/src/Differ.d.ts +34 -34
  909. package/dist/declarations/src/Duration.d.ts +37 -37
  910. package/dist/declarations/src/Effect.d.ts +351 -351
  911. package/dist/declarations/src/Effectable.d.ts +16 -16
  912. package/dist/declarations/src/Either.d.ts +35 -35
  913. package/dist/declarations/src/Encoding.d.ts +15 -15
  914. package/dist/declarations/src/Equal.d.ts +6 -6
  915. package/dist/declarations/src/Equivalence.d.ts +20 -20
  916. package/dist/declarations/src/Error.d.ts +4 -4
  917. package/dist/declarations/src/ExecutionStrategy.d.ts +12 -12
  918. package/dist/declarations/src/Exit.d.ts +41 -41
  919. package/dist/declarations/src/Fiber.d.ts +57 -57
  920. package/dist/declarations/src/FiberId.d.ts +23 -23
  921. package/dist/declarations/src/FiberRef.d.ts +49 -49
  922. package/dist/declarations/src/FiberRefs.d.ts +14 -14
  923. package/dist/declarations/src/FiberRefsPatch.d.ts +11 -11
  924. package/dist/declarations/src/FiberStatus.d.ts +14 -14
  925. package/dist/declarations/src/Function.d.ts +24 -24
  926. package/dist/declarations/src/GlobalValue.d.ts +1 -1
  927. package/dist/declarations/src/GroupBy.d.ts +9 -9
  928. package/dist/declarations/src/HKT.d.ts +5 -5
  929. package/dist/declarations/src/Hash.d.ts +12 -12
  930. package/dist/declarations/src/HashMap.d.ts +37 -37
  931. package/dist/declarations/src/HashSet.d.ts +28 -28
  932. package/dist/declarations/src/Hub.d.ts +16 -16
  933. package/dist/declarations/src/Inspectable.d.ts +6 -6
  934. package/dist/declarations/src/KeyedPool.d.ts +12 -12
  935. package/dist/declarations/src/Layer.d.ts +70 -70
  936. package/dist/declarations/src/List.d.ts +50 -50
  937. package/dist/declarations/src/LogLevel.d.ts +27 -27
  938. package/dist/declarations/src/LogSpan.d.ts +3 -3
  939. package/dist/declarations/src/Logger.d.ts +33 -33
  940. package/dist/declarations/src/Metric.d.ts +55 -55
  941. package/dist/declarations/src/MetricBoundaries.d.ts +8 -8
  942. package/dist/declarations/src/MetricHook.d.ts +20 -20
  943. package/dist/declarations/src/MetricKey.d.ts +21 -21
  944. package/dist/declarations/src/MetricKeyType.d.ts +35 -35
  945. package/dist/declarations/src/MetricLabel.d.ts +6 -6
  946. package/dist/declarations/src/MetricPair.d.ts +8 -8
  947. package/dist/declarations/src/MetricPolling.d.ts +11 -11
  948. package/dist/declarations/src/MetricRegistry.d.ts +5 -5
  949. package/dist/declarations/src/MetricState.d.ts +33 -33
  950. package/dist/declarations/src/MutableHashMap.d.ts +12 -12
  951. package/dist/declarations/src/MutableHashSet.d.ts +9 -9
  952. package/dist/declarations/src/MutableList.d.ts +13 -13
  953. package/dist/declarations/src/MutableQueue.d.ts +16 -16
  954. package/dist/declarations/src/MutableRef.d.ts +18 -18
  955. package/dist/declarations/src/NonEmptyIterable.d.ts +4 -4
  956. package/dist/declarations/src/Number.d.ts +22 -22
  957. package/dist/declarations/src/Option.d.ts +69 -69
  958. package/dist/declarations/src/Order.d.ts +28 -28
  959. package/dist/declarations/src/Ordering.d.ts +7 -7
  960. package/dist/declarations/src/Pipeable.d.ts +3 -3
  961. package/dist/declarations/src/Pool.d.ts +11 -11
  962. package/dist/declarations/src/Predicate.d.ts +42 -42
  963. package/dist/declarations/src/Queue.d.ts +44 -44
  964. package/dist/declarations/src/Random.d.ts +11 -11
  965. package/dist/declarations/src/ReadonlyArray.d.ts +139 -139
  966. package/dist/declarations/src/ReadonlyRecord.d.ts +25 -25
  967. package/dist/declarations/src/RedBlackTree.d.ts +40 -40
  968. package/dist/declarations/src/Ref.d.ts +20 -20
  969. package/dist/declarations/src/Reloadable.d.ts +13 -13
  970. package/dist/declarations/src/Request.d.ts +29 -29
  971. package/dist/declarations/src/RequestBlock.d.ts +16 -16
  972. package/dist/declarations/src/RequestResolver.d.ts +23 -23
  973. package/dist/declarations/src/Resource.d.ts +10 -10
  974. package/dist/declarations/src/Runtime.d.ts +22 -22
  975. package/dist/declarations/src/RuntimeFlags.d.ts +38 -38
  976. package/dist/declarations/src/RuntimeFlagsPatch.d.ts +18 -18
  977. package/dist/declarations/src/STM.d.ts +140 -140
  978. package/dist/declarations/src/Schedule.d.ts +106 -106
  979. package/dist/declarations/src/ScheduleDecision.d.ts +8 -8
  980. package/dist/declarations/src/ScheduleInterval.d.ts +16 -16
  981. package/dist/declarations/src/ScheduleIntervals.d.ts +14 -14
  982. package/dist/declarations/src/Scheduler.d.ts +34 -34
  983. package/dist/declarations/src/Scope.d.ts +18 -18
  984. package/dist/declarations/src/ScopedCache.d.ts +9 -9
  985. package/dist/declarations/src/ScopedRef.d.ts +10 -10
  986. package/dist/declarations/src/Sink.d.ts +115 -115
  987. package/dist/declarations/src/SortedMap.d.ts +21 -21
  988. package/dist/declarations/src/SortedSet.d.ts +24 -24
  989. package/dist/declarations/src/Stream.d.ts +303 -303
  990. package/dist/declarations/src/StreamEmit.d.ts +3 -3
  991. package/dist/declarations/src/StreamHaltStrategy.d.ts +16 -16
  992. package/dist/declarations/src/String.d.ts +50 -50
  993. package/dist/declarations/src/Struct.d.ts +6 -6
  994. package/dist/declarations/src/SubscriptionRef.d.ts +27 -27
  995. package/dist/declarations/src/Supervisor.d.ts +23 -23
  996. package/dist/declarations/src/Symbol.d.ts +3 -3
  997. package/dist/declarations/src/SynchronizedRef.d.ts +28 -28
  998. package/dist/declarations/src/TArray.d.ts +46 -46
  999. package/dist/declarations/src/TDeferred.d.ts +12 -12
  1000. package/dist/declarations/src/THub.d.ts +18 -18
  1001. package/dist/declarations/src/TMap.d.ts +46 -46
  1002. package/dist/declarations/src/TPriorityQueue.d.ts +23 -23
  1003. package/dist/declarations/src/TQueue.d.ts +36 -36
  1004. package/dist/declarations/src/TRandom.d.ts +12 -12
  1005. package/dist/declarations/src/TReentrantLock.d.ts +24 -24
  1006. package/dist/declarations/src/TRef.d.ts +19 -19
  1007. package/dist/declarations/src/TSemaphore.d.ts +17 -17
  1008. package/dist/declarations/src/TSet.d.ts +35 -35
  1009. package/dist/declarations/src/Take.d.ts +25 -25
  1010. package/dist/declarations/src/TestAnnotation.d.ts +12 -12
  1011. package/dist/declarations/src/TestAnnotationMap.d.ts +11 -11
  1012. package/dist/declarations/src/TestAnnotations.d.ts +7 -7
  1013. package/dist/declarations/src/TestClock.d.ts +16 -16
  1014. package/dist/declarations/src/TestConfig.d.ts +4 -4
  1015. package/dist/declarations/src/TestContext.d.ts +3 -3
  1016. package/dist/declarations/src/TestLive.d.ts +6 -6
  1017. package/dist/declarations/src/TestServices.d.ts +35 -35
  1018. package/dist/declarations/src/TestSized.d.ts +7 -7
  1019. package/dist/declarations/src/Tracer.d.ts +13 -13
  1020. package/dist/declarations/src/Tuple.d.ts +12 -12
  1021. package/dist/declarations/src/Types.d.ts +10 -10
  1022. package/dist/declarations/src/Unify.d.ts +9 -9
  1023. package/dist/declarations/src/Utils.d.ts +29 -29
  1024. package/dist/declarations/src/index.d.ts +169 -141
  1025. package/dist/declarations/src/index.d.ts.map +1 -1
  1026. package/dist/defaultServices-452aebad.cjs.prod.js +388 -0
  1027. package/dist/defaultServices-b9ca1236.esm.js +359 -0
  1028. package/dist/defaultServices-e9a9b935.cjs.dev.js +388 -0
  1029. package/dist/effect.cjs.dev.js +199 -193
  1030. package/dist/effect.cjs.mjs +7 -1
  1031. package/dist/effect.cjs.prod.js +199 -193
  1032. package/dist/effect.esm.js +192 -192
  1033. package/dist/fiber-1132297b.cjs.dev.js +411 -0
  1034. package/dist/fiber-2975db3a.cjs.prod.js +411 -0
  1035. package/dist/fiber-8fb398f3.esm.js +363 -0
  1036. package/dist/fiberRefs-64c35250.cjs.prod.js +181 -0
  1037. package/dist/fiberRefs-69cce1a0.esm.js +169 -0
  1038. package/dist/fiberRefs-a7e00f7e.cjs.dev.js +181 -0
  1039. package/dist/fiberRuntime-9d6d53be.cjs.prod.js +3012 -0
  1040. package/dist/fiberRuntime-ac7fae54.cjs.dev.js +3012 -0
  1041. package/dist/fiberRuntime-bfcf5f49.esm.js +2857 -0
  1042. package/dist/groupBy-d11b31b1.esm.js +206 -0
  1043. package/dist/groupBy-e1d3c5e8.cjs.dev.js +216 -0
  1044. package/dist/groupBy-f0a83f90.cjs.prod.js +216 -0
  1045. package/dist/hook-0bf192b2.cjs.prod.js +371 -0
  1046. package/dist/hook-9e86d119.cjs.dev.js +371 -0
  1047. package/dist/hook-fd61107b.esm.js +362 -0
  1048. package/dist/key-340a2bae.esm.js +68 -0
  1049. package/dist/key-6ac569ca.cjs.dev.js +79 -0
  1050. package/dist/key-a79acfe7.cjs.prod.js +79 -0
  1051. package/dist/keyType-681c1c4a.cjs.prod.js +236 -0
  1052. package/dist/keyType-869d90f8.esm.js +218 -0
  1053. package/dist/keyType-c1e7cfc5.cjs.dev.js +236 -0
  1054. package/dist/label-0cc6c9a0.esm.js +40 -0
  1055. package/dist/label-246fb11d.cjs.dev.js +44 -0
  1056. package/dist/label-3e143765.cjs.prod.js +44 -0
  1057. package/dist/layer-35828af7.esm.js +596 -0
  1058. package/dist/layer-db9c42be.cjs.prod.js +658 -0
  1059. package/dist/layer-f0c8023d.cjs.dev.js +658 -0
  1060. package/dist/mergeDecision-d31cb28c.esm.js +78 -0
  1061. package/dist/mergeDecision-e457a76b.cjs.dev.js +86 -0
  1062. package/dist/mergeDecision-e483c280.cjs.prod.js +86 -0
  1063. package/dist/mergeState-1325df20.esm.js +96 -0
  1064. package/dist/mergeState-83204f38.cjs.dev.js +109 -0
  1065. package/dist/mergeState-dba66248.cjs.prod.js +109 -0
  1066. package/dist/mergeStrategy-845a1279.cjs.prod.js +72 -0
  1067. package/dist/mergeStrategy-a88b5442.esm.js +64 -0
  1068. package/dist/mergeStrategy-b19dc19a.cjs.dev.js +72 -0
  1069. package/dist/pair-08a8685e.cjs.dev.js +42 -0
  1070. package/dist/pair-5bb3eef4.esm.js +38 -0
  1071. package/dist/pair-e5443c93.cjs.prod.js +42 -0
  1072. package/dist/patch-4671ab7f.cjs.dev.js +132 -0
  1073. package/dist/patch-743d675c.esm.js +127 -0
  1074. package/dist/patch-f27e9f08.cjs.prod.js +132 -0
  1075. package/dist/pathPatch-ded405f6.cjs.prod.js +90 -0
  1076. package/dist/pathPatch-e46d4168.cjs.dev.js +90 -0
  1077. package/dist/pathPatch-f393ab1b.esm.js +83 -0
  1078. package/dist/pool-7d5c25ef.esm.js +271 -0
  1079. package/dist/pool-975b7d21.cjs.prod.js +278 -0
  1080. package/dist/pool-cd9f1284.cjs.dev.js +278 -0
  1081. package/dist/query-12e387cf.cjs.dev.js +104 -0
  1082. package/dist/query-242f7fda.esm.js +97 -0
  1083. package/dist/query-eb8a7001.cjs.prod.js +104 -0
  1084. package/dist/queue-0dbc2b3f.cjs.dev.js +538 -0
  1085. package/dist/queue-f70dda1a.cjs.prod.js +538 -0
  1086. package/dist/queue-f74db567.esm.js +505 -0
  1087. package/dist/registry-92c00ecd.cjs.prod.js +114 -0
  1088. package/dist/registry-9e9ae2c7.cjs.dev.js +114 -0
  1089. package/dist/registry-c59aeb06.esm.js +111 -0
  1090. package/dist/runtime-0ada41f2.cjs.prod.js +288 -0
  1091. package/dist/runtime-bcdd4416.esm.js +266 -0
  1092. package/dist/runtime-f8d0f39b.cjs.dev.js +288 -0
  1093. package/dist/schedule-18b063cb.cjs.dev.js +956 -0
  1094. package/dist/schedule-566ae18c.esm.js +843 -0
  1095. package/dist/schedule-f918adf5.cjs.prod.js +956 -0
  1096. package/dist/scopedRef-0fdefef8.esm.js +49 -0
  1097. package/dist/scopedRef-50091b28.cjs.dev.js +55 -0
  1098. package/dist/scopedRef-d6396f06.cjs.prod.js +55 -0
  1099. package/dist/singleProducerAsyncInput-5b2ede75.esm.js +191 -0
  1100. package/dist/singleProducerAsyncInput-bd600183.cjs.prod.js +193 -0
  1101. package/dist/singleProducerAsyncInput-f3dd657f.cjs.dev.js +193 -0
  1102. package/dist/sink-637a9670.esm.js +2877 -0
  1103. package/dist/sink-6a1db2b0.cjs.prod.js +3094 -0
  1104. package/dist/sink-bb64c8a6.cjs.dev.js +3094 -0
  1105. package/dist/state-0d29362f.cjs.prod.js +227 -0
  1106. package/dist/state-2c6abdb1.esm.js +209 -0
  1107. package/dist/state-8a8a647c.cjs.dev.js +227 -0
  1108. package/dist/stm-2b8fa344.cjs.dev.js +678 -0
  1109. package/dist/stm-6937f6f2.esm.js +582 -0
  1110. package/dist/stm-e3401389.cjs.prod.js +678 -0
  1111. package/dist/stream-22ea5a61.cjs.prod.js +3649 -0
  1112. package/dist/stream-7bc5bfac.cjs.dev.js +3649 -0
  1113. package/dist/stream-e44fba40.esm.js +3355 -0
  1114. package/dist/synchronizedRef-1ceb6bd3.esm.js +53 -0
  1115. package/dist/synchronizedRef-58a64ffe.cjs.dev.js +62 -0
  1116. package/dist/synchronizedRef-6cfe9354.cjs.prod.js +62 -0
  1117. package/dist/tArray-36a6e713.cjs.dev.js +330 -0
  1118. package/dist/tArray-79024770.esm.js +287 -0
  1119. package/dist/tArray-a211cc29.cjs.prod.js +330 -0
  1120. package/dist/tMap-907e37f4.esm.js +492 -0
  1121. package/dist/tMap-9c22a2ff.cjs.prod.js +535 -0
  1122. package/dist/tMap-fd504724.cjs.dev.js +535 -0
  1123. package/dist/tQueue-4b66ca7b.cjs.prod.js +367 -0
  1124. package/dist/tQueue-565f8994.cjs.dev.js +367 -0
  1125. package/dist/tQueue-74395d76.esm.js +331 -0
  1126. package/dist/tRef-565db536.cjs.dev.js +133 -0
  1127. package/dist/tRef-74dff65b.cjs.prod.js +133 -0
  1128. package/dist/tRef-fc8ff438.esm.js +115 -0
  1129. package/dist/take-05ea3c27.cjs.prod.js +152 -0
  1130. package/dist/take-0d5e0eab.esm.js +130 -0
  1131. package/dist/take-f87477f8.cjs.dev.js +152 -0
  1132. package/dist/upstreamPullRequest-705e868d.cjs.prod.js +79 -0
  1133. package/dist/upstreamPullRequest-c08f06a4.cjs.dev.js +79 -0
  1134. package/dist/upstreamPullRequest-fed99e29.esm.js +71 -0
  1135. package/dist/upstreamPullStrategy-0ccf2960.cjs.dev.js +81 -0
  1136. package/dist/upstreamPullStrategy-34452db1.cjs.prod.js +81 -0
  1137. package/dist/upstreamPullStrategy-d5d1aa92.esm.js +71 -0
  1138. package/package.json +1 -1
  1139. package/dist/Bigint-1c684209.esm.js +0 -370
  1140. package/dist/Bigint-504df838.cjs.dev.js +0 -392
  1141. package/dist/Bigint-d1a7e44e.cjs.prod.js +0 -392
  1142. package/dist/Boolean-7513c999.cjs.prod.js +0 -264
  1143. package/dist/Boolean-9427fc24.cjs.dev.js +0 -264
  1144. package/dist/Boolean-f564d31a.esm.js +0 -248
  1145. package/dist/Brand-c3918667.cjs.dev.js +0 -224
  1146. package/dist/Brand-fa4e9f22.esm.js +0 -215
  1147. package/dist/Brand-ff4af468.cjs.prod.js +0 -224
  1148. package/dist/Cache-447337f2.esm.js +0 -120
  1149. package/dist/Cache-4b4ea2b3.cjs.prod.js +0 -127
  1150. package/dist/Cache-62ebdae3.cjs.dev.js +0 -127
  1151. package/dist/Cause-8be0b9a6.esm.js +0 -730
  1152. package/dist/Cause-b769f517.cjs.prod.js +0 -791
  1153. package/dist/Cause-d77e20dc.cjs.dev.js +0 -791
  1154. package/dist/Channel-2039c280.cjs.dev.js +0 -1217
  1155. package/dist/Channel-806a0a5a.esm.js +0 -1109
  1156. package/dist/Channel-dcff73a4.cjs.prod.js +0 -1217
  1157. package/dist/ChannelChildExecutorDecision-2d3c20b1.esm.js +0 -125
  1158. package/dist/ChannelChildExecutorDecision-adce4b58.cjs.dev.js +0 -136
  1159. package/dist/ChannelChildExecutorDecision-fc90c987.cjs.prod.js +0 -136
  1160. package/dist/ChannelMergeDecision-39e12893.cjs.prod.js +0 -78
  1161. package/dist/ChannelMergeDecision-4488ba22.esm.js +0 -70
  1162. package/dist/ChannelMergeDecision-f05da806.cjs.dev.js +0 -78
  1163. package/dist/ChannelMergeState-65723a71.cjs.dev.js +0 -125
  1164. package/dist/ChannelMergeState-937282d2.esm.js +0 -114
  1165. package/dist/ChannelMergeState-ab626a77.cjs.prod.js +0 -125
  1166. package/dist/ChannelMergeStrategy-c2f956a9.esm.js +0 -95
  1167. package/dist/ChannelMergeStrategy-d5bdc89d.cjs.prod.js +0 -104
  1168. package/dist/ChannelMergeStrategy-d956e3fa.cjs.dev.js +0 -104
  1169. package/dist/ChannelSingleProducerAsyncInput-00708a29.esm.js +0 -52
  1170. package/dist/ChannelSingleProducerAsyncInput-90f3b171.cjs.prod.js +0 -55
  1171. package/dist/ChannelSingleProducerAsyncInput-ecc79242.cjs.dev.js +0 -55
  1172. package/dist/ChannelUpstreamPullRequest-011526e6.esm.js +0 -95
  1173. package/dist/ChannelUpstreamPullRequest-6a610523.cjs.dev.js +0 -104
  1174. package/dist/ChannelUpstreamPullRequest-d7413c53.cjs.prod.js +0 -104
  1175. package/dist/ChannelUpstreamPullStrategy-0af49b72.esm.js +0 -94
  1176. package/dist/ChannelUpstreamPullStrategy-6e0a338e.cjs.prod.js +0 -103
  1177. package/dist/ChannelUpstreamPullStrategy-90ec240c.cjs.dev.js +0 -103
  1178. package/dist/Chunk-937f4423.cjs.dev.js +0 -1248
  1179. package/dist/Chunk-98371336.esm.js +0 -1167
  1180. package/dist/Chunk-f001938d.cjs.prod.js +0 -1248
  1181. package/dist/Clock-27c1110d.cjs.prod.js +0 -97
  1182. package/dist/Clock-589e9dc5.cjs.dev.js +0 -97
  1183. package/dist/Clock-ab907687.esm.js +0 -88
  1184. package/dist/Config-50e56bbd.cjs.prod.js +0 -393
  1185. package/dist/Config-7e7f7335.cjs.dev.js +0 -393
  1186. package/dist/Config-a3a06665.esm.js +0 -358
  1187. package/dist/ConfigError-5801d561.esm.js +0 -206
  1188. package/dist/ConfigError-684b6267.cjs.dev.js +0 -225
  1189. package/dist/ConfigError-f5303a19.cjs.prod.js +0 -225
  1190. package/dist/ConfigProvider-0aeb6513.esm.js +0 -220
  1191. package/dist/ConfigProvider-b47b08f3.cjs.dev.js +0 -240
  1192. package/dist/ConfigProvider-e278c5f7.cjs.prod.js +0 -240
  1193. package/dist/ConfigProviderPathPatch-78826e8c.cjs.dev.js +0 -86
  1194. package/dist/ConfigProviderPathPatch-97b52760.esm.js +0 -79
  1195. package/dist/ConfigProviderPathPatch-bb5f5228.cjs.prod.js +0 -86
  1196. package/dist/ConfigSecret-2db4c372.cjs.prod.js +0 -83
  1197. package/dist/ConfigSecret-646df696.esm.js +0 -74
  1198. package/dist/ConfigSecret-a10a12aa.cjs.dev.js +0 -83
  1199. package/dist/Console-b92ceaf0.esm.js +0 -247
  1200. package/dist/Console-d4590f3a.cjs.prod.js +0 -271
  1201. package/dist/Console-f063615c.cjs.dev.js +0 -271
  1202. package/dist/Context-119d62eb.cjs.prod.js +0 -327
  1203. package/dist/Context-231e9c1b.cjs.prod.js +0 -222
  1204. package/dist/Context-48179faa.esm.js +0 -312
  1205. package/dist/Context-5099940c.cjs.dev.js +0 -222
  1206. package/dist/Context-fcee7bba.esm.js +0 -208
  1207. package/dist/Context-fdaa5c44.cjs.dev.js +0 -327
  1208. package/dist/Data-3389525f.cjs.dev.js +0 -237
  1209. package/dist/Data-815a1868.cjs.prod.js +0 -237
  1210. package/dist/Data-bad1ffeb.esm.js +0 -224
  1211. package/dist/DefaultServices-848d6929.cjs.dev.js +0 -34
  1212. package/dist/DefaultServices-8c298120.esm.js +0 -30
  1213. package/dist/DefaultServices-9ea98d30.cjs.prod.js +0 -34
  1214. package/dist/Deferred-143efa7b.cjs.dev.js +0 -253
  1215. package/dist/Deferred-554d3588.esm.js +0 -230
  1216. package/dist/Deferred-77579e00.cjs.prod.js +0 -253
  1217. package/dist/Differ-0069a8c0.cjs.dev.js +0 -992
  1218. package/dist/Differ-3be1df41.esm.js +0 -975
  1219. package/dist/Differ-cbfa45cb.cjs.prod.js +0 -992
  1220. package/dist/Duration-205d0b80.cjs.prod.js +0 -500
  1221. package/dist/Duration-5e9f2327.esm.js +0 -467
  1222. package/dist/Duration-8b174e0b.cjs.dev.js +0 -500
  1223. package/dist/Effect-6713972b.cjs.prod.js +0 -3740
  1224. package/dist/Effect-d362f43a.cjs.dev.js +0 -3740
  1225. package/dist/Effect-d5910dae.esm.js +0 -3417
  1226. package/dist/Effectable-2c8e8441.cjs.prod.js +0 -99
  1227. package/dist/Effectable-954172fc.cjs.prod.js +0 -181
  1228. package/dist/Effectable-a76b6aa1.esm.js +0 -158
  1229. package/dist/Effectable-bc017f96.cjs.dev.js +0 -99
  1230. package/dist/Effectable-e85a1847.cjs.dev.js +0 -181
  1231. package/dist/Effectable-ec9e4204.esm.js +0 -89
  1232. package/dist/Either-09270bbc.esm.js +0 -473
  1233. package/dist/Either-34ce9059.cjs.dev.js +0 -178
  1234. package/dist/Either-41cb7522.cjs.prod.js +0 -178
  1235. package/dist/Either-ae722a9e.cjs.dev.js +0 -502
  1236. package/dist/Either-be9c40b9.esm.js +0 -163
  1237. package/dist/Either-d995ebb4.cjs.prod.js +0 -502
  1238. package/dist/Encoding-0d990bbf.esm.js +0 -295
  1239. package/dist/Encoding-39f7d9a8.cjs.dev.js +0 -309
  1240. package/dist/Encoding-82d009b9.cjs.prod.js +0 -309
  1241. package/dist/Equal-7d4ae7e7.esm.js +0 -65
  1242. package/dist/Equal-8654b1af.cjs.dev.js +0 -71
  1243. package/dist/Equal-ed1e8c3c.cjs.prod.js +0 -71
  1244. package/dist/Equivalence-87295c78.cjs.prod.js +0 -238
  1245. package/dist/Equivalence-a4b5f56d.cjs.dev.js +0 -238
  1246. package/dist/Equivalence-e5c9cba4.esm.js +0 -218
  1247. package/dist/Error-7e84d828.esm.js +0 -53
  1248. package/dist/Error-be89adc9.cjs.prod.js +0 -57
  1249. package/dist/Error-e1ceeea7.cjs.dev.js +0 -57
  1250. package/dist/ExecutionStrategy-080f0b2b.cjs.prod.js +0 -180
  1251. package/dist/ExecutionStrategy-c6f7c490.esm.js +0 -168
  1252. package/dist/ExecutionStrategy-cd9204b4.cjs.dev.js +0 -180
  1253. package/dist/Exit-7a385294.cjs.dev.js +0 -408
  1254. package/dist/Exit-e31718e3.esm.js +0 -371
  1255. package/dist/Exit-eb04f98e.cjs.prod.js +0 -408
  1256. package/dist/Fiber-1a996e3f.cjs.dev.js +0 -521
  1257. package/dist/Fiber-38517971.esm.js +0 -473
  1258. package/dist/Fiber-a7306b77.cjs.prod.js +0 -521
  1259. package/dist/FiberId-3b23bc04.cjs.dev.js +0 -443
  1260. package/dist/FiberId-556ab9ef.esm.js +0 -422
  1261. package/dist/FiberId-95c92b7e.cjs.prod.js +0 -443
  1262. package/dist/FiberRef-6f63843b.cjs.prod.js +0 -385
  1263. package/dist/FiberRef-912b6248.cjs.dev.js +0 -385
  1264. package/dist/FiberRef-b81d5a7e.esm.js +0 -338
  1265. package/dist/FiberRefs-1a6a1b5f.cjs.prod.js +0 -135
  1266. package/dist/FiberRefs-44fda74a.cjs.dev.js +0 -135
  1267. package/dist/FiberRefs-a6ab4b8d.esm.js +0 -122
  1268. package/dist/FiberRefsPatch-549967e3.cjs.prod.js +0 -90
  1269. package/dist/FiberRefsPatch-56f10acc.cjs.dev.js +0 -90
  1270. package/dist/FiberRefsPatch-f84453c3.esm.js +0 -84
  1271. package/dist/FiberStatus-90291b8c.esm.js +0 -187
  1272. package/dist/FiberStatus-db497d70.cjs.dev.js +0 -197
  1273. package/dist/FiberStatus-ff18b445.cjs.prod.js +0 -197
  1274. package/dist/Function-52fb7d21.esm.js +0 -516
  1275. package/dist/Function-8336aeeb.cjs.prod.js +0 -538
  1276. package/dist/Function-fd10bde3.cjs.dev.js +0 -538
  1277. package/dist/GlobalValue-00457222.cjs.dev.js +0 -28
  1278. package/dist/GlobalValue-c5f1e8e5.esm.js +0 -25
  1279. package/dist/GlobalValue-f65cc41d.cjs.prod.js +0 -28
  1280. package/dist/GroupBy-cabfa667.cjs.dev.js +0 -79
  1281. package/dist/GroupBy-d0ad2148.cjs.prod.js +0 -79
  1282. package/dist/GroupBy-eef333fa.esm.js +0 -72
  1283. package/dist/Hash-039222d1.esm.js +0 -179
  1284. package/dist/Hash-2171bcec.cjs.prod.js +0 -192
  1285. package/dist/Hash-9d5502e5.cjs.dev.js +0 -192
  1286. package/dist/HashMap-2604a8b0.cjs.prod.js +0 -361
  1287. package/dist/HashMap-e644e23b.esm.js +0 -327
  1288. package/dist/HashMap-ee35ace5.cjs.dev.js +0 -361
  1289. package/dist/HashSet-206ea53b.cjs.dev.js +0 -965
  1290. package/dist/HashSet-286fb998.cjs.prod.js +0 -965
  1291. package/dist/HashSet-43b520e9.cjs.dev.js +0 -283
  1292. package/dist/HashSet-99f1529e.cjs.prod.js +0 -283
  1293. package/dist/HashSet-d051e0ea.esm.js +0 -907
  1294. package/dist/HashSet-dff2542b.esm.js +0 -256
  1295. package/dist/Hub-4223bb07.cjs.prod.js +0 -1280
  1296. package/dist/Hub-9f3d5c5d.esm.js +0 -1264
  1297. package/dist/Hub-dd9d70e7.cjs.dev.js +0 -1280
  1298. package/dist/Inspectable-46a7668e.cjs.prod.js +0 -50
  1299. package/dist/Inspectable-654412c2.cjs.dev.js +0 -50
  1300. package/dist/Inspectable-bda84223.esm.js +0 -45
  1301. package/dist/KeyedPool-0b5851a2.cjs.prod.js +0 -282
  1302. package/dist/KeyedPool-50b8f75b.esm.js +0 -273
  1303. package/dist/KeyedPool-8b979aac.cjs.dev.js +0 -282
  1304. package/dist/Layer-11122c64.cjs.dev.js +0 -687
  1305. package/dist/Layer-79fa5f4a.cjs.prod.js +0 -687
  1306. package/dist/Layer-f7be72db.esm.js +0 -623
  1307. package/dist/List-48f2b78f.cjs.prod.js +0 -912
  1308. package/dist/List-95e1e081.cjs.dev.js +0 -912
  1309. package/dist/List-c066a506.esm.js +0 -865
  1310. package/dist/LogLevel-2e6b00c7.esm.js +0 -222
  1311. package/dist/LogLevel-a609dd63.cjs.prod.js +0 -240
  1312. package/dist/LogLevel-c14e29fb.cjs.dev.js +0 -240
  1313. package/dist/LogSpan-c216a78b.cjs.prod.js +0 -46
  1314. package/dist/LogSpan-cd4b8f34.cjs.dev.js +0 -46
  1315. package/dist/LogSpan-e5cf11a5.esm.js +0 -42
  1316. package/dist/Logger-029fccab.cjs.prod.js +0 -275
  1317. package/dist/Logger-28d5e7ff.cjs.dev.js +0 -275
  1318. package/dist/Logger-52ffeafa.esm.js +0 -246
  1319. package/dist/Metric-2b4867b2.cjs.dev.js +0 -488
  1320. package/dist/Metric-cd4dfaba.cjs.prod.js +0 -488
  1321. package/dist/Metric-f2c8888b.esm.js +0 -442
  1322. package/dist/MetricBoundaries-8ef331f0.cjs.dev.js +0 -68
  1323. package/dist/MetricBoundaries-9707829f.esm.js +0 -61
  1324. package/dist/MetricBoundaries-fc377a5e.cjs.prod.js +0 -68
  1325. package/dist/MetricHook-74ebef65.esm.js +0 -80
  1326. package/dist/MetricHook-9d1ff9f5.cjs.prod.js +0 -90
  1327. package/dist/MetricHook-ebd34eea.cjs.dev.js +0 -90
  1328. package/dist/MetricKey-7536999c.cjs.dev.js +0 -130
  1329. package/dist/MetricKey-d96ef128.cjs.prod.js +0 -130
  1330. package/dist/MetricKey-fb261d1b.esm.js +0 -118
  1331. package/dist/MetricKeyType-637f6694.cjs.prod.js +0 -187
  1332. package/dist/MetricKeyType-6a10f955.esm.js +0 -168
  1333. package/dist/MetricKeyType-ed70a508.cjs.dev.js +0 -187
  1334. package/dist/MetricLabel-30df73d1.esm.js +0 -48
  1335. package/dist/MetricLabel-b6a3c628.cjs.prod.js +0 -53
  1336. package/dist/MetricLabel-e6d1cb96.cjs.dev.js +0 -53
  1337. package/dist/MetricPair-5f5f6f1b.esm.js +0 -45
  1338. package/dist/MetricPair-a1551790.cjs.prod.js +0 -50
  1339. package/dist/MetricPair-f1f0edbd.cjs.dev.js +0 -50
  1340. package/dist/MetricPolling-258af71e.esm.js +0 -167
  1341. package/dist/MetricPolling-b2accbbd.cjs.dev.js +0 -177
  1342. package/dist/MetricPolling-c6caba9d.cjs.prod.js +0 -177
  1343. package/dist/MetricRegistry-2ae45fdf.cjs.dev.js +0 -38
  1344. package/dist/MetricRegistry-44d3af51.esm.js +0 -34
  1345. package/dist/MetricRegistry-d61eb47d.cjs.prod.js +0 -38
  1346. package/dist/MetricState-a3499d98.cjs.prod.js +0 -191
  1347. package/dist/MetricState-cd7a1775.cjs.dev.js +0 -191
  1348. package/dist/MetricState-d4fcb7d0.esm.js +0 -172
  1349. package/dist/MutableHashMap-b3ab7261.esm.js +0 -142
  1350. package/dist/MutableHashMap-d6cb38d9.cjs.prod.js +0 -154
  1351. package/dist/MutableHashMap-f08d01f5.cjs.dev.js +0 -154
  1352. package/dist/MutableHashSet-9e2ea672.cjs.dev.js +0 -110
  1353. package/dist/MutableHashSet-ec9f7a0b.esm.js +0 -101
  1354. package/dist/MutableHashSet-fa860611.cjs.prod.js +0 -110
  1355. package/dist/MutableList-4ef847b7.cjs.prod.js +0 -296
  1356. package/dist/MutableList-85cf4e37.cjs.dev.js +0 -296
  1357. package/dist/MutableList-8c671944.esm.js +0 -281
  1358. package/dist/MutableQueue-3dfd5fea.cjs.dev.js +0 -215
  1359. package/dist/MutableQueue-416dfcd9.cjs.prod.js +0 -215
  1360. package/dist/MutableQueue-54a4b584.esm.js +0 -202
  1361. package/dist/MutableRef-82c6fe46.cjs.prod.js +0 -194
  1362. package/dist/MutableRef-cb4d2fc0.esm.js +0 -176
  1363. package/dist/MutableRef-ef31c15d.cjs.dev.js +0 -194
  1364. package/dist/NonEmptyIterable-26ed16e4.cjs.prod.js +0 -36
  1365. package/dist/NonEmptyIterable-7ef320e0.esm.js +0 -33
  1366. package/dist/NonEmptyIterable-b064c1af.cjs.dev.js +0 -36
  1367. package/dist/Number-d021c8f9.cjs.prod.js +0 -417
  1368. package/dist/Number-dc454336.esm.js +0 -394
  1369. package/dist/Number-dddf713e.cjs.dev.js +0 -417
  1370. package/dist/Option-1d073850.esm.js +0 -1135
  1371. package/dist/Option-837ae0da.cjs.dev.js +0 -1198
  1372. package/dist/Option-b07f2b1d.cjs.prod.js +0 -1198
  1373. package/dist/Order-2f11aa24.esm.js +0 -293
  1374. package/dist/Order-2f785421.cjs.prod.js +0 -321
  1375. package/dist/Order-cbf22e18.cjs.dev.js +0 -321
  1376. package/dist/Ordering-9892085c.esm.js +0 -97
  1377. package/dist/Ordering-e20427cc.cjs.dev.js +0 -104
  1378. package/dist/Ordering-f3e378ef.cjs.prod.js +0 -104
  1379. package/dist/Pipeable-856ddd7c.cjs.prod.js +0 -52
  1380. package/dist/Pipeable-ef202667.cjs.dev.js +0 -52
  1381. package/dist/Pipeable-fe51dc02.esm.js +0 -49
  1382. package/dist/Pool-68590a64.cjs.dev.js +0 -122
  1383. package/dist/Pool-718f79ff.cjs.prod.js +0 -122
  1384. package/dist/Pool-cdfcfabe.esm.js +0 -114
  1385. package/dist/Predicate-52271838.esm.js +0 -677
  1386. package/dist/Predicate-54d8c8de.cjs.dev.js +0 -718
  1387. package/dist/Predicate-a3fd4088.cjs.prod.js +0 -718
  1388. package/dist/Queue-48d0b9d4.cjs.dev.js +0 -394
  1389. package/dist/Queue-9f8579c0.cjs.prod.js +0 -394
  1390. package/dist/Queue-bbebbeda.esm.js +0 -362
  1391. package/dist/Random-0bdc1bcb.cjs.prod.js +0 -104
  1392. package/dist/Random-14987953.esm.js +0 -94
  1393. package/dist/Random-f495bcbc.cjs.dev.js +0 -104
  1394. package/dist/ReadonlyArray-199ff80e.esm.js +0 -1584
  1395. package/dist/ReadonlyArray-3b1a15d8.cjs.dev.js +0 -10
  1396. package/dist/ReadonlyArray-6fbc78a1.cjs.prod.js +0 -1721
  1397. package/dist/ReadonlyArray-84c71385.esm.js +0 -8
  1398. package/dist/ReadonlyArray-885e80a2.cjs.dev.js +0 -1721
  1399. package/dist/ReadonlyArray-8adb9a46.cjs.prod.js +0 -10
  1400. package/dist/ReadonlyRecord-4969b34f.cjs.prod.js +0 -568
  1401. package/dist/ReadonlyRecord-c1f5d048.esm.js +0 -544
  1402. package/dist/ReadonlyRecord-c6dc7deb.cjs.dev.js +0 -568
  1403. package/dist/RedBlackTree-22839235.esm.js +0 -1632
  1404. package/dist/RedBlackTree-59192950.cjs.prod.js +0 -1669
  1405. package/dist/RedBlackTree-98a93ec6.cjs.dev.js +0 -1669
  1406. package/dist/Ref-88c1d56d.cjs.prod.js +0 -282
  1407. package/dist/Ref-8d85fc7a.cjs.dev.js +0 -282
  1408. package/dist/Ref-9a9de951.esm.js +0 -248
  1409. package/dist/Reloadable-10cfae17.esm.js +0 -159
  1410. package/dist/Reloadable-3ca716d9.cjs.prod.js +0 -169
  1411. package/dist/Reloadable-65bf6783.cjs.dev.js +0 -169
  1412. package/dist/Request-5b794c27.cjs.dev.js +0 -190
  1413. package/dist/Request-6d646956.cjs.prod.js +0 -190
  1414. package/dist/Request-9f0b571a.esm.js +0 -175
  1415. package/dist/RequestBlock-15e7d048.cjs.prod.js +0 -124
  1416. package/dist/RequestBlock-6105623d.esm.js +0 -114
  1417. package/dist/RequestBlock-ec5299d4.cjs.dev.js +0 -124
  1418. package/dist/RequestResolver-10227a7b.esm.js +0 -213
  1419. package/dist/RequestResolver-a3fe9b72.cjs.prod.js +0 -233
  1420. package/dist/RequestResolver-bc7e6050.cjs.dev.js +0 -233
  1421. package/dist/Resource-966460b5.cjs.dev.js +0 -118
  1422. package/dist/Resource-9f1084b9.cjs.prod.js +0 -118
  1423. package/dist/Resource-afd128d6.esm.js +0 -111
  1424. package/dist/Runtime-15bf8fcd.cjs.prod.js +0 -191
  1425. package/dist/Runtime-1a63e954.cjs.dev.js +0 -191
  1426. package/dist/Runtime-4f6fc384.esm.js +0 -175
  1427. package/dist/RuntimeFlags-4d3b4ba7.esm.js +0 -344
  1428. package/dist/RuntimeFlags-a43dcce7.cjs.dev.js +0 -381
  1429. package/dist/RuntimeFlags-ef10d73a.cjs.prod.js +0 -381
  1430. package/dist/RuntimeFlagsPatch-0c131e8e.cjs.dev.js +0 -411
  1431. package/dist/RuntimeFlagsPatch-a1da6096.esm.js +0 -365
  1432. package/dist/RuntimeFlagsPatch-bfdf133d.cjs.prod.js +0 -411
  1433. package/dist/STM-2bdad2bd.cjs.dev.js +0 -1447
  1434. package/dist/STM-55e91604.esm.js +0 -1321
  1435. package/dist/STM-e6749b84.cjs.prod.js +0 -1447
  1436. package/dist/Schedule-35a9436e.cjs.prod.js +0 -1159
  1437. package/dist/Schedule-d9b0f037.cjs.dev.js +0 -1159
  1438. package/dist/Schedule-da001b13.esm.js +0 -1059
  1439. package/dist/ScheduleDecision-2ab823c2.cjs.dev.js +0 -106
  1440. package/dist/ScheduleDecision-369cf2a1.cjs.prod.js +0 -106
  1441. package/dist/ScheduleDecision-e794f66d.esm.js +0 -99
  1442. package/dist/ScheduleInterval-2db9be83.cjs.dev.js +0 -244
  1443. package/dist/ScheduleInterval-3e9b8eca.cjs.prod.js +0 -244
  1444. package/dist/ScheduleInterval-94e80ec4.esm.js +0 -229
  1445. package/dist/ScheduleIntervals-ab412802.cjs.dev.js +0 -265
  1446. package/dist/ScheduleIntervals-e6ed15fa.cjs.prod.js +0 -265
  1447. package/dist/ScheduleIntervals-ef5cd7c5.esm.js +0 -252
  1448. package/dist/Scheduler-44f252da.cjs.prod.js +0 -358
  1449. package/dist/Scheduler-6122a3ee.cjs.dev.js +0 -358
  1450. package/dist/Scheduler-d2f7e5c7.esm.js +0 -343
  1451. package/dist/Scope-0ffde3bb.esm.js +0 -131
  1452. package/dist/Scope-326194e2.cjs.prod.js +0 -143
  1453. package/dist/Scope-3cf29072.cjs.dev.js +0 -143
  1454. package/dist/ScopedCache-01a07a6d.cjs.prod.js +0 -467
  1455. package/dist/ScopedCache-77c605e8.cjs.dev.js +0 -467
  1456. package/dist/ScopedCache-9c558fd1.esm.js +0 -462
  1457. package/dist/ScopedRef-2f0e2b33.cjs.dev.js +0 -87
  1458. package/dist/ScopedRef-5c29a8a2.cjs.prod.js +0 -87
  1459. package/dist/ScopedRef-dd8a823e.esm.js +0 -80
  1460. package/dist/Sink-923b4ad8.esm.js +0 -1107
  1461. package/dist/Sink-c4ca577a.cjs.prod.js +0 -1215
  1462. package/dist/Sink-fa1f105b.cjs.dev.js +0 -1215
  1463. package/dist/SortedMap-44f47d83.esm.js +0 -190
  1464. package/dist/SortedMap-abf39a75.cjs.prod.js +0 -210
  1465. package/dist/SortedMap-b04da739.cjs.dev.js +0 -210
  1466. package/dist/SortedSet-3339ea7f.esm.js +0 -288
  1467. package/dist/SortedSet-4efa4f05.cjs.dev.js +0 -311
  1468. package/dist/SortedSet-b588ac70.cjs.prod.js +0 -311
  1469. package/dist/Stream-1d51d0be.esm.js +0 -3175
  1470. package/dist/Stream-55dd689b.cjs.prod.js +0 -3469
  1471. package/dist/Stream-b1eaedfc.cjs.dev.js +0 -3469
  1472. package/dist/StreamHaltStrategy-292ed375.cjs.dev.js +0 -214
  1473. package/dist/StreamHaltStrategy-506d4abb.cjs.prod.js +0 -214
  1474. package/dist/StreamHaltStrategy-9864a080.esm.js +0 -201
  1475. package/dist/String-9702a941.cjs.dev.js +0 -694
  1476. package/dist/String-ba45d520.esm.js +0 -648
  1477. package/dist/String-fa7c1c88.cjs.prod.js +0 -694
  1478. package/dist/Struct-3d8b2a81.cjs.prod.js +0 -141
  1479. package/dist/Struct-62f329c0.cjs.dev.js +0 -141
  1480. package/dist/Struct-8bc142d1.esm.js +0 -134
  1481. package/dist/SubscriptionRef-1eb76544.cjs.prod.js +0 -269
  1482. package/dist/SubscriptionRef-33b302b6.esm.js +0 -245
  1483. package/dist/SubscriptionRef-faf570c5.cjs.dev.js +0 -269
  1484. package/dist/Supervisor-34de9985.cjs.dev.js +0 -170
  1485. package/dist/Supervisor-3706300f.cjs.prod.js +0 -170
  1486. package/dist/Supervisor-5b9943cf.esm.js +0 -160
  1487. package/dist/Symbol-9ad0bde8.esm.js +0 -36
  1488. package/dist/Symbol-e3ea5627.cjs.dev.js +0 -40
  1489. package/dist/Symbol-e5af99ce.cjs.prod.js +0 -40
  1490. package/dist/SynchronizedRef-01f585dc.cjs.prod.js +0 -212
  1491. package/dist/SynchronizedRef-c389137f.esm.js +0 -187
  1492. package/dist/SynchronizedRef-cda883b7.cjs.dev.js +0 -212
  1493. package/dist/TArray-1200bf6a.esm.js +0 -412
  1494. package/dist/TArray-97bc3f87.cjs.prod.js +0 -455
  1495. package/dist/TArray-9bd73c38.cjs.dev.js +0 -455
  1496. package/dist/TDeferred-875fd41c.esm.js +0 -120
  1497. package/dist/TDeferred-bf21b756.cjs.prod.js +0 -129
  1498. package/dist/TDeferred-f97247d3.cjs.dev.js +0 -129
  1499. package/dist/THub-917198c0.esm.js +0 -553
  1500. package/dist/THub-c4a3e52c.cjs.dev.js +0 -570
  1501. package/dist/THub-d9d3b223.cjs.prod.js +0 -570
  1502. package/dist/TMap-459696e5.cjs.dev.js +0 -463
  1503. package/dist/TMap-786b8508.esm.js +0 -419
  1504. package/dist/TMap-a6aab3c3.cjs.prod.js +0 -463
  1505. package/dist/TPriorityQueue-31c32afb.esm.js +0 -360
  1506. package/dist/TPriorityQueue-918056c3.cjs.prod.js +0 -381
  1507. package/dist/TPriorityQueue-e8429066.cjs.dev.js +0 -381
  1508. package/dist/TQueue-adee58b8.esm.js +0 -324
  1509. package/dist/TQueue-b9593214.cjs.prod.js +0 -353
  1510. package/dist/TQueue-d1c8153e.cjs.dev.js +0 -353
  1511. package/dist/TRandom-65721a5b.cjs.prod.js +0 -203
  1512. package/dist/TRandom-677ba64f.esm.js +0 -192
  1513. package/dist/TRandom-79057bd9.cjs.dev.js +0 -203
  1514. package/dist/TReentrantLock-0dbd6074.cjs.prod.js +0 -456
  1515. package/dist/TReentrantLock-164c0898.cjs.dev.js +0 -456
  1516. package/dist/TReentrantLock-65156c11.esm.js +0 -435
  1517. package/dist/TRef-4a45f5af.cjs.dev.js +0 -152
  1518. package/dist/TRef-edd5ff88.esm.js +0 -135
  1519. package/dist/TRef-ff8497e4.cjs.prod.js +0 -152
  1520. package/dist/TSemaphore-1f5dc074.cjs.dev.js +0 -197
  1521. package/dist/TSemaphore-bccebfec.esm.js +0 -183
  1522. package/dist/TSemaphore-d1096593.cjs.prod.js +0 -197
  1523. package/dist/TSet-0f61d448.cjs.prod.js +0 -444
  1524. package/dist/TSet-48903882.cjs.dev.js +0 -444
  1525. package/dist/TSet-bd3a1de2.esm.js +0 -412
  1526. package/dist/Take-1e6b1ba3.esm.js +0 -214
  1527. package/dist/Take-7797160f.cjs.dev.js +0 -236
  1528. package/dist/Take-d245cc08.cjs.prod.js +0 -236
  1529. package/dist/TestAnnotation-5b23b64a.cjs.prod.js +0 -135
  1530. package/dist/TestAnnotation-c2b6bb64.esm.js +0 -124
  1531. package/dist/TestAnnotation-ca7ea5d9.cjs.dev.js +0 -135
  1532. package/dist/TestAnnotationMap-5ef91d33.cjs.prod.js +0 -125
  1533. package/dist/TestAnnotationMap-83b0e761.cjs.dev.js +0 -125
  1534. package/dist/TestAnnotationMap-d180214b.esm.js +0 -114
  1535. package/dist/TestAnnotations-758011e7.cjs.prod.js +0 -97
  1536. package/dist/TestAnnotations-89733ab7.cjs.dev.js +0 -97
  1537. package/dist/TestAnnotations-cf445345.esm.js +0 -91
  1538. package/dist/TestClock-0a012f75.esm.js +0 -565
  1539. package/dist/TestClock-0abac759.cjs.prod.js +0 -581
  1540. package/dist/TestClock-3bdb0c0b.cjs.dev.js +0 -581
  1541. package/dist/TestConfig-3f48c7f2.cjs.prod.js +0 -37
  1542. package/dist/TestConfig-e52495c3.esm.js +0 -33
  1543. package/dist/TestConfig-ff283076.cjs.dev.js +0 -37
  1544. package/dist/TestContext-64f40523.esm.js +0 -36
  1545. package/dist/TestContext-7a6420d3.cjs.prod.js +0 -41
  1546. package/dist/TestContext-b44d97ae.cjs.dev.js +0 -41
  1547. package/dist/TestLive-64c62bfe.cjs.dev.js +0 -60
  1548. package/dist/TestLive-906c173d.cjs.prod.js +0 -60
  1549. package/dist/TestLive-bfab4add.esm.js +0 -55
  1550. package/dist/TestServices-844e305d.esm.js +0 -306
  1551. package/dist/TestServices-944b625c.cjs.prod.js +0 -341
  1552. package/dist/TestServices-f8c51bbd.cjs.dev.js +0 -341
  1553. package/dist/TestSized-0fa739ff.cjs.prod.js +0 -64
  1554. package/dist/TestSized-3a0fa658.esm.js +0 -58
  1555. package/dist/TestSized-955a228e.cjs.dev.js +0 -64
  1556. package/dist/Tracer-1610aba4.cjs.dev.js +0 -81
  1557. package/dist/Tracer-700da80a.cjs.prod.js +0 -81
  1558. package/dist/Tracer-b07052e2.esm.js +0 -75
  1559. package/dist/Tuple-1fa12d6e.esm.js +0 -187
  1560. package/dist/Tuple-73682170.cjs.prod.js +0 -199
  1561. package/dist/Tuple-9822259f.cjs.dev.js +0 -199
  1562. package/dist/Unify-150ebcee.cjs.dev.js +0 -48
  1563. package/dist/Unify-77f78d08.cjs.prod.js +0 -48
  1564. package/dist/Unify-9d27a1f3.esm.js +0 -45
  1565. package/dist/Utils-32587b0c.cjs.dev.js +0 -370
  1566. package/dist/Utils-6484334f.cjs.prod.js +0 -370
  1567. package/dist/Utils-657e8bfa.esm.js +0 -362
  1568. package/dist/boundaries-6bacf30a.cjs.prod.js +0 -54
  1569. package/dist/boundaries-8475a9b4.esm.js +0 -48
  1570. package/dist/boundaries-c6f4c3da.cjs.dev.js +0 -54
  1571. package/dist/cache-2fa366f0.esm.js +0 -514
  1572. package/dist/cache-7b578624.cjs.prod.js +0 -523
  1573. package/dist/cache-8db60799.cjs.dev.js +0 -523
  1574. package/dist/childExecutorDecision-49f0f19c.esm.js +0 -85
  1575. package/dist/childExecutorDecision-744cd5fb.cjs.prod.js +0 -98
  1576. package/dist/childExecutorDecision-c1c3b8b6.cjs.dev.js +0 -98
  1577. package/dist/circular-1dfea59d.cjs.prod.js +0 -107
  1578. package/dist/circular-3ebc9b78.esm.js +0 -82
  1579. package/dist/circular-604e98e5.cjs.prod.js +0 -341
  1580. package/dist/circular-8088cc19.cjs.dev.js +0 -341
  1581. package/dist/circular-cff58c30.esm.js +0 -311
  1582. package/dist/circular-e5da795a.cjs.dev.js +0 -107
  1583. package/dist/config-05de256b.cjs.dev.js +0 -474
  1584. package/dist/config-3003c43a.cjs.prod.js +0 -474
  1585. package/dist/config-64a67e36.esm.js +0 -428
  1586. package/dist/configError-84c0742e.esm.js +0 -305
  1587. package/dist/configError-a7c4fcc2.cjs.dev.js +0 -323
  1588. package/dist/configError-b3dd6ec2.cjs.prod.js +0 -323
  1589. package/dist/configProvider-35a1a3c7.cjs.prod.js +0 -447
  1590. package/dist/configProvider-56d1b842.cjs.dev.js +0 -447
  1591. package/dist/configProvider-cd15d971.esm.js +0 -428
  1592. package/dist/configSecret-18ba6f6e.cjs.dev.js +0 -74
  1593. package/dist/configSecret-3dd7ab72.cjs.prod.js +0 -74
  1594. package/dist/configSecret-793e52b4.esm.js +0 -66
  1595. package/dist/core-01c0ed9d.cjs.prod.js +0 -1072
  1596. package/dist/core-218f7617.cjs.prod.js +0 -3502
  1597. package/dist/core-5346c1e5.cjs.dev.js +0 -1072
  1598. package/dist/core-9276b625.esm.js +0 -1032
  1599. package/dist/core-9f5f0dc2.esm.js +0 -3225
  1600. package/dist/core-bedc63fe.cjs.dev.js +0 -3502
  1601. package/dist/core-effect-a839563d.cjs.dev.js +0 -1030
  1602. package/dist/core-effect-e762d50b.esm.js +0 -902
  1603. package/dist/core-effect-fea8dde9.cjs.prod.js +0 -1030
  1604. package/dist/dataSource-43c62f8e.esm.js +0 -60
  1605. package/dist/dataSource-8ab8a0ec.cjs.dev.js +0 -74
  1606. package/dist/dataSource-cc1edaa1.cjs.prod.js +0 -74
  1607. package/dist/defaultServices-1d4f144a.cjs.prod.js +0 -388
  1608. package/dist/defaultServices-1f1298e8.cjs.dev.js +0 -388
  1609. package/dist/defaultServices-86214de4.esm.js +0 -359
  1610. package/dist/fiber-1511340a.esm.js +0 -363
  1611. package/dist/fiber-18f7cf87.cjs.dev.js +0 -411
  1612. package/dist/fiber-957d5291.cjs.prod.js +0 -411
  1613. package/dist/fiberRefs-76ecbcfd.cjs.dev.js +0 -181
  1614. package/dist/fiberRefs-b32de18b.esm.js +0 -169
  1615. package/dist/fiberRefs-f0429b31.cjs.prod.js +0 -181
  1616. package/dist/fiberRuntime-233db874.cjs.dev.js +0 -3012
  1617. package/dist/fiberRuntime-5e42f85c.cjs.prod.js +0 -3012
  1618. package/dist/fiberRuntime-98f09d31.esm.js +0 -2857
  1619. package/dist/groupBy-36e6ca3f.cjs.prod.js +0 -216
  1620. package/dist/groupBy-3a32c4b6.cjs.dev.js +0 -216
  1621. package/dist/groupBy-8d753c19.esm.js +0 -206
  1622. package/dist/hook-8fc9006f.esm.js +0 -362
  1623. package/dist/hook-e169b712.cjs.prod.js +0 -371
  1624. package/dist/hook-fe9f948d.cjs.dev.js +0 -371
  1625. package/dist/key-215ea6fd.esm.js +0 -68
  1626. package/dist/key-4824d1ad.cjs.prod.js +0 -79
  1627. package/dist/key-d8dc829b.cjs.dev.js +0 -79
  1628. package/dist/keyType-c980adcc.cjs.dev.js +0 -236
  1629. package/dist/keyType-d85714ed.cjs.prod.js +0 -236
  1630. package/dist/keyType-fefd9ef8.esm.js +0 -218
  1631. package/dist/label-14b7d517.cjs.dev.js +0 -44
  1632. package/dist/label-5cb21441.esm.js +0 -40
  1633. package/dist/label-e78b2f8f.cjs.prod.js +0 -44
  1634. package/dist/layer-3da5a933.cjs.prod.js +0 -658
  1635. package/dist/layer-e1d1db03.cjs.dev.js +0 -658
  1636. package/dist/layer-f8ec8454.esm.js +0 -596
  1637. package/dist/mergeDecision-32146c34.esm.js +0 -78
  1638. package/dist/mergeDecision-75feaab3.cjs.dev.js +0 -86
  1639. package/dist/mergeDecision-a1822db2.cjs.prod.js +0 -86
  1640. package/dist/mergeState-21728f0b.esm.js +0 -96
  1641. package/dist/mergeState-2c24c562.cjs.prod.js +0 -109
  1642. package/dist/mergeState-e9aa09b9.cjs.dev.js +0 -109
  1643. package/dist/mergeStrategy-84dd9011.esm.js +0 -64
  1644. package/dist/mergeStrategy-8fe47c7e.cjs.dev.js +0 -72
  1645. package/dist/mergeStrategy-909bebb0.cjs.prod.js +0 -72
  1646. package/dist/pair-67530b23.cjs.dev.js +0 -42
  1647. package/dist/pair-cb46f77c.esm.js +0 -38
  1648. package/dist/pair-fb591d12.cjs.prod.js +0 -42
  1649. package/dist/patch-99e8591b.esm.js +0 -127
  1650. package/dist/patch-cdcb5e42.cjs.dev.js +0 -132
  1651. package/dist/patch-f440dab6.cjs.prod.js +0 -132
  1652. package/dist/pathPatch-5ac830c8.esm.js +0 -83
  1653. package/dist/pathPatch-75afe967.cjs.dev.js +0 -90
  1654. package/dist/pathPatch-775a0838.cjs.prod.js +0 -90
  1655. package/dist/pool-0da00d67.cjs.prod.js +0 -278
  1656. package/dist/pool-54820a71.esm.js +0 -271
  1657. package/dist/pool-bfa5c974.cjs.dev.js +0 -278
  1658. package/dist/query-1685a476.esm.js +0 -97
  1659. package/dist/query-3ab8cd4e.cjs.prod.js +0 -104
  1660. package/dist/query-68bb7c45.cjs.dev.js +0 -104
  1661. package/dist/queue-499cacee.cjs.prod.js +0 -538
  1662. package/dist/queue-b79c472d.esm.js +0 -505
  1663. package/dist/queue-bf262207.cjs.dev.js +0 -538
  1664. package/dist/registry-38f0ed9d.esm.js +0 -111
  1665. package/dist/registry-6f465b2f.cjs.prod.js +0 -114
  1666. package/dist/registry-dfe7ed01.cjs.dev.js +0 -114
  1667. package/dist/runtime-5b7472d5.cjs.dev.js +0 -288
  1668. package/dist/runtime-68e90981.cjs.prod.js +0 -288
  1669. package/dist/runtime-f91ca239.esm.js +0 -266
  1670. package/dist/schedule-0d31f4cc.esm.js +0 -843
  1671. package/dist/schedule-616cf1b8.cjs.prod.js +0 -956
  1672. package/dist/schedule-d3f9b258.cjs.dev.js +0 -956
  1673. package/dist/scopedRef-5e59cf54.cjs.prod.js +0 -55
  1674. package/dist/scopedRef-730d8d35.cjs.dev.js +0 -55
  1675. package/dist/scopedRef-e54a3d93.esm.js +0 -49
  1676. package/dist/singleProducerAsyncInput-6508b7f1.cjs.dev.js +0 -193
  1677. package/dist/singleProducerAsyncInput-c67ef1c6.esm.js +0 -191
  1678. package/dist/singleProducerAsyncInput-d3225b4e.cjs.prod.js +0 -193
  1679. package/dist/sink-05d54662.cjs.prod.js +0 -3094
  1680. package/dist/sink-3105a90f.cjs.dev.js +0 -3094
  1681. package/dist/sink-3f26fc31.esm.js +0 -2877
  1682. package/dist/state-38610229.esm.js +0 -209
  1683. package/dist/state-6d974829.cjs.dev.js +0 -227
  1684. package/dist/state-abef4d59.cjs.prod.js +0 -227
  1685. package/dist/stm-43c3b262.cjs.dev.js +0 -678
  1686. package/dist/stm-d01a804c.esm.js +0 -582
  1687. package/dist/stm-e1200304.cjs.prod.js +0 -678
  1688. package/dist/stream-3ebec4f3.cjs.prod.js +0 -3649
  1689. package/dist/stream-9270c6b1.esm.js +0 -3355
  1690. package/dist/stream-b819c5b3.cjs.dev.js +0 -3649
  1691. package/dist/synchronizedRef-5bbb64b2.cjs.prod.js +0 -62
  1692. package/dist/synchronizedRef-e9682c8e.cjs.dev.js +0 -62
  1693. package/dist/synchronizedRef-f7077a5f.esm.js +0 -53
  1694. package/dist/tArray-0d2e8fae.cjs.dev.js +0 -330
  1695. package/dist/tArray-442d22a4.cjs.prod.js +0 -330
  1696. package/dist/tArray-fa2759e8.esm.js +0 -287
  1697. package/dist/tMap-2a001015.cjs.prod.js +0 -535
  1698. package/dist/tMap-2a98e9a7.esm.js +0 -492
  1699. package/dist/tMap-2fd8c9e6.cjs.dev.js +0 -535
  1700. package/dist/tQueue-13f8f402.esm.js +0 -331
  1701. package/dist/tQueue-84a0d0eb.cjs.dev.js +0 -367
  1702. package/dist/tQueue-e2e96d1f.cjs.prod.js +0 -367
  1703. package/dist/tRef-4772a528.cjs.prod.js +0 -133
  1704. package/dist/tRef-b5d0cc28.esm.js +0 -115
  1705. package/dist/tRef-bbbdd134.cjs.dev.js +0 -133
  1706. package/dist/take-68ed448f.cjs.dev.js +0 -152
  1707. package/dist/take-7c168e8e.esm.js +0 -130
  1708. package/dist/take-d293f721.cjs.prod.js +0 -152
  1709. package/dist/upstreamPullRequest-be86e51c.esm.js +0 -71
  1710. package/dist/upstreamPullRequest-d2eaf7f5.cjs.prod.js +0 -79
  1711. package/dist/upstreamPullRequest-f986731f.cjs.dev.js +0 -79
  1712. package/dist/upstreamPullStrategy-08e7185f.cjs.prod.js +0 -81
  1713. package/dist/upstreamPullStrategy-29c0b698.cjs.dev.js +0 -81
  1714. package/dist/upstreamPullStrategy-d1505fa4.esm.js +0 -71
@@ -0,0 +1,3225 @@
1
+ import { r as reverse, e as empty$2, p as prepend, o as of, h as isNonEmpty, b as appendAll, j as headNonEmpty, k as head, i as isEmpty$1, a as unsafeHead$1, m as make$2, f as fromIterable, t as tailNonEmpty } from './Chunk-4c1f4599.esm.js';
2
+ import { e as empty$6, m as merge$1 } from './Context-c41aa832.esm.js';
3
+ import { u as update, h as hashSet, e as environment } from './Differ-a249bf4d.esm.js';
4
+ import { l as left, r as right, i as isRight } from './Either-aa46c018.esm.js';
5
+ import { e as equals, s as symbol$1 } from './Equal-2a99fde3.esm.js';
6
+ import { i as ids, n as none$1 } from './FiberId-17e50f05.esm.js';
7
+ import { p as pipe, d as dual, i as identity, c as constTrue, a as constFalse } from './Function-12511160.esm.js';
8
+ import { g as globalValue } from './GlobalValue-b5edf230.esm.js';
9
+ import { s as symbol, c as combine, h as hash, r as random } from './Hash-7910f34f.esm.js';
10
+ import { e as empty$5, m as make$1, r as reduce$4, s as set, g as get, i as isEmpty$2, k as keys, a as map$4 } from './HashMap-6c230bde.esm.js';
11
+ import { e as empty$3, a as add, m as make, f as flatMap$2, b as map$3, u as union, s as size$1 } from './HashSet-ae2856c1.esm.js';
12
+ import { a as toJSON, N as NodeInspectSymbol, t as toString } from './Inspectable-b0c51e90.esm.js';
13
+ import { o as of$1, i as isCons, c as cons, r as reduce$3, e as empty$4, u as unsafeHead, a as unsafeTail, b as isNil, d as appendAll$1, f as reverse$1 } from './List-6e58a1e9.esm.js';
14
+ import { n as none, s as some, i as isSome, m as map$2, a as isNone, b as match$1, c as getOrUndefined, g as getOrElse, d as getOrThrow } from './Option-df40d2b9.esm.js';
15
+ import { p as pipeArguments } from './Pipeable-10760a1d.esm.js';
16
+ import { A as reduce$2, f as fromIterable$1 } from './ReadonlyArray-0a71b226.esm.js';
17
+ import { O as OP_SUCCESS, a as OP_FAILURE, b as OP_WITH_RUNTIME, c as OP_ON_FAILURE, d as OP_ON_SUCCESS, e as OP_ON_SUCCESS_AND_FAILURE, f as OP_UPDATE_RUNTIME_FLAGS, g as OP_SYNC, h as OP_WHILE, i as OP_YIELD, j as OP_REVERT_FLAGS, k as OP_ASYNC } from './Effectable-a292d920.esm.js';
18
+ import { e as enable, I as Interruption, i as interruption, d as disable, a as differ } from './RuntimeFlagsPatch-51f77dce.esm.js';
19
+ import { m as make$3, g as get$1, s as set$1 } from './MutableRef-2734b082.esm.js';
20
+
21
+ /** @internal */
22
+ const OP_DIE = "Die";
23
+
24
+ /** @internal */
25
+
26
+ /** @internal */
27
+ const OP_EMPTY = "Empty";
28
+
29
+ /** @internal */
30
+
31
+ /** @internal */
32
+ const OP_FAIL = "Fail";
33
+
34
+ /** @internal */
35
+
36
+ /** @internal */
37
+ const OP_INTERRUPT = "Interrupt";
38
+
39
+ /** @internal */
40
+
41
+ /** @internal */
42
+ const OP_PARALLEL = "Parallel";
43
+
44
+ /** @internal */
45
+
46
+ /** @internal */
47
+ const OP_SEQUENTIAL = "Sequential";
48
+
49
+ /** @internal */
50
+
51
+ // -----------------------------------------------------------------------------
52
+ // Models
53
+ // -----------------------------------------------------------------------------
54
+ /** @internal */
55
+ const CauseSymbolKey = "effect/Cause";
56
+
57
+ /** @internal */
58
+ const CauseTypeId = /*#__PURE__*/Symbol.for(CauseSymbolKey);
59
+
60
+ /** @internal */
61
+ const variance = {
62
+ _E: _ => _
63
+ };
64
+
65
+ /** @internal */
66
+ const proto = {
67
+ [CauseTypeId]: variance,
68
+ [symbol]() {
69
+ return pipe(hash(CauseSymbolKey), combine(hash(flattenCause(this))));
70
+ },
71
+ [symbol$1](that) {
72
+ return isCause(that) && causeEquals(this, that);
73
+ },
74
+ pipe() {
75
+ return pipeArguments(this, arguments);
76
+ },
77
+ toJSON() {
78
+ switch (this._tag) {
79
+ case "Empty":
80
+ return {
81
+ _id: "Cause",
82
+ _tag: this._tag
83
+ };
84
+ case "Die":
85
+ return {
86
+ _id: "Cause",
87
+ _tag: this._tag,
88
+ defect: toJSON(this.defect)
89
+ };
90
+ case "Interrupt":
91
+ return {
92
+ _id: "Cause",
93
+ _tag: this._tag,
94
+ fiberId: this.fiberId.toJSON()
95
+ };
96
+ case "Fail":
97
+ return {
98
+ _id: "Cause",
99
+ _tag: this._tag,
100
+ failure: toJSON(this.error)
101
+ };
102
+ case "Sequential":
103
+ case "Parallel":
104
+ return {
105
+ _id: "Cause",
106
+ _tag: this._tag,
107
+ errors: toJSON(prettyErrors(this))
108
+ };
109
+ }
110
+ },
111
+ toString() {
112
+ return pretty(this);
113
+ },
114
+ [NodeInspectSymbol]() {
115
+ return this.toJSON();
116
+ }
117
+ };
118
+
119
+ // -----------------------------------------------------------------------------
120
+ // Constructors
121
+ // -----------------------------------------------------------------------------
122
+
123
+ /** @internal */
124
+ const empty$1 = /*#__PURE__*/(() => {
125
+ const o = /*#__PURE__*/Object.create(proto);
126
+ o._tag = OP_EMPTY;
127
+ return o;
128
+ })();
129
+
130
+ /** @internal */
131
+ const fail$1 = error => {
132
+ const o = Object.create(proto);
133
+ o._tag = OP_FAIL;
134
+ o.error = error;
135
+ return o;
136
+ };
137
+
138
+ /** @internal */
139
+ const die$1 = defect => {
140
+ const o = Object.create(proto);
141
+ o._tag = OP_DIE;
142
+ o.defect = defect;
143
+ return o;
144
+ };
145
+
146
+ /** @internal */
147
+ const interrupt$1 = fiberId => {
148
+ const o = Object.create(proto);
149
+ o._tag = OP_INTERRUPT;
150
+ o.fiberId = fiberId;
151
+ return o;
152
+ };
153
+
154
+ /** @internal */
155
+ const parallel = (left, right) => {
156
+ const o = Object.create(proto);
157
+ o._tag = OP_PARALLEL;
158
+ o.left = left;
159
+ o.right = right;
160
+ return o;
161
+ };
162
+
163
+ /** @internal */
164
+ const sequential = (left, right) => {
165
+ const o = Object.create(proto);
166
+ o._tag = OP_SEQUENTIAL;
167
+ o.left = left;
168
+ o.right = right;
169
+ return o;
170
+ };
171
+
172
+ // -----------------------------------------------------------------------------
173
+ // Refinements
174
+ // -----------------------------------------------------------------------------
175
+
176
+ /** @internal */
177
+ const isCause = u => typeof u === "object" && u != null && CauseTypeId in u;
178
+
179
+ /** @internal */
180
+ const isEmptyType = self => self._tag === OP_EMPTY;
181
+
182
+ /** @internal */
183
+ const isFailType = self => self._tag === OP_FAIL;
184
+
185
+ /** @internal */
186
+ const isDieType = self => self._tag === OP_DIE;
187
+
188
+ /** @internal */
189
+ const isInterruptType = self => self._tag === OP_INTERRUPT;
190
+
191
+ /** @internal */
192
+ const isSequentialType = self => self._tag === OP_SEQUENTIAL;
193
+
194
+ /** @internal */
195
+ const isParallelType = self => self._tag === OP_PARALLEL;
196
+
197
+ // -----------------------------------------------------------------------------
198
+ // Getters
199
+ // -----------------------------------------------------------------------------
200
+
201
+ /** @internal */
202
+ const size = self => reduceWithContext(self, void 0, SizeCauseReducer);
203
+
204
+ /** @internal */
205
+ const isEmpty = self => {
206
+ if (self._tag === OP_EMPTY) {
207
+ return true;
208
+ }
209
+ return reduce$1(self, true, (acc, cause) => {
210
+ switch (cause._tag) {
211
+ case OP_EMPTY:
212
+ {
213
+ return some(acc);
214
+ }
215
+ case OP_DIE:
216
+ case OP_FAIL:
217
+ case OP_INTERRUPT:
218
+ {
219
+ return some(false);
220
+ }
221
+ default:
222
+ {
223
+ return none();
224
+ }
225
+ }
226
+ });
227
+ };
228
+
229
+ /** @internal */
230
+ const isFailure = self => isSome(failureOption(self));
231
+
232
+ /** @internal */
233
+ const isDie = self => isSome(dieOption(self));
234
+
235
+ /** @internal */
236
+ const isInterrupted = self => isSome(interruptOption(self));
237
+
238
+ /** @internal */
239
+ const isInterruptedOnly = self => reduceWithContext(undefined, IsInterruptedOnlyCauseReducer)(self);
240
+
241
+ /** @internal */
242
+ const failures = self => reverse(reduce$1(self, empty$2(), (list, cause) => cause._tag === OP_FAIL ? some(pipe(list, prepend(cause.error))) : none()));
243
+
244
+ /** @internal */
245
+ const defects = self => reverse(reduce$1(self, empty$2(), (list, cause) => cause._tag === OP_DIE ? some(pipe(list, prepend(cause.defect))) : none()));
246
+
247
+ /** @internal */
248
+ const interruptors = self => reduce$1(self, empty$3(), (set, cause) => cause._tag === OP_INTERRUPT ? some(pipe(set, add(cause.fiberId))) : none());
249
+
250
+ /** @internal */
251
+ const failureOption = self => find(self, cause => cause._tag === OP_FAIL ? some(cause.error) : none());
252
+
253
+ /** @internal */
254
+ const failureOrCause = self => {
255
+ const option = failureOption(self);
256
+ switch (option._tag) {
257
+ case "None":
258
+ {
259
+ // no `E` inside this `Cause`, so it can be safely cast to `never`
260
+ return right(self);
261
+ }
262
+ case "Some":
263
+ {
264
+ return left(option.value);
265
+ }
266
+ }
267
+ };
268
+
269
+ /** @internal */
270
+ const dieOption = self => find(self, cause => cause._tag === OP_DIE ? some(cause.defect) : none());
271
+
272
+ /** @internal */
273
+ const flipCauseOption = self => match(self, {
274
+ onEmpty: some(empty$1),
275
+ onFail: failureOption => pipe(failureOption, map$2(fail$1)),
276
+ onDie: defect => some(die$1(defect)),
277
+ onInterrupt: fiberId => some(interrupt$1(fiberId)),
278
+ onSequential: (left, right) => {
279
+ if (isSome(left) && isSome(right)) {
280
+ return some(sequential(left.value, right.value));
281
+ }
282
+ if (isNone(left) && isSome(right)) {
283
+ return some(right.value);
284
+ }
285
+ if (isSome(left) && isNone(right)) {
286
+ return some(left.value);
287
+ }
288
+ return none();
289
+ },
290
+ onParallel: (left, right) => {
291
+ if (isSome(left) && isSome(right)) {
292
+ return some(parallel(left.value, right.value));
293
+ }
294
+ if (isNone(left) && isSome(right)) {
295
+ return some(right.value);
296
+ }
297
+ if (isSome(left) && isNone(right)) {
298
+ return some(left.value);
299
+ }
300
+ return none();
301
+ }
302
+ });
303
+
304
+ /** @internal */
305
+ const interruptOption = self => find(self, cause => cause._tag === OP_INTERRUPT ? some(cause.fiberId) : none());
306
+
307
+ /** @internal */
308
+ const keepDefects = self => match(self, {
309
+ onEmpty: none(),
310
+ onFail: () => none(),
311
+ onDie: defect => some(die$1(defect)),
312
+ onInterrupt: () => none(),
313
+ onSequential: (left, right) => {
314
+ if (isSome(left) && isSome(right)) {
315
+ return some(sequential(left.value, right.value));
316
+ }
317
+ if (isSome(left) && isNone(right)) {
318
+ return some(left.value);
319
+ }
320
+ if (isNone(left) && isSome(right)) {
321
+ return some(right.value);
322
+ }
323
+ return none();
324
+ },
325
+ onParallel: (left, right) => {
326
+ if (isSome(left) && isSome(right)) {
327
+ return some(parallel(left.value, right.value));
328
+ }
329
+ if (isSome(left) && isNone(right)) {
330
+ return some(left.value);
331
+ }
332
+ if (isNone(left) && isSome(right)) {
333
+ return some(right.value);
334
+ }
335
+ return none();
336
+ }
337
+ });
338
+
339
+ /** @internal */
340
+ const keepDefectsAndElectFailures = self => match(self, {
341
+ onEmpty: none(),
342
+ onFail: failure => some(die$1(failure)),
343
+ onDie: defect => some(die$1(defect)),
344
+ onInterrupt: () => none(),
345
+ onSequential: (left, right) => {
346
+ if (isSome(left) && isSome(right)) {
347
+ return some(sequential(left.value, right.value));
348
+ }
349
+ if (isSome(left) && isNone(right)) {
350
+ return some(left.value);
351
+ }
352
+ if (isNone(left) && isSome(right)) {
353
+ return some(right.value);
354
+ }
355
+ return none();
356
+ },
357
+ onParallel: (left, right) => {
358
+ if (isSome(left) && isSome(right)) {
359
+ return some(parallel(left.value, right.value));
360
+ }
361
+ if (isSome(left) && isNone(right)) {
362
+ return some(left.value);
363
+ }
364
+ if (isNone(left) && isSome(right)) {
365
+ return some(right.value);
366
+ }
367
+ return none();
368
+ }
369
+ });
370
+
371
+ /** @internal */
372
+ const linearize = self => match(self, {
373
+ onEmpty: empty$3(),
374
+ onFail: error => make(fail$1(error)),
375
+ onDie: defect => make(die$1(defect)),
376
+ onInterrupt: fiberId => make(interrupt$1(fiberId)),
377
+ onSequential: (leftSet, rightSet) => pipe(leftSet, flatMap$2(leftCause => pipe(rightSet, map$3(rightCause => sequential(leftCause, rightCause))))),
378
+ onParallel: (leftSet, rightSet) => pipe(leftSet, flatMap$2(leftCause => pipe(rightSet, map$3(rightCause => parallel(leftCause, rightCause)))))
379
+ });
380
+
381
+ /** @internal */
382
+ const stripFailures = self => match(self, {
383
+ onEmpty: empty$1,
384
+ onFail: () => empty$1,
385
+ onDie: defect => die$1(defect),
386
+ onInterrupt: fiberId => interrupt$1(fiberId),
387
+ onSequential: sequential,
388
+ onParallel: parallel
389
+ });
390
+
391
+ /** @internal */
392
+ const electFailures = self => match(self, {
393
+ onEmpty: empty$1,
394
+ onFail: failure => die$1(failure),
395
+ onDie: defect => die$1(defect),
396
+ onInterrupt: fiberId => interrupt$1(fiberId),
397
+ onSequential: (left, right) => sequential(left, right),
398
+ onParallel: (left, right) => parallel(left, right)
399
+ });
400
+
401
+ /** @internal */
402
+ const stripSomeDefects = /*#__PURE__*/dual(2, (self, pf) => match(self, {
403
+ onEmpty: some(empty$1),
404
+ onFail: error => some(fail$1(error)),
405
+ onDie: defect => {
406
+ const option = pf(defect);
407
+ return isSome(option) ? none() : some(die$1(defect));
408
+ },
409
+ onInterrupt: fiberId => some(interrupt$1(fiberId)),
410
+ onSequential: (left, right) => {
411
+ if (isSome(left) && isSome(right)) {
412
+ return some(sequential(left.value, right.value));
413
+ }
414
+ if (isSome(left) && isNone(right)) {
415
+ return some(left.value);
416
+ }
417
+ if (isNone(left) && isSome(right)) {
418
+ return some(right.value);
419
+ }
420
+ return none();
421
+ },
422
+ onParallel: (left, right) => {
423
+ if (isSome(left) && isSome(right)) {
424
+ return some(parallel(left.value, right.value));
425
+ }
426
+ if (isSome(left) && isNone(right)) {
427
+ return some(left.value);
428
+ }
429
+ if (isNone(left) && isSome(right)) {
430
+ return some(right.value);
431
+ }
432
+ return none();
433
+ }
434
+ }));
435
+
436
+ // -----------------------------------------------------------------------------
437
+ // Mapping
438
+ // -----------------------------------------------------------------------------
439
+
440
+ /** @internal */
441
+ const as$1 = /*#__PURE__*/dual(2, (self, error) => map$1(self, () => error));
442
+
443
+ /** @internal */
444
+ const map$1 = /*#__PURE__*/dual(2, (self, f) => flatMap$1(self, e => fail$1(f(e))));
445
+
446
+ // -----------------------------------------------------------------------------
447
+ // Sequencing
448
+ // -----------------------------------------------------------------------------
449
+
450
+ /** @internal */
451
+ const flatMap$1 = /*#__PURE__*/dual(2, (self, f) => match(self, {
452
+ onEmpty: empty$1,
453
+ onFail: error => f(error),
454
+ onDie: defect => die$1(defect),
455
+ onInterrupt: fiberId => interrupt$1(fiberId),
456
+ onSequential: (left, right) => sequential(left, right),
457
+ onParallel: (left, right) => parallel(left, right)
458
+ }));
459
+
460
+ /** @internal */
461
+ const flatten$2 = self => flatMap$1(self, identity);
462
+
463
+ // -----------------------------------------------------------------------------
464
+ // Equality
465
+ // -----------------------------------------------------------------------------
466
+
467
+ /** @internal */
468
+ const contains = /*#__PURE__*/dual(2, (self, that) => {
469
+ if (that._tag === OP_EMPTY || self === that) {
470
+ return true;
471
+ }
472
+ return reduce$1(self, false, (accumulator, cause) => {
473
+ return some(accumulator || causeEquals(cause, that));
474
+ });
475
+ });
476
+
477
+ /** @internal */
478
+ const causeEquals = (left, right) => {
479
+ let leftStack = of(left);
480
+ let rightStack = of(right);
481
+ while (isNonEmpty(leftStack) && isNonEmpty(rightStack)) {
482
+ const [leftParallel, leftSequential] = pipe(headNonEmpty(leftStack), reduce$1([empty$3(), empty$2()], ([parallel, sequential], cause) => {
483
+ const [par, seq] = evaluateCause(cause);
484
+ return some([pipe(parallel, union(par)), pipe(sequential, appendAll(seq))]);
485
+ }));
486
+ const [rightParallel, rightSequential] = pipe(headNonEmpty(rightStack), reduce$1([empty$3(), empty$2()], ([parallel, sequential], cause) => {
487
+ const [par, seq] = evaluateCause(cause);
488
+ return some([pipe(parallel, union(par)), pipe(sequential, appendAll(seq))]);
489
+ }));
490
+ if (!equals(leftParallel, rightParallel)) {
491
+ return false;
492
+ }
493
+ leftStack = leftSequential;
494
+ rightStack = rightSequential;
495
+ }
496
+ return true;
497
+ };
498
+
499
+ // -----------------------------------------------------------------------------
500
+ // Flattening
501
+ // -----------------------------------------------------------------------------
502
+
503
+ /**
504
+ * Flattens a cause to a sequence of sets of causes, where each set represents
505
+ * causes that fail in parallel and sequential sets represent causes that fail
506
+ * after each other.
507
+ *
508
+ * @internal
509
+ */
510
+ const flattenCause = cause => {
511
+ return flattenCauseLoop(of(cause), empty$2());
512
+ };
513
+
514
+ /** @internal */
515
+ const flattenCauseLoop = (causes, flattened) => {
516
+ // eslint-disable-next-line no-constant-condition
517
+ while (1) {
518
+ const [parallel, sequential] = pipe(causes, reduce$2([empty$3(), empty$2()], ([parallel, sequential], cause) => {
519
+ const [par, seq] = evaluateCause(cause);
520
+ return [pipe(parallel, union(par)), pipe(sequential, appendAll(seq))];
521
+ }));
522
+ const updated = size$1(parallel) > 0 ? pipe(flattened, prepend(parallel)) : flattened;
523
+ if (isEmpty$1(sequential)) {
524
+ return reverse(updated);
525
+ }
526
+ causes = sequential;
527
+ flattened = updated;
528
+ }
529
+ throw new Error("BUG: Cause.flattenCauseLoop - please report an issue at https://github.com/Effect-TS/io/issues");
530
+ };
531
+
532
+ // -----------------------------------------------------------------------------
533
+ // Squashing
534
+ // -----------------------------------------------------------------------------
535
+
536
+ /** @internal */
537
+ const squash = self => {
538
+ return squashWith(identity)(self);
539
+ };
540
+
541
+ /** @internal */
542
+ const squashWith = /*#__PURE__*/dual(2, (self, f) => {
543
+ const option = pipe(self, failureOption, map$2(f));
544
+ switch (option._tag) {
545
+ case "None":
546
+ {
547
+ return pipe(defects(self), head, match$1({
548
+ onNone: () => {
549
+ const interrupts = Array.from(interruptors(self)).flatMap(fiberId => Array.from(ids(fiberId)).map(id => `#${id}`));
550
+ return InterruptedException(interrupts ? `Interrupted by fibers: ${interrupts.join(", ")}` : void 0);
551
+ },
552
+ onSome: identity
553
+ }));
554
+ }
555
+ case "Some":
556
+ {
557
+ return option.value;
558
+ }
559
+ }
560
+ });
561
+
562
+ // -----------------------------------------------------------------------------
563
+ // Finding
564
+ // -----------------------------------------------------------------------------
565
+
566
+ /** @internal */
567
+ const find = /*#__PURE__*/dual(2, (self, pf) => {
568
+ const stack = [self];
569
+ while (stack.length > 0) {
570
+ const item = stack.pop();
571
+ const option = pf(item);
572
+ switch (option._tag) {
573
+ case "None":
574
+ {
575
+ switch (item._tag) {
576
+ case OP_SEQUENTIAL:
577
+ case OP_PARALLEL:
578
+ {
579
+ stack.push(item.right);
580
+ stack.push(item.left);
581
+ break;
582
+ }
583
+ }
584
+ break;
585
+ }
586
+ case "Some":
587
+ {
588
+ return option;
589
+ }
590
+ }
591
+ }
592
+ return none();
593
+ });
594
+
595
+ // -----------------------------------------------------------------------------
596
+ // Filtering
597
+ // -----------------------------------------------------------------------------
598
+
599
+ /** @internal */
600
+ const filter = /*#__PURE__*/dual(2, (self, predicate) => reduceWithContext(self, void 0, FilterCauseReducer(predicate)));
601
+
602
+ // -----------------------------------------------------------------------------
603
+ // Evaluation
604
+ // -----------------------------------------------------------------------------
605
+
606
+ /**
607
+ * Takes one step in evaluating a cause, returning a set of causes that fail
608
+ * in parallel and a list of causes that fail sequentially after those causes.
609
+ *
610
+ * @internal
611
+ */
612
+ const evaluateCause = self => {
613
+ let cause = self;
614
+ const stack = [];
615
+ let _parallel = empty$3();
616
+ let _sequential = empty$2();
617
+ while (cause !== undefined) {
618
+ switch (cause._tag) {
619
+ case OP_EMPTY:
620
+ {
621
+ if (stack.length === 0) {
622
+ return [_parallel, _sequential];
623
+ }
624
+ cause = stack.pop();
625
+ break;
626
+ }
627
+ case OP_FAIL:
628
+ {
629
+ if (stack.length === 0) {
630
+ return [pipe(_parallel, add(cause.error)), _sequential];
631
+ }
632
+ _parallel = pipe(_parallel, add(cause.error));
633
+ cause = stack.pop();
634
+ break;
635
+ }
636
+ case OP_DIE:
637
+ {
638
+ if (stack.length === 0) {
639
+ return [pipe(_parallel, add(cause.defect)), _sequential];
640
+ }
641
+ _parallel = pipe(_parallel, add(cause.defect));
642
+ cause = stack.pop();
643
+ break;
644
+ }
645
+ case OP_INTERRUPT:
646
+ {
647
+ if (stack.length === 0) {
648
+ return [pipe(_parallel, add(cause.fiberId)), _sequential];
649
+ }
650
+ _parallel = pipe(_parallel, add(cause.fiberId));
651
+ cause = stack.pop();
652
+ break;
653
+ }
654
+ case OP_SEQUENTIAL:
655
+ {
656
+ switch (cause.left._tag) {
657
+ case OP_EMPTY:
658
+ {
659
+ cause = cause.right;
660
+ break;
661
+ }
662
+ case OP_SEQUENTIAL:
663
+ {
664
+ cause = sequential(cause.left.left, sequential(cause.left.right, cause.right));
665
+ break;
666
+ }
667
+ case OP_PARALLEL:
668
+ {
669
+ cause = parallel(sequential(cause.left.left, cause.right), sequential(cause.left.right, cause.right));
670
+ break;
671
+ }
672
+ default:
673
+ {
674
+ _sequential = pipe(_sequential, prepend(cause.right));
675
+ cause = cause.left;
676
+ break;
677
+ }
678
+ }
679
+ break;
680
+ }
681
+ case OP_PARALLEL:
682
+ {
683
+ stack.push(cause.right);
684
+ cause = cause.left;
685
+ break;
686
+ }
687
+ }
688
+ }
689
+ throw new Error("BUG: Cause.evaluateCauseLoop - please report an issue at https://github.com/Effect-TS/io/issues");
690
+ };
691
+
692
+ // -----------------------------------------------------------------------------
693
+ // Reducing
694
+ // -----------------------------------------------------------------------------
695
+
696
+ /** @internal */
697
+ const SizeCauseReducer = {
698
+ emptyCase: () => 0,
699
+ failCase: () => 1,
700
+ dieCase: () => 1,
701
+ interruptCase: () => 1,
702
+ sequentialCase: (_, left, right) => left + right,
703
+ parallelCase: (_, left, right) => left + right
704
+ };
705
+
706
+ /** @internal */
707
+ const IsInterruptedOnlyCauseReducer = {
708
+ emptyCase: constTrue,
709
+ failCase: constFalse,
710
+ dieCase: constFalse,
711
+ interruptCase: constTrue,
712
+ sequentialCase: (_, left, right) => left && right,
713
+ parallelCase: (_, left, right) => left && right
714
+ };
715
+
716
+ /** @internal */
717
+ const FilterCauseReducer = predicate => ({
718
+ emptyCase: () => empty$1,
719
+ failCase: (_, error) => fail$1(error),
720
+ dieCase: (_, defect) => die$1(defect),
721
+ interruptCase: (_, fiberId) => interrupt$1(fiberId),
722
+ sequentialCase: (_, left, right) => {
723
+ if (predicate(left)) {
724
+ if (predicate(right)) {
725
+ return sequential(left, right);
726
+ }
727
+ return left;
728
+ }
729
+ if (predicate(right)) {
730
+ return right;
731
+ }
732
+ return empty$1;
733
+ },
734
+ parallelCase: (_, left, right) => {
735
+ if (predicate(left)) {
736
+ if (predicate(right)) {
737
+ return parallel(left, right);
738
+ }
739
+ return left;
740
+ }
741
+ if (predicate(right)) {
742
+ return right;
743
+ }
744
+ return empty$1;
745
+ }
746
+ });
747
+
748
+ /** @internal */
749
+
750
+ const OP_SEQUENTIAL_CASE = "SequentialCase";
751
+ const OP_PARALLEL_CASE = "ParallelCase";
752
+
753
+ /** @internal */
754
+
755
+ /** @internal */
756
+
757
+ /** @internal */
758
+ const match = /*#__PURE__*/dual(2, (self, {
759
+ onDie,
760
+ onEmpty,
761
+ onFail,
762
+ onInterrupt,
763
+ onParallel,
764
+ onSequential
765
+ }) => {
766
+ return reduceWithContext(self, void 0, {
767
+ emptyCase: () => onEmpty,
768
+ failCase: (_, error) => onFail(error),
769
+ dieCase: (_, defect) => onDie(defect),
770
+ interruptCase: (_, fiberId) => onInterrupt(fiberId),
771
+ sequentialCase: (_, left, right) => onSequential(left, right),
772
+ parallelCase: (_, left, right) => onParallel(left, right)
773
+ });
774
+ });
775
+
776
+ /** @internal */
777
+ const reduce$1 = /*#__PURE__*/dual(3, (self, zero, pf) => {
778
+ let accumulator = zero;
779
+ let cause = self;
780
+ const causes = [];
781
+ while (cause !== undefined) {
782
+ const option = pf(accumulator, cause);
783
+ accumulator = isSome(option) ? option.value : accumulator;
784
+ switch (cause._tag) {
785
+ case OP_SEQUENTIAL:
786
+ {
787
+ causes.push(cause.right);
788
+ cause = cause.left;
789
+ break;
790
+ }
791
+ case OP_PARALLEL:
792
+ {
793
+ causes.push(cause.right);
794
+ cause = cause.left;
795
+ break;
796
+ }
797
+ default:
798
+ {
799
+ cause = undefined;
800
+ break;
801
+ }
802
+ }
803
+ if (cause === undefined && causes.length > 0) {
804
+ cause = causes.pop();
805
+ }
806
+ }
807
+ return accumulator;
808
+ });
809
+
810
+ /** @internal */
811
+ const reduceWithContext = /*#__PURE__*/dual(3, (self, context, reducer) => {
812
+ const input = [self];
813
+ const output = [];
814
+ while (input.length > 0) {
815
+ const cause = input.pop();
816
+ switch (cause._tag) {
817
+ case OP_EMPTY:
818
+ {
819
+ output.push(right(reducer.emptyCase(context)));
820
+ break;
821
+ }
822
+ case OP_FAIL:
823
+ {
824
+ output.push(right(reducer.failCase(context, cause.error)));
825
+ break;
826
+ }
827
+ case OP_DIE:
828
+ {
829
+ output.push(right(reducer.dieCase(context, cause.defect)));
830
+ break;
831
+ }
832
+ case OP_INTERRUPT:
833
+ {
834
+ output.push(right(reducer.interruptCase(context, cause.fiberId)));
835
+ break;
836
+ }
837
+ case OP_SEQUENTIAL:
838
+ {
839
+ input.push(cause.right);
840
+ input.push(cause.left);
841
+ output.push(left({
842
+ _tag: OP_SEQUENTIAL_CASE
843
+ }));
844
+ break;
845
+ }
846
+ case OP_PARALLEL:
847
+ {
848
+ input.push(cause.right);
849
+ input.push(cause.left);
850
+ output.push(left({
851
+ _tag: OP_PARALLEL_CASE
852
+ }));
853
+ break;
854
+ }
855
+ }
856
+ }
857
+ const accumulator = [];
858
+ while (output.length > 0) {
859
+ const either = output.pop();
860
+ switch (either._tag) {
861
+ case "Left":
862
+ {
863
+ switch (either.left._tag) {
864
+ case OP_SEQUENTIAL_CASE:
865
+ {
866
+ const left = accumulator.pop();
867
+ const right = accumulator.pop();
868
+ const value = reducer.sequentialCase(context, left, right);
869
+ accumulator.push(value);
870
+ break;
871
+ }
872
+ case OP_PARALLEL_CASE:
873
+ {
874
+ const left = accumulator.pop();
875
+ const right = accumulator.pop();
876
+ const value = reducer.parallelCase(context, left, right);
877
+ accumulator.push(value);
878
+ break;
879
+ }
880
+ }
881
+ break;
882
+ }
883
+ case "Right":
884
+ {
885
+ accumulator.push(either.right);
886
+ break;
887
+ }
888
+ }
889
+ }
890
+ if (accumulator.length === 0) {
891
+ throw new Error("BUG: Cause.reduceWithContext - please report an issue at https://github.com/Effect-TS/io/issues");
892
+ }
893
+ return accumulator.pop();
894
+ });
895
+
896
+ // -----------------------------------------------------------------------------
897
+ // Errors
898
+ // -----------------------------------------------------------------------------
899
+
900
+ const makeException = (proto, tag) => {
901
+ const _tag = {
902
+ value: tag,
903
+ enumerable: true
904
+ };
905
+ const protoWithToString = {
906
+ ...proto,
907
+ toString() {
908
+ return `${this._tag}: ${this.message}`;
909
+ }
910
+ };
911
+ return message => Object.create(protoWithToString, {
912
+ _tag,
913
+ message: {
914
+ value: message,
915
+ enumerable: true
916
+ }
917
+ });
918
+ };
919
+
920
+ /** @internal */
921
+ const RuntimeExceptionTypeId = /*#__PURE__*/Symbol.for("effect/Cause/errors/RuntimeException");
922
+
923
+ /** @internal */
924
+ const RuntimeException = /*#__PURE__*/makeException({
925
+ [RuntimeExceptionTypeId]: RuntimeExceptionTypeId
926
+ }, "RuntimeException");
927
+
928
+ /** @internal */
929
+ const isRuntimeException = u => {
930
+ return typeof u === "object" && u != null && RuntimeExceptionTypeId in u;
931
+ };
932
+
933
+ /** @internal */
934
+ const InterruptedExceptionTypeId = /*#__PURE__*/Symbol.for("effect/Cause/errors/InterruptedException");
935
+
936
+ /** @internal */
937
+ const InterruptedException = /*#__PURE__*/makeException({
938
+ [InterruptedExceptionTypeId]: InterruptedExceptionTypeId
939
+ }, "InterruptedException");
940
+
941
+ /** @internal */
942
+ const isInterruptedException = u => {
943
+ return typeof u === "object" && u != null && InterruptedExceptionTypeId in u;
944
+ };
945
+
946
+ /** @internal */
947
+ const IllegalArgumentExceptionTypeId = /*#__PURE__*/Symbol.for("effect/Cause/errors/IllegalArgument");
948
+
949
+ /** @internal */
950
+ const IllegalArgumentException = /*#__PURE__*/makeException({
951
+ [IllegalArgumentExceptionTypeId]: IllegalArgumentExceptionTypeId
952
+ }, "IllegalArgumentException");
953
+
954
+ /** @internal */
955
+ const isIllegalArgumentException = u => {
956
+ return typeof u === "object" && u != null && IllegalArgumentExceptionTypeId in u;
957
+ };
958
+
959
+ /** @internal */
960
+ const NoSuchElementExceptionTypeId = /*#__PURE__*/Symbol.for("effect/Cause/errors/NoSuchElement");
961
+
962
+ /** @internal */
963
+ const NoSuchElementException = /*#__PURE__*/makeException({
964
+ [NoSuchElementExceptionTypeId]: NoSuchElementExceptionTypeId
965
+ }, "NoSuchElementException");
966
+
967
+ /** @internal */
968
+ const isNoSuchElementException = u => {
969
+ return typeof u === "object" && u != null && NoSuchElementExceptionTypeId in u;
970
+ };
971
+
972
+ /** @internal */
973
+ const InvalidHubCapacityExceptionTypeId = /*#__PURE__*/Symbol.for("effect/Cause/errors/InvalidHubCapacityException");
974
+
975
+ /** @internal */
976
+ const InvalidHubCapacityException = /*#__PURE__*/makeException({
977
+ [InvalidHubCapacityExceptionTypeId]: InvalidHubCapacityExceptionTypeId
978
+ }, "InvalidHubCapacityException");
979
+
980
+ // -----------------------------------------------------------------------------
981
+ // Pretty Printing
982
+ // -----------------------------------------------------------------------------
983
+
984
+ const filterStack = stack => {
985
+ const lines = stack.split("\n");
986
+ const out = [];
987
+ for (let i = 0; i < lines.length; i++) {
988
+ if (lines[i].includes("EffectPrimitive") || lines[i].includes("Generator.next") || lines[i].includes("FiberRuntime")) {
989
+ return out.join("\n");
990
+ } else {
991
+ out.push(lines[i]);
992
+ }
993
+ }
994
+ return out.join("\n");
995
+ };
996
+
997
+ /** @internal */
998
+ const pretty = cause => {
999
+ if (isInterruptedOnly(cause)) {
1000
+ return "All fibers interrupted without errors.";
1001
+ }
1002
+ const final = prettyErrors(cause).map(e => {
1003
+ let message = e.message;
1004
+ if (e.stack) {
1005
+ message += `\r\n${filterStack(e.stack)}`;
1006
+ }
1007
+ if (e.span) {
1008
+ let current = e.span;
1009
+ let i = 0;
1010
+ while (current && current._tag === "Span" && i < 10) {
1011
+ message += `\r\n at ${current.name}`;
1012
+ current = getOrUndefined(current.parent);
1013
+ i++;
1014
+ }
1015
+ }
1016
+ return message;
1017
+ }).join("\r\n");
1018
+ return final;
1019
+ };
1020
+ class PrettyError {
1021
+ constructor(message, stack, span) {
1022
+ this.message = message;
1023
+ this.stack = stack;
1024
+ this.span = span;
1025
+ }
1026
+ toJSON() {
1027
+ const out = {
1028
+ message: this.message
1029
+ };
1030
+ if (this.stack) {
1031
+ out.stack = this.stack;
1032
+ }
1033
+ if (this.span) {
1034
+ out.span = this.span;
1035
+ }
1036
+ return out;
1037
+ }
1038
+ }
1039
+
1040
+ /**
1041
+ * A utility function for generating human-readable error messages from a generic error of type `unknown`.
1042
+ *
1043
+ * Rules:
1044
+ *
1045
+ * 1) If the input `u` is already a string, it's considered a message, and "Error" is added as a prefix.
1046
+ * 2) If `u` has a user-defined `toString()` method, it uses that method and adds "Error" as a prefix.
1047
+ * 3) If `u` is an object and its only (optional) properties are "name", "message", or "_tag", it constructs
1048
+ * an error message based on those properties.
1049
+ * 4) Otherwise, it uses `JSON.stringify` to produce a string representation and uses it as the error message,
1050
+ * with "Error" added as a prefix.
1051
+ *
1052
+ * @internal
1053
+ */
1054
+ const prettyErrorMessage = u => {
1055
+ // 1)
1056
+ if (typeof u === "string") {
1057
+ return `Error: ${u}`;
1058
+ }
1059
+ // 2)
1060
+ if (typeof u === "object" && u != null && "toString" in u && typeof u["toString"] === "function" && u["toString"] !== Object.prototype.toString) {
1061
+ return u["toString"]();
1062
+ }
1063
+ // 3)
1064
+ if (typeof u === "object" && u !== null) {
1065
+ if ("message" in u && typeof u["message"] === "string") {
1066
+ const raw = JSON.parse(JSON.stringify(u));
1067
+ const keys = new Set(Object.keys(raw));
1068
+ keys.delete("name");
1069
+ keys.delete("message");
1070
+ keys.delete("_tag");
1071
+ if (keys.size === 0) {
1072
+ const name = "name" in u && typeof u.name === "string" ? u.name : "Error";
1073
+ const tag = "_tag" in u && typeof u["_tag"] === "string" ? `(${u._tag})` : ``;
1074
+ return `${name}${tag}: ${u.message}`;
1075
+ }
1076
+ }
1077
+ }
1078
+ // 4)
1079
+ return `Error: ${JSON.stringify(u)}`;
1080
+ };
1081
+ const spanSymbol$1 = /*#__PURE__*/Symbol.for("effect/SpanAnnotation");
1082
+ const defaultRenderError = error => {
1083
+ const span = typeof error === "object" && error !== null && spanSymbol$1 in error && error[spanSymbol$1];
1084
+ if (typeof error === "object" && error !== null && error instanceof Error) {
1085
+ return new PrettyError(prettyErrorMessage(error), error.stack?.split("\n").filter(_ => !_.startsWith("Error")).join("\n"), span);
1086
+ }
1087
+ return new PrettyError(prettyErrorMessage(error), void 0, span);
1088
+ };
1089
+
1090
+ /** @internal */
1091
+ const prettyErrors = cause => reduceWithContext(cause, void 0, {
1092
+ emptyCase: () => [],
1093
+ dieCase: (_, unknownError) => {
1094
+ return [defaultRenderError(unknownError)];
1095
+ },
1096
+ failCase: (_, error) => {
1097
+ return [defaultRenderError(error)];
1098
+ },
1099
+ interruptCase: () => [],
1100
+ parallelCase: (_, l, r) => [...l, ...r],
1101
+ sequentialCase: (_, l, r) => [...l, ...r]
1102
+ });
1103
+
1104
+ /** @internal */
1105
+ const empty = {
1106
+ _tag: "Empty"
1107
+ };
1108
+
1109
+ /**
1110
+ * Combines this collection of blocked requests with the specified collection
1111
+ * of blocked requests, in parallel.
1112
+ *
1113
+ * @internal
1114
+ */
1115
+ const par = (self, that) => ({
1116
+ _tag: "Par",
1117
+ left: self,
1118
+ right: that
1119
+ });
1120
+
1121
+ /**
1122
+ * Combines this collection of blocked requests with the specified collection
1123
+ * of blocked requests, in sequence.
1124
+ *
1125
+ * @internal
1126
+ */
1127
+ const seq = (self, that) => ({
1128
+ _tag: "Seq",
1129
+ left: self,
1130
+ right: that
1131
+ });
1132
+
1133
+ /**
1134
+ * Constructs a collection of blocked requests from the specified blocked
1135
+ * request and data source.
1136
+ *
1137
+ * @internal
1138
+ */
1139
+ const single = (dataSource, blockedRequest) => ({
1140
+ _tag: "Single",
1141
+ dataSource,
1142
+ blockedRequest
1143
+ });
1144
+
1145
+ /** @internal */
1146
+ const MapRequestResolversReducer = f => ({
1147
+ emptyCase: () => empty,
1148
+ parCase: (left, right) => par(left, right),
1149
+ seqCase: (left, right) => seq(left, right),
1150
+ singleCase: (dataSource, blockedRequest) => single(f(dataSource), blockedRequest)
1151
+ });
1152
+ /**
1153
+ * Transforms all data sources with the specified data source aspect, which
1154
+ * can change the environment type of data sources but must preserve the
1155
+ * request type of each data source.
1156
+ *
1157
+ * @internal
1158
+ */
1159
+ const mapRequestResolvers = (self, f) => reduce(self, MapRequestResolversReducer(f));
1160
+
1161
+ /**
1162
+ * Folds over the cases of this collection of blocked requests with the
1163
+ * specified functions.
1164
+ *
1165
+ * @internal
1166
+ */
1167
+ const reduce = (self, reducer) => {
1168
+ let input = of$1(self);
1169
+ let output = empty$4();
1170
+ while (isCons(input)) {
1171
+ const current = input.head;
1172
+ switch (current._tag) {
1173
+ case "Empty":
1174
+ {
1175
+ output = cons(right(reducer.emptyCase()), output);
1176
+ input = input.tail;
1177
+ break;
1178
+ }
1179
+ case "Par":
1180
+ {
1181
+ output = cons(left({
1182
+ _tag: "ParCase"
1183
+ }), output);
1184
+ input = cons(current.left, cons(current.right, input.tail));
1185
+ break;
1186
+ }
1187
+ case "Seq":
1188
+ {
1189
+ output = cons(left({
1190
+ _tag: "SeqCase"
1191
+ }), output);
1192
+ input = cons(current.left, cons(current.right, input.tail));
1193
+ break;
1194
+ }
1195
+ case "Single":
1196
+ {
1197
+ const result = reducer.singleCase(current.dataSource, current.blockedRequest);
1198
+ output = cons(right(result), output);
1199
+ input = input.tail;
1200
+ break;
1201
+ }
1202
+ }
1203
+ }
1204
+ const result = reduce$3(output, empty$4(), (acc, current) => {
1205
+ switch (current._tag) {
1206
+ case "Left":
1207
+ {
1208
+ const left = unsafeHead(acc);
1209
+ const right = unsafeHead(unsafeTail(acc));
1210
+ const tail = unsafeTail(unsafeTail(acc));
1211
+ switch (current.left._tag) {
1212
+ case "ParCase":
1213
+ {
1214
+ return cons(reducer.parCase(left, right), tail);
1215
+ }
1216
+ case "SeqCase":
1217
+ {
1218
+ return cons(reducer.seqCase(left, right), tail);
1219
+ }
1220
+ }
1221
+ }
1222
+ case "Right":
1223
+ {
1224
+ return cons(current.right, acc);
1225
+ }
1226
+ }
1227
+ });
1228
+ if (isNil(result)) {
1229
+ throw new Error("BUG: BlockedRequests.reduce - please report an issue at https://github.com/Effect-TS/query/issues");
1230
+ }
1231
+ return result.head;
1232
+ };
1233
+
1234
+ /**
1235
+ * Flattens a collection of blocked requests into a collection of pipelined
1236
+ * and batched requests that can be submitted for execution.
1237
+ *
1238
+ * @internal
1239
+ */
1240
+ const flatten$1 = self => {
1241
+ let current = of$1(self);
1242
+ let updated = empty$4();
1243
+ // eslint-disable-next-line no-constant-condition
1244
+ while (1) {
1245
+ const [parallel, sequential] = reduce$3(current, [parallelCollectionEmpty(), empty$4()], ([parallel, sequential], blockedRequest) => {
1246
+ const [par, seq] = step$1(blockedRequest);
1247
+ return [parallelCollectionCombine(parallel, par), appendAll$1(sequential, seq)];
1248
+ });
1249
+ updated = merge(updated, parallel);
1250
+ if (isNil(sequential)) {
1251
+ return reverse$1(updated);
1252
+ }
1253
+ current = sequential;
1254
+ }
1255
+ throw new Error("BUG: BlockedRequests.flatten - please report an issue at https://github.com/Effect-TS/query/issues");
1256
+ };
1257
+
1258
+ /**
1259
+ * Takes one step in evaluating a collection of blocked requests, returning a
1260
+ * collection of blocked requests that can be performed in parallel and a list
1261
+ * of blocked requests that must be performed sequentially after those
1262
+ * requests.
1263
+ */
1264
+ const step$1 = requests => {
1265
+ let current = requests;
1266
+ let parallel = parallelCollectionEmpty();
1267
+ let stack = empty$4();
1268
+ let sequential = empty$4();
1269
+ // eslint-disable-next-line no-constant-condition
1270
+ while (1) {
1271
+ switch (current._tag) {
1272
+ case "Empty":
1273
+ {
1274
+ if (isNil(stack)) {
1275
+ return [parallel, sequential];
1276
+ }
1277
+ current = stack.head;
1278
+ stack = stack.tail;
1279
+ break;
1280
+ }
1281
+ case "Par":
1282
+ {
1283
+ stack = cons(current.right, stack);
1284
+ current = current.left;
1285
+ break;
1286
+ }
1287
+ case "Seq":
1288
+ {
1289
+ const left = current.left;
1290
+ const right = current.right;
1291
+ switch (left._tag) {
1292
+ case "Empty":
1293
+ {
1294
+ current = right;
1295
+ break;
1296
+ }
1297
+ case "Par":
1298
+ {
1299
+ const l = left.left;
1300
+ const r = left.right;
1301
+ current = par(seq(l, right), seq(r, right));
1302
+ break;
1303
+ }
1304
+ case "Seq":
1305
+ {
1306
+ const l = left.left;
1307
+ const r = left.right;
1308
+ current = seq(l, seq(r, right));
1309
+ break;
1310
+ }
1311
+ case "Single":
1312
+ {
1313
+ current = left;
1314
+ sequential = cons(right, sequential);
1315
+ break;
1316
+ }
1317
+ }
1318
+ break;
1319
+ }
1320
+ case "Single":
1321
+ {
1322
+ parallel = parallelCollectionCombine(parallel, parallelCollectionMake(current.dataSource, current.blockedRequest));
1323
+ if (isNil(stack)) {
1324
+ return [parallel, sequential];
1325
+ }
1326
+ current = stack.head;
1327
+ stack = stack.tail;
1328
+ break;
1329
+ }
1330
+ }
1331
+ }
1332
+ throw new Error("BUG: BlockedRequests.step - please report an issue at https://github.com/Effect-TS/query/issues");
1333
+ };
1334
+
1335
+ /**
1336
+ * Merges a collection of requests that must be executed sequentially with a
1337
+ * collection of requests that can be executed in parallel. If the collections
1338
+ * are both from the same single data source then the requests can be
1339
+ * pipelined while preserving ordering guarantees.
1340
+ */
1341
+ const merge = (sequential, parallel) => {
1342
+ if (isNil(sequential)) {
1343
+ return of$1(parallelCollectionToSequentialCollection(parallel));
1344
+ }
1345
+ if (parallelCollectionIsEmpty(parallel)) {
1346
+ return sequential;
1347
+ }
1348
+ const seqHeadKeys = sequentialCollectionKeys(sequential.head);
1349
+ const parKeys = parallelCollectionKeys(parallel);
1350
+ if (seqHeadKeys.length === 1 && parKeys.length === 1 && equals(seqHeadKeys[0], parKeys[0])) {
1351
+ return cons(sequentialCollectionCombine(sequential.head, parallelCollectionToSequentialCollection(parallel)), sequential.tail);
1352
+ }
1353
+ return cons(parallelCollectionToSequentialCollection(parallel), sequential);
1354
+ };
1355
+
1356
+ //
1357
+ // circular
1358
+ //
1359
+
1360
+ /** @internal */
1361
+ const EntryTypeId = /*#__PURE__*/Symbol.for("effect/RequestBlock/Entry");
1362
+
1363
+ /** @internal */
1364
+ class EntryImpl {
1365
+ [EntryTypeId] = blockedRequestVariance;
1366
+ constructor(request, result, listeners, ownerId, state) {
1367
+ this.request = request;
1368
+ this.result = result;
1369
+ this.listeners = listeners;
1370
+ this.ownerId = ownerId;
1371
+ this.state = state;
1372
+ }
1373
+ }
1374
+
1375
+ /** @internal */
1376
+ const blockedRequestVariance = {
1377
+ _R: _ => _
1378
+ };
1379
+
1380
+ /** @internal */
1381
+ const isEntry = u => {
1382
+ return typeof u === "object" && u != null && EntryTypeId in u;
1383
+ };
1384
+
1385
+ /** @internal */
1386
+ const makeEntry = options => new EntryImpl(options.request, options.result, options.listeners, options.ownerId, options.state);
1387
+
1388
+ /** @internal */
1389
+ const RequestBlockParallelTypeId = /*#__PURE__*/Symbol.for("effect/RequestBlock/RequestBlockParallel");
1390
+ const parallelVariance = {
1391
+ _R: _ => _
1392
+ };
1393
+ class ParallelImpl {
1394
+ [RequestBlockParallelTypeId] = parallelVariance;
1395
+ constructor(map) {
1396
+ this.map = map;
1397
+ }
1398
+ }
1399
+
1400
+ /** @internal */
1401
+ const parallelCollectionEmpty = () => new ParallelImpl(empty$5());
1402
+
1403
+ /** @internal */
1404
+ const parallelCollectionMake = (dataSource, blockedRequest) => new ParallelImpl(make$1([dataSource, Array.of(blockedRequest)]));
1405
+
1406
+ /** @internal */
1407
+ const parallelCollectionCombine = (self, that) => new ParallelImpl(reduce$4(self.map, that.map, (map, value, key) => set(map, key, match$1(get(map, key), {
1408
+ onNone: () => value,
1409
+ onSome: a => [...a, ...value]
1410
+ }))));
1411
+
1412
+ /** @internal */
1413
+ const parallelCollectionIsEmpty = self => isEmpty$2(self.map);
1414
+
1415
+ /** @internal */
1416
+ const parallelCollectionKeys = self => Array.from(keys(self.map));
1417
+
1418
+ /** @internal */
1419
+ const parallelCollectionToSequentialCollection = self => sequentialCollectionMake(map$4(self.map, x => Array.of(x)));
1420
+
1421
+ /** @internal */
1422
+ const SequentialCollectionTypeId = /*#__PURE__*/Symbol.for("effect/RequestBlock/RequestBlockSequential");
1423
+
1424
+ /** @internal */
1425
+ const sequentialVariance = {
1426
+ _R: _ => _
1427
+ };
1428
+ class SequentialImpl {
1429
+ [SequentialCollectionTypeId] = sequentialVariance;
1430
+ constructor(map) {
1431
+ this.map = map;
1432
+ }
1433
+ }
1434
+
1435
+ /** @internal */
1436
+ const sequentialCollectionMake = map => new SequentialImpl(map);
1437
+
1438
+ /** @internal */
1439
+ const sequentialCollectionCombine = (self, that) => new SequentialImpl(reduce$4(that.map, self.map, (map, value, key) => set(map, key, match$1(get(map, key), {
1440
+ onNone: () => [],
1441
+ onSome: a => [...a, ...value]
1442
+ }))));
1443
+
1444
+ /** @internal */
1445
+ const sequentialCollectionKeys = self => Array.from(keys(self.map));
1446
+
1447
+ /** @internal */
1448
+ const sequentialCollectionToChunk = self => Array.from(self.map);
1449
+
1450
+ /** @internal */
1451
+
1452
+ /** @internal */
1453
+
1454
+ /** @internal */
1455
+
1456
+ /** @internal */
1457
+
1458
+ /** @internal */
1459
+
1460
+ /** @internal */
1461
+
1462
+ /** @internal */
1463
+ const OP_STATE_PENDING = "Pending";
1464
+
1465
+ /** @internal */
1466
+
1467
+ /** @internal */
1468
+ const OP_STATE_DONE = "Done";
1469
+
1470
+ /** @internal */
1471
+
1472
+ /** @internal */
1473
+ const DeferredSymbolKey = "effect/Deferred";
1474
+
1475
+ /** @internal */
1476
+ const DeferredTypeId = /*#__PURE__*/Symbol.for(DeferredSymbolKey);
1477
+
1478
+ /** @internal */
1479
+ const deferredVariance = {
1480
+ _E: _ => _,
1481
+ _A: _ => _
1482
+ };
1483
+
1484
+ /** @internal */
1485
+
1486
+ /** @internal */
1487
+
1488
+ /** @internal */
1489
+
1490
+ /** @internal */
1491
+ const pending = joiners => {
1492
+ return {
1493
+ _tag: OP_STATE_PENDING,
1494
+ joiners
1495
+ };
1496
+ };
1497
+
1498
+ /** @internal */
1499
+ const done = effect => {
1500
+ return {
1501
+ _tag: OP_STATE_DONE,
1502
+ effect
1503
+ };
1504
+ };
1505
+
1506
+ // -----------------------------------------------------------------------------
1507
+ // Effect
1508
+ // -----------------------------------------------------------------------------
1509
+ /** @internal */
1510
+ const EffectErrorSymbolKey = "effect/EffectError";
1511
+
1512
+ /** @internal */
1513
+ const EffectErrorTypeId = /*#__PURE__*/Symbol.for(EffectErrorSymbolKey);
1514
+
1515
+ /** @internal */
1516
+
1517
+ /** @internal */
1518
+
1519
+ /** @internal */
1520
+ const isEffectError = u => typeof u === "object" && u != null && EffectErrorTypeId in u;
1521
+
1522
+ /** @internal */
1523
+ const makeEffectError = cause => ({
1524
+ [EffectErrorTypeId]: EffectErrorTypeId,
1525
+ _tag: "EffectError",
1526
+ cause
1527
+ });
1528
+
1529
+ /**
1530
+ * @internal
1531
+ */
1532
+ const blocked = (blockedRequests, _continue) => {
1533
+ const effect = new EffectPrimitive("Blocked");
1534
+ effect.i0 = blockedRequests;
1535
+ effect.i1 = _continue;
1536
+ return effect;
1537
+ };
1538
+
1539
+ /**
1540
+ * @internal
1541
+ */
1542
+ const runRequestBlock = blockedRequests => {
1543
+ const effect = new EffectPrimitive("RunBlocked");
1544
+ effect.i0 = blockedRequests;
1545
+ return effect;
1546
+ };
1547
+
1548
+ /** @internal */
1549
+ const EffectTypeId = /*#__PURE__*/Symbol.for("effect/Effect");
1550
+
1551
+ /** @internal */
1552
+
1553
+ /** @internal */
1554
+
1555
+ /** @internal */
1556
+ class RevertFlags {
1557
+ _op = OP_REVERT_FLAGS;
1558
+ constructor(patch, op) {
1559
+ this.patch = patch;
1560
+ this.op = op;
1561
+ }
1562
+ }
1563
+
1564
+ /** @internal */
1565
+ class EffectPrimitive {
1566
+ i0 = undefined;
1567
+ i1 = undefined;
1568
+ i2 = undefined;
1569
+ trace = undefined;
1570
+ [EffectTypeId] = effectVariance;
1571
+ constructor(_op) {
1572
+ this._op = _op;
1573
+ }
1574
+ [symbol$1](that) {
1575
+ return this === that;
1576
+ }
1577
+ [symbol]() {
1578
+ return random(this);
1579
+ }
1580
+ pipe() {
1581
+ return pipeArguments(this, arguments);
1582
+ }
1583
+ toJSON() {
1584
+ return {
1585
+ _id: "Effect",
1586
+ _op: this._op,
1587
+ i0: toJSON(this.i0),
1588
+ i1: toJSON(this.i1),
1589
+ i2: toJSON(this.i2)
1590
+ };
1591
+ }
1592
+ toString() {
1593
+ return toString(this.toJSON());
1594
+ }
1595
+ [NodeInspectSymbol]() {
1596
+ return this.toJSON();
1597
+ }
1598
+ }
1599
+
1600
+ /** @internal */
1601
+ class EffectPrimitiveFailure {
1602
+ i0 = undefined;
1603
+ i1 = undefined;
1604
+ i2 = undefined;
1605
+ trace = undefined;
1606
+ [EffectTypeId] = effectVariance;
1607
+ constructor(_op) {
1608
+ this._op = _op;
1609
+ // @ts-expect-error
1610
+ this._tag = _op;
1611
+ }
1612
+ [symbol$1](that) {
1613
+ return this === that;
1614
+ }
1615
+ [symbol]() {
1616
+ return random(this);
1617
+ }
1618
+ get cause() {
1619
+ return this.i0;
1620
+ }
1621
+ pipe() {
1622
+ return pipeArguments(this, arguments);
1623
+ }
1624
+ toJSON() {
1625
+ return {
1626
+ _id: "Exit",
1627
+ _tag: this._op,
1628
+ cause: this.cause.toJSON()
1629
+ };
1630
+ }
1631
+ toString() {
1632
+ return toString(this.toJSON());
1633
+ }
1634
+ [NodeInspectSymbol]() {
1635
+ return this.toJSON();
1636
+ }
1637
+ }
1638
+
1639
+ /** @internal */
1640
+ class EffectPrimitiveSuccess {
1641
+ i0 = undefined;
1642
+ i1 = undefined;
1643
+ i2 = undefined;
1644
+ trace = undefined;
1645
+ [EffectTypeId] = effectVariance;
1646
+ constructor(_op) {
1647
+ this._op = _op;
1648
+ // @ts-expect-error
1649
+ this._tag = _op;
1650
+ }
1651
+ [symbol$1](that) {
1652
+ return this === that;
1653
+ }
1654
+ [symbol]() {
1655
+ return random(this);
1656
+ }
1657
+ get value() {
1658
+ return this.i0;
1659
+ }
1660
+ pipe() {
1661
+ return pipeArguments(this, arguments);
1662
+ }
1663
+ toJSON() {
1664
+ return {
1665
+ _id: "Exit",
1666
+ _tag: this._op,
1667
+ value: toJSON(this.value)
1668
+ };
1669
+ }
1670
+ toString() {
1671
+ return toString(this.toJSON());
1672
+ }
1673
+ [NodeInspectSymbol]() {
1674
+ return this.toJSON();
1675
+ }
1676
+ }
1677
+
1678
+ /** @internal */
1679
+ const effectVariance = {
1680
+ _R: _ => _,
1681
+ _E: _ => _,
1682
+ _A: _ => _
1683
+ };
1684
+
1685
+ /** @internal */
1686
+
1687
+ /** @internal */
1688
+
1689
+ /** @internal */
1690
+
1691
+ /** @internal */
1692
+
1693
+ /** @internal */
1694
+
1695
+ /** @internal */
1696
+
1697
+ /** @internal */
1698
+
1699
+ /** @internal */
1700
+
1701
+ /** @internal */
1702
+
1703
+ /** @internal */
1704
+
1705
+ /** @internal */
1706
+
1707
+ /** @internal */
1708
+
1709
+ /** @internal */
1710
+
1711
+ /** @internal */
1712
+
1713
+ /** @internal */
1714
+
1715
+ /** @internal */
1716
+
1717
+ /** @internal */
1718
+ const isEffect = u => typeof u === "object" && u != null && EffectTypeId in u;
1719
+
1720
+ /* @internal */
1721
+ const withFiberRuntime = withRuntime => {
1722
+ const effect = new EffectPrimitive(OP_WITH_RUNTIME);
1723
+ effect.i0 = withRuntime;
1724
+ return effect;
1725
+ };
1726
+
1727
+ /* @internal */
1728
+ const acquireUseRelease = /*#__PURE__*/dual(3, (acquire, use, release) => uninterruptibleMask(restore => flatMap(acquire, a => flatMap(exit(suspend(() => restore(step(use(a))))), exit => {
1729
+ if (exit._tag === "Success" && exit.value._op === "Blocked") {
1730
+ const value = exit.value;
1731
+ return blocked(value.i0, acquireUseRelease(succeed(a), () => value.i1, release));
1732
+ }
1733
+ const flat = exitFlatten(exit);
1734
+ return suspend(() => release(a, flat)).pipe(matchCauseEffect({
1735
+ onFailure: cause => {
1736
+ switch (flat._tag) {
1737
+ case OP_FAILURE:
1738
+ {
1739
+ return failCause(parallel(flat.i0, cause));
1740
+ }
1741
+ case OP_SUCCESS:
1742
+ {
1743
+ return failCause(cause);
1744
+ }
1745
+ }
1746
+ },
1747
+ onSuccess: () => flat
1748
+ }));
1749
+ }))));
1750
+
1751
+ /* @internal */
1752
+ const as = /*#__PURE__*/dual(2, (self, value) => flatMap(self, () => succeed(value)));
1753
+
1754
+ /* @internal */
1755
+ const asUnit = self => as(self, void 0);
1756
+
1757
+ /* @internal */
1758
+ const async = (register, blockingOn = none$1) => suspend(() => {
1759
+ let cancelerRef = undefined;
1760
+ let controllerRef = undefined;
1761
+ const effect = new EffectPrimitive(OP_ASYNC);
1762
+ if (register.length !== 1) {
1763
+ const controller = new AbortController();
1764
+ controllerRef = controller;
1765
+ effect.i0 = resume => {
1766
+ cancelerRef = register(resume, controller.signal);
1767
+ };
1768
+ } else {
1769
+ effect.i0 = resume => {
1770
+ // @ts-expect-error
1771
+ cancelerRef = register(resume);
1772
+ };
1773
+ }
1774
+ effect.i1 = blockingOn;
1775
+ return onInterrupt(effect, () => {
1776
+ if (controllerRef) {
1777
+ controllerRef.abort();
1778
+ }
1779
+ return cancelerRef ?? unit;
1780
+ });
1781
+ });
1782
+
1783
+ /* @internal */
1784
+ const asyncEither = (register, blockingOn = none$1) => async(resume => {
1785
+ const result = register(resume);
1786
+ if (isRight(result)) {
1787
+ resume(result.right);
1788
+ } else {
1789
+ return result.left;
1790
+ }
1791
+ }, blockingOn);
1792
+
1793
+ /* @internal */
1794
+ const catchAllCause = /*#__PURE__*/dual(2, (self, f) => {
1795
+ const effect = new EffectPrimitive(OP_ON_FAILURE);
1796
+ effect.i0 = self;
1797
+ effect.i1 = f;
1798
+ return effect;
1799
+ });
1800
+
1801
+ /* @internal */
1802
+ const catchAll = /*#__PURE__*/dual(2, (self, f) => matchEffect(self, {
1803
+ onFailure: f,
1804
+ onSuccess: succeed
1805
+ }));
1806
+
1807
+ /**
1808
+ * @macro identity
1809
+ * @internal
1810
+ */
1811
+ const unified = f => (...args) => f(...args);
1812
+
1813
+ /* @internal */
1814
+ const catchIf = /*#__PURE__*/dual(3, (self, predicate, f) => catchAllCause(self, cause => {
1815
+ const either = failureOrCause(cause);
1816
+ switch (either._tag) {
1817
+ case "Left":
1818
+ {
1819
+ return predicate(either.left) ? f(either.left) : failCause(cause);
1820
+ }
1821
+ case "Right":
1822
+ {
1823
+ return failCause(either.right);
1824
+ }
1825
+ }
1826
+ }));
1827
+
1828
+ /* @internal */
1829
+ const catchSome = /*#__PURE__*/dual(2, (self, pf) => catchAllCause(self, cause => {
1830
+ const either = failureOrCause(cause);
1831
+ switch (either._tag) {
1832
+ case "Left":
1833
+ {
1834
+ return pipe(pf(either.left), getOrElse(() => failCause(cause)));
1835
+ }
1836
+ case "Right":
1837
+ {
1838
+ return failCause(either.right);
1839
+ }
1840
+ }
1841
+ }));
1842
+
1843
+ /* @internal */
1844
+ const checkInterruptible = f => withFiberRuntime((_, status) => f(interruption(status.runtimeFlags)));
1845
+ const spanSymbol = /*#__PURE__*/Symbol.for("effect/SpanAnnotation");
1846
+ const originalSymbol = /*#__PURE__*/Symbol.for("effect/OriginalAnnotation");
1847
+
1848
+ /* @internal */
1849
+ const originalInstance = obj => {
1850
+ if (typeof obj === "object" && obj !== null && originalSymbol in obj) {
1851
+ // @ts-expect-error
1852
+ return obj[originalSymbol];
1853
+ }
1854
+ return obj;
1855
+ };
1856
+
1857
+ /* @internal */
1858
+ const capture = (obj, span) => {
1859
+ if (isCons(span)) {
1860
+ const head = span.head;
1861
+ if (head._tag === "Span") {
1862
+ return new Proxy(obj, {
1863
+ has(target, p) {
1864
+ return p === spanSymbol || p === originalSymbol || p in target;
1865
+ },
1866
+ get(target, p) {
1867
+ if (p === spanSymbol) {
1868
+ return head;
1869
+ }
1870
+ if (p === originalSymbol) {
1871
+ return obj;
1872
+ }
1873
+ // @ts-expect-error
1874
+ return target[p];
1875
+ }
1876
+ });
1877
+ }
1878
+ }
1879
+ return obj;
1880
+ };
1881
+
1882
+ /* @internal */
1883
+ const die = defect => typeof defect === "object" && defect !== null && !(spanSymbol in defect) ? withFiberRuntime(fiber => failCause(die$1(capture(defect, fiber.getFiberRef(currentTracerSpan))))) : failCause(die$1(defect));
1884
+
1885
+ /* @internal */
1886
+ const dieMessage = message => failCauseSync(() => die$1(RuntimeException(message)));
1887
+
1888
+ /* @internal */
1889
+ const dieSync = evaluate => flatMap(sync(evaluate), die);
1890
+
1891
+ /* @internal */
1892
+ const either = self => matchEffect(self, {
1893
+ onFailure: e => succeed(left(e)),
1894
+ onSuccess: a => succeed(right(a))
1895
+ });
1896
+
1897
+ /* @internal */
1898
+ const context = () => suspend(() => fiberRefGet(currentContext));
1899
+
1900
+ /* @internal */
1901
+ const contextWithEffect = f => flatMap(context(), f);
1902
+
1903
+ /* @internal */
1904
+ const exit = self => matchCause(self, {
1905
+ onFailure: exitFailCause,
1906
+ onSuccess: exitSucceed
1907
+ });
1908
+
1909
+ /* @internal */
1910
+ const fail = error => typeof error === "object" && error !== null && !(spanSymbol in error) ? withFiberRuntime(fiber => failCause(fail$1(capture(error, fiber.getFiberRef(currentTracerSpan))))) : failCause(fail$1(error));
1911
+
1912
+ /* @internal */
1913
+ const failSync = evaluate => flatMap(sync(evaluate), fail);
1914
+
1915
+ /* @internal */
1916
+ const failCause = cause => {
1917
+ const effect = new EffectPrimitiveFailure(OP_FAILURE);
1918
+ effect.i0 = cause;
1919
+ return effect;
1920
+ };
1921
+
1922
+ /* @internal */
1923
+ const failCauseSync = evaluate => flatMap(sync(evaluate), failCause);
1924
+
1925
+ /* @internal */
1926
+ const fiberId = /*#__PURE__*/withFiberRuntime(state => succeed(state.id()));
1927
+
1928
+ /* @internal */
1929
+ const fiberIdWith = f => withFiberRuntime(state => f(state.id()));
1930
+
1931
+ /* @internal */
1932
+ const flatMap = /*#__PURE__*/dual(2, (self, f) => {
1933
+ const effect = new EffectPrimitive(OP_ON_SUCCESS);
1934
+ effect.i0 = self;
1935
+ effect.i1 = f;
1936
+ return effect;
1937
+ });
1938
+
1939
+ /* @internal */
1940
+ const step = self => {
1941
+ const effect = new EffectPrimitive("OnStep");
1942
+ effect.i0 = self;
1943
+ effect.i1 = exitSucceed;
1944
+ return effect;
1945
+ };
1946
+
1947
+ /* @internal */
1948
+ const flatMapStep = (self, f) => {
1949
+ const effect = new EffectPrimitive("OnStep");
1950
+ effect.i0 = self;
1951
+ effect.i1 = f;
1952
+ return effect;
1953
+ };
1954
+
1955
+ /* @internal */
1956
+ const flatten = self => flatMap(self, identity);
1957
+
1958
+ /* @internal */
1959
+ const flip = self => matchEffect(self, {
1960
+ onFailure: succeed,
1961
+ onSuccess: fail
1962
+ });
1963
+
1964
+ /* @internal */
1965
+ const matchCause = /*#__PURE__*/dual(2, (self, {
1966
+ onFailure,
1967
+ onSuccess
1968
+ }) => matchCauseEffect(self, {
1969
+ onFailure: cause => succeed(onFailure(cause)),
1970
+ onSuccess: a => succeed(onSuccess(a))
1971
+ }));
1972
+
1973
+ /* @internal */
1974
+ const matchCauseEffect = /*#__PURE__*/dual(2, (self, {
1975
+ onFailure,
1976
+ onSuccess
1977
+ }) => {
1978
+ const effect = new EffectPrimitive(OP_ON_SUCCESS_AND_FAILURE);
1979
+ effect.i0 = self;
1980
+ effect.i1 = onFailure;
1981
+ effect.i2 = onSuccess;
1982
+ return effect;
1983
+ });
1984
+
1985
+ /* @internal */
1986
+ const matchEffect = /*#__PURE__*/dual(2, (self, {
1987
+ onFailure,
1988
+ onSuccess
1989
+ }) => matchCauseEffect(self, {
1990
+ onFailure: cause => {
1991
+ const failures$1 = failures(cause);
1992
+ const defects$1 = defects(cause);
1993
+ if (defects$1.length > 0) {
1994
+ return failCause(electFailures(cause));
1995
+ }
1996
+ if (failures$1.length > 0) {
1997
+ return onFailure(unsafeHead$1(failures$1));
1998
+ }
1999
+ return failCause(cause);
2000
+ },
2001
+ onSuccess
2002
+ }));
2003
+
2004
+ /* @internal */
2005
+ const forEachSequential = /*#__PURE__*/dual(2, (self, f) => suspend(() => {
2006
+ const arr = fromIterable$1(self);
2007
+ const ret = new Array(arr.length);
2008
+ let i = 0;
2009
+ return as(whileLoop({
2010
+ while: () => i < arr.length,
2011
+ body: () => f(arr[i], i),
2012
+ step: b => {
2013
+ ret[i++] = b;
2014
+ }
2015
+ }), ret);
2016
+ }));
2017
+
2018
+ /* @internal */
2019
+ const forEachSequentialDiscard = /*#__PURE__*/dual(2, (self, f) => suspend(() => {
2020
+ const arr = fromIterable$1(self);
2021
+ let i = 0;
2022
+ return whileLoop({
2023
+ while: () => i < arr.length,
2024
+ body: () => f(arr[i], i),
2025
+ step: () => {
2026
+ i++;
2027
+ }
2028
+ });
2029
+ }));
2030
+
2031
+ /* @internal */
2032
+ const if_ = /*#__PURE__*/dual(args => typeof args[0] === "boolean" || isEffect(args[0]), (self, {
2033
+ onFalse,
2034
+ onTrue
2035
+ }) => typeof self === "boolean" ? self ? onTrue : onFalse : flatMap(self, unified(b => b ? onTrue : onFalse)));
2036
+
2037
+ /* @internal */
2038
+ const interrupt = /*#__PURE__*/flatMap(fiberId, fiberId => interruptWith(fiberId));
2039
+
2040
+ /* @internal */
2041
+ const interruptWith = fiberId => failCause(interrupt$1(fiberId));
2042
+
2043
+ /* @internal */
2044
+ const interruptible = self => {
2045
+ const effect = new EffectPrimitive(OP_UPDATE_RUNTIME_FLAGS);
2046
+ effect.i0 = enable(Interruption);
2047
+ const _continue = orBlock => {
2048
+ if (orBlock._tag === "Blocked") {
2049
+ return blocked(orBlock.i0, interruptible(orBlock.i1));
2050
+ } else {
2051
+ return orBlock;
2052
+ }
2053
+ };
2054
+ effect.i1 = () => flatMapStep(self, _continue);
2055
+ return effect;
2056
+ };
2057
+
2058
+ /* @internal */
2059
+ const interruptibleMask = f => {
2060
+ const effect = new EffectPrimitive(OP_UPDATE_RUNTIME_FLAGS);
2061
+ effect.i0 = enable(Interruption);
2062
+ const _continue = step => {
2063
+ if (step._op === "Blocked") {
2064
+ return blocked(step.i0, interruptible(step.i1));
2065
+ }
2066
+ return step;
2067
+ };
2068
+ effect.i1 = oldFlags => interruption(oldFlags) ? step(f(interruptible)) : step(f(uninterruptible));
2069
+ return flatMap(effect, _continue);
2070
+ };
2071
+
2072
+ /* @internal */
2073
+ const intoDeferred = /*#__PURE__*/dual(2, (self, deferred) => uninterruptibleMask(restore => flatMap(exit(restore(self)), exit => deferredDone(deferred, exit))));
2074
+
2075
+ /* @internal */
2076
+ const map = /*#__PURE__*/dual(2, (self, f) => flatMap(self, a => sync(() => f(a))));
2077
+
2078
+ /* @internal */
2079
+ const mapBoth = /*#__PURE__*/dual(2, (self, {
2080
+ onFailure,
2081
+ onSuccess
2082
+ }) => matchEffect(self, {
2083
+ onFailure: e => failSync(() => onFailure(e)),
2084
+ onSuccess: a => sync(() => onSuccess(a))
2085
+ }));
2086
+
2087
+ /* @internal */
2088
+ const mapError = /*#__PURE__*/dual(2, (self, f) => matchCauseEffect(self, {
2089
+ onFailure: cause => {
2090
+ const either = failureOrCause(cause);
2091
+ switch (either._tag) {
2092
+ case "Left":
2093
+ {
2094
+ return failSync(() => f(either.left));
2095
+ }
2096
+ case "Right":
2097
+ {
2098
+ return failCause(either.right);
2099
+ }
2100
+ }
2101
+ },
2102
+ onSuccess: succeed
2103
+ }));
2104
+
2105
+ /* @internal */
2106
+ const onError = /*#__PURE__*/dual(2, (self, cleanup) => onExit(self, unified(exit => exitIsSuccess(exit) ? unit : cleanup(exit.i0))));
2107
+
2108
+ /* @internal */
2109
+ const onExit = /*#__PURE__*/dual(2, (self, cleanup) => uninterruptibleMask(restore => matchCauseEffect(restore(self), {
2110
+ onFailure: cause1 => {
2111
+ const result = exitFailCause(cause1);
2112
+ return matchCauseEffect(cleanup(result), {
2113
+ onFailure: cause2 => exitFailCause(sequential(cause1, cause2)),
2114
+ onSuccess: () => result
2115
+ });
2116
+ },
2117
+ onSuccess: success => {
2118
+ const result = exitSucceed(success);
2119
+ return zipRight(cleanup(result), result);
2120
+ }
2121
+ })));
2122
+
2123
+ /* @internal */
2124
+ const onInterrupt = /*#__PURE__*/dual(2, (self, cleanup) => onExit(self, exitMatch({
2125
+ onFailure: cause => isInterruptedOnly(cause) ? asUnit(cleanup(interruptors(cause))) : unit,
2126
+ onSuccess: () => unit
2127
+ })));
2128
+
2129
+ /* @internal */
2130
+ const orElse = /*#__PURE__*/dual(2, (self, that) => attemptOrElse(self, that, succeed));
2131
+
2132
+ /* @internal */
2133
+ const orDie = self => orDieWith(self, identity);
2134
+
2135
+ /* @internal */
2136
+ const orDieWith = /*#__PURE__*/dual(2, (self, f) => matchEffect(self, {
2137
+ onFailure: e => die(f(e)),
2138
+ onSuccess: succeed
2139
+ }));
2140
+
2141
+ /* @internal */
2142
+ const partitionMap = (elements, f) => fromIterable$1(elements).reduceRight(([lefts, rights], current) => {
2143
+ const either = f(current);
2144
+ switch (either._tag) {
2145
+ case "Left":
2146
+ {
2147
+ return [[either.left, ...lefts], rights];
2148
+ }
2149
+ case "Right":
2150
+ {
2151
+ return [lefts, [either.right, ...rights]];
2152
+ }
2153
+ }
2154
+ }, [new Array(), new Array()]);
2155
+
2156
+ /* @internal */
2157
+ const provideContext = /*#__PURE__*/dual(2, (self, context) => fiberRefLocally(currentContext, context)(self));
2158
+
2159
+ /* @internal */
2160
+ const provideSomeContext = /*#__PURE__*/dual(2, (self, context) => fiberRefLocallyWith(currentContext, parent => merge$1(parent, context))(self));
2161
+
2162
+ /* @internal */
2163
+ const mapInputContext = /*#__PURE__*/dual(2, (self, f) => contextWithEffect(context => provideContext(self, f(context))));
2164
+
2165
+ /* @internal */
2166
+ const runtimeFlags = /*#__PURE__*/withFiberRuntime((_, status) => succeed(status.runtimeFlags));
2167
+
2168
+ /* @internal */
2169
+ const succeed = value => {
2170
+ const effect = new EffectPrimitiveSuccess(OP_SUCCESS);
2171
+ effect.i0 = value;
2172
+ return effect;
2173
+ };
2174
+
2175
+ /* @internal */
2176
+ const suspend = effect => flatMap(sync(effect), identity);
2177
+
2178
+ /* @internal */
2179
+ const sync = evaluate => {
2180
+ const effect = new EffectPrimitive(OP_SYNC);
2181
+ effect.i0 = evaluate;
2182
+ return effect;
2183
+ };
2184
+
2185
+ /* @internal */
2186
+ const tap = /*#__PURE__*/dual(2, (self, f) => flatMap(self, a => as(f(a), a)));
2187
+
2188
+ /* @internal */
2189
+ const transplant = f => withFiberRuntime(state => {
2190
+ const scopeOverride = state.getFiberRef(currentForkScopeOverride);
2191
+ const scope = pipe(scopeOverride, getOrElse(() => state.scope()));
2192
+ return f(fiberRefLocally(currentForkScopeOverride, some(scope)));
2193
+ });
2194
+
2195
+ /* @internal */
2196
+ const attemptOrElse = /*#__PURE__*/dual(3, (self, that, onSuccess) => matchCauseEffect(self, {
2197
+ onFailure: cause => {
2198
+ const defects$1 = defects(cause);
2199
+ if (defects$1.length > 0) {
2200
+ return failCause(getOrThrow(keepDefectsAndElectFailures(cause)));
2201
+ }
2202
+ return that();
2203
+ },
2204
+ onSuccess
2205
+ }));
2206
+
2207
+ /* @internal */
2208
+ const uninterruptible = self => {
2209
+ const effect = new EffectPrimitive(OP_UPDATE_RUNTIME_FLAGS);
2210
+ effect.i0 = disable(Interruption);
2211
+ effect.i1 = () => flatMapStep(self, _continue);
2212
+ const _continue = orBlock => {
2213
+ if (orBlock._tag === "Blocked") {
2214
+ return blocked(orBlock.i0, uninterruptible(orBlock.i1));
2215
+ } else {
2216
+ return orBlock;
2217
+ }
2218
+ };
2219
+ return effect;
2220
+ };
2221
+
2222
+ /* @internal */
2223
+ const uninterruptibleMask = f => {
2224
+ const effect = new EffectPrimitive(OP_UPDATE_RUNTIME_FLAGS);
2225
+ effect.i0 = disable(Interruption);
2226
+ const _continue = step => {
2227
+ if (step._op === "Blocked") {
2228
+ return blocked(step.i0, uninterruptible(step.i1));
2229
+ }
2230
+ return step;
2231
+ };
2232
+ effect.i1 = oldFlags => interruption(oldFlags) ? step(f(interruptible)) : step(f(uninterruptible));
2233
+ return flatMap(effect, _continue);
2234
+ };
2235
+
2236
+ /* @internal */
2237
+ const unit = /*#__PURE__*/succeed(void 0);
2238
+
2239
+ /* @internal */
2240
+ const updateRuntimeFlags = patch => {
2241
+ const effect = new EffectPrimitive(OP_UPDATE_RUNTIME_FLAGS);
2242
+ effect.i0 = patch;
2243
+ effect.i1 = void 0;
2244
+ return effect;
2245
+ };
2246
+
2247
+ /* @internal */
2248
+ const whenEffect = /*#__PURE__*/dual(2, (self, predicate) => flatMap(predicate, b => {
2249
+ if (b) {
2250
+ return pipe(self, map(some));
2251
+ }
2252
+ return succeed(none());
2253
+ }));
2254
+
2255
+ /* @internal */
2256
+ const whileLoop = options => {
2257
+ const effect = new EffectPrimitive(OP_WHILE);
2258
+ effect.i0 = options.while;
2259
+ effect.i1 = options.body;
2260
+ effect.i2 = options.step;
2261
+ return effect;
2262
+ };
2263
+
2264
+ /* @internal */
2265
+ const withConcurrency = /*#__PURE__*/dual(2, (self, concurrency) => fiberRefLocally(self, currentConcurrency, concurrency));
2266
+
2267
+ /* @internal */
2268
+ const withRequestBatching = /*#__PURE__*/dual(2, (self, requestBatching) => fiberRefLocally(self, currentRequestBatching, requestBatching));
2269
+
2270
+ /* @internal */
2271
+ const withRuntimeFlags = /*#__PURE__*/dual(2, (self, update) => {
2272
+ const effect = new EffectPrimitive(OP_UPDATE_RUNTIME_FLAGS);
2273
+ effect.i0 = update;
2274
+ effect.i1 = () => self;
2275
+ return effect;
2276
+ });
2277
+
2278
+ /** @internal */
2279
+ const withTracerTiming = /*#__PURE__*/dual(2, (effect, enabled) => fiberRefLocally(effect, currentTracerTimingEnabled, enabled));
2280
+
2281
+ /* @internal */
2282
+ const yieldNow = options => {
2283
+ const effect = new EffectPrimitive(OP_YIELD);
2284
+ return typeof options?.priority !== "undefined" ? withSchedulingPriority(options.priority)(effect) : effect;
2285
+ };
2286
+
2287
+ /* @internal */
2288
+ const zip = /*#__PURE__*/dual(2, (self, that) => flatMap(self, a => map(that, b => [a, b])));
2289
+
2290
+ /* @internal */
2291
+ const zipLeft = /*#__PURE__*/dual(2, (self, that) => flatMap(self, a => as(that, a)));
2292
+
2293
+ /* @internal */
2294
+ const zipRight = /*#__PURE__*/dual(2, (self, that) => flatMap(self, () => that));
2295
+
2296
+ /* @internal */
2297
+ const zipWith = /*#__PURE__*/dual(3, (self, that, f) => flatMap(self, a => map(that, b => f(a, b))));
2298
+
2299
+ /* @internal */
2300
+ const never = /*#__PURE__*/asyncEither(() => {
2301
+ const interval = setInterval(() => {
2302
+ //
2303
+ }, 2 ** 31 - 1);
2304
+ return left(sync(() => clearInterval(interval)));
2305
+ });
2306
+
2307
+ // -----------------------------------------------------------------------------
2308
+ // Fiber
2309
+ // -----------------------------------------------------------------------------
2310
+
2311
+ /* @internal */
2312
+ const interruptFiber = self => flatMap(fiberId, fiberId => pipe(self, interruptAsFiber(fiberId)));
2313
+
2314
+ /* @internal */
2315
+ const interruptAsFiber = /*#__PURE__*/dual(2, (self, fiberId) => flatMap(self.interruptAsFork(fiberId), () => self.await()));
2316
+
2317
+ // -----------------------------------------------------------------------------
2318
+ // LogLevel
2319
+ // -----------------------------------------------------------------------------
2320
+
2321
+ /** @internal */
2322
+ const logLevelAll = {
2323
+ _tag: "All",
2324
+ syslog: 0,
2325
+ label: "ALL",
2326
+ ordinal: Number.MIN_SAFE_INTEGER,
2327
+ pipe() {
2328
+ return pipeArguments(this, arguments);
2329
+ }
2330
+ };
2331
+
2332
+ /** @internal */
2333
+ const logLevelFatal = {
2334
+ _tag: "Fatal",
2335
+ syslog: 2,
2336
+ label: "FATAL",
2337
+ ordinal: 50000,
2338
+ pipe() {
2339
+ return pipeArguments(this, arguments);
2340
+ }
2341
+ };
2342
+
2343
+ /** @internal */
2344
+ const logLevelError = {
2345
+ _tag: "Error",
2346
+ syslog: 3,
2347
+ label: "ERROR",
2348
+ ordinal: 40000,
2349
+ pipe() {
2350
+ return pipeArguments(this, arguments);
2351
+ }
2352
+ };
2353
+
2354
+ /** @internal */
2355
+ const logLevelWarning = {
2356
+ _tag: "Warning",
2357
+ syslog: 4,
2358
+ label: "WARN",
2359
+ ordinal: 30000,
2360
+ pipe() {
2361
+ return pipeArguments(this, arguments);
2362
+ }
2363
+ };
2364
+
2365
+ /** @internal */
2366
+ const logLevelInfo = {
2367
+ _tag: "Info",
2368
+ syslog: 6,
2369
+ label: "INFO",
2370
+ ordinal: 20000,
2371
+ pipe() {
2372
+ return pipeArguments(this, arguments);
2373
+ }
2374
+ };
2375
+
2376
+ /** @internal */
2377
+ const logLevelDebug = {
2378
+ _tag: "Debug",
2379
+ syslog: 7,
2380
+ label: "DEBUG",
2381
+ ordinal: 10000,
2382
+ pipe() {
2383
+ return pipeArguments(this, arguments);
2384
+ }
2385
+ };
2386
+
2387
+ /** @internal */
2388
+ const logLevelTrace = {
2389
+ _tag: "Trace",
2390
+ syslog: 7,
2391
+ label: "TRACE",
2392
+ ordinal: 0,
2393
+ pipe() {
2394
+ return pipeArguments(this, arguments);
2395
+ }
2396
+ };
2397
+
2398
+ /** @internal */
2399
+ const logLevelNone = {
2400
+ _tag: "None",
2401
+ syslog: 7,
2402
+ label: "OFF",
2403
+ ordinal: Number.MAX_SAFE_INTEGER,
2404
+ pipe() {
2405
+ return pipeArguments(this, arguments);
2406
+ }
2407
+ };
2408
+
2409
+ /** @internal */
2410
+ const allLogLevels = [logLevelAll, logLevelTrace, logLevelDebug, logLevelInfo, logLevelWarning, logLevelError, logLevelFatal, logLevelNone];
2411
+
2412
+ // -----------------------------------------------------------------------------
2413
+ // FiberRef
2414
+ // -----------------------------------------------------------------------------
2415
+
2416
+ /** @internal */
2417
+ const FiberRefSymbolKey = "effect/FiberRef";
2418
+
2419
+ /** @internal */
2420
+ const FiberRefTypeId = /*#__PURE__*/Symbol.for(FiberRefSymbolKey);
2421
+
2422
+ /** @internal */
2423
+ const fiberRefVariance = {
2424
+ _A: _ => _
2425
+ };
2426
+
2427
+ /* @internal */
2428
+ const fiberRefGet = self => fiberRefModify(self, a => [a, a]);
2429
+
2430
+ /* @internal */
2431
+ const fiberRefGetAndSet = /*#__PURE__*/dual(2, (self, value) => fiberRefModify(self, v => [v, value]));
2432
+
2433
+ /* @internal */
2434
+ const fiberRefGetAndUpdate = /*#__PURE__*/dual(2, (self, f) => fiberRefModify(self, v => [v, f(v)]));
2435
+
2436
+ /* @internal */
2437
+ const fiberRefGetAndUpdateSome = /*#__PURE__*/dual(2, (self, pf) => fiberRefModify(self, v => [v, getOrElse(pf(v), () => v)]));
2438
+
2439
+ /* @internal */
2440
+ const fiberRefGetWith = /*#__PURE__*/dual(2, (self, f) => flatMap(fiberRefGet(self), f));
2441
+
2442
+ /* @internal */
2443
+ const fiberRefSet = /*#__PURE__*/dual(2, (self, value) => fiberRefModify(self, () => [void 0, value]));
2444
+
2445
+ /* @internal */
2446
+ const fiberRefDelete = self => withFiberRuntime(state => {
2447
+ state.unsafeDeleteFiberRef(self);
2448
+ return unit;
2449
+ });
2450
+
2451
+ /* @internal */
2452
+ const fiberRefReset = self => fiberRefSet(self, self.initial);
2453
+
2454
+ /* @internal */
2455
+ const fiberRefModify = /*#__PURE__*/dual(2, (self, f) => withFiberRuntime(state => {
2456
+ const [b, a] = f(state.getFiberRef(self));
2457
+ state.setFiberRef(self, a);
2458
+ return succeed(b);
2459
+ }));
2460
+
2461
+ /* @internal */
2462
+ const fiberRefModifySome = (self, def, f) => fiberRefModify(self, v => getOrElse(f(v), () => [def, v]));
2463
+
2464
+ /* @internal */
2465
+ const fiberRefUpdate = /*#__PURE__*/dual(2, (self, f) => fiberRefModify(self, v => [void 0, f(v)]));
2466
+
2467
+ /* @internal */
2468
+ const fiberRefUpdateSome = /*#__PURE__*/dual(2, (self, pf) => fiberRefModify(self, v => [void 0, getOrElse(pf(v), () => v)]));
2469
+
2470
+ /* @internal */
2471
+ const fiberRefUpdateAndGet = /*#__PURE__*/dual(2, (self, f) => fiberRefModify(self, v => {
2472
+ const result = f(v);
2473
+ return [result, result];
2474
+ }));
2475
+
2476
+ /* @internal */
2477
+ const fiberRefUpdateSomeAndGet = /*#__PURE__*/dual(2, (self, pf) => fiberRefModify(self, v => {
2478
+ const result = getOrElse(pf(v), () => v);
2479
+ return [result, result];
2480
+ }));
2481
+
2482
+ // circular
2483
+ /** @internal */
2484
+ const RequestResolverSymbolKey = "effect/RequestResolver";
2485
+
2486
+ /** @internal */
2487
+ const RequestResolverTypeId = /*#__PURE__*/Symbol.for(RequestResolverSymbolKey);
2488
+ const dataSourceVariance = {
2489
+ _R: _ => _,
2490
+ _A: _ => _
2491
+ };
2492
+
2493
+ /** @internal */
2494
+ class RequestResolverImpl {
2495
+ [RequestResolverTypeId] = dataSourceVariance;
2496
+ constructor(runAll, target) {
2497
+ this.runAll = runAll;
2498
+ this.target = target;
2499
+ this.runAll = runAll;
2500
+ }
2501
+ [symbol]() {
2502
+ return this.target ? hash(this.target) : random(this);
2503
+ }
2504
+ [symbol$1](that) {
2505
+ return this.target ? isRequestResolver(that) && equals(this.target, that.target) : this === that;
2506
+ }
2507
+ identified(...ids) {
2508
+ return new RequestResolverImpl(this.runAll, fromIterable(ids));
2509
+ }
2510
+ pipe() {
2511
+ return pipeArguments(this, arguments);
2512
+ }
2513
+ }
2514
+
2515
+ /** @internal */
2516
+ const isRequestResolver = u => typeof u === "object" && u != null && RequestResolverTypeId in u;
2517
+
2518
+ // end
2519
+
2520
+ /** @internal */
2521
+ const resolverLocally = /*#__PURE__*/dual(3, (use, self, value) => new RequestResolverImpl(requests => fiberRefLocally(use.runAll(requests), self, value), make$2("Locally", use, self, value)));
2522
+
2523
+ /** @internal */
2524
+ const requestBlockLocally = (self, ref, value) => reduce(self, LocallyReducer(ref, value));
2525
+ const LocallyReducer = (ref, value) => ({
2526
+ emptyCase: () => empty,
2527
+ parCase: (left, right) => par(left, right),
2528
+ seqCase: (left, right) => seq(left, right),
2529
+ singleCase: (dataSource, blockedRequest) => single(resolverLocally(dataSource, ref, value), blockedRequest)
2530
+ });
2531
+
2532
+ /* @internal */
2533
+ const fiberRefLocally = /*#__PURE__*/dual(3, (use, self, value) => flatMap(acquireUseRelease(zipLeft(fiberRefGet(self), fiberRefSet(self, value)), () => step(use), oldValue => fiberRefSet(self, oldValue)), res => {
2534
+ if (res._op === "Blocked") {
2535
+ return blocked(res.i0, fiberRefLocally(res.i1, self, value));
2536
+ }
2537
+ return res;
2538
+ }));
2539
+
2540
+ /* @internal */
2541
+ const fiberRefLocallyWith = /*#__PURE__*/dual(3, (use, self, f) => fiberRefGetWith(self, a => fiberRefLocally(use, self, f(a))));
2542
+
2543
+ /** @internal */
2544
+ const fiberRefUnsafeMake = (initial, options) => fiberRefUnsafeMakePatch(initial, {
2545
+ differ: update(),
2546
+ fork: options?.fork ?? identity,
2547
+ join: options?.join
2548
+ });
2549
+
2550
+ /** @internal */
2551
+ const fiberRefUnsafeMakeHashSet = initial => {
2552
+ const differ = hashSet();
2553
+ return fiberRefUnsafeMakePatch(initial, {
2554
+ differ,
2555
+ fork: differ.empty
2556
+ });
2557
+ };
2558
+
2559
+ /** @internal */
2560
+ const fiberRefUnsafeMakeContext = initial => {
2561
+ const differ = environment();
2562
+ return fiberRefUnsafeMakePatch(initial, {
2563
+ differ,
2564
+ fork: differ.empty
2565
+ });
2566
+ };
2567
+
2568
+ /** @internal */
2569
+ const fiberRefUnsafeMakePatch = (initial, options) => ({
2570
+ [FiberRefTypeId]: fiberRefVariance,
2571
+ initial,
2572
+ diff: (oldValue, newValue) => options.differ.diff(oldValue, newValue),
2573
+ combine: (first, second) => options.differ.combine(first, second),
2574
+ patch: patch => oldValue => options.differ.patch(patch, oldValue),
2575
+ fork: options.fork,
2576
+ join: options.join ?? ((_, n) => n),
2577
+ pipe() {
2578
+ return pipeArguments(this, arguments);
2579
+ }
2580
+ });
2581
+
2582
+ /** @internal */
2583
+ const fiberRefUnsafeMakeRuntimeFlags = initial => fiberRefUnsafeMakePatch(initial, {
2584
+ differ: differ,
2585
+ fork: differ.empty
2586
+ });
2587
+
2588
+ /** @internal */
2589
+ const currentContext = /*#__PURE__*/fiberRefUnsafeMakeContext( /*#__PURE__*/empty$6());
2590
+
2591
+ /** @internal */
2592
+ const currentSchedulingPriority = /*#__PURE__*/fiberRefUnsafeMake(0);
2593
+
2594
+ /** @internal */
2595
+ const currentMaxOpsBeforeYield = /*#__PURE__*/fiberRefUnsafeMake(2048);
2596
+
2597
+ /** @internal */
2598
+ const currentLogAnnotations = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/FiberRef/currentLogAnnotation"), () => fiberRefUnsafeMake(empty$5()));
2599
+
2600
+ /** @internal */
2601
+ const currentLogLevel = /*#__PURE__*/fiberRefUnsafeMake(logLevelInfo);
2602
+
2603
+ /** @internal */
2604
+ const currentLogSpan = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/FiberRef/currentLogSpan"), () => fiberRefUnsafeMake(empty$4()));
2605
+
2606
+ /** @internal */
2607
+ const withSchedulingPriority = /*#__PURE__*/dual(2, (self, scheduler) => fiberRefLocally(self, currentSchedulingPriority, scheduler));
2608
+
2609
+ /** @internal */
2610
+ const withMaxOpsBeforeYield = /*#__PURE__*/dual(2, (self, scheduler) => fiberRefLocally(self, currentMaxOpsBeforeYield, scheduler));
2611
+
2612
+ /** @internal */
2613
+ const currentConcurrency = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/FiberRef/currentConcurrency"), () => fiberRefUnsafeMake("unbounded"));
2614
+
2615
+ /**
2616
+ * @internal
2617
+ */
2618
+ const currentRequestBatching = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/FiberRef/currentRequestBatching"), () => fiberRefUnsafeMake(true));
2619
+
2620
+ /** @internal */
2621
+ const currentUnhandledErrorLogLevel = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/FiberRef/currentUnhandledErrorLogLevel"), () => fiberRefUnsafeMake(some(logLevelDebug)));
2622
+
2623
+ /** @internal */
2624
+ const withUnhandledErrorLogLevel = /*#__PURE__*/dual(2, (self, level) => fiberRefLocally(self, currentUnhandledErrorLogLevel, level));
2625
+
2626
+ /** @internal */
2627
+ const currentMetricLabels = /*#__PURE__*/fiberRefUnsafeMakeHashSet( /*#__PURE__*/empty$3());
2628
+
2629
+ /* @internal */
2630
+ const metricLabels = /*#__PURE__*/fiberRefGet(currentMetricLabels);
2631
+
2632
+ /** @internal */
2633
+ const currentForkScopeOverride = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/FiberRef/currentForkScopeOverride"), () => fiberRefUnsafeMake(none(), {
2634
+ fork: () => none(),
2635
+ join: (parent, _) => parent
2636
+ }));
2637
+
2638
+ /** @internal */
2639
+ const currentInterruptedCause = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/FiberRef/currentInterruptedCause"), () => fiberRefUnsafeMake(empty$1, {
2640
+ fork: () => empty$1,
2641
+ join: (parent, _) => parent
2642
+ }));
2643
+
2644
+ /** @internal */
2645
+ const currentTracerSpan = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/FiberRef/currentTracerSpan"), () => fiberRefUnsafeMake(empty$4()));
2646
+
2647
+ /** @internal */
2648
+ const currentTracerTimingEnabled = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/FiberRef/currentTracerTiming"), () => fiberRefUnsafeMake(true));
2649
+
2650
+ /** @internal */
2651
+ const currentTracerSpanAnnotations = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/FiberRef/currentTracerSpanAnnotations"), () => fiberRefUnsafeMake(empty$5()));
2652
+
2653
+ /** @internal */
2654
+ const currentTracerSpanLinks = /*#__PURE__*/globalValue( /*#__PURE__*/Symbol.for("effect/FiberRef/currentTracerSpanLinks"), () => fiberRefUnsafeMake(empty$2()));
2655
+
2656
+ // -----------------------------------------------------------------------------
2657
+ // Scope
2658
+ // -----------------------------------------------------------------------------
2659
+
2660
+ /** @internal */
2661
+ const ScopeTypeId = /*#__PURE__*/Symbol.for("effect/Scope");
2662
+
2663
+ /** @internal */
2664
+ const CloseableScopeTypeId = /*#__PURE__*/Symbol.for("effect/CloseableScope");
2665
+
2666
+ /* @internal */
2667
+ const scopeAddFinalizer = (self, finalizer) => self.addFinalizer(() => asUnit(finalizer));
2668
+
2669
+ /* @internal */
2670
+ const scopeAddFinalizerExit = (self, finalizer) => self.addFinalizer(finalizer);
2671
+
2672
+ /* @internal */
2673
+ const scopeClose = (self, exit) => self.close(exit);
2674
+
2675
+ /* @internal */
2676
+ const scopeFork = (self, strategy) => self.fork(strategy);
2677
+
2678
+ // -----------------------------------------------------------------------------
2679
+ // ReleaseMap
2680
+ // -----------------------------------------------------------------------------
2681
+
2682
+ /** @internal */
2683
+ /** @internal */
2684
+ /* @internal */
2685
+ const releaseMapAdd = /*#__PURE__*/dual(2, (self, finalizer) => map(releaseMapAddIfOpen(self, finalizer), match$1({
2686
+ onNone: () => () => unit,
2687
+ onSome: key => exit => releaseMapRelease(key, exit)(self)
2688
+ })));
2689
+
2690
+ /* @internal */
2691
+ const releaseMapRelease = /*#__PURE__*/dual(3, (self, key, exit) => suspend(() => {
2692
+ switch (self.state._tag) {
2693
+ case "Exited":
2694
+ {
2695
+ return unit;
2696
+ }
2697
+ case "Running":
2698
+ {
2699
+ const finalizer = self.state.finalizers.get(key);
2700
+ self.state.finalizers.delete(key);
2701
+ if (finalizer != null) {
2702
+ return self.state.update(finalizer)(exit);
2703
+ }
2704
+ return unit;
2705
+ }
2706
+ }
2707
+ }));
2708
+
2709
+ /* @internal */
2710
+ const releaseMapAddIfOpen = /*#__PURE__*/dual(2, (self, finalizer) => suspend(() => {
2711
+ switch (self.state._tag) {
2712
+ case "Exited":
2713
+ {
2714
+ self.state.nextKey += 1;
2715
+ return as(finalizer(self.state.exit), none());
2716
+ }
2717
+ case "Running":
2718
+ {
2719
+ const key = self.state.nextKey;
2720
+ self.state.finalizers.set(key, finalizer);
2721
+ self.state.nextKey += 1;
2722
+ return succeed(some(key));
2723
+ }
2724
+ }
2725
+ }));
2726
+
2727
+ /* @internal */
2728
+ const releaseMapMake = /*#__PURE__*/sync(() => ({
2729
+ state: {
2730
+ _tag: "Running",
2731
+ nextKey: 0,
2732
+ finalizers: new Map(),
2733
+ update: identity
2734
+ }
2735
+ }));
2736
+
2737
+ // -----------------------------------------------------------------------------
2738
+ // Exit
2739
+ // -----------------------------------------------------------------------------
2740
+
2741
+ /** @internal */
2742
+ const exitIsExit = u => isEffect(u) && "_tag" in u && (u._tag === "Success" || u._tag === "Failure");
2743
+
2744
+ /** @internal */
2745
+ const exitIsFailure = self => self._tag === "Failure";
2746
+
2747
+ /** @internal */
2748
+ const exitIsSuccess = self => self._tag === "Success";
2749
+
2750
+ /** @internal */
2751
+ const exitIsInterrupted = self => {
2752
+ switch (self._tag) {
2753
+ case OP_FAILURE:
2754
+ {
2755
+ return isInterrupted(self.i0);
2756
+ }
2757
+ case OP_SUCCESS:
2758
+ {
2759
+ return false;
2760
+ }
2761
+ }
2762
+ };
2763
+
2764
+ /** @internal */
2765
+ const exitAs = /*#__PURE__*/dual(2, (self, value) => {
2766
+ switch (self._tag) {
2767
+ case OP_FAILURE:
2768
+ {
2769
+ return exitFailCause(self.i0);
2770
+ }
2771
+ case OP_SUCCESS:
2772
+ {
2773
+ return exitSucceed(value);
2774
+ }
2775
+ }
2776
+ });
2777
+
2778
+ /** @internal */
2779
+ const exitAsUnit = self => exitAs(self, void 0);
2780
+
2781
+ /** @internal */
2782
+ const exitCauseOption = self => {
2783
+ switch (self._tag) {
2784
+ case OP_FAILURE:
2785
+ {
2786
+ return some(self.i0);
2787
+ }
2788
+ case OP_SUCCESS:
2789
+ {
2790
+ return none();
2791
+ }
2792
+ }
2793
+ };
2794
+
2795
+ /** @internal */
2796
+ const exitCollectAll = (exits, options) => exitCollectAllInternal(exits, options?.parallel ? parallel : sequential);
2797
+
2798
+ /** @internal */
2799
+ const exitDie = defect => exitFailCause(die$1(defect));
2800
+
2801
+ /** @internal */
2802
+ const exitExists = /*#__PURE__*/dual(2, (self, predicate) => {
2803
+ switch (self._tag) {
2804
+ case OP_FAILURE:
2805
+ {
2806
+ return false;
2807
+ }
2808
+ case OP_SUCCESS:
2809
+ {
2810
+ return predicate(self.i0);
2811
+ }
2812
+ }
2813
+ });
2814
+
2815
+ /** @internal */
2816
+ const exitFail = error => exitFailCause(fail$1(error));
2817
+
2818
+ /** @internal */
2819
+ const exitFailCause = cause => {
2820
+ const effect = new EffectPrimitiveFailure(OP_FAILURE);
2821
+ effect.i0 = cause;
2822
+ return effect;
2823
+ };
2824
+
2825
+ /** @internal */
2826
+ const exitFlatMap = /*#__PURE__*/dual(2, (self, f) => {
2827
+ switch (self._tag) {
2828
+ case OP_FAILURE:
2829
+ {
2830
+ return exitFailCause(self.i0);
2831
+ }
2832
+ case OP_SUCCESS:
2833
+ {
2834
+ return f(self.i0);
2835
+ }
2836
+ }
2837
+ });
2838
+
2839
+ /** @internal */
2840
+ const exitFlatMapEffect = /*#__PURE__*/dual(2, (self, f) => {
2841
+ switch (self._tag) {
2842
+ case OP_FAILURE:
2843
+ {
2844
+ return succeed(exitFailCause(self.i0));
2845
+ }
2846
+ case OP_SUCCESS:
2847
+ {
2848
+ return f(self.i0);
2849
+ }
2850
+ }
2851
+ });
2852
+
2853
+ /** @internal */
2854
+ const exitFlatten = self => pipe(self, exitFlatMap(identity));
2855
+
2856
+ /** @internal */
2857
+ const exitForEachEffect = /*#__PURE__*/dual(2, (self, f) => {
2858
+ switch (self._tag) {
2859
+ case OP_FAILURE:
2860
+ {
2861
+ return succeed(exitFailCause(self.i0));
2862
+ }
2863
+ case OP_SUCCESS:
2864
+ {
2865
+ return exit(f(self.i0));
2866
+ }
2867
+ }
2868
+ });
2869
+
2870
+ /** @internal */
2871
+ const exitFromEither = either => {
2872
+ switch (either._tag) {
2873
+ case "Left":
2874
+ {
2875
+ return exitFail(either.left);
2876
+ }
2877
+ case "Right":
2878
+ {
2879
+ return exitSucceed(either.right);
2880
+ }
2881
+ }
2882
+ };
2883
+
2884
+ /** @internal */
2885
+ const exitFromOption = option => {
2886
+ switch (option._tag) {
2887
+ case "None":
2888
+ {
2889
+ return exitFail(void 0);
2890
+ }
2891
+ case "Some":
2892
+ {
2893
+ return exitSucceed(option.value);
2894
+ }
2895
+ }
2896
+ };
2897
+
2898
+ /** @internal */
2899
+ const exitGetOrElse = /*#__PURE__*/dual(2, (self, orElse) => {
2900
+ switch (self._tag) {
2901
+ case OP_FAILURE:
2902
+ {
2903
+ return orElse(self.i0);
2904
+ }
2905
+ case OP_SUCCESS:
2906
+ {
2907
+ return self.i0;
2908
+ }
2909
+ }
2910
+ });
2911
+
2912
+ /** @internal */
2913
+ const exitInterrupt = fiberId => exitFailCause(interrupt$1(fiberId));
2914
+
2915
+ /** @internal */
2916
+ const exitMap = /*#__PURE__*/dual(2, (self, f) => {
2917
+ switch (self._tag) {
2918
+ case OP_FAILURE:
2919
+ {
2920
+ return exitFailCause(self.i0);
2921
+ }
2922
+ case OP_SUCCESS:
2923
+ {
2924
+ return exitSucceed(f(self.i0));
2925
+ }
2926
+ }
2927
+ });
2928
+
2929
+ /** @internal */
2930
+ const exitMapBoth = /*#__PURE__*/dual(2, (self, {
2931
+ onFailure,
2932
+ onSuccess
2933
+ }) => {
2934
+ switch (self._tag) {
2935
+ case OP_FAILURE:
2936
+ {
2937
+ return exitFailCause(pipe(self.i0, map$1(onFailure)));
2938
+ }
2939
+ case OP_SUCCESS:
2940
+ {
2941
+ return exitSucceed(onSuccess(self.i0));
2942
+ }
2943
+ }
2944
+ });
2945
+
2946
+ /** @internal */
2947
+ const exitMapError = /*#__PURE__*/dual(2, (self, f) => {
2948
+ switch (self._tag) {
2949
+ case OP_FAILURE:
2950
+ {
2951
+ return exitFailCause(pipe(self.i0, map$1(f)));
2952
+ }
2953
+ case OP_SUCCESS:
2954
+ {
2955
+ return exitSucceed(self.i0);
2956
+ }
2957
+ }
2958
+ });
2959
+
2960
+ /** @internal */
2961
+ const exitMapErrorCause = /*#__PURE__*/dual(2, (self, f) => {
2962
+ switch (self._tag) {
2963
+ case OP_FAILURE:
2964
+ {
2965
+ return exitFailCause(f(self.i0));
2966
+ }
2967
+ case OP_SUCCESS:
2968
+ {
2969
+ return exitSucceed(self.i0);
2970
+ }
2971
+ }
2972
+ });
2973
+
2974
+ /** @internal */
2975
+ const exitMatch = /*#__PURE__*/dual(2, (self, {
2976
+ onFailure,
2977
+ onSuccess
2978
+ }) => {
2979
+ switch (self._tag) {
2980
+ case OP_FAILURE:
2981
+ {
2982
+ return onFailure(self.i0);
2983
+ }
2984
+ case OP_SUCCESS:
2985
+ {
2986
+ return onSuccess(self.i0);
2987
+ }
2988
+ }
2989
+ });
2990
+
2991
+ /** @internal */
2992
+ const exitMatchEffect = /*#__PURE__*/dual(2, (self, {
2993
+ onFailure,
2994
+ onSuccess
2995
+ }) => {
2996
+ switch (self._tag) {
2997
+ case OP_FAILURE:
2998
+ {
2999
+ return onFailure(self.i0);
3000
+ }
3001
+ case OP_SUCCESS:
3002
+ {
3003
+ return onSuccess(self.i0);
3004
+ }
3005
+ }
3006
+ });
3007
+
3008
+ /** @internal */
3009
+ const exitSucceed = value => {
3010
+ const effect = new EffectPrimitiveSuccess(OP_SUCCESS);
3011
+ effect.i0 = value;
3012
+ return effect;
3013
+ };
3014
+
3015
+ /** @internal */
3016
+ const exitUnit = /*#__PURE__*/exitSucceed(void 0);
3017
+
3018
+ /** @internal */
3019
+ const exitZip = /*#__PURE__*/dual(2, (self, that) => exitZipWith(self, that, {
3020
+ onSuccess: (a, a2) => [a, a2],
3021
+ onFailure: sequential
3022
+ }));
3023
+
3024
+ /** @internal */
3025
+ const exitZipLeft = /*#__PURE__*/dual(2, (self, that) => exitZipWith(self, that, {
3026
+ onSuccess: (a, _) => a,
3027
+ onFailure: sequential
3028
+ }));
3029
+
3030
+ /** @internal */
3031
+ const exitZipRight = /*#__PURE__*/dual(2, (self, that) => exitZipWith(self, that, {
3032
+ onSuccess: (_, a2) => a2,
3033
+ onFailure: sequential
3034
+ }));
3035
+
3036
+ /** @internal */
3037
+ const exitZipPar = /*#__PURE__*/dual(2, (self, that) => exitZipWith(self, that, {
3038
+ onSuccess: (a, a2) => [a, a2],
3039
+ onFailure: parallel
3040
+ }));
3041
+
3042
+ /** @internal */
3043
+ const exitZipParLeft = /*#__PURE__*/dual(2, (self, that) => exitZipWith(self, that, {
3044
+ onSuccess: (a, _) => a,
3045
+ onFailure: parallel
3046
+ }));
3047
+
3048
+ /** @internal */
3049
+ const exitZipParRight = /*#__PURE__*/dual(2, (self, that) => exitZipWith(self, that, {
3050
+ onSuccess: (_, a2) => a2,
3051
+ onFailure: parallel
3052
+ }));
3053
+
3054
+ /** @internal */
3055
+ const exitZipWith = /*#__PURE__*/dual(3, (self, that, {
3056
+ onFailure,
3057
+ onSuccess
3058
+ }) => {
3059
+ switch (self._tag) {
3060
+ case OP_FAILURE:
3061
+ {
3062
+ switch (that._tag) {
3063
+ case OP_SUCCESS:
3064
+ {
3065
+ return exitFailCause(self.i0);
3066
+ }
3067
+ case OP_FAILURE:
3068
+ {
3069
+ return exitFailCause(onFailure(self.i0, that.i0));
3070
+ }
3071
+ }
3072
+ }
3073
+ case OP_SUCCESS:
3074
+ {
3075
+ switch (that._tag) {
3076
+ case OP_SUCCESS:
3077
+ {
3078
+ return exitSucceed(onSuccess(self.i0, that.i0));
3079
+ }
3080
+ case OP_FAILURE:
3081
+ {
3082
+ return exitFailCause(that.i0);
3083
+ }
3084
+ }
3085
+ }
3086
+ }
3087
+ });
3088
+ const exitCollectAllInternal = (exits, combineCauses) => {
3089
+ const list = fromIterable(exits);
3090
+ if (!isNonEmpty(list)) {
3091
+ return none();
3092
+ }
3093
+ return pipe(tailNonEmpty(list), reduce$2(pipe(headNonEmpty(list), exitMap(of)), (accumulator, current) => pipe(accumulator, exitZipWith(current, {
3094
+ onSuccess: (list, value) => pipe(list, prepend(value)),
3095
+ onFailure: combineCauses
3096
+ }))), exitMap(reverse), exitMap(chunk => Array.from(chunk)), some);
3097
+ };
3098
+
3099
+ // -----------------------------------------------------------------------------
3100
+ // Deferred
3101
+ // -----------------------------------------------------------------------------
3102
+
3103
+ /** @internal */
3104
+ const deferredUnsafeMake = fiberId => ({
3105
+ [DeferredTypeId]: deferredVariance,
3106
+ state: make$3(pending([])),
3107
+ blockingOn: fiberId,
3108
+ pipe() {
3109
+ return pipeArguments(this, arguments);
3110
+ }
3111
+ });
3112
+
3113
+ /* @internal */
3114
+ const deferredMake = () => flatMap(fiberId, id => deferredMakeAs(id));
3115
+
3116
+ /* @internal */
3117
+ const deferredMakeAs = fiberId => sync(() => deferredUnsafeMake(fiberId));
3118
+
3119
+ /* @internal */
3120
+ const deferredAwait = self => asyncEither(k => {
3121
+ const state = get$1(self.state);
3122
+ switch (state._tag) {
3123
+ case OP_STATE_DONE:
3124
+ {
3125
+ return right(state.effect);
3126
+ }
3127
+ case OP_STATE_PENDING:
3128
+ {
3129
+ pipe(self.state, set$1(pending([k, ...state.joiners])));
3130
+ return left(deferredInterruptJoiner(self, k));
3131
+ }
3132
+ }
3133
+ }, self.blockingOn);
3134
+
3135
+ /* @internal */
3136
+ const deferredComplete = /*#__PURE__*/dual(2, (self, effect) => intoDeferred(effect, self));
3137
+
3138
+ /* @internal */
3139
+ const deferredCompleteWith = /*#__PURE__*/dual(2, (self, effect) => sync(() => {
3140
+ const state = get$1(self.state);
3141
+ switch (state._tag) {
3142
+ case OP_STATE_DONE:
3143
+ {
3144
+ return false;
3145
+ }
3146
+ case OP_STATE_PENDING:
3147
+ {
3148
+ pipe(self.state, set$1(done(effect)));
3149
+ for (let i = 0; i < state.joiners.length; i++) {
3150
+ state.joiners[i](effect);
3151
+ }
3152
+ return true;
3153
+ }
3154
+ }
3155
+ }));
3156
+
3157
+ /* @internal */
3158
+ const deferredDone = /*#__PURE__*/dual(2, (self, exit) => deferredCompleteWith(self, exit));
3159
+
3160
+ /* @internal */
3161
+ const deferredFail = /*#__PURE__*/dual(2, (self, error) => deferredCompleteWith(self, fail(error)));
3162
+
3163
+ /* @internal */
3164
+ const deferredFailSync = /*#__PURE__*/dual(2, (self, evaluate) => deferredCompleteWith(self, failSync(evaluate)));
3165
+
3166
+ /* @internal */
3167
+ const deferredFailCause = /*#__PURE__*/dual(2, (self, cause) => deferredCompleteWith(self, failCause(cause)));
3168
+
3169
+ /* @internal */
3170
+ const deferredFailCauseSync = /*#__PURE__*/dual(2, (self, evaluate) => deferredCompleteWith(self, failCauseSync(evaluate)));
3171
+
3172
+ /* @internal */
3173
+ const deferredDie = /*#__PURE__*/dual(2, (self, defect) => deferredCompleteWith(self, die(defect)));
3174
+
3175
+ /* @internal */
3176
+ const deferredDieSync = /*#__PURE__*/dual(2, (self, evaluate) => deferredCompleteWith(self, dieSync(evaluate)));
3177
+
3178
+ /* @internal */
3179
+ const deferredInterrupt = self => flatMap(fiberId, fiberId => deferredCompleteWith(self, interruptWith(fiberId)));
3180
+
3181
+ /* @internal */
3182
+ const deferredInterruptWith = /*#__PURE__*/dual(2, (self, fiberId) => deferredCompleteWith(self, interruptWith(fiberId)));
3183
+
3184
+ /* @internal */
3185
+ const deferredIsDone = self => sync(() => get$1(self.state)._tag === OP_STATE_DONE);
3186
+
3187
+ /* @internal */
3188
+ const deferredPoll = self => sync(() => {
3189
+ const state = get$1(self.state);
3190
+ switch (state._tag) {
3191
+ case OP_STATE_DONE:
3192
+ {
3193
+ return some(state.effect);
3194
+ }
3195
+ case OP_STATE_PENDING:
3196
+ {
3197
+ return none();
3198
+ }
3199
+ }
3200
+ });
3201
+
3202
+ /* @internal */
3203
+ const deferredSucceed = /*#__PURE__*/dual(2, (self, value) => deferredCompleteWith(self, succeed(value)));
3204
+
3205
+ /* @internal */
3206
+ const deferredSync = /*#__PURE__*/dual(2, (self, evaluate) => deferredCompleteWith(self, sync(evaluate)));
3207
+
3208
+ /** @internal */
3209
+ const deferredUnsafeDone = (self, effect) => {
3210
+ const state = get$1(self.state);
3211
+ if (state._tag === OP_STATE_PENDING) {
3212
+ pipe(self.state, set$1(done(effect)));
3213
+ for (let i = state.joiners.length - 1; i >= 0; i--) {
3214
+ state.joiners[i](effect);
3215
+ }
3216
+ }
3217
+ };
3218
+ const deferredInterruptJoiner = (self, joiner) => sync(() => {
3219
+ const state = get$1(self.state);
3220
+ if (state._tag === OP_STATE_PENDING) {
3221
+ pipe(self.state, set$1(pending(state.joiners.filter(j => j !== joiner))));
3222
+ }
3223
+ });
3224
+
3225
+ export { interruptFiber as $, pretty as A, matchCauseEffect as B, failCause as C, defects as D, currentMetricLabels as E, matchEffect as F, exitFail as G, exitSucceed as H, InvalidHubCapacityException as I, zip as J, currentTracerSpan as K, fiberRefUnsafeMakeHashSet as L, isEffect as M, fiberRefLocally as N, currentForkScopeOverride as O, exit as P, exitIsSuccess as Q, onError as R, failureOrCause as S, partitionMap as T, either as U, fail as V, dieSync as W, uninterruptibleMask as X, interruptible as Y, forEachSequential as Z, zipLeft as _, suspend as a, exitIsFailure as a$, exitMatchEffect as a0, flatten as a1, deferredFailCause as a2, contextWithEffect as a3, scopeFork as a4, acquireUseRelease as a5, scopeClose as a6, exitZipWith as a7, parallel as a8, sequential as a9, currentUnhandledErrorLogLevel as aA, isInterruptedOnly as aB, currentLogLevel as aC, currentLogSpan as aD, currentLogAnnotations as aE, exitFailCause as aF, exitUnit as aG, die$1 as aH, currentContext as aI, NoSuchElementException as aJ, stripFailures as aK, blocked as aL, catchAllCause as aM, runRequestBlock as aN, RevertFlags as aO, yieldNow as aP, isEffectError as aQ, isInterruptedException as aR, withRuntimeFlags as aS, if_ as aT, zipWith as aU, currentRequestBatching as aV, transplant as aW, step as aX, par as aY, deferredFail as aZ, exitCollectAll as a_, flip as aa, fiberIdWith as ab, updateRuntimeFlags as ac, runtimeFlags as ad, ScopeTypeId as ae, releaseMapMake as af, CloseableScopeTypeId as ag, releaseMapAdd as ah, scopeAddFinalizerExit as ai, as as aj, mapInputContext as ak, onExit as al, fiberRefUnsafeMakePatch as am, fiberRefGet as an, fiberRefSet as ao, fiberRefUpdate as ap, fiberRefDelete as aq, fiberRefUnsafeMakeContext as ar, fiberRefUnsafeMakeRuntimeFlags as as, forEachSequentialDiscard as at, currentInterruptedCause as au, async as av, interrupt$1 as aw, currentSchedulingPriority as ax, isEmpty as ay, whileLoop as az, deferredAwait as b, exitExists as b$, IllegalArgumentException as b0, exitAsUnit as b1, interruptAsFiber as b2, flatten$1 as b3, sequentialCollectionToChunk as b4, flatMapStep as b5, catchAll as b6, DeferredTypeId as b7, deferredMakeAs as b8, deferredComplete as b9, intoDeferred as bA, failures as bB, provideContext as bC, keepDefects as bD, flatten$2 as bE, currentTracerSpanAnnotations as bF, currentTracerSpanLinks as bG, isNoSuchElementException as bH, interruptors as bI, currentTracerTimingEnabled as bJ, isCause as bK, exitDie as bL, never as bM, logLevelAll as bN, logLevelFatal as bO, logLevelError as bP, logLevelWarning as bQ, logLevelInfo as bR, logLevelDebug as bS, logLevelTrace as bT, logLevelNone as bU, allLogLevels as bV, currentMaxOpsBeforeYield as bW, exitIsExit as bX, exitIsInterrupted as bY, exitAs as bZ, exitCauseOption as b_, deferredCompleteWith as ba, deferredDone as bb, deferredFailSync as bc, deferredFailCauseSync as bd, deferredDie as be, deferredDieSync as bf, deferredInterrupt as bg, deferredIsDone as bh, deferredPoll as bi, deferredSync as bj, asyncEither as bk, fiberRefLocallyWith as bl, mapBoth as bm, mapError as bn, makeEffectError as bo, fail$1 as bp, unified as bq, find as br, isDieType as bs, catchIf as bt, matchCause as bu, context as bv, orElse as bw, dieMessage as bx, failSync as by, failCauseSync as bz, asUnit as c, withUnhandledErrorLogLevel as c$, exitFlatMap as c0, exitFlatMapEffect as c1, exitFlatten as c2, exitForEachEffect as c3, exitFromEither as c4, exitFromOption as c5, exitGetOrElse as c6, exitMap as c7, exitMapBoth as c8, exitMapError as c9, interruptOption as cA, linearize as cB, stripSomeDefects as cC, as$1 as cD, map$1 as cE, flatMap$1 as cF, contains as cG, squash as cH, squashWith as cI, filter as cJ, match as cK, reduce$1 as cL, reduceWithContext as cM, InterruptedException as cN, isIllegalArgumentException as cO, RuntimeException as cP, isRuntimeException as cQ, originalInstance as cR, EffectTypeId as cS, die as cT, catchSome as cU, checkInterruptible as cV, interruptWith as cW, interruptibleMask as cX, withConcurrency as cY, withSchedulingPriority as cZ, withMaxOpsBeforeYield as c_, exitMapErrorCause as ca, exitMatch as cb, exitZip as cc, exitZipLeft as cd, exitZipRight as ce, exitZipPar as cf, exitZipParLeft as cg, exitZipParRight as ch, CauseTypeId as ci, RuntimeExceptionTypeId as cj, InterruptedExceptionTypeId as ck, IllegalArgumentExceptionTypeId as cl, NoSuchElementExceptionTypeId as cm, InvalidHubCapacityExceptionTypeId as cn, isEmptyType as co, isFailType as cp, isInterruptType as cq, isSequentialType as cr, isParallelType as cs, size as ct, isFailure as cu, isDie as cv, isInterrupted as cw, failureOption as cx, flipCauseOption as cy, dieOption as cz, deferredMake as d, orDie as d0, orDieWith as d1, metricLabels as d2, withRequestBatching as d3, withTracerTiming as d4, FiberRefTypeId as d5, fiberRefGetAndSet as d6, fiberRefGetAndUpdate as d7, fiberRefGetAndUpdateSome as d8, fiberRefReset as d9, fiberRefModify as da, fiberRefModifySome as db, fiberRefUpdateSome as dc, fiberRefUpdateAndGet as dd, fiberRefUpdateSomeAndGet as de, provideSomeContext as df, single as dg, makeEntry as dh, empty as di, prettyErrors as dj, scopeAddFinalizer as dk, isEntry as dl, mapRequestResolvers as dm, reduce as dn, seq as dp, requestBlockLocally as dq, RequestResolverTypeId as dr, isRequestResolver as ds, resolverLocally as dt, RequestResolverImpl as du, whenEffect as e, flatMap as f, deferredSucceed as g, exitInterrupt as h, interrupt as i, succeed as j, deferredInterruptWith as k, deferredUnsafeMake as l, map as m, fiberId as n, onInterrupt as o, unit as p, deferredUnsafeDone as q, fiberRefUnsafeMake as r, sync as s, tap as t, uninterruptible as u, fiberRefGetWith as v, withFiberRuntime as w, currentConcurrency as x, empty$1 as y, zipRight as z };