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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (684) hide show
  1. package/Bigint/dist/effect-Bigint.cjs.dev.js +365 -28
  2. package/Bigint/dist/effect-Bigint.cjs.prod.js +365 -28
  3. package/Boolean/dist/effect-Boolean.cjs.dev.js +243 -22
  4. package/Boolean/dist/effect-Boolean.cjs.prod.js +243 -22
  5. package/Brand/dist/effect-Brand.cjs.dev.js +221 -26
  6. package/Brand/dist/effect-Brand.cjs.prod.js +221 -26
  7. package/Cache/dist/effect-Cache.cjs.dev.js +182 -77
  8. package/Cache/dist/effect-Cache.cjs.prod.js +182 -77
  9. package/Cause/dist/effect-Cause.cjs.dev.js +754 -93
  10. package/Cause/dist/effect-Cause.cjs.prod.js +754 -93
  11. package/Channel/dist/effect-Channel.cjs.dev.js +1206 -214
  12. package/Channel/dist/effect-Channel.cjs.prod.js +1206 -214
  13. package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.dev.js +118 -12
  14. package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.prod.js +118 -12
  15. package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.dev.js +63 -9
  16. package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.prod.js +63 -9
  17. package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.dev.js +107 -12
  18. package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.prod.js +107 -12
  19. package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.dev.js +88 -10
  20. package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.prod.js +88 -10
  21. package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.dev.js +131 -90
  22. package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.prod.js +131 -90
  23. package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.dev.js +88 -10
  24. package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.prod.js +88 -10
  25. package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.dev.js +87 -10
  26. package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.prod.js +87 -10
  27. package/Chunk/dist/effect-Chunk.cjs.dev.js +1170 -101
  28. package/Chunk/dist/effect-Chunk.cjs.prod.js +1170 -101
  29. package/Clock/dist/effect-Clock.cjs.dev.js +121 -50
  30. package/Clock/dist/effect-Clock.cjs.prod.js +121 -50
  31. package/Config/dist/effect-Config.cjs.dev.js +386 -71
  32. package/Config/dist/effect-Config.cjs.prod.js +386 -71
  33. package/ConfigError/dist/effect-ConfigError.cjs.dev.js +219 -40
  34. package/ConfigError/dist/effect-ConfigError.cjs.prod.js +219 -40
  35. package/ConfigProvider/dist/effect-ConfigProvider.cjs.dev.js +250 -58
  36. package/ConfigProvider/dist/effect-ConfigProvider.cjs.prod.js +250 -58
  37. package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.dev.js +92 -28
  38. package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.prod.js +92 -28
  39. package/ConfigSecret/dist/effect-ConfigSecret.cjs.dev.js +85 -28
  40. package/ConfigSecret/dist/effect-ConfigSecret.cjs.prod.js +85 -28
  41. package/Console/dist/effect-Console.cjs.dev.js +316 -106
  42. package/Console/dist/effect-Console.cjs.prod.js +316 -106
  43. package/Context/dist/effect-Context.cjs.dev.js +322 -33
  44. package/Context/dist/effect-Context.cjs.prod.js +322 -33
  45. package/Data/dist/effect-Data.cjs.dev.js +223 -21
  46. package/Data/dist/effect-Data.cjs.prod.js +223 -21
  47. package/DefaultServices/dist/effect-DefaultServices.cjs.dev.js +60 -42
  48. package/DefaultServices/dist/effect-DefaultServices.cjs.prod.js +60 -42
  49. package/Deferred/dist/effect-Deferred.cjs.dev.js +254 -55
  50. package/Deferred/dist/effect-Deferred.cjs.prod.js +254 -55
  51. package/Differ/dist/effect-Differ.cjs.dev.js +985 -42
  52. package/Differ/dist/effect-Differ.cjs.prod.js +985 -42
  53. package/Duration/dist/effect-Duration.cjs.dev.js +476 -51
  54. package/Duration/dist/effect-Duration.cjs.prod.js +476 -51
  55. package/Effect/dist/effect-Effect.cjs.dev.js +3485 -411
  56. package/Effect/dist/effect-Effect.cjs.prod.js +3485 -411
  57. package/Effectable/dist/effect-Effectable.cjs.dev.js +92 -21
  58. package/Effectable/dist/effect-Effectable.cjs.prod.js +92 -21
  59. package/Either/dist/effect-Either.cjs.dev.js +475 -43
  60. package/Either/dist/effect-Either.cjs.prod.js +475 -43
  61. package/Encoding/dist/effect-Encoding.cjs.dev.js +302 -29
  62. package/Encoding/dist/effect-Encoding.cjs.prod.js +302 -29
  63. package/Equal/dist/effect-Equal.cjs.dev.js +61 -10
  64. package/Equal/dist/effect-Equal.cjs.prod.js +61 -10
  65. package/Equivalence/dist/effect-Equivalence.cjs.dev.js +213 -23
  66. package/Equivalence/dist/effect-Equivalence.cjs.prod.js +213 -23
  67. package/Error/dist/effect-Error.cjs.dev.js +131 -91
  68. package/Error/dist/effect-Error.cjs.mjs +1 -1
  69. package/Error/dist/effect-Error.cjs.prod.js +131 -91
  70. package/Error/dist/effect-Error.esm.js +2 -2
  71. package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.dev.js +2 -2
  72. package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.prod.js +2 -2
  73. package/Exit/dist/effect-Exit.cjs.dev.js +395 -69
  74. package/Exit/dist/effect-Exit.cjs.prod.js +395 -69
  75. package/Fiber/dist/effect-Fiber.cjs.dev.js +538 -124
  76. package/Fiber/dist/effect-Fiber.cjs.prod.js +538 -124
  77. package/FiberId/dist/effect-FiberId.cjs.dev.js +19 -19
  78. package/FiberId/dist/effect-FiberId.cjs.prod.js +19 -19
  79. package/FiberRef/dist/effect-FiberRef.cjs.dev.js +401 -121
  80. package/FiberRef/dist/effect-FiberRef.cjs.prod.js +401 -121
  81. package/FiberRefs/dist/effect-FiberRefs.cjs.dev.js +147 -46
  82. package/FiberRefs/dist/effect-FiberRefs.cjs.prod.js +147 -46
  83. package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.dev.js +110 -40
  84. package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.prod.js +110 -40
  85. package/FiberStatus/dist/effect-FiberStatus.cjs.dev.js +185 -18
  86. package/FiberStatus/dist/effect-FiberStatus.cjs.prod.js +185 -18
  87. package/Function/dist/effect-Function.cjs.dev.js +511 -24
  88. package/Function/dist/effect-Function.cjs.prod.js +511 -24
  89. package/GlobalValue/dist/effect-GlobalValue.cjs.dev.js +18 -3
  90. package/GlobalValue/dist/effect-GlobalValue.cjs.prod.js +18 -3
  91. package/GroupBy/dist/effect-GroupBy.cjs.dev.js +168 -111
  92. package/GroupBy/dist/effect-GroupBy.cjs.prod.js +168 -111
  93. package/Hash/dist/effect-Hash.cjs.dev.js +175 -19
  94. package/Hash/dist/effect-Hash.cjs.prod.js +175 -19
  95. package/HashMap/dist/effect-HashMap.cjs.dev.js +337 -52
  96. package/HashMap/dist/effect-HashMap.cjs.prod.js +337 -52
  97. package/HashSet/dist/effect-HashSet.cjs.dev.js +266 -45
  98. package/HashSet/dist/effect-HashSet.cjs.prod.js +266 -45
  99. package/Hub/dist/effect-Hub.cjs.dev.js +1320 -89
  100. package/Hub/dist/effect-Hub.cjs.prod.js +1320 -89
  101. package/Inspectable/dist/effect-Inspectable.cjs.dev.js +37 -4
  102. package/Inspectable/dist/effect-Inspectable.cjs.prod.js +37 -4
  103. package/KeyedPool/dist/effect-KeyedPool.cjs.dev.js +328 -83
  104. package/KeyedPool/dist/effect-KeyedPool.cjs.prod.js +328 -83
  105. package/Layer/dist/effect-Layer.cjs.dev.js +697 -147
  106. package/Layer/dist/effect-Layer.cjs.prod.js +697 -147
  107. package/List/dist/effect-List.cjs.dev.js +868 -68
  108. package/List/dist/effect-List.cjs.prod.js +868 -68
  109. package/LogLevel/dist/effect-LogLevel.cjs.dev.js +243 -50
  110. package/LogLevel/dist/effect-LogLevel.cjs.prod.js +243 -50
  111. package/LogSpan/dist/effect-LogSpan.cjs.dev.js +34 -3
  112. package/LogSpan/dist/effect-LogSpan.cjs.prod.js +34 -3
  113. package/Logger/dist/effect-Logger.cjs.dev.js +314 -113
  114. package/Logger/dist/effect-Logger.cjs.prod.js +314 -113
  115. package/Metric/dist/effect-Metric.cjs.dev.js +504 -116
  116. package/Metric/dist/effect-Metric.cjs.prod.js +504 -116
  117. package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.dev.js +72 -26
  118. package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.prod.js +72 -26
  119. package/MetricHook/dist/effect-MetricHook.cjs.dev.js +95 -33
  120. package/MetricHook/dist/effect-MetricHook.cjs.prod.js +95 -33
  121. package/MetricKey/dist/effect-MetricKey.cjs.dev.js +133 -35
  122. package/MetricKey/dist/effect-MetricKey.cjs.prod.js +133 -35
  123. package/MetricKeyType/dist/effect-MetricKeyType.cjs.dev.js +179 -38
  124. package/MetricKeyType/dist/effect-MetricKeyType.cjs.prod.js +179 -38
  125. package/MetricLabel/dist/effect-MetricLabel.cjs.dev.js +47 -12
  126. package/MetricLabel/dist/effect-MetricLabel.cjs.prod.js +47 -12
  127. package/MetricPair/dist/effect-MetricPair.cjs.dev.js +38 -6
  128. package/MetricPair/dist/effect-MetricPair.cjs.prod.js +38 -6
  129. package/MetricPolling/dist/effect-MetricPolling.cjs.dev.js +230 -86
  130. package/MetricPolling/dist/effect-MetricPolling.cjs.prod.js +230 -86
  131. package/MetricRegistry/dist/effect-MetricRegistry.cjs.dev.js +55 -33
  132. package/MetricRegistry/dist/effect-MetricRegistry.cjs.prod.js +55 -33
  133. package/MetricState/dist/effect-MetricState.cjs.dev.js +174 -29
  134. package/MetricState/dist/effect-MetricState.cjs.prod.js +174 -29
  135. package/MutableHashMap/dist/effect-MutableHashMap.cjs.dev.js +149 -32
  136. package/MutableHashMap/dist/effect-MutableHashMap.cjs.prod.js +149 -32
  137. package/MutableHashSet/dist/effect-MutableHashSet.cjs.dev.js +111 -30
  138. package/MutableHashSet/dist/effect-MutableHashSet.cjs.prod.js +111 -30
  139. package/MutableList/dist/effect-MutableList.cjs.dev.js +276 -20
  140. package/MutableList/dist/effect-MutableList.cjs.prod.js +276 -20
  141. package/MutableQueue/dist/effect-MutableQueue.cjs.dev.js +209 -32
  142. package/MutableQueue/dist/effect-MutableQueue.cjs.prod.js +209 -32
  143. package/MutableRef/dist/effect-MutableRef.cjs.dev.js +175 -28
  144. package/MutableRef/dist/effect-MutableRef.cjs.prod.js +175 -28
  145. package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.dev.js +25 -2
  146. package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.prod.js +25 -2
  147. package/Number/dist/effect-Number.cjs.dev.js +389 -29
  148. package/Number/dist/effect-Number.cjs.prod.js +389 -29
  149. package/Option/dist/effect-Option.cjs.dev.js +1137 -79
  150. package/Option/dist/effect-Option.cjs.prod.js +1137 -79
  151. package/Order/dist/effect-Order.cjs.dev.js +288 -31
  152. package/Order/dist/effect-Order.cjs.prod.js +288 -31
  153. package/Ordering/dist/effect-Ordering.cjs.dev.js +89 -7
  154. package/Ordering/dist/effect-Ordering.cjs.prod.js +89 -7
  155. package/Pipeable/dist/effect-Pipeable.cjs.dev.js +41 -2
  156. package/Pipeable/dist/effect-Pipeable.cjs.prod.js +41 -2
  157. package/Pool/dist/effect-Pool.cjs.dev.js +177 -79
  158. package/Pool/dist/effect-Pool.cjs.prod.js +177 -79
  159. package/Predicate/dist/effect-Predicate.cjs.dev.js +672 -44
  160. package/Predicate/dist/effect-Predicate.cjs.prod.js +672 -44
  161. package/Queue/dist/effect-Queue.cjs.dev.js +427 -105
  162. package/Queue/dist/effect-Queue.cjs.prod.js +427 -105
  163. package/Random/dist/effect-Random.cjs.dev.js +127 -51
  164. package/Random/dist/effect-Random.cjs.prod.js +127 -51
  165. package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.dev.js +1589 -157
  166. package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js +1589 -157
  167. package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.dev.js +552 -42
  168. package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.prod.js +552 -42
  169. package/RedBlackTree/dist/effect-RedBlackTree.cjs.dev.js +1638 -59
  170. package/RedBlackTree/dist/effect-RedBlackTree.cjs.prod.js +1638 -59
  171. package/Ref/dist/effect-Ref.cjs.dev.js +31 -31
  172. package/Ref/dist/effect-Ref.cjs.prod.js +31 -31
  173. package/Reloadable/dist/effect-Reloadable.cjs.dev.js +226 -93
  174. package/Reloadable/dist/effect-Reloadable.cjs.prod.js +226 -93
  175. package/Request/dist/effect-Request.cjs.dev.js +238 -88
  176. package/Request/dist/effect-Request.cjs.prod.js +238 -88
  177. package/RequestBlock/dist/effect-RequestBlock.cjs.dev.js +195 -100
  178. package/RequestBlock/dist/effect-RequestBlock.cjs.prod.js +195 -100
  179. package/RequestResolver/dist/effect-RequestResolver.cjs.dev.js +292 -110
  180. package/RequestResolver/dist/effect-RequestResolver.cjs.prod.js +292 -110
  181. package/Resource/dist/effect-Resource.cjs.dev.js +177 -85
  182. package/Resource/dist/effect-Resource.cjs.prod.js +177 -85
  183. package/Runtime/dist/effect-Runtime.cjs.dev.js +245 -94
  184. package/Runtime/dist/effect-Runtime.cjs.prod.js +245 -94
  185. package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.dev.js +419 -121
  186. package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.prod.js +419 -121
  187. package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.dev.js +25 -25
  188. package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.prod.js +25 -25
  189. package/STM/dist/effect-STM.cjs.dev.js +1421 -237
  190. package/STM/dist/effect-STM.cjs.prod.js +1421 -237
  191. package/Schedule/dist/effect-Schedule.cjs.dev.js +1107 -156
  192. package/Schedule/dist/effect-Schedule.cjs.prod.js +1107 -156
  193. package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.dev.js +111 -28
  194. package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.prod.js +111 -28
  195. package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.dev.js +237 -33
  196. package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.prod.js +237 -33
  197. package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.dev.js +264 -36
  198. package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.prod.js +264 -36
  199. package/Scheduler/dist/effect-Scheduler.cjs.dev.js +365 -48
  200. package/Scheduler/dist/effect-Scheduler.cjs.prod.js +365 -48
  201. package/Scope/dist/effect-Scope.cjs.dev.js +192 -82
  202. package/Scope/dist/effect-Scope.cjs.prod.js +192 -82
  203. package/ScopedCache/dist/effect-ScopedCache.cjs.dev.js +512 -79
  204. package/ScopedCache/dist/effect-ScopedCache.cjs.prod.js +512 -79
  205. package/ScopedRef/dist/effect-ScopedRef.cjs.dev.js +147 -82
  206. package/ScopedRef/dist/effect-ScopedRef.cjs.prod.js +147 -82
  207. package/Sink/dist/effect-Sink.cjs.dev.js +1199 -208
  208. package/Sink/dist/effect-Sink.cjs.prod.js +1199 -208
  209. package/SortedMap/dist/effect-SortedMap.cjs.dev.js +194 -39
  210. package/SortedMap/dist/effect-SortedMap.cjs.prod.js +194 -39
  211. package/SortedSet/dist/effect-SortedSet.cjs.dev.js +293 -42
  212. package/SortedSet/dist/effect-SortedSet.cjs.prod.js +293 -42
  213. package/Stream/dist/effect-Stream.cjs.dev.js +3273 -401
  214. package/Stream/dist/effect-Stream.cjs.prod.js +3273 -401
  215. package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.dev.js +2 -2
  216. package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.prod.js +2 -2
  217. package/String/dist/effect-String.cjs.dev.js +652 -64
  218. package/String/dist/effect-String.cjs.prod.js +652 -64
  219. package/Struct/dist/effect-Struct.cjs.dev.js +126 -9
  220. package/Struct/dist/effect-Struct.cjs.prod.js +126 -9
  221. package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.dev.js +337 -131
  222. package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.prod.js +337 -131
  223. package/Supervisor/dist/effect-Supervisor.cjs.dev.js +234 -94
  224. package/Supervisor/dist/effect-Supervisor.cjs.prod.js +234 -94
  225. package/Symbol/dist/effect-Symbol.cjs.dev.js +29 -6
  226. package/Symbol/dist/effect-Symbol.cjs.prod.js +29 -6
  227. package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.dev.js +254 -102
  228. package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.prod.js +254 -102
  229. package/TArray/dist/effect-TArray.cjs.dev.js +517 -156
  230. package/TArray/dist/effect-TArray.cjs.prod.js +517 -156
  231. package/TDeferred/dist/effect-TDeferred.cjs.dev.js +219 -121
  232. package/TDeferred/dist/effect-TDeferred.cjs.prod.js +219 -121
  233. package/THub/dist/effect-THub.cjs.dev.js +651 -131
  234. package/THub/dist/effect-THub.cjs.prod.js +651 -131
  235. package/TMap/dist/effect-TMap.cjs.dev.js +526 -159
  236. package/TMap/dist/effect-TMap.cjs.prod.js +526 -159
  237. package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.dev.js +459 -133
  238. package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.prod.js +459 -133
  239. package/TQueue/dist/effect-TQueue.cjs.dev.js +430 -143
  240. package/TQueue/dist/effect-TQueue.cjs.prod.js +430 -143
  241. package/TRandom/dist/effect-TRandom.cjs.dev.js +290 -124
  242. package/TRandom/dist/effect-TRandom.cjs.prod.js +290 -124
  243. package/TReentrantLock/dist/effect-TReentrantLock.cjs.dev.js +531 -132
  244. package/TReentrantLock/dist/effect-TReentrantLock.cjs.prod.js +531 -132
  245. package/TRef/dist/effect-TRef.cjs.dev.js +238 -128
  246. package/TRef/dist/effect-TRef.cjs.prod.js +238 -128
  247. package/TSemaphore/dist/effect-TSemaphore.cjs.dev.js +283 -127
  248. package/TSemaphore/dist/effect-TSemaphore.cjs.prod.js +283 -127
  249. package/TSet/dist/effect-TSet.cjs.dev.js +515 -147
  250. package/TSet/dist/effect-TSet.cjs.prod.js +515 -147
  251. package/Take/dist/effect-Take.cjs.dev.js +296 -112
  252. package/Take/dist/effect-Take.cjs.prod.js +296 -112
  253. package/TestAnnotation/dist/effect-TestAnnotation.cjs.dev.js +132 -33
  254. package/TestAnnotation/dist/effect-TestAnnotation.cjs.prod.js +132 -33
  255. package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.dev.js +106 -11
  256. package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.prod.js +106 -11
  257. package/TestAnnotations/dist/effect-TestAnnotations.cjs.dev.js +128 -62
  258. package/TestAnnotations/dist/effect-TestAnnotations.cjs.prod.js +128 -62
  259. package/TestClock/dist/effect-TestClock.cjs.dev.js +624 -102
  260. package/TestClock/dist/effect-TestClock.cjs.prod.js +624 -102
  261. package/TestConfig/dist/effect-TestConfig.cjs.dev.js +41 -20
  262. package/TestConfig/dist/effect-TestConfig.cjs.prod.js +41 -20
  263. package/TestContext/dist/effect-TestContext.cjs.dev.js +118 -99
  264. package/TestContext/dist/effect-TestContext.cjs.prod.js +118 -99
  265. package/TestLive/dist/effect-TestLive.cjs.dev.js +86 -46
  266. package/TestLive/dist/effect-TestLive.cjs.prod.js +86 -46
  267. package/TestServices/dist/effect-TestServices.cjs.dev.js +381 -130
  268. package/TestServices/dist/effect-TestServices.cjs.prod.js +381 -130
  269. package/TestSized/dist/effect-TestSized.cjs.dev.js +78 -35
  270. package/TestSized/dist/effect-TestSized.cjs.prod.js +78 -35
  271. package/Tracer/dist/effect-Tracer.cjs.dev.js +108 -47
  272. package/Tracer/dist/effect-Tracer.cjs.prod.js +108 -47
  273. package/Tuple/dist/effect-Tuple.cjs.dev.js +182 -17
  274. package/Tuple/dist/effect-Tuple.cjs.prod.js +182 -17
  275. package/Unify/dist/effect-Unify.cjs.dev.js +37 -3
  276. package/Unify/dist/effect-Unify.cjs.prod.js +37 -3
  277. package/Utils/dist/effect-Utils.cjs.dev.js +354 -9
  278. package/Utils/dist/effect-Utils.cjs.prod.js +354 -9
  279. package/dist/{Context-f958cabc.cjs.prod.js → Context-01a123ac.cjs.prod.js} +8 -8
  280. package/dist/{Context-96739709.cjs.dev.js → Context-593661f6.cjs.dev.js} +8 -8
  281. package/dist/{Effectable-a6403e5f.cjs.dev.js → Effectable-2f022879.cjs.dev.js} +4 -4
  282. package/dist/{Effectable-f867d1cb.cjs.prod.js → Effectable-cd8f3a96.cjs.prod.js} +4 -4
  283. package/dist/{Either-9c349424.cjs.dev.js → Either-12bbe00c.cjs.dev.js} +5 -5
  284. package/dist/{Either-d03d5f05.cjs.prod.js → Either-7a881c7a.cjs.prod.js} +5 -5
  285. package/dist/{ExecutionStrategy-89fbe735.cjs.dev.js → ExecutionStrategy-14d3053a.cjs.prod.js} +1 -13
  286. package/dist/{ExecutionStrategy-dc778180.cjs.prod.js → ExecutionStrategy-70f1a920.cjs.dev.js} +1 -13
  287. package/dist/{FiberId-929dcce4.cjs.dev.js → FiberId-557db880.cjs.dev.js} +8 -30
  288. package/dist/{FiberId-b79e8047.cjs.prod.js → FiberId-e594f6e8.cjs.prod.js} +8 -30
  289. package/dist/{HashSet-ece2cfe8.cjs.dev.js → HashSet-0b4ff1e4.cjs.dev.js} +7 -7
  290. package/dist/{HashSet-6fe62df2.cjs.prod.js → HashSet-6257b66d.cjs.prod.js} +7 -7
  291. package/dist/{Ref-af783b72.cjs.dev.js → Ref-74b592a4.cjs.dev.js} +5 -25
  292. package/dist/{Ref-30e5ee58.cjs.prod.js → Ref-a3a4e50d.cjs.prod.js} +5 -25
  293. package/dist/{RuntimeFlagsPatch-130e990c.cjs.dev.js → RuntimeFlagsPatch-e2769b87.cjs.prod.js} +2 -24
  294. package/dist/{RuntimeFlagsPatch-5570758d.cjs.prod.js → RuntimeFlagsPatch-ea268c50.cjs.dev.js} +2 -24
  295. package/dist/{StreamHaltStrategy-66a53f66.cjs.dev.js → StreamHaltStrategy-9a61b88d.cjs.dev.js} +1 -16
  296. package/dist/{StreamHaltStrategy-07f544a6.cjs.prod.js → StreamHaltStrategy-b495622b.cjs.prod.js} +1 -16
  297. package/dist/{boundaries-03c7494a.cjs.dev.js → boundaries-20cfad9d.cjs.prod.js} +6 -6
  298. package/dist/{boundaries-5d1a46e1.cjs.prod.js → boundaries-3810d885.cjs.dev.js} +6 -6
  299. package/dist/{cache-ab7bbfbd.cjs.prod.js → cache-3a55a13a.cjs.prod.js} +21 -21
  300. package/dist/{cache-6cdc31f7.cjs.dev.js → cache-83d14f6e.cjs.dev.js} +21 -21
  301. package/dist/{childExecutorDecision-2b30946c.cjs.prod.js → childExecutorDecision-2eed6e25.cjs.dev.js} +1 -1
  302. package/dist/{childExecutorDecision-ad3db696.cjs.dev.js → childExecutorDecision-b5842db5.cjs.prod.js} +1 -1
  303. package/dist/{circular-81e1906f.cjs.dev.js → circular-2162b720.cjs.dev.js} +7 -7
  304. package/dist/{circular-4cb0b79d.cjs.dev.js → circular-a4887ee9.cjs.dev.js} +19 -19
  305. package/dist/{circular-6a5291c3.cjs.prod.js → circular-c3ce70f4.cjs.prod.js} +7 -7
  306. package/dist/{circular-5b3558d9.cjs.prod.js → circular-f72fcb1d.cjs.prod.js} +19 -19
  307. package/dist/{config-10f2a1d1.cjs.dev.js → config-80900693.cjs.dev.js} +10 -10
  308. package/dist/{config-78feb1ac.cjs.prod.js → config-d0ddc159.cjs.prod.js} +10 -10
  309. package/dist/{configError-6a3652f8.cjs.prod.js → configError-240e9b61.cjs.dev.js} +3 -3
  310. package/dist/{configError-1686533e.cjs.dev.js → configError-33e55472.cjs.prod.js} +3 -3
  311. package/dist/{configProvider-2b177eac.cjs.prod.js → configProvider-93617d6d.cjs.prod.js} +13 -13
  312. package/dist/{configProvider-e2eb112d.cjs.dev.js → configProvider-ce43fdbf.cjs.dev.js} +13 -13
  313. package/dist/{configSecret-ecb6c5b3.cjs.prod.js → configSecret-d1caca55.cjs.prod.js} +4 -4
  314. package/dist/{configSecret-5812fa69.cjs.dev.js → configSecret-e34c1b14.cjs.dev.js} +4 -4
  315. package/dist/{core-c2eb171a.cjs.prod.js → core-0b0539de.cjs.prod.js} +24 -24
  316. package/dist/{core-bce61cfc.cjs.prod.js → core-8ff5a82c.cjs.prod.js} +14 -14
  317. package/dist/{core-898decb7.cjs.dev.js → core-b2dfee8d.cjs.dev.js} +14 -14
  318. package/dist/{core-ac668be0.cjs.dev.js → core-b4d7b4f5.cjs.dev.js} +24 -24
  319. package/dist/{core-effect-a9b8ee08.cjs.dev.js → core-effect-892f3686.cjs.dev.js} +23 -23
  320. package/dist/{core-effect-bf806dd9.cjs.prod.js → core-effect-c65770cd.cjs.prod.js} +23 -23
  321. package/dist/{dataSource-31698050.cjs.dev.js → dataSource-5227437c.cjs.dev.js} +7 -7
  322. package/dist/{dataSource-77d1e579.cjs.prod.js → dataSource-837686e6.cjs.prod.js} +7 -7
  323. package/dist/declarations/src/Data.d.ts +2 -2
  324. package/dist/declarations/src/Error.d.ts +1 -1
  325. package/dist/declarations/src/Error.d.ts.map +1 -1
  326. package/dist/declarations/src/index.d.ts.map +1 -1
  327. package/dist/{defaultServices-60c753dc.cjs.dev.js → defaultServices-086b8ac9.cjs.prod.js} +13 -13
  328. package/dist/{defaultServices-4112c0c9.cjs.prod.js → defaultServices-5530ff0e.cjs.dev.js} +13 -13
  329. package/dist/effect.cjs.dev.js +466 -344
  330. package/dist/effect.cjs.prod.js +466 -344
  331. package/dist/effect.esm.js +283 -283
  332. package/dist/{fiber-da1a207c.cjs.dev.js → fiber-1bfb4c1d.cjs.dev.js} +14 -14
  333. package/dist/{fiber-90ffaf8c.cjs.prod.js → fiber-2eb0a4c1.cjs.prod.js} +14 -14
  334. package/dist/{fiberRefs-64c35250.cjs.prod.js → fiberRefs-be4fae6a.cjs.dev.js} +7 -7
  335. package/dist/{fiberRefs-a7e00f7e.cjs.dev.js → fiberRefs-be6b6a70.cjs.prod.js} +7 -7
  336. package/dist/{fiberRuntime-1c369a47.cjs.prod.js → fiberRuntime-af2d0ca1.cjs.prod.js} +47 -47
  337. package/dist/{fiberRuntime-e9680313.cjs.dev.js → fiberRuntime-e0db0ab6.cjs.dev.js} +47 -47
  338. package/dist/{groupBy-aa608972.cjs.prod.js → groupBy-7ce46ea3.cjs.prod.js} +14 -14
  339. package/dist/{groupBy-fa001ed8.cjs.dev.js → groupBy-bd943372.cjs.dev.js} +14 -14
  340. package/dist/{hook-822704ea.cjs.dev.js → hook-470b717e.cjs.prod.js} +9 -9
  341. package/dist/{hook-6c7550dc.cjs.prod.js → hook-e72b20fd.cjs.dev.js} +9 -9
  342. package/dist/{key-330b98b1.cjs.prod.js → key-378a6a2c.cjs.prod.js} +8 -8
  343. package/dist/{key-a474fc0d.cjs.dev.js → key-f0a1408a.cjs.dev.js} +8 -8
  344. package/dist/{keyType-1e916ae2.cjs.dev.js → keyType-55f27f07.cjs.dev.js} +5 -5
  345. package/dist/{keyType-8460e792.cjs.prod.js → keyType-cf67c69c.cjs.prod.js} +5 -5
  346. package/dist/{label-3e143765.cjs.prod.js → label-011edbe7.cjs.dev.js} +4 -4
  347. package/dist/{label-246fb11d.cjs.dev.js → label-655343b5.cjs.prod.js} +4 -4
  348. package/dist/{layer-6f71c525.cjs.prod.js → layer-3b1b0e2e.cjs.prod.js} +19 -19
  349. package/dist/{layer-7991a9d1.cjs.dev.js → layer-9cbb61ce.cjs.dev.js} +19 -19
  350. package/dist/{mergeDecision-e483c280.cjs.prod.js → mergeDecision-07c6b5c9.cjs.prod.js} +1 -1
  351. package/dist/{mergeDecision-e457a76b.cjs.dev.js → mergeDecision-be41e797.cjs.dev.js} +1 -1
  352. package/dist/{mergeState-dba66248.cjs.prod.js → mergeState-75990fa2.cjs.prod.js} +1 -1
  353. package/dist/{mergeState-83204f38.cjs.dev.js → mergeState-8153ce39.cjs.dev.js} +1 -1
  354. package/dist/{mergeStrategy-845a1279.cjs.prod.js → mergeStrategy-3dd6e55f.cjs.prod.js} +1 -1
  355. package/dist/{mergeStrategy-b19dc19a.cjs.dev.js → mergeStrategy-81ea5b80.cjs.dev.js} +1 -1
  356. package/dist/{pair-e5443c93.cjs.prod.js → pair-291b78d7.cjs.dev.js} +1 -1
  357. package/dist/{pair-08a8685e.cjs.dev.js → pair-6254cf85.cjs.prod.js} +1 -1
  358. package/dist/{patch-4671ab7f.cjs.dev.js → patch-a1b2802f.cjs.dev.js} +4 -4
  359. package/dist/{patch-f27e9f08.cjs.prod.js → patch-c4d6c61e.cjs.prod.js} +4 -4
  360. package/dist/{pathPatch-e46d4168.cjs.dev.js → pathPatch-15c8d723.cjs.prod.js} +6 -6
  361. package/dist/{pathPatch-ded405f6.cjs.prod.js → pathPatch-d9d41297.cjs.dev.js} +6 -6
  362. package/dist/{pool-3f16af61.cjs.dev.js → pool-29b03fb2.cjs.dev.js} +12 -12
  363. package/dist/{pool-59a31f55.cjs.prod.js → pool-b5c7d254.cjs.prod.js} +12 -12
  364. package/dist/{query-193d0a89.cjs.dev.js → query-67a7c448.cjs.dev.js} +6 -6
  365. package/dist/{query-fe4a82d6.cjs.prod.js → query-d5eefc43.cjs.prod.js} +6 -6
  366. package/dist/{queue-b81aee38.cjs.prod.js → queue-38614769.cjs.prod.js} +9 -9
  367. package/dist/{queue-04ae7ec7.cjs.dev.js → queue-997d6e51.cjs.dev.js} +9 -9
  368. package/dist/{registry-29905dcc.cjs.prod.js → registry-013ecdde.cjs.prod.js} +7 -7
  369. package/dist/{registry-c883cf52.cjs.dev.js → registry-1099de3f.cjs.dev.js} +7 -7
  370. package/dist/{runtime-3ae98f19.cjs.dev.js → runtime-15cc9cc5.cjs.dev.js} +18 -16
  371. package/dist/{runtime-8c3f1bd3.cjs.prod.js → runtime-3a59f5c4.cjs.prod.js} +18 -16
  372. package/dist/{schedule-7e30db2d.cjs.prod.js → schedule-1d92198c.cjs.prod.js} +22 -22
  373. package/dist/{schedule-479d8fcc.cjs.dev.js → schedule-e0f55cab.cjs.dev.js} +22 -22
  374. package/dist/{scopedRef-16d9d192.cjs.dev.js → scopedRef-88ae648a.cjs.dev.js} +9 -9
  375. package/dist/{scopedRef-40b5bb82.cjs.prod.js → scopedRef-a0257d92.cjs.prod.js} +9 -9
  376. package/dist/{singleProducerAsyncInput-24ccc472.cjs.prod.js → singleProducerAsyncInput-1c6cc8fb.cjs.prod.js} +13 -13
  377. package/dist/{singleProducerAsyncInput-18fc5896.cjs.dev.js → singleProducerAsyncInput-998b8fac.cjs.dev.js} +13 -13
  378. package/dist/{sink-3a597454.cjs.dev.js → sink-1ac24bca.cjs.dev.js} +42 -42
  379. package/dist/{sink-1f4c02bb.cjs.prod.js → sink-4d668efb.cjs.prod.js} +42 -42
  380. package/dist/{state-0d29362f.cjs.prod.js → state-8fbec044.cjs.dev.js} +4 -4
  381. package/dist/{state-8a8a647c.cjs.dev.js → state-dd1bd066.cjs.prod.js} +4 -4
  382. package/dist/{stm-789f4457.cjs.dev.js → stm-fbb398a5.cjs.dev.js} +13 -13
  383. package/dist/{stm-8e837f76.cjs.prod.js → stm-fcac86d5.cjs.prod.js} +13 -13
  384. package/dist/{stream-42bee6fa.cjs.dev.js → stream-adef675d.cjs.dev.js} +33 -33
  385. package/dist/{stream-71fa9ae8.cjs.prod.js → stream-e670e8fa.cjs.prod.js} +33 -33
  386. package/dist/{synchronizedRef-58a64ffe.cjs.dev.js → synchronizedRef-37e32854.cjs.dev.js} +3 -3
  387. package/dist/{synchronizedRef-6cfe9354.cjs.prod.js → synchronizedRef-b4cde4de.cjs.prod.js} +3 -3
  388. package/dist/{tArray-b96cf402.cjs.prod.js → tArray-239d37ad.cjs.dev.js} +7 -7
  389. package/dist/{tArray-56df545e.cjs.dev.js → tArray-70de8ec4.cjs.prod.js} +7 -7
  390. package/dist/{tMap-1103e942.cjs.dev.js → tMap-4b27665d.cjs.dev.js} +12 -12
  391. package/dist/{tMap-3ed5a386.cjs.prod.js → tMap-a202396b.cjs.prod.js} +12 -12
  392. package/dist/{tQueue-4d90a114.cjs.dev.js → tQueue-004a478e.cjs.dev.js} +8 -8
  393. package/dist/{tQueue-9c69c6b3.cjs.prod.js → tQueue-82c4db95.cjs.prod.js} +8 -8
  394. package/dist/{tRef-5c469ca5.cjs.dev.js → tRef-bb7cc73a.cjs.dev.js} +3 -3
  395. package/dist/{tRef-68a9114f.cjs.prod.js → tRef-ee2c7f44.cjs.prod.js} +3 -3
  396. package/dist/{take-85954a45.cjs.prod.js → take-4857b6af.cjs.dev.js} +7 -7
  397. package/dist/{take-84a0722c.cjs.dev.js → take-9c555b46.cjs.prod.js} +7 -7
  398. package/dist/{timeout-2a62e4b5.cjs.prod.js → timeout-489f3f86.cjs.prod.js} +2 -2
  399. package/dist/{timeout-0245c158.cjs.dev.js → timeout-d380d3f8.cjs.dev.js} +2 -2
  400. package/dist/{upstreamPullRequest-705e868d.cjs.prod.js → upstreamPullRequest-7a694281.cjs.dev.js} +1 -1
  401. package/dist/{upstreamPullRequest-c08f06a4.cjs.dev.js → upstreamPullRequest-c89f818d.cjs.prod.js} +1 -1
  402. package/dist/{upstreamPullStrategy-34452db1.cjs.prod.js → upstreamPullStrategy-63cc8967.cjs.prod.js} +1 -1
  403. package/dist/{upstreamPullStrategy-0ccf2960.cjs.dev.js → upstreamPullStrategy-f9f1ab57.cjs.dev.js} +1 -1
  404. package/internal/core.esm.js +5 -5
  405. package/internal/defaultServices/console.esm.js +1 -1
  406. package/internal/defaultServices.esm.js +2 -1
  407. package/internal/fiberRuntime.esm.js +7 -7
  408. package/internal/logger.esm.js +3 -3
  409. package/internal/runtime.esm.js +2 -0
  410. package/internal/supervisor.esm.js +2 -1
  411. package/internal/timeout.esm.js +2 -2
  412. package/package.json +3 -2
  413. package/dist/Bigint-0ebd807c.cjs.dev.js +0 -392
  414. package/dist/Bigint-912c77f3.cjs.prod.js +0 -392
  415. package/dist/Boolean-97839b78.cjs.prod.js +0 -264
  416. package/dist/Boolean-f0bc3abf.cjs.dev.js +0 -264
  417. package/dist/Brand-93578f43.cjs.prod.js +0 -224
  418. package/dist/Brand-b238487d.cjs.dev.js +0 -224
  419. package/dist/Cache-1688e584.cjs.dev.js +0 -127
  420. package/dist/Cache-8f2f2b55.cjs.prod.js +0 -127
  421. package/dist/Cause-384e2165.cjs.prod.js +0 -791
  422. package/dist/Cause-96c29074.cjs.dev.js +0 -791
  423. package/dist/Channel-0701d2dd.cjs.dev.js +0 -1217
  424. package/dist/Channel-7aed463e.cjs.prod.js +0 -1217
  425. package/dist/ChannelChildExecutorDecision-168278f6.cjs.prod.js +0 -136
  426. package/dist/ChannelChildExecutorDecision-b0e715de.cjs.dev.js +0 -136
  427. package/dist/ChannelMergeDecision-9c266aeb.cjs.prod.js +0 -78
  428. package/dist/ChannelMergeDecision-eeaf4779.cjs.dev.js +0 -78
  429. package/dist/ChannelMergeState-4366d090.cjs.prod.js +0 -125
  430. package/dist/ChannelMergeState-abce1d88.cjs.dev.js +0 -125
  431. package/dist/ChannelMergeStrategy-6193b8e0.cjs.prod.js +0 -104
  432. package/dist/ChannelMergeStrategy-e7ddbb7a.cjs.dev.js +0 -104
  433. package/dist/ChannelSingleProducerAsyncInput-46c393db.cjs.dev.js +0 -55
  434. package/dist/ChannelSingleProducerAsyncInput-7eb9d2ae.cjs.prod.js +0 -55
  435. package/dist/ChannelUpstreamPullRequest-1ca7d2bd.cjs.dev.js +0 -104
  436. package/dist/ChannelUpstreamPullRequest-208751c3.cjs.prod.js +0 -104
  437. package/dist/ChannelUpstreamPullStrategy-266b5a77.cjs.prod.js +0 -103
  438. package/dist/ChannelUpstreamPullStrategy-ec57dc70.cjs.dev.js +0 -103
  439. package/dist/Chunk-6cf5a8e6.cjs.prod.js +0 -1248
  440. package/dist/Chunk-bd290b8e.cjs.dev.js +0 -1248
  441. package/dist/Clock-09ecce0a.cjs.prod.js +0 -97
  442. package/dist/Clock-bec722c1.cjs.dev.js +0 -97
  443. package/dist/Config-85ae6286.cjs.prod.js +0 -393
  444. package/dist/Config-dc58cf69.cjs.dev.js +0 -393
  445. package/dist/ConfigError-c1f762d2.cjs.dev.js +0 -225
  446. package/dist/ConfigError-cee682fa.cjs.prod.js +0 -225
  447. package/dist/ConfigProvider-8341a5f5.cjs.prod.js +0 -240
  448. package/dist/ConfigProvider-de45b085.cjs.dev.js +0 -240
  449. package/dist/ConfigProviderPathPatch-52422b32.cjs.prod.js +0 -86
  450. package/dist/ConfigProviderPathPatch-d22442e3.cjs.dev.js +0 -86
  451. package/dist/ConfigSecret-c76717e8.cjs.dev.js +0 -83
  452. package/dist/ConfigSecret-ebab2ae7.cjs.prod.js +0 -83
  453. package/dist/Console-63eebbd5.cjs.prod.js +0 -271
  454. package/dist/Console-a1c2c16f.cjs.dev.js +0 -271
  455. package/dist/Context-25a49952.cjs.prod.js +0 -327
  456. package/dist/Context-3c9e986b.cjs.dev.js +0 -327
  457. package/dist/Data-07dc27f1.cjs.prod.js +0 -237
  458. package/dist/Data-85559fb3.cjs.dev.js +0 -237
  459. package/dist/DefaultServices-d5740d37.cjs.dev.js +0 -34
  460. package/dist/DefaultServices-df7495bb.cjs.prod.js +0 -34
  461. package/dist/Deferred-5d5c886c.cjs.dev.js +0 -253
  462. package/dist/Deferred-9d825b3b.cjs.prod.js +0 -253
  463. package/dist/Differ-0122f60e.cjs.dev.js +0 -992
  464. package/dist/Differ-0bd34066.cjs.prod.js +0 -992
  465. package/dist/Duration-0bc08d03.cjs.prod.js +0 -508
  466. package/dist/Duration-604874d1.cjs.dev.js +0 -508
  467. package/dist/Effect-4de56bb2.cjs.prod.js +0 -3740
  468. package/dist/Effect-cf226187.cjs.dev.js +0 -3740
  469. package/dist/Effectable-04f3cd30.cjs.dev.js +0 -99
  470. package/dist/Effectable-8997112d.cjs.prod.js +0 -99
  471. package/dist/Either-3fab3796.cjs.prod.js +0 -502
  472. package/dist/Either-a806809d.cjs.dev.js +0 -502
  473. package/dist/Encoding-0cab52d5.cjs.prod.js +0 -309
  474. package/dist/Encoding-d993b1b0.cjs.dev.js +0 -309
  475. package/dist/Equal-281b6ca8.cjs.dev.js +0 -71
  476. package/dist/Equal-ce9977a8.cjs.prod.js +0 -71
  477. package/dist/Equivalence-0bc84518.cjs.prod.js +0 -238
  478. package/dist/Equivalence-de7a0d51.cjs.dev.js +0 -238
  479. package/dist/Error-05f55a51.cjs.prod.js +0 -57
  480. package/dist/Error-469a9429.cjs.dev.js +0 -57
  481. package/dist/Exit-5691142c.cjs.prod.js +0 -408
  482. package/dist/Exit-a23874e1.cjs.dev.js +0 -408
  483. package/dist/Fiber-6432d5f7.cjs.dev.js +0 -521
  484. package/dist/Fiber-e61b3c65.cjs.prod.js +0 -521
  485. package/dist/FiberRef-1db44a9b.cjs.dev.js +0 -385
  486. package/dist/FiberRef-efb4a3ac.cjs.prod.js +0 -385
  487. package/dist/FiberRefs-43bfd8b9.cjs.dev.js +0 -135
  488. package/dist/FiberRefs-4cb171f7.cjs.prod.js +0 -135
  489. package/dist/FiberRefsPatch-5236f61e.cjs.dev.js +0 -90
  490. package/dist/FiberRefsPatch-cb847553.cjs.prod.js +0 -90
  491. package/dist/FiberStatus-b82dad24.cjs.prod.js +0 -197
  492. package/dist/FiberStatus-bac7d58d.cjs.dev.js +0 -197
  493. package/dist/Function-2e6b0cda.cjs.prod.js +0 -538
  494. package/dist/Function-41ce433d.cjs.dev.js +0 -538
  495. package/dist/GlobalValue-81ab6908.cjs.dev.js +0 -28
  496. package/dist/GlobalValue-cb645c99.cjs.prod.js +0 -28
  497. package/dist/GroupBy-2d7ec675.cjs.dev.js +0 -79
  498. package/dist/GroupBy-cf6e72eb.cjs.prod.js +0 -79
  499. package/dist/HKT-2cc79e63.cjs.dev.js +0 -7
  500. package/dist/HKT-d682535d.cjs.prod.js +0 -7
  501. package/dist/Hash-1bd73210.cjs.prod.js +0 -192
  502. package/dist/Hash-bd154268.cjs.dev.js +0 -192
  503. package/dist/HashMap-12668911.cjs.prod.js +0 -361
  504. package/dist/HashMap-68e290b6.cjs.dev.js +0 -361
  505. package/dist/HashSet-6978c08e.cjs.dev.js +0 -283
  506. package/dist/HashSet-c40a52b1.cjs.prod.js +0 -283
  507. package/dist/Hub-6e64debd.cjs.prod.js +0 -1280
  508. package/dist/Hub-74834668.cjs.dev.js +0 -1280
  509. package/dist/Inspectable-3c4a0f5d.cjs.prod.js +0 -50
  510. package/dist/Inspectable-ac929af4.cjs.dev.js +0 -50
  511. package/dist/KeyedPool-b05481e9.cjs.dev.js +0 -282
  512. package/dist/KeyedPool-cd8abf95.cjs.prod.js +0 -282
  513. package/dist/Layer-b05441ff.cjs.dev.js +0 -688
  514. package/dist/Layer-b1461d01.cjs.prod.js +0 -688
  515. package/dist/List-c6ea7efe.cjs.dev.js +0 -912
  516. package/dist/List-d9775087.cjs.prod.js +0 -912
  517. package/dist/LogLevel-99f64f82.cjs.dev.js +0 -240
  518. package/dist/LogLevel-e9848e15.cjs.prod.js +0 -240
  519. package/dist/LogSpan-c905a192.cjs.prod.js +0 -46
  520. package/dist/LogSpan-e345ba58.cjs.dev.js +0 -46
  521. package/dist/Logger-72da8fab.cjs.dev.js +0 -275
  522. package/dist/Logger-ea8c75a9.cjs.prod.js +0 -275
  523. package/dist/Metric-09d012ff.cjs.dev.js +0 -488
  524. package/dist/Metric-b7563a68.cjs.prod.js +0 -488
  525. package/dist/MetricBoundaries-cf5df220.cjs.prod.js +0 -68
  526. package/dist/MetricBoundaries-f5f5aae1.cjs.dev.js +0 -68
  527. package/dist/MetricHook-3104e93b.cjs.dev.js +0 -90
  528. package/dist/MetricHook-efd05d72.cjs.prod.js +0 -90
  529. package/dist/MetricKey-9cfcaec8.cjs.prod.js +0 -130
  530. package/dist/MetricKey-c3ba437e.cjs.dev.js +0 -130
  531. package/dist/MetricKeyType-6d2d9036.cjs.prod.js +0 -187
  532. package/dist/MetricKeyType-c1d7ebe8.cjs.dev.js +0 -187
  533. package/dist/MetricLabel-6a1886c6.cjs.dev.js +0 -53
  534. package/dist/MetricLabel-7e1d569e.cjs.prod.js +0 -53
  535. package/dist/MetricPair-658ab13d.cjs.dev.js +0 -50
  536. package/dist/MetricPair-aec13967.cjs.prod.js +0 -50
  537. package/dist/MetricPolling-5af0ff67.cjs.dev.js +0 -177
  538. package/dist/MetricPolling-a0a4e798.cjs.prod.js +0 -177
  539. package/dist/MetricRegistry-e4af936b.cjs.dev.js +0 -38
  540. package/dist/MetricRegistry-ff6df283.cjs.prod.js +0 -38
  541. package/dist/MetricState-b65340a4.cjs.dev.js +0 -191
  542. package/dist/MetricState-bd6a5001.cjs.prod.js +0 -191
  543. package/dist/MutableHashMap-74e83e84.cjs.dev.js +0 -154
  544. package/dist/MutableHashMap-95493edb.cjs.prod.js +0 -154
  545. package/dist/MutableHashSet-780dfd63.cjs.prod.js +0 -110
  546. package/dist/MutableHashSet-ec8d7cc4.cjs.dev.js +0 -110
  547. package/dist/MutableList-58124ef2.cjs.dev.js +0 -296
  548. package/dist/MutableList-732af09a.cjs.prod.js +0 -296
  549. package/dist/MutableQueue-0e9f2466.cjs.dev.js +0 -215
  550. package/dist/MutableQueue-f8aba856.cjs.prod.js +0 -215
  551. package/dist/MutableRef-4a2f1f23.cjs.prod.js +0 -194
  552. package/dist/MutableRef-724c4082.cjs.dev.js +0 -194
  553. package/dist/NonEmptyIterable-418cef14.cjs.prod.js +0 -36
  554. package/dist/NonEmptyIterable-bb452f41.cjs.dev.js +0 -36
  555. package/dist/Number-588f6483.cjs.dev.js +0 -417
  556. package/dist/Number-cb2ba2e8.cjs.prod.js +0 -417
  557. package/dist/Option-02025c86.cjs.prod.js +0 -1198
  558. package/dist/Option-03997d77.cjs.dev.js +0 -1198
  559. package/dist/Order-28bdebd2.cjs.dev.js +0 -321
  560. package/dist/Order-8a112bfb.cjs.prod.js +0 -321
  561. package/dist/Ordering-60bf9127.cjs.prod.js +0 -104
  562. package/dist/Ordering-b955b746.cjs.dev.js +0 -104
  563. package/dist/Pipeable-4698db72.cjs.dev.js +0 -52
  564. package/dist/Pipeable-d3ec6711.cjs.prod.js +0 -52
  565. package/dist/Pool-54389592.cjs.prod.js +0 -122
  566. package/dist/Pool-fe1b506a.cjs.dev.js +0 -122
  567. package/dist/Predicate-9e859c9c.cjs.dev.js +0 -718
  568. package/dist/Predicate-daa86e61.cjs.prod.js +0 -718
  569. package/dist/Queue-5f954287.cjs.prod.js +0 -394
  570. package/dist/Queue-8d082fe4.cjs.dev.js +0 -394
  571. package/dist/Random-35304046.cjs.dev.js +0 -104
  572. package/dist/Random-b4709b6a.cjs.prod.js +0 -104
  573. package/dist/ReadonlyArray-48949ee7.cjs.dev.js +0 -1721
  574. package/dist/ReadonlyArray-8157f697.cjs.prod.js +0 -1721
  575. package/dist/ReadonlyRecord-605a625b.cjs.dev.js +0 -568
  576. package/dist/ReadonlyRecord-8db8bada.cjs.prod.js +0 -568
  577. package/dist/RedBlackTree-e6bd147c.cjs.dev.js +0 -1669
  578. package/dist/RedBlackTree-eb41ea8a.cjs.prod.js +0 -1669
  579. package/dist/Reloadable-97b2e406.cjs.dev.js +0 -169
  580. package/dist/Reloadable-d1cd2c7d.cjs.prod.js +0 -169
  581. package/dist/Request-53592fe4.cjs.prod.js +0 -190
  582. package/dist/Request-d3b63af6.cjs.dev.js +0 -190
  583. package/dist/RequestBlock-5062df49.cjs.dev.js +0 -124
  584. package/dist/RequestBlock-8552671f.cjs.prod.js +0 -124
  585. package/dist/RequestResolver-3a24e033.cjs.prod.js +0 -233
  586. package/dist/RequestResolver-7fcb89fb.cjs.dev.js +0 -233
  587. package/dist/Resource-2530fe45.cjs.prod.js +0 -118
  588. package/dist/Resource-e50b4b25.cjs.dev.js +0 -118
  589. package/dist/Runtime-0d643f0c.cjs.prod.js +0 -191
  590. package/dist/Runtime-c4b887ff.cjs.dev.js +0 -191
  591. package/dist/RuntimeFlags-128b287a.cjs.dev.js +0 -381
  592. package/dist/RuntimeFlags-f50d0c72.cjs.prod.js +0 -381
  593. package/dist/STM-243df414.cjs.prod.js +0 -1447
  594. package/dist/STM-2b6ea69d.cjs.dev.js +0 -1447
  595. package/dist/Schedule-0444792d.cjs.prod.js +0 -1159
  596. package/dist/Schedule-b6c7b49a.cjs.dev.js +0 -1159
  597. package/dist/ScheduleDecision-369f2d2b.cjs.prod.js +0 -106
  598. package/dist/ScheduleDecision-ba8d0e87.cjs.dev.js +0 -106
  599. package/dist/ScheduleInterval-51f42533.cjs.dev.js +0 -244
  600. package/dist/ScheduleInterval-78037484.cjs.prod.js +0 -244
  601. package/dist/ScheduleIntervals-b0bfcf3b.cjs.dev.js +0 -265
  602. package/dist/ScheduleIntervals-db13140c.cjs.prod.js +0 -265
  603. package/dist/Scheduler-819ee02a.cjs.prod.js +0 -358
  604. package/dist/Scheduler-d080442d.cjs.dev.js +0 -358
  605. package/dist/Scope-311c7eb9.cjs.prod.js +0 -143
  606. package/dist/Scope-6ba9ec6d.cjs.dev.js +0 -143
  607. package/dist/ScopedCache-3f58b125.cjs.dev.js +0 -467
  608. package/dist/ScopedCache-8f99505c.cjs.prod.js +0 -467
  609. package/dist/ScopedRef-7946d287.cjs.prod.js +0 -87
  610. package/dist/ScopedRef-b92e1633.cjs.dev.js +0 -87
  611. package/dist/Sink-175252a1.cjs.dev.js +0 -1215
  612. package/dist/Sink-85c6820f.cjs.prod.js +0 -1215
  613. package/dist/SortedMap-bb3311c3.cjs.prod.js +0 -210
  614. package/dist/SortedMap-f452cc44.cjs.dev.js +0 -210
  615. package/dist/SortedSet-424670fe.cjs.prod.js +0 -311
  616. package/dist/SortedSet-f90b14a2.cjs.dev.js +0 -311
  617. package/dist/Stream-31c121b4.cjs.prod.js +0 -3469
  618. package/dist/Stream-f833c9da.cjs.dev.js +0 -3469
  619. package/dist/StreamEmit-a10e1de5.cjs.prod.js +0 -7
  620. package/dist/StreamEmit-ec1da471.cjs.dev.js +0 -7
  621. package/dist/String-23b18ca9.cjs.prod.js +0 -694
  622. package/dist/String-830aaa3e.cjs.dev.js +0 -694
  623. package/dist/Struct-14648d76.cjs.dev.js +0 -141
  624. package/dist/Struct-c6b00f29.cjs.prod.js +0 -141
  625. package/dist/SubscriptionRef-10afb90a.cjs.prod.js +0 -269
  626. package/dist/SubscriptionRef-8870f37c.cjs.dev.js +0 -269
  627. package/dist/Supervisor-0b397027.cjs.dev.js +0 -170
  628. package/dist/Supervisor-18f2ef4e.cjs.prod.js +0 -170
  629. package/dist/Symbol-55d0b3d8.cjs.prod.js +0 -40
  630. package/dist/Symbol-5d74a5f2.cjs.dev.js +0 -40
  631. package/dist/SynchronizedRef-3181eb0a.cjs.dev.js +0 -212
  632. package/dist/SynchronizedRef-c6e0884b.cjs.prod.js +0 -212
  633. package/dist/TArray-13d02e45.cjs.prod.js +0 -455
  634. package/dist/TArray-d244048f.cjs.dev.js +0 -455
  635. package/dist/TDeferred-66f69724.cjs.prod.js +0 -129
  636. package/dist/TDeferred-6b7151e4.cjs.dev.js +0 -129
  637. package/dist/THub-4f3308b5.cjs.dev.js +0 -570
  638. package/dist/THub-70471c3e.cjs.prod.js +0 -570
  639. package/dist/TMap-6ec29b88.cjs.prod.js +0 -463
  640. package/dist/TMap-d28007c5.cjs.dev.js +0 -463
  641. package/dist/TPriorityQueue-76d9fb5a.cjs.prod.js +0 -381
  642. package/dist/TPriorityQueue-b2370942.cjs.dev.js +0 -381
  643. package/dist/TQueue-d66ff462.cjs.dev.js +0 -353
  644. package/dist/TQueue-defe6f54.cjs.prod.js +0 -353
  645. package/dist/TRandom-2d293b98.cjs.prod.js +0 -203
  646. package/dist/TRandom-f6a907b8.cjs.dev.js +0 -203
  647. package/dist/TReentrantLock-81ebe2df.cjs.prod.js +0 -456
  648. package/dist/TReentrantLock-eed7de13.cjs.dev.js +0 -456
  649. package/dist/TRef-ad753da1.cjs.dev.js +0 -152
  650. package/dist/TRef-f8453998.cjs.prod.js +0 -152
  651. package/dist/TSemaphore-26326b8a.cjs.dev.js +0 -197
  652. package/dist/TSemaphore-de7a42e6.cjs.prod.js +0 -197
  653. package/dist/TSet-eb8e6abb.cjs.prod.js +0 -444
  654. package/dist/TSet-f5f2a16b.cjs.dev.js +0 -444
  655. package/dist/Take-7eae9eb6.cjs.dev.js +0 -236
  656. package/dist/Take-bf728196.cjs.prod.js +0 -236
  657. package/dist/TestAnnotation-73be7a68.cjs.dev.js +0 -135
  658. package/dist/TestAnnotation-b9b93d03.cjs.prod.js +0 -135
  659. package/dist/TestAnnotationMap-80c87410.cjs.dev.js +0 -125
  660. package/dist/TestAnnotationMap-e946bab5.cjs.prod.js +0 -125
  661. package/dist/TestAnnotations-5db95828.cjs.prod.js +0 -97
  662. package/dist/TestAnnotations-733b39ef.cjs.dev.js +0 -97
  663. package/dist/TestClock-7b24411c.cjs.dev.js +0 -581
  664. package/dist/TestClock-93cdaabb.cjs.prod.js +0 -581
  665. package/dist/TestConfig-1a73e844.cjs.prod.js +0 -37
  666. package/dist/TestConfig-e5ffa946.cjs.dev.js +0 -37
  667. package/dist/TestContext-eeb935e5.cjs.dev.js +0 -41
  668. package/dist/TestContext-fe76c79a.cjs.prod.js +0 -41
  669. package/dist/TestLive-465ad3ef.cjs.dev.js +0 -60
  670. package/dist/TestLive-f3232ac4.cjs.prod.js +0 -60
  671. package/dist/TestServices-217f5abb.cjs.dev.js +0 -341
  672. package/dist/TestServices-3e29bef4.cjs.prod.js +0 -341
  673. package/dist/TestSized-6c1abc21.cjs.dev.js +0 -64
  674. package/dist/TestSized-a9a87d64.cjs.prod.js +0 -64
  675. package/dist/Tracer-d06d0b61.cjs.prod.js +0 -81
  676. package/dist/Tracer-da182c8c.cjs.dev.js +0 -81
  677. package/dist/Tuple-27ecf3a1.cjs.prod.js +0 -199
  678. package/dist/Tuple-75d2a389.cjs.dev.js +0 -199
  679. package/dist/Types-1280d3aa.cjs.dev.js +0 -7
  680. package/dist/Types-3a58df45.cjs.prod.js +0 -7
  681. package/dist/Unify-99be0499.cjs.dev.js +0 -48
  682. package/dist/Unify-e86fd412.cjs.prod.js +0 -48
  683. package/dist/Utils-864e1d48.cjs.prod.js +0 -370
  684. package/dist/Utils-b0c14d1b.cjs.dev.js +0 -370
@@ -2,406 +2,3278 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../dist/groupBy-fa001ed8.cjs.dev.js');
6
- require('../../dist/stream-42bee6fa.cjs.dev.js');
7
- var Stream_dist_effectStream = require('../../dist/Stream-f833c9da.cjs.dev.js');
8
- require('../../dist/Cause-96c29074.cjs.dev.js');
9
- require('../../dist/core-ac668be0.cjs.dev.js');
10
- require('../../dist/Chunk-bd290b8e.cjs.dev.js');
11
- require('../../dist/Equal-281b6ca8.cjs.dev.js');
12
- require('../../dist/Hash-bd154268.cjs.dev.js');
13
- require('../../dist/Function-41ce433d.cjs.dev.js');
14
- require('../../dist/GlobalValue-81ab6908.cjs.dev.js');
15
- require('../../dist/Utils-b0c14d1b.cjs.dev.js');
16
- require('../../dist/Predicate-9e859c9c.cjs.dev.js');
17
- require('../../dist/Equivalence-de7a0d51.cjs.dev.js');
18
- require('../../dist/Inspectable-ac929af4.cjs.dev.js');
19
- require('../../dist/Option-03997d77.cjs.dev.js');
20
- require('../../dist/Either-9c349424.cjs.dev.js');
21
- require('../../dist/Effectable-a6403e5f.cjs.dev.js');
22
- require('../../dist/Data-85559fb3.cjs.dev.js');
23
- require('../../dist/Pipeable-4698db72.cjs.dev.js');
24
- require('../../dist/Number-588f6483.cjs.dev.js');
25
- require('../../dist/Order-28bdebd2.cjs.dev.js');
26
- require('../../dist/ReadonlyArray-48949ee7.cjs.dev.js');
27
- require('../../dist/Either-a806809d.cjs.dev.js');
5
+ var groupBy$1 = require('../../dist/groupBy-bd943372.cjs.dev.js');
6
+ var stream = require('../../dist/stream-adef675d.cjs.dev.js');
7
+ require('../../Cause/dist/effect-Cause.cjs.dev.js');
8
+ require('../../dist/core-b4d7b4f5.cjs.dev.js');
9
+ require('../../Chunk/dist/effect-Chunk.cjs.dev.js');
10
+ require('../../Equal/dist/effect-Equal.cjs.dev.js');
11
+ require('../../Hash/dist/effect-Hash.cjs.dev.js');
12
+ require('../../Function/dist/effect-Function.cjs.dev.js');
13
+ require('../../GlobalValue/dist/effect-GlobalValue.cjs.dev.js');
14
+ require('../../Utils/dist/effect-Utils.cjs.dev.js');
15
+ require('../../Predicate/dist/effect-Predicate.cjs.dev.js');
16
+ require('../../Equivalence/dist/effect-Equivalence.cjs.dev.js');
17
+ require('../../Inspectable/dist/effect-Inspectable.cjs.dev.js');
18
+ require('../../Option/dist/effect-Option.cjs.dev.js');
19
+ require('../../dist/Either-12bbe00c.cjs.dev.js');
20
+ require('../../dist/Effectable-2f022879.cjs.dev.js');
21
+ require('../../Data/dist/effect-Data.cjs.dev.js');
22
+ require('../../Pipeable/dist/effect-Pipeable.cjs.dev.js');
23
+ require('../../Number/dist/effect-Number.cjs.dev.js');
24
+ require('../../Order/dist/effect-Order.cjs.dev.js');
25
+ require('../../ReadonlyArray/dist/effect-ReadonlyArray.cjs.dev.js');
26
+ require('../../Either/dist/effect-Either.cjs.dev.js');
28
27
  require('../../dist/ReadonlyArray-9a1474f6.cjs.dev.js');
29
- require('../../dist/ReadonlyRecord-605a625b.cjs.dev.js');
30
- require('../../dist/Context-3c9e986b.cjs.dev.js');
31
- require('../../dist/Context-96739709.cjs.dev.js');
32
- require('../../dist/Differ-0122f60e.cjs.dev.js');
33
- require('../../dist/HashMap-68e290b6.cjs.dev.js');
34
- require('../../dist/HashSet-ece2cfe8.cjs.dev.js');
28
+ require('../../ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.dev.js');
29
+ require('../../Context/dist/effect-Context.cjs.dev.js');
30
+ require('../../dist/Context-593661f6.cjs.dev.js');
31
+ require('../../Differ/dist/effect-Differ.cjs.dev.js');
32
+ require('../../HashMap/dist/effect-HashMap.cjs.dev.js');
33
+ require('../../dist/HashSet-0b4ff1e4.cjs.dev.js');
35
34
  require('../../dist/Stack-ada2d201.cjs.dev.js');
36
- require('../../dist/HashSet-6978c08e.cjs.dev.js');
37
- require('../../dist/FiberId-929dcce4.cjs.dev.js');
38
- require('../../dist/MutableRef-724c4082.cjs.dev.js');
39
- require('../../dist/List-c6ea7efe.cjs.dev.js');
40
- require('../../dist/RuntimeFlagsPatch-130e990c.cjs.dev.js');
41
- require('../../dist/Deferred-5d5c886c.cjs.dev.js');
42
- require('../../dist/Effect-cf226187.cjs.dev.js');
43
- require('../../dist/defaultServices-60c753dc.cjs.dev.js');
44
- require('../../dist/Duration-604874d1.cjs.dev.js');
45
- require('../../dist/timeout-0245c158.cjs.dev.js');
46
- require('../../dist/configProvider-e2eb112d.cjs.dev.js');
47
- require('../../dist/config-10f2a1d1.cjs.dev.js');
48
- require('../../dist/ConfigError-c1f762d2.cjs.dev.js');
49
- require('../../dist/configError-1686533e.cjs.dev.js');
50
- require('../../dist/configSecret-5812fa69.cjs.dev.js');
51
- require('../../dist/pathPatch-e46d4168.cjs.dev.js');
52
- require('../../dist/core-effect-a9b8ee08.cjs.dev.js');
53
- require('../../dist/Clock-bec722c1.cjs.dev.js');
54
- require('../../dist/FiberRefs-43bfd8b9.cjs.dev.js');
55
- require('../../dist/fiberRefs-a7e00f7e.cjs.dev.js');
56
- require('../../dist/patch-4671ab7f.cjs.dev.js');
57
- require('../../dist/label-246fb11d.cjs.dev.js');
58
- require('../../dist/LogLevel-99f64f82.cjs.dev.js');
59
- require('../../dist/LogSpan-e345ba58.cjs.dev.js');
60
- require('../../dist/Ref-af783b72.cjs.dev.js');
61
- require('../../dist/Tracer-da182c8c.cjs.dev.js');
62
- require('../../dist/circular-4cb0b79d.cjs.dev.js');
63
- require('../../dist/Exit-a23874e1.cjs.dev.js');
64
- require('../../dist/ExecutionStrategy-89fbe735.cjs.dev.js');
65
- require('../../dist/fiber-da1a207c.cjs.dev.js');
66
- require('../../dist/FiberStatus-bac7d58d.cjs.dev.js');
67
- require('../../dist/fiberRuntime-e9680313.cjs.dev.js');
68
- require('../../dist/Boolean-f0bc3abf.cjs.dev.js');
69
- require('../../dist/FiberRefsPatch-5236f61e.cjs.dev.js');
70
- require('../../dist/boundaries-03c7494a.cjs.dev.js');
71
- require('../../dist/key-a474fc0d.cjs.dev.js');
72
- require('../../dist/keyType-1e916ae2.cjs.dev.js');
73
- require('../../dist/registry-c883cf52.cjs.dev.js');
74
- require('../../dist/hook-822704ea.cjs.dev.js');
75
- require('../../dist/state-8a8a647c.cjs.dev.js');
76
- require('../../dist/pair-08a8685e.cjs.dev.js');
77
- require('../../dist/MutableHashMap-74e83e84.cjs.dev.js');
78
- require('../../dist/SortedSet-f90b14a2.cjs.dev.js');
79
- require('../../dist/RedBlackTree-e6bd147c.cjs.dev.js');
80
- require('../../dist/Scheduler-d080442d.cjs.dev.js');
81
- require('../../dist/schedule-479d8fcc.cjs.dev.js');
82
- require('../../dist/Random-35304046.cjs.dev.js');
83
- require('../../dist/ScheduleDecision-ba8d0e87.cjs.dev.js');
84
- require('../../dist/ScheduleIntervals-b0bfcf3b.cjs.dev.js');
85
- require('../../dist/ScheduleInterval-51f42533.cjs.dev.js');
86
- require('../../dist/layer-7991a9d1.cjs.dev.js');
87
- require('../../dist/runtime-3ae98f19.cjs.dev.js');
88
- require('../../dist/Fiber-6432d5f7.cjs.dev.js');
89
- require('../../dist/synchronizedRef-58a64ffe.cjs.dev.js');
90
- require('../../dist/Scope-6ba9ec6d.cjs.dev.js');
91
- require('../../dist/circular-81e1906f.cjs.dev.js');
92
- require('../../dist/Layer-b05441ff.cjs.dev.js');
93
- require('../../dist/query-193d0a89.cjs.dev.js');
94
- require('../../dist/cache-6cdc31f7.cjs.dev.js');
95
- require('../../dist/MutableQueue-0e9f2466.cjs.dev.js');
96
- require('../../dist/MutableList-58124ef2.cjs.dev.js');
97
- require('../../dist/Queue-8d082fe4.cjs.dev.js');
98
- require('../../dist/queue-04ae7ec7.cjs.dev.js');
99
- require('../../dist/sink-3a597454.cjs.dev.js');
100
- require('../../dist/Hub-74834668.cjs.dev.js');
101
- require('../../dist/childExecutorDecision-ad3db696.cjs.dev.js');
102
- require('../../dist/upstreamPullStrategy-0ccf2960.cjs.dev.js');
103
- require('../../dist/upstreamPullRequest-c08f06a4.cjs.dev.js');
104
- require('../../dist/mergeDecision-e457a76b.cjs.dev.js');
105
- require('../../dist/mergeState-83204f38.cjs.dev.js');
106
- require('../../dist/mergeStrategy-b19dc19a.cjs.dev.js');
107
- require('../../dist/singleProducerAsyncInput-18fc5896.cjs.dev.js');
108
- require('../../dist/take-84a0722c.cjs.dev.js');
109
- require('../../dist/ChannelMergeDecision-eeaf4779.cjs.dev.js');
110
- require('../../dist/Runtime-c4b887ff.cjs.dev.js');
111
- require('../../dist/Schedule-b6c7b49a.cjs.dev.js');
112
- require('../../dist/StreamHaltStrategy-66a53f66.cjs.dev.js');
113
-
114
-
115
-
116
- exports.DefaultChunkSize = Stream_dist_effectStream.DefaultChunkSize;
117
- exports.Do = Stream_dist_effectStream.Do;
118
- exports.StreamTypeId = Stream_dist_effectStream.StreamTypeId;
119
- exports.acquireRelease = Stream_dist_effectStream.acquireRelease;
120
- exports.aggregate = Stream_dist_effectStream.aggregate;
121
- exports.aggregateWithin = Stream_dist_effectStream.aggregateWithin;
122
- exports.aggregateWithinEither = Stream_dist_effectStream.aggregateWithinEither;
123
- exports.as = Stream_dist_effectStream.as;
124
- exports.async = Stream_dist_effectStream._async;
125
- exports.asyncEffect = Stream_dist_effectStream.asyncEffect;
126
- exports.asyncInterrupt = Stream_dist_effectStream.asyncInterrupt;
127
- exports.asyncOption = Stream_dist_effectStream.asyncOption;
128
- exports.asyncScoped = Stream_dist_effectStream.asyncScoped;
129
- exports.bind = Stream_dist_effectStream.bind;
130
- exports.bindEffect = Stream_dist_effectStream.bindEffect;
131
- exports.bindTo = Stream_dist_effectStream.bindTo;
132
- exports.branchAfter = Stream_dist_effectStream.branchAfter;
133
- exports.broadcast = Stream_dist_effectStream.broadcast;
134
- exports.broadcastDynamic = Stream_dist_effectStream.broadcastDynamic;
135
- exports.broadcastedQueues = Stream_dist_effectStream.broadcastedQueues;
136
- exports.broadcastedQueuesDynamic = Stream_dist_effectStream.broadcastedQueuesDynamic;
137
- exports.buffer = Stream_dist_effectStream.buffer;
138
- exports.bufferChunks = Stream_dist_effectStream.bufferChunks;
139
- exports.catchAll = Stream_dist_effectStream.catchAll;
140
- exports.catchAllCause = Stream_dist_effectStream.catchAllCause;
141
- exports.catchSome = Stream_dist_effectStream.catchSome;
142
- exports.catchSomeCause = Stream_dist_effectStream.catchSomeCause;
143
- exports.catchTag = Stream_dist_effectStream.catchTag;
144
- exports.catchTags = Stream_dist_effectStream.catchTags;
145
- exports.changes = Stream_dist_effectStream.changes;
146
- exports.changesWith = Stream_dist_effectStream.changesWith;
147
- exports.changesWithEffect = Stream_dist_effectStream.changesWithEffect;
148
- exports.chunks = Stream_dist_effectStream.chunks;
149
- exports.chunksWith = Stream_dist_effectStream.chunksWith;
150
- exports.combine = Stream_dist_effectStream.combine;
151
- exports.combineChunks = Stream_dist_effectStream.combineChunks;
152
- exports.concat = Stream_dist_effectStream.concat;
153
- exports.concatAll = Stream_dist_effectStream.concatAll;
154
- exports.context = Stream_dist_effectStream.context;
155
- exports.contextWith = Stream_dist_effectStream.contextWith;
156
- exports.contextWithEffect = Stream_dist_effectStream.contextWithEffect;
157
- exports.contextWithStream = Stream_dist_effectStream.contextWithStream;
158
- exports.cross = Stream_dist_effectStream.cross;
159
- exports.crossLeft = Stream_dist_effectStream.crossLeft;
160
- exports.crossRight = Stream_dist_effectStream.crossRight;
161
- exports.crossWith = Stream_dist_effectStream.crossWith;
162
- exports.debounce = Stream_dist_effectStream.debounce;
163
- exports.decodeText = Stream_dist_effectStream.decodeText;
164
- exports.die = Stream_dist_effectStream.die;
165
- exports.dieMessage = Stream_dist_effectStream.dieMessage;
166
- exports.dieSync = Stream_dist_effectStream.dieSync;
167
- exports.distributedWith = Stream_dist_effectStream.distributedWith;
168
- exports.distributedWithDynamic = Stream_dist_effectStream.distributedWithDynamic;
169
- exports.drain = Stream_dist_effectStream.drain;
170
- exports.drainFork = Stream_dist_effectStream.drainFork;
171
- exports.drop = Stream_dist_effectStream.drop;
172
- exports.dropRight = Stream_dist_effectStream.dropRight;
173
- exports.dropUntil = Stream_dist_effectStream.dropUntil;
174
- exports.dropUntilEffect = Stream_dist_effectStream.dropUntilEffect;
175
- exports.dropWhile = Stream_dist_effectStream.dropWhile;
176
- exports.dropWhileEffect = Stream_dist_effectStream.dropWhileEffect;
177
- exports.either = Stream_dist_effectStream.either;
178
- exports.empty = Stream_dist_effectStream.empty;
179
- exports.encodeText = Stream_dist_effectStream.encodeText;
180
- exports.ensuring = Stream_dist_effectStream.ensuring;
181
- exports.ensuringWith = Stream_dist_effectStream.ensuringWith;
182
- exports.execute = Stream_dist_effectStream.execute;
183
- exports.fail = Stream_dist_effectStream.fail;
184
- exports.failCause = Stream_dist_effectStream.failCause;
185
- exports.failCauseSync = Stream_dist_effectStream.failCauseSync;
186
- exports.failSync = Stream_dist_effectStream.failSync;
187
- exports.filter = Stream_dist_effectStream.filter;
188
- exports.filterEffect = Stream_dist_effectStream.filterEffect;
189
- exports.filterMap = Stream_dist_effectStream.filterMap;
190
- exports.filterMapEffect = Stream_dist_effectStream.filterMapEffect;
191
- exports.filterMapWhile = Stream_dist_effectStream.filterMapWhile;
192
- exports.filterMapWhileEffect = Stream_dist_effectStream.filterMapWhileEffect;
193
- exports.finalizer = Stream_dist_effectStream.finalizer;
194
- exports.find = Stream_dist_effectStream.find;
195
- exports.findEffect = Stream_dist_effectStream.findEffect;
196
- exports.flatMap = Stream_dist_effectStream.flatMap;
197
- exports.flatten = Stream_dist_effectStream.flatten;
198
- exports.flattenChunks = Stream_dist_effectStream.flattenChunks;
199
- exports.flattenEffect = Stream_dist_effectStream.flattenEffect;
200
- exports.flattenExitOption = Stream_dist_effectStream.flattenExitOption;
201
- exports.flattenIterables = Stream_dist_effectStream.flattenIterables;
202
- exports.flattenTake = Stream_dist_effectStream.flattenTake;
203
- exports.forever = Stream_dist_effectStream.forever;
204
- exports.fromAsyncIterable = Stream_dist_effectStream.fromAsyncIterable;
205
- exports.fromChannel = Stream_dist_effectStream.fromChannel;
206
- exports.fromChunk = Stream_dist_effectStream.fromChunk;
207
- exports.fromChunkHub = Stream_dist_effectStream.fromChunkHub;
208
- exports.fromChunkQueue = Stream_dist_effectStream.fromChunkQueue;
209
- exports.fromChunks = Stream_dist_effectStream.fromChunks;
210
- exports.fromEffect = Stream_dist_effectStream.fromEffect;
211
- exports.fromEffectOption = Stream_dist_effectStream.fromEffectOption;
212
- exports.fromHub = Stream_dist_effectStream.fromHub;
213
- exports.fromIterable = Stream_dist_effectStream.fromIterable;
214
- exports.fromIterableEffect = Stream_dist_effectStream.fromIterableEffect;
215
- exports.fromIteratorSucceed = Stream_dist_effectStream.fromIteratorSucceed;
216
- exports.fromPull = Stream_dist_effectStream.fromPull;
217
- exports.fromQueue = Stream_dist_effectStream.fromQueue;
218
- exports.fromReadableStream = Stream_dist_effectStream.fromReadableStream;
219
- exports.fromReadableStreamByob = Stream_dist_effectStream.fromReadableStreamByob;
220
- exports.fromSchedule = Stream_dist_effectStream.fromSchedule;
221
- exports.groupAdjacentBy = Stream_dist_effectStream.groupAdjacentBy;
222
- exports.groupBy = Stream_dist_effectStream.groupBy;
223
- exports.groupByKey = Stream_dist_effectStream.groupByKey;
224
- exports.grouped = Stream_dist_effectStream.grouped;
225
- exports.groupedWithin = Stream_dist_effectStream.groupedWithin;
226
- exports.haltAfter = Stream_dist_effectStream.haltAfter;
227
- exports.haltWhen = Stream_dist_effectStream.haltWhen;
228
- exports.haltWhenDeferred = Stream_dist_effectStream.haltWhenDeferred;
229
- exports.identity = Stream_dist_effectStream.identity;
230
- exports.interleave = Stream_dist_effectStream.interleave;
231
- exports.interleaveWith = Stream_dist_effectStream.interleaveWith;
232
- exports.interruptAfter = Stream_dist_effectStream.interruptAfter;
233
- exports.interruptWhen = Stream_dist_effectStream.interruptWhen;
234
- exports.interruptWhenDeferred = Stream_dist_effectStream.interruptWhenDeferred;
235
- exports.intersperse = Stream_dist_effectStream.intersperse;
236
- exports.intersperseAffixes = Stream_dist_effectStream.intersperseAffixes;
237
- exports.iterate = Stream_dist_effectStream.iterate;
238
- exports["let"] = Stream_dist_effectStream.let_;
239
- exports.make = Stream_dist_effectStream.make;
240
- exports.map = Stream_dist_effectStream.map;
241
- exports.mapAccum = Stream_dist_effectStream.mapAccum;
242
- exports.mapAccumEffect = Stream_dist_effectStream.mapAccumEffect;
243
- exports.mapBoth = Stream_dist_effectStream.mapBoth;
244
- exports.mapChunks = Stream_dist_effectStream.mapChunks;
245
- exports.mapChunksEffect = Stream_dist_effectStream.mapChunksEffect;
246
- exports.mapConcat = Stream_dist_effectStream.mapConcat;
247
- exports.mapConcatChunk = Stream_dist_effectStream.mapConcatChunk;
248
- exports.mapConcatChunkEffect = Stream_dist_effectStream.mapConcatChunkEffect;
249
- exports.mapConcatEffect = Stream_dist_effectStream.mapConcatEffect;
250
- exports.mapEffect = Stream_dist_effectStream.mapEffect;
251
- exports.mapError = Stream_dist_effectStream.mapError;
252
- exports.mapErrorCause = Stream_dist_effectStream.mapErrorCause;
253
- exports.mapInputContext = Stream_dist_effectStream.mapInputContext;
254
- exports.merge = Stream_dist_effectStream.merge;
255
- exports.mergeAll = Stream_dist_effectStream.mergeAll;
256
- exports.mergeEither = Stream_dist_effectStream.mergeEither;
257
- exports.mergeLeft = Stream_dist_effectStream.mergeLeft;
258
- exports.mergeRight = Stream_dist_effectStream.mergeRight;
259
- exports.mergeWith = Stream_dist_effectStream.mergeWith;
260
- exports.mkString = Stream_dist_effectStream.mkString;
261
- exports.never = Stream_dist_effectStream.never;
262
- exports.onDone = Stream_dist_effectStream.onDone;
263
- exports.onError = Stream_dist_effectStream.onError;
264
- exports.orDie = Stream_dist_effectStream.orDie;
265
- exports.orDieWith = Stream_dist_effectStream.orDieWith;
266
- exports.orElse = Stream_dist_effectStream.orElse;
267
- exports.orElseEither = Stream_dist_effectStream.orElseEither;
268
- exports.orElseFail = Stream_dist_effectStream.orElseFail;
269
- exports.orElseIfEmpty = Stream_dist_effectStream.orElseIfEmpty;
270
- exports.orElseIfEmptyChunk = Stream_dist_effectStream.orElseIfEmptyChunk;
271
- exports.orElseIfEmptyStream = Stream_dist_effectStream.orElseIfEmptyStream;
272
- exports.orElseSucceed = Stream_dist_effectStream.orElseSucceed;
273
- exports.paginate = Stream_dist_effectStream.paginate;
274
- exports.paginateChunk = Stream_dist_effectStream.paginateChunk;
275
- exports.paginateChunkEffect = Stream_dist_effectStream.paginateChunkEffect;
276
- exports.paginateEffect = Stream_dist_effectStream.paginateEffect;
277
- exports.partition = Stream_dist_effectStream.partition;
278
- exports.partitionEither = Stream_dist_effectStream.partitionEither;
279
- exports.peel = Stream_dist_effectStream.peel;
280
- exports.pipeThrough = Stream_dist_effectStream.pipeThrough;
281
- exports.pipeThroughChannel = Stream_dist_effectStream.pipeThroughChannel;
282
- exports.pipeThroughChannelOrFail = Stream_dist_effectStream.pipeThroughChannelOrFail;
283
- exports.prepend = Stream_dist_effectStream.prepend;
284
- exports.provideContext = Stream_dist_effectStream.provideContext;
285
- exports.provideLayer = Stream_dist_effectStream.provideLayer;
286
- exports.provideService = Stream_dist_effectStream.provideService;
287
- exports.provideServiceEffect = Stream_dist_effectStream.provideServiceEffect;
288
- exports.provideServiceStream = Stream_dist_effectStream.provideServiceStream;
289
- exports.provideSomeLayer = Stream_dist_effectStream.provideSomeLayer;
290
- exports.range = Stream_dist_effectStream.range;
291
- exports.rechunk = Stream_dist_effectStream.rechunk;
292
- exports.refineOrDie = Stream_dist_effectStream.refineOrDie;
293
- exports.refineOrDieWith = Stream_dist_effectStream.refineOrDieWith;
294
- exports.repeat = Stream_dist_effectStream.repeat;
295
- exports.repeatEffect = Stream_dist_effectStream.repeatEffect;
296
- exports.repeatEffectChunk = Stream_dist_effectStream.repeatEffectChunk;
297
- exports.repeatEffectChunkOption = Stream_dist_effectStream.repeatEffectChunkOption;
298
- exports.repeatEffectOption = Stream_dist_effectStream.repeatEffectOption;
299
- exports.repeatEffectWithSchedule = Stream_dist_effectStream.repeatEffectWithSchedule;
300
- exports.repeatEither = Stream_dist_effectStream.repeatEither;
301
- exports.repeatElements = Stream_dist_effectStream.repeatElements;
302
- exports.repeatElementsWith = Stream_dist_effectStream.repeatElementsWith;
303
- exports.repeatValue = Stream_dist_effectStream.repeatValue;
304
- exports.repeatWith = Stream_dist_effectStream.repeatWith;
305
- exports.retry = Stream_dist_effectStream.retry;
306
- exports.run = Stream_dist_effectStream.run;
307
- exports.runCollect = Stream_dist_effectStream.runCollect;
308
- exports.runCount = Stream_dist_effectStream.runCount;
309
- exports.runDrain = Stream_dist_effectStream.runDrain;
310
- exports.runFold = Stream_dist_effectStream.runFold;
311
- exports.runFoldEffect = Stream_dist_effectStream.runFoldEffect;
312
- exports.runFoldScoped = Stream_dist_effectStream.runFoldScoped;
313
- exports.runFoldScopedEffect = Stream_dist_effectStream.runFoldScopedEffect;
314
- exports.runFoldWhile = Stream_dist_effectStream.runFoldWhile;
315
- exports.runFoldWhileEffect = Stream_dist_effectStream.runFoldWhileEffect;
316
- exports.runFoldWhileScoped = Stream_dist_effectStream.runFoldWhileScoped;
317
- exports.runFoldWhileScopedEffect = Stream_dist_effectStream.runFoldWhileScopedEffect;
318
- exports.runForEach = Stream_dist_effectStream.runForEach;
319
- exports.runForEachChunk = Stream_dist_effectStream.runForEachChunk;
320
- exports.runForEachChunkScoped = Stream_dist_effectStream.runForEachChunkScoped;
321
- exports.runForEachScoped = Stream_dist_effectStream.runForEachScoped;
322
- exports.runForEachWhile = Stream_dist_effectStream.runForEachWhile;
323
- exports.runForEachWhileScoped = Stream_dist_effectStream.runForEachWhileScoped;
324
- exports.runHead = Stream_dist_effectStream.runHead;
325
- exports.runIntoHub = Stream_dist_effectStream.runIntoHub;
326
- exports.runIntoHubScoped = Stream_dist_effectStream.runIntoHubScoped;
327
- exports.runIntoQueue = Stream_dist_effectStream.runIntoQueue;
328
- exports.runIntoQueueElementsScoped = Stream_dist_effectStream.runIntoQueueElementsScoped;
329
- exports.runIntoQueueScoped = Stream_dist_effectStream.runIntoQueueScoped;
330
- exports.runLast = Stream_dist_effectStream.runLast;
331
- exports.runScoped = Stream_dist_effectStream.runScoped;
332
- exports.runSum = Stream_dist_effectStream.runSum;
333
- exports.scan = Stream_dist_effectStream.scan;
334
- exports.scanEffect = Stream_dist_effectStream.scanEffect;
335
- exports.scanReduce = Stream_dist_effectStream.scanReduce;
336
- exports.scanReduceEffect = Stream_dist_effectStream.scanReduceEffect;
337
- exports.schedule = Stream_dist_effectStream.schedule;
338
- exports.scheduleWith = Stream_dist_effectStream.scheduleWith;
339
- exports.scoped = Stream_dist_effectStream.scoped;
340
- exports.sliding = Stream_dist_effectStream.sliding;
341
- exports.slidingSize = Stream_dist_effectStream.slidingSize;
342
- exports.some = Stream_dist_effectStream.some;
343
- exports.someOrElse = Stream_dist_effectStream.someOrElse;
344
- exports.someOrFail = Stream_dist_effectStream.someOrFail;
345
- exports.split = Stream_dist_effectStream.split;
346
- exports.splitLines = Stream_dist_effectStream.splitLines;
347
- exports.splitOnChunk = Stream_dist_effectStream.splitOnChunk;
348
- exports.succeed = Stream_dist_effectStream.succeed;
349
- exports.suspend = Stream_dist_effectStream.suspend;
350
- exports.sync = Stream_dist_effectStream.sync;
351
- exports.take = Stream_dist_effectStream.take;
352
- exports.takeRight = Stream_dist_effectStream.takeRight;
353
- exports.takeUntil = Stream_dist_effectStream.takeUntil;
354
- exports.takeUntilEffect = Stream_dist_effectStream.takeUntilEffect;
355
- exports.takeWhile = Stream_dist_effectStream.takeWhile;
356
- exports.tap = Stream_dist_effectStream.tap;
357
- exports.tapBoth = Stream_dist_effectStream.tapBoth;
358
- exports.tapError = Stream_dist_effectStream.tapError;
359
- exports.tapErrorCause = Stream_dist_effectStream.tapErrorCause;
360
- exports.tapSink = Stream_dist_effectStream.tapSink;
361
- exports.throttle = Stream_dist_effectStream.throttle;
362
- exports.throttleEffect = Stream_dist_effectStream.throttleEffect;
363
- exports.tick = Stream_dist_effectStream.tick;
364
- exports.timeout = Stream_dist_effectStream.timeout;
365
- exports.timeoutFail = Stream_dist_effectStream.timeoutFail;
366
- exports.timeoutFailCause = Stream_dist_effectStream.timeoutFailCause;
367
- exports.timeoutTo = Stream_dist_effectStream.timeoutTo;
368
- exports.toChannel = Stream_dist_effectStream.toChannel;
369
- exports.toHub = Stream_dist_effectStream.toHub;
370
- exports.toPull = Stream_dist_effectStream.toPull;
371
- exports.toQueue = Stream_dist_effectStream.toQueue;
372
- exports.toQueueOfElements = Stream_dist_effectStream.toQueueOfElements;
373
- exports.toReadableStream = Stream_dist_effectStream.toReadableStream;
374
- exports.transduce = Stream_dist_effectStream.transduce;
375
- exports.unfold = Stream_dist_effectStream.unfold;
376
- exports.unfoldChunk = Stream_dist_effectStream.unfoldChunk;
377
- exports.unfoldChunkEffect = Stream_dist_effectStream.unfoldChunkEffect;
378
- exports.unfoldEffect = Stream_dist_effectStream.unfoldEffect;
379
- exports.unit = Stream_dist_effectStream.unit;
380
- exports.unwrap = Stream_dist_effectStream.unwrap;
381
- exports.unwrapScoped = Stream_dist_effectStream.unwrapScoped;
382
- exports.updateService = Stream_dist_effectStream.updateService;
383
- exports.when = Stream_dist_effectStream.when;
384
- exports.whenCase = Stream_dist_effectStream.whenCase;
385
- exports.whenCaseEffect = Stream_dist_effectStream.whenCaseEffect;
386
- exports.whenEffect = Stream_dist_effectStream.whenEffect;
387
- exports.withSpan = Stream_dist_effectStream.withSpan;
388
- exports.zip = Stream_dist_effectStream.zip;
389
- exports.zipAll = Stream_dist_effectStream.zipAll;
390
- exports.zipAllLeft = Stream_dist_effectStream.zipAllLeft;
391
- exports.zipAllRight = Stream_dist_effectStream.zipAllRight;
392
- exports.zipAllSortedByKey = Stream_dist_effectStream.zipAllSortedByKey;
393
- exports.zipAllSortedByKeyLeft = Stream_dist_effectStream.zipAllSortedByKeyLeft;
394
- exports.zipAllSortedByKeyRight = Stream_dist_effectStream.zipAllSortedByKeyRight;
395
- exports.zipAllSortedByKeyWith = Stream_dist_effectStream.zipAllSortedByKeyWith;
396
- exports.zipAllWith = Stream_dist_effectStream.zipAllWith;
397
- exports.zipFlatten = Stream_dist_effectStream.zipFlatten;
398
- exports.zipLatest = Stream_dist_effectStream.zipLatest;
399
- exports.zipLatestWith = Stream_dist_effectStream.zipLatestWith;
400
- exports.zipLeft = Stream_dist_effectStream.zipLeft;
401
- exports.zipRight = Stream_dist_effectStream.zipRight;
402
- exports.zipWith = Stream_dist_effectStream.zipWith;
403
- exports.zipWithChunks = Stream_dist_effectStream.zipWithChunks;
404
- exports.zipWithIndex = Stream_dist_effectStream.zipWithIndex;
405
- exports.zipWithNext = Stream_dist_effectStream.zipWithNext;
406
- exports.zipWithPrevious = Stream_dist_effectStream.zipWithPrevious;
407
- exports.zipWithPreviousAndNext = Stream_dist_effectStream.zipWithPreviousAndNext;
35
+ require('../../HashSet/dist/effect-HashSet.cjs.dev.js');
36
+ require('../../dist/FiberId-557db880.cjs.dev.js');
37
+ require('../../MutableRef/dist/effect-MutableRef.cjs.dev.js');
38
+ require('../../List/dist/effect-List.cjs.dev.js');
39
+ require('../../dist/RuntimeFlagsPatch-ea268c50.cjs.dev.js');
40
+ require('../../Deferred/dist/effect-Deferred.cjs.dev.js');
41
+ require('../../Effect/dist/effect-Effect.cjs.dev.js');
42
+ require('../../dist/defaultServices-5530ff0e.cjs.dev.js');
43
+ require('../../Duration/dist/effect-Duration.cjs.dev.js');
44
+ require('../../dist/timeout-d380d3f8.cjs.dev.js');
45
+ require('../../dist/configProvider-ce43fdbf.cjs.dev.js');
46
+ require('../../dist/config-80900693.cjs.dev.js');
47
+ require('../../ConfigError/dist/effect-ConfigError.cjs.dev.js');
48
+ require('../../dist/configError-240e9b61.cjs.dev.js');
49
+ require('../../dist/configSecret-e34c1b14.cjs.dev.js');
50
+ require('../../dist/pathPatch-d9d41297.cjs.dev.js');
51
+ require('../../dist/core-effect-892f3686.cjs.dev.js');
52
+ require('../../Clock/dist/effect-Clock.cjs.dev.js');
53
+ require('../../FiberRefs/dist/effect-FiberRefs.cjs.dev.js');
54
+ require('../../dist/fiberRefs-be4fae6a.cjs.dev.js');
55
+ require('../../dist/patch-a1b2802f.cjs.dev.js');
56
+ require('../../dist/label-011edbe7.cjs.dev.js');
57
+ require('../../LogLevel/dist/effect-LogLevel.cjs.dev.js');
58
+ require('../../LogSpan/dist/effect-LogSpan.cjs.dev.js');
59
+ require('../../dist/Ref-74b592a4.cjs.dev.js');
60
+ require('../../Tracer/dist/effect-Tracer.cjs.dev.js');
61
+ require('../../dist/circular-a4887ee9.cjs.dev.js');
62
+ require('../../Exit/dist/effect-Exit.cjs.dev.js');
63
+ require('../../dist/ExecutionStrategy-70f1a920.cjs.dev.js');
64
+ require('../../dist/fiber-1bfb4c1d.cjs.dev.js');
65
+ require('../../FiberStatus/dist/effect-FiberStatus.cjs.dev.js');
66
+ require('../../dist/fiberRuntime-e0db0ab6.cjs.dev.js');
67
+ require('../../Boolean/dist/effect-Boolean.cjs.dev.js');
68
+ require('../../FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.dev.js');
69
+ require('../../dist/boundaries-3810d885.cjs.dev.js');
70
+ require('../../dist/key-f0a1408a.cjs.dev.js');
71
+ require('../../dist/keyType-55f27f07.cjs.dev.js');
72
+ require('../../dist/registry-1099de3f.cjs.dev.js');
73
+ require('../../dist/hook-e72b20fd.cjs.dev.js');
74
+ require('../../dist/state-8fbec044.cjs.dev.js');
75
+ require('../../dist/pair-291b78d7.cjs.dev.js');
76
+ require('../../MutableHashMap/dist/effect-MutableHashMap.cjs.dev.js');
77
+ require('../../SortedSet/dist/effect-SortedSet.cjs.dev.js');
78
+ require('../../RedBlackTree/dist/effect-RedBlackTree.cjs.dev.js');
79
+ require('../../Scheduler/dist/effect-Scheduler.cjs.dev.js');
80
+ require('../../dist/schedule-e0f55cab.cjs.dev.js');
81
+ require('../../Random/dist/effect-Random.cjs.dev.js');
82
+ require('../../ScheduleDecision/dist/effect-ScheduleDecision.cjs.dev.js');
83
+ require('../../ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.dev.js');
84
+ require('../../ScheduleInterval/dist/effect-ScheduleInterval.cjs.dev.js');
85
+ require('../../dist/layer-9cbb61ce.cjs.dev.js');
86
+ require('../../dist/runtime-15cc9cc5.cjs.dev.js');
87
+ require('../../Fiber/dist/effect-Fiber.cjs.dev.js');
88
+ require('../../dist/synchronizedRef-37e32854.cjs.dev.js');
89
+ require('../../Scope/dist/effect-Scope.cjs.dev.js');
90
+ require('../../dist/circular-2162b720.cjs.dev.js');
91
+ require('../../Layer/dist/effect-Layer.cjs.dev.js');
92
+ require('../../dist/query-67a7c448.cjs.dev.js');
93
+ require('../../dist/cache-83d14f6e.cjs.dev.js');
94
+ require('../../MutableQueue/dist/effect-MutableQueue.cjs.dev.js');
95
+ require('../../MutableList/dist/effect-MutableList.cjs.dev.js');
96
+ require('../../Queue/dist/effect-Queue.cjs.dev.js');
97
+ require('../../dist/queue-997d6e51.cjs.dev.js');
98
+ require('../../dist/sink-1ac24bca.cjs.dev.js');
99
+ require('../../Hub/dist/effect-Hub.cjs.dev.js');
100
+ require('../../dist/childExecutorDecision-2eed6e25.cjs.dev.js');
101
+ require('../../dist/upstreamPullStrategy-f9f1ab57.cjs.dev.js');
102
+ require('../../dist/upstreamPullRequest-7a694281.cjs.dev.js');
103
+ require('../../dist/mergeDecision-be41e797.cjs.dev.js');
104
+ require('../../dist/mergeState-8153ce39.cjs.dev.js');
105
+ require('../../dist/mergeStrategy-81ea5b80.cjs.dev.js');
106
+ require('../../dist/singleProducerAsyncInput-998b8fac.cjs.dev.js');
107
+ require('../../dist/take-4857b6af.cjs.dev.js');
108
+ require('../../ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.dev.js');
109
+ require('../../Runtime/dist/effect-Runtime.cjs.dev.js');
110
+ require('../../Schedule/dist/effect-Schedule.cjs.dev.js');
111
+ require('../../dist/StreamHaltStrategy-9a61b88d.cjs.dev.js');
112
+
113
+ /**
114
+ * @since 2.0.0
115
+ */
116
+ /**
117
+ * @since 2.0.0
118
+ * @category symbols
119
+ */
120
+ const StreamTypeId = stream.StreamTypeId;
121
+
122
+ /**
123
+ * @since 2.0.0
124
+ * @category symbols
125
+ */
126
+
127
+ /**
128
+ * A `Stream<R, E, A>` is a description of a program that, when evaluated, may
129
+ * emit zero or more values of type `A`, may fail with errors of type `E`, and
130
+ * uses an context of type `R`. One way to think of `Stream` is as a
131
+ * `Effect` program that could emit multiple values.
132
+ *
133
+ * `Stream` is a purely functional *pull* based stream. Pull based streams offer
134
+ * inherent laziness and backpressure, relieving users of the need to manage
135
+ * buffers between operators. As an optimization, `Stream` does not emit
136
+ * single values, but rather an array of values. This allows the cost of effect
137
+ * evaluation to be amortized.
138
+ *
139
+ * `Stream` forms a monad on its `A` type parameter, and has error management
140
+ * facilities for its `E` type parameter, modeled similarly to `Effect` (with
141
+ * some adjustments for the multiple-valued nature of `Stream`). These aspects
142
+ * allow for rich and expressive composition of streams.
143
+ *
144
+ * @since 2.0.0
145
+ * @category models
146
+ */
147
+
148
+ /**
149
+ * @since 2.0.0
150
+ * @category models
151
+ */
152
+
153
+ /**
154
+ * @category models
155
+ * @since 2.0.0
156
+ */
157
+
158
+ /**
159
+ * @since 2.0.0
160
+ * @category models
161
+ */
162
+
163
+ /**
164
+ * @category type lambdas
165
+ * @since 2.0.0
166
+ */
167
+
168
+ /**
169
+ * @since 2.0.0
170
+ */
171
+
172
+ /**
173
+ * The default chunk size used by the various combinators and constructors of
174
+ * `Stream`.
175
+ *
176
+ * @since 2.0.0
177
+ * @category constants
178
+ */
179
+ const DefaultChunkSize = stream.DefaultChunkSize;
180
+
181
+ /**
182
+ * Creates a stream from a single value that will get cleaned up after the
183
+ * stream is consumed.
184
+ *
185
+ * @since 2.0.0
186
+ * @category constructors
187
+ */
188
+ const acquireRelease = stream.acquireRelease;
189
+
190
+ /**
191
+ * Aggregates elements of this stream using the provided sink for as long as
192
+ * the downstream operators on the stream are busy.
193
+ *
194
+ * This operator divides the stream into two asynchronous "islands". Operators
195
+ * upstream of this operator run on one fiber, while downstream operators run
196
+ * on another. Whenever the downstream fiber is busy processing elements, the
197
+ * upstream fiber will feed elements into the sink until it signals
198
+ * completion.
199
+ *
200
+ * Any sink can be used here, but see `Sink.foldWeightedEffect` and
201
+ * `Sink.foldUntilEffect` for sinks that cover the common usecases.
202
+ *
203
+ * @since 2.0.0
204
+ * @category utils
205
+ */
206
+ const aggregate = stream.aggregate;
207
+
208
+ /**
209
+ * Like `aggregateWithinEither`, but only returns the `Right` results.
210
+ *
211
+ * @param sink A `Sink` used to perform the aggregation.
212
+ * @param schedule A `Schedule` used to signal when to stop the aggregation.
213
+ * @since 2.0.0
214
+ * @category utils
215
+ */
216
+ const aggregateWithin = stream.aggregateWithin;
217
+
218
+ /**
219
+ * Aggregates elements using the provided sink until it completes, or until
220
+ * the delay signalled by the schedule has passed.
221
+ *
222
+ * This operator divides the stream into two asynchronous islands. Operators
223
+ * upstream of this operator run on one fiber, while downstream operators run
224
+ * on another. Elements will be aggregated by the sink until the downstream
225
+ * fiber pulls the aggregated value, or until the schedule's delay has passed.
226
+ *
227
+ * Aggregated elements will be fed into the schedule to determine the delays
228
+ * between pulls.
229
+ *
230
+ * @param sink A `Sink` used to perform the aggregation.
231
+ * @param schedule A `Schedule` used to signal when to stop the aggregation.
232
+ * @since 2.0.0
233
+ * @category utils
234
+ */
235
+ const aggregateWithinEither = stream.aggregateWithinEither;
236
+
237
+ /**
238
+ * Maps the success values of this stream to the specified constant value.
239
+ *
240
+ * @since 2.0.0
241
+ * @category mapping
242
+ */
243
+ const as = stream.as;
244
+ const _async = stream._async;
245
+
246
+ /**
247
+ * Creates a stream from an asynchronous callback that can be called multiple
248
+ * times The registration of the callback itself returns an effect. The
249
+ * optionality of the error type `E` can be used to signal the end of the
250
+ * stream, by setting it to `None`.
251
+ *
252
+ * @since 2.0.0
253
+ * @category constructors
254
+ */
255
+ const asyncEffect = stream.asyncEffect;
256
+
257
+ /**
258
+ * Creates a stream from an asynchronous callback that can be called multiple
259
+ * times. The registration of the callback returns either a canceler or
260
+ * synchronously returns a stream. The optionality of the error type `E` can
261
+ * be used to signal the end of the stream, by setting it to `None`.
262
+ *
263
+ * @since 2.0.0
264
+ * @category constructors
265
+ */
266
+ const asyncInterrupt = stream.asyncInterrupt;
267
+
268
+ /**
269
+ * Creates a stream from an asynchronous callback that can be called multiple
270
+ * times. The registration of the callback can possibly return the stream
271
+ * synchronously. The optionality of the error type `E` can be used to signal
272
+ * the end of the stream, by setting it to `None`.
273
+ *
274
+ * @since 2.0.0
275
+ * @category constructors
276
+ */
277
+ const asyncOption = stream.asyncOption;
278
+
279
+ /**
280
+ * Creates a stream from an asynchronous callback that can be called multiple
281
+ * times. The registration of the callback itself returns an a scoped
282
+ * resource. The optionality of the error type `E` can be used to signal the
283
+ * end of the stream, by setting it to `None`.
284
+ *
285
+ * @since 2.0.0
286
+ * @category constructors
287
+ */
288
+ const asyncScoped = stream.asyncScoped;
289
+
290
+ /**
291
+ * Returns a `Stream` that first collects `n` elements from the input `Stream`,
292
+ * and then creates a new `Stream` using the specified function, and sends all
293
+ * the following elements through that.
294
+ *
295
+ * @since 2.0.0
296
+ * @category sequencing
297
+ */
298
+ const branchAfter = stream.branchAfter;
299
+
300
+ /**
301
+ * Fan out the stream, producing a list of streams that have the same elements
302
+ * as this stream. The driver stream will only ever advance the `maximumLag`
303
+ * chunks before the slowest downstream stream.
304
+ *
305
+ * @since 2.0.0
306
+ * @category utils
307
+ */
308
+ const broadcast = stream.broadcast;
309
+
310
+ /**
311
+ * Fan out the stream, producing a dynamic number of streams that have the
312
+ * same elements as this stream. The driver stream will only ever advance the
313
+ * `maximumLag` chunks before the slowest downstream stream.
314
+ *
315
+ * @since 2.0.0
316
+ * @category utils
317
+ */
318
+ const broadcastDynamic = stream.broadcastDynamic;
319
+
320
+ /**
321
+ * Converts the stream to a scoped list of queues. Every value will be
322
+ * replicated to every queue with the slowest queue being allowed to buffer
323
+ * `maximumLag` chunks before the driver is back pressured.
324
+ *
325
+ * Queues can unsubscribe from upstream by shutting down.
326
+ *
327
+ * @since 2.0.0
328
+ * @category utils
329
+ */
330
+ const broadcastedQueues = stream.broadcastedQueues;
331
+
332
+ /**
333
+ * Converts the stream to a scoped dynamic amount of queues. Every chunk will
334
+ * be replicated to every queue with the slowest queue being allowed to buffer
335
+ * `maximumLag` chunks before the driver is back pressured.
336
+ *
337
+ * Queues can unsubscribe from upstream by shutting down.
338
+ *
339
+ * @since 2.0.0
340
+ * @category utils
341
+ */
342
+ const broadcastedQueuesDynamic = stream.broadcastedQueuesDynamic;
343
+
344
+ /**
345
+ * Allows a faster producer to progress independently of a slower consumer by
346
+ * buffering up to `capacity` elements in a queue.
347
+ *
348
+ * @note This combinator destroys the chunking structure. It's recommended to
349
+ * use rechunk afterwards. Additionally, prefer capacities that are powers
350
+ * of 2 for better performance.
351
+ * @since 2.0.0
352
+ * @category utils
353
+ */
354
+ const buffer = stream.buffer;
355
+
356
+ /**
357
+ * Allows a faster producer to progress independently of a slower consumer by
358
+ * buffering up to `capacity` chunks in a queue.
359
+ *
360
+ * @note Prefer capacities that are powers of 2 for better performance.
361
+ * @since 2.0.0
362
+ * @category utils
363
+ */
364
+ const bufferChunks = stream.bufferChunks;
365
+
366
+ /**
367
+ * Switches over to the stream produced by the provided function in case this
368
+ * one fails with a typed error.
369
+ *
370
+ * @since 2.0.0
371
+ * @category error handling
372
+ */
373
+ const catchAll = stream.catchAll;
374
+
375
+ /**
376
+ * Switches over to the stream produced by the provided function in case this
377
+ * one fails. Allows recovery from all causes of failure, including
378
+ * interruption if the stream is uninterruptible.
379
+ *
380
+ * @since 2.0.0
381
+ * @category error handling
382
+ */
383
+ const catchAllCause = stream.catchAllCause;
384
+
385
+ /**
386
+ * Switches over to the stream produced by the provided function in case this
387
+ * one fails with some typed error.
388
+ *
389
+ * @since 2.0.0
390
+ * @category error handling
391
+ */
392
+ const catchSome = stream.catchSome;
393
+
394
+ /**
395
+ * Switches over to the stream produced by the provided function in case this
396
+ * one fails with an error matching the given `_tag`.
397
+ *
398
+ * @since 2.0.0
399
+ * @category error handling
400
+ */
401
+ const catchTag = stream.catchTag;
402
+
403
+ /**
404
+ * Switches over to the stream produced by one of the provided functions, in
405
+ * case this one fails with an error matching one of the given `_tag`'s.
406
+ *
407
+ * @since 2.0.0
408
+ * @category error handling
409
+ */
410
+ const catchTags = stream.catchTags;
411
+
412
+ /**
413
+ * Switches over to the stream produced by the provided function in case this
414
+ * one fails with some errors. Allows recovery from all causes of failure,
415
+ * including interruption if the stream is uninterruptible.
416
+ *
417
+ * @since 2.0.0
418
+ * @category error handling
419
+ */
420
+ const catchSomeCause = stream.catchSomeCause;
421
+
422
+ /**
423
+ * Returns a new stream that only emits elements that are not equal to the
424
+ * previous element emitted, using natural equality to determine whether two
425
+ * elements are equal.
426
+ *
427
+ * @since 2.0.0
428
+ * @category utils
429
+ */
430
+ const changes = stream.changes;
431
+
432
+ /**
433
+ * Returns a new stream that only emits elements that are not equal to the
434
+ * previous element emitted, using the specified function to determine whether
435
+ * two elements are equal.
436
+ *
437
+ * @since 2.0.0
438
+ * @category utils
439
+ */
440
+ const changesWith = stream.changesWith;
441
+
442
+ /**
443
+ * Returns a new stream that only emits elements that are not equal to the
444
+ * previous element emitted, using the specified effectual function to
445
+ * determine whether two elements are equal.
446
+ *
447
+ * @since 2.0.0
448
+ * @category utils
449
+ */
450
+ const changesWithEffect = stream.changesWithEffect;
451
+
452
+ /**
453
+ * Exposes the underlying chunks of the stream as a stream of chunks of
454
+ * elements.
455
+ *
456
+ * @since 2.0.0
457
+ * @category utils
458
+ */
459
+ const chunks = stream.chunks;
460
+
461
+ /**
462
+ * Performs the specified stream transformation with the chunk structure of
463
+ * the stream exposed.
464
+ *
465
+ * @since 2.0.0
466
+ * @category utils
467
+ */
468
+ const chunksWith = stream.chunksWith;
469
+
470
+ /**
471
+ * Combines the elements from this stream and the specified stream by
472
+ * repeatedly applying the function `f` to extract an element using both sides
473
+ * and conceptually "offer" it to the destination stream. `f` can maintain
474
+ * some internal state to control the combining process, with the initial
475
+ * state being specified by `s`.
476
+ *
477
+ * Where possible, prefer `Stream.combineChunks` for a more efficient
478
+ * implementation.
479
+ *
480
+ * @since 2.0.0
481
+ * @category utils
482
+ */
483
+ const combine = stream.combine;
484
+
485
+ /**
486
+ * Combines the chunks from this stream and the specified stream by repeatedly
487
+ * applying the function `f` to extract a chunk using both sides and
488
+ * conceptually "offer" it to the destination stream. `f` can maintain some
489
+ * internal state to control the combining process, with the initial state
490
+ * being specified by `s`.
491
+ *
492
+ * @since 2.0.0
493
+ * @category utils
494
+ */
495
+ const combineChunks = stream.combineChunks;
496
+
497
+ /**
498
+ * Concatenates the specified stream with this stream, resulting in a stream
499
+ * that emits the elements from this stream and then the elements from the
500
+ * specified stream.
501
+ *
502
+ * @since 2.0.0
503
+ * @category utils
504
+ */
505
+ const concat = stream.concat;
506
+
507
+ /**
508
+ * Concatenates all of the streams in the chunk to one stream.
509
+ *
510
+ * @since 2.0.0
511
+ * @category constructors
512
+ */
513
+ const concatAll = stream.concatAll;
514
+
515
+ /**
516
+ * Composes this stream with the specified stream to create a cartesian
517
+ * product of elements. The `that` stream would be run multiple times, for
518
+ * every element in the `this` stream.
519
+ *
520
+ * See also `Stream.zip` for the more common point-wise variant.
521
+ *
522
+ * @since 2.0.0
523
+ * @category utils
524
+ */
525
+ const cross = stream.cross;
526
+
527
+ /**
528
+ * Composes this stream with the specified stream to create a cartesian
529
+ * product of elements, but keeps only elements from this stream. The `that`
530
+ * stream would be run multiple times, for every element in the `this` stream.
531
+ *
532
+ * See also `Stream.zipLeft` for the more common point-wise variant.
533
+ *
534
+ * @since 2.0.0
535
+ * @category utils
536
+ */
537
+ const crossLeft = stream.crossLeft;
538
+
539
+ /**
540
+ * Composes this stream with the specified stream to create a cartesian
541
+ * product of elements, but keeps only elements from the other stream. The
542
+ * `that` stream would be run multiple times, for every element in the `this`
543
+ * stream.
544
+ *
545
+ * See also `Stream.zipRight` for the more common point-wise variant.
546
+ *
547
+ * @since 2.0.0
548
+ * @category utils
549
+ */
550
+ const crossRight = stream.crossRight;
551
+
552
+ /**
553
+ * Composes this stream with the specified stream to create a cartesian
554
+ * product of elements with a specified function. The `that` stream would be
555
+ * run multiple times, for every element in the `this` stream.
556
+ *
557
+ * See also `Stream.zipWith` for the more common point-wise variant.
558
+ *
559
+ * @since 2.0.0
560
+ * @category utils
561
+ */
562
+ const crossWith = stream.crossWith;
563
+
564
+ /**
565
+ * Delays the emission of values by holding new values for a set duration. If
566
+ * no new values arrive during that time the value is emitted, however if a
567
+ * new value is received during the holding period the previous value is
568
+ * discarded and the process is repeated with the new value.
569
+ *
570
+ * This operator is useful if you have a stream of "bursty" events which
571
+ * eventually settle down and you only need the final event of the burst. For
572
+ * example, a search engine may only want to initiate a search after a user
573
+ * has paused typing so as to not prematurely recommend results.
574
+ *
575
+ * @since 2.0.0
576
+ * @category utils
577
+ */
578
+ const debounce = stream.debounce;
579
+
580
+ /**
581
+ * The stream that dies with the specified defect.
582
+ *
583
+ * @since 2.0.0
584
+ * @category constructors
585
+ */
586
+ const die = stream.die;
587
+
588
+ /**
589
+ * The stream that dies with the specified lazily evaluated defect.
590
+ *
591
+ * @since 2.0.0
592
+ * @category constructors
593
+ */
594
+ const dieSync = stream.dieSync;
595
+
596
+ /**
597
+ * The stream that dies with an exception described by `message`.
598
+ *
599
+ * @since 2.0.0
600
+ * @category constructors
601
+ */
602
+ const dieMessage = stream.dieMessage;
603
+
604
+ /**
605
+ * More powerful version of `Stream.broadcast`. Allows to provide a function
606
+ * that determines what queues should receive which elements. The decide
607
+ * function will receive the indices of the queues in the resulting list.
608
+ *
609
+ * @since 2.0.0
610
+ * @category utils
611
+ */
612
+ const distributedWith = stream.distributedWith;
613
+
614
+ /**
615
+ * More powerful version of `Stream.distributedWith`. This returns a function
616
+ * that will produce new queues and corresponding indices. You can also
617
+ * provide a function that will be executed after the final events are
618
+ * enqueued in all queues. Shutdown of the queues is handled by the driver.
619
+ * Downstream users can also shutdown queues manually. In this case the driver
620
+ * will continue but no longer backpressure on them.
621
+ *
622
+ * @since 2.0.0
623
+ * @category utils
624
+ */
625
+ const distributedWithDynamic = stream.distributedWithDynamic;
626
+
627
+ /**
628
+ * Converts this stream to a stream that executes its effects but emits no
629
+ * elements. Useful for sequencing effects using streams:
630
+ *
631
+ * @since 2.0.0
632
+ * @category utils
633
+ */
634
+ const drain = stream.drain;
635
+
636
+ /**
637
+ * Drains the provided stream in the background for as long as this stream is
638
+ * running. If this stream ends before `other`, `other` will be interrupted.
639
+ * If `other` fails, this stream will fail with that error.
640
+ *
641
+ * @since 2.0.0
642
+ * @category utils
643
+ */
644
+ const drainFork = stream.drainFork;
645
+
646
+ /**
647
+ * Drops the specified number of elements from this stream.
648
+ *
649
+ * @since 2.0.0
650
+ * @category utils
651
+ */
652
+ const drop = stream.drop;
653
+
654
+ /**
655
+ * Drops the last specified number of elements from this stream.
656
+ *
657
+ * @note This combinator keeps `n` elements in memory. Be careful with big
658
+ * numbers.
659
+ * @since 2.0.0
660
+ * @category utils
661
+ */
662
+ const dropRight = stream.dropRight;
663
+
664
+ /**
665
+ * Drops all elements of the stream until the specified predicate evaluates to
666
+ * `true`.
667
+ *
668
+ * @since 2.0.0
669
+ * @category utils
670
+ */
671
+ const dropUntil = stream.dropUntil;
672
+
673
+ /**
674
+ * Drops all elements of the stream until the specified effectful predicate
675
+ * evaluates to `true`.
676
+ *
677
+ * @since 2.0.0
678
+ * @category utils
679
+ */
680
+ const dropUntilEffect = stream.dropUntilEffect;
681
+
682
+ /**
683
+ * Drops all elements of the stream for as long as the specified predicate
684
+ * evaluates to `true`.
685
+ *
686
+ * @since 2.0.0
687
+ * @category utils
688
+ */
689
+ const dropWhile = stream.dropWhile;
690
+
691
+ /**
692
+ * Drops all elements of the stream for as long as the specified predicate
693
+ * produces an effect that evalutates to `true`
694
+ *
695
+ * @since 2.0.0
696
+ * @category utils
697
+ */
698
+ const dropWhileEffect = stream.dropWhileEffect;
699
+
700
+ /**
701
+ * Returns a stream whose failures and successes have been lifted into an
702
+ * `Either`. The resulting stream cannot fail, because the failures have been
703
+ * exposed as part of the `Either` success case.
704
+ *
705
+ * @note The stream will end as soon as the first error occurs.
706
+ *
707
+ * @since 2.0.0
708
+ * @category utils
709
+ */
710
+ const either = stream.either;
711
+
712
+ /**
713
+ * The empty stream.
714
+ *
715
+ * @since 2.0.0
716
+ * @category constructors
717
+ */
718
+ const empty = stream.empty;
719
+
720
+ /**
721
+ * Executes the provided finalizer after this stream's finalizers run.
722
+ *
723
+ * @since 2.0.0
724
+ * @category utils
725
+ */
726
+ const ensuring = stream.ensuring;
727
+
728
+ /**
729
+ * Executes the provided finalizer after this stream's finalizers run.
730
+ *
731
+ * @since 2.0.0
732
+ * @category utils
733
+ */
734
+ const ensuringWith = stream.ensuringWith;
735
+
736
+ /**
737
+ * Accesses the whole context of the stream.
738
+ *
739
+ * @since 2.0.0
740
+ * @category context
741
+ */
742
+ const context = stream.context;
743
+
744
+ /**
745
+ * Accesses the context of the stream.
746
+ *
747
+ * @since 2.0.0
748
+ * @category context
749
+ */
750
+ const contextWith = stream.contextWith;
751
+
752
+ /**
753
+ * Accesses the context of the stream in the context of an effect.
754
+ *
755
+ * @since 2.0.0
756
+ * @category context
757
+ */
758
+ const contextWithEffect = stream.contextWithEffect;
759
+
760
+ /**
761
+ * Accesses the context of the stream in the context of a stream.
762
+ *
763
+ * @since 2.0.0
764
+ * @category context
765
+ */
766
+ const contextWithStream = stream.contextWithStream;
767
+
768
+ /**
769
+ * Creates a stream that executes the specified effect but emits no elements.
770
+ *
771
+ * @since 2.0.0
772
+ * @category constructors
773
+ */
774
+ const execute = stream.execute;
775
+
776
+ /**
777
+ * Terminates with the specified error.
778
+ *
779
+ * @since 2.0.0
780
+ * @category constructors
781
+ */
782
+ const fail = stream.fail;
783
+
784
+ /**
785
+ * Terminates with the specified lazily evaluated error.
786
+ *
787
+ * @since 2.0.0
788
+ * @category constructors
789
+ */
790
+ const failSync = stream.failSync;
791
+
792
+ /**
793
+ * The stream that always fails with the specified `Cause`.
794
+ *
795
+ * @since 2.0.0
796
+ * @category constructors
797
+ */
798
+ const failCause = stream.failCause;
799
+
800
+ /**
801
+ * The stream that always fails with the specified lazily evaluated `Cause`.
802
+ *
803
+ * @since 2.0.0
804
+ * @category constructors
805
+ */
806
+ const failCauseSync = stream.failCauseSync;
807
+
808
+ /**
809
+ * Filters the elements emitted by this stream using the provided function.
810
+ *
811
+ * @since 2.0.0
812
+ * @category filtering
813
+ */
814
+ const filter = stream.filter;
815
+
816
+ /**
817
+ * Effectfully filters the elements emitted by this stream.
818
+ *
819
+ * @since 2.0.0
820
+ * @category filtering
821
+ */
822
+ const filterEffect = stream.filterEffect;
823
+
824
+ /**
825
+ * Performs a filter and map in a single step.
826
+ *
827
+ * @since 2.0.0
828
+ * @category utils
829
+ */
830
+ const filterMap = stream.filterMap;
831
+
832
+ /**
833
+ * Performs an effectful filter and map in a single step.
834
+ *
835
+ * @since 2.0.0
836
+ * @category utils
837
+ */
838
+ const filterMapEffect = stream.filterMapEffect;
839
+
840
+ /**
841
+ * Transforms all elements of the stream for as long as the specified partial
842
+ * function is defined.
843
+ *
844
+ * @since 2.0.0
845
+ * @category utils
846
+ */
847
+ const filterMapWhile = stream.filterMapWhile;
848
+
849
+ /**
850
+ * Effectfully transforms all elements of the stream for as long as the
851
+ * specified partial function is defined.
852
+ *
853
+ * @since 2.0.0
854
+ * @category utils
855
+ */
856
+ const filterMapWhileEffect = stream.filterMapWhileEffect;
857
+
858
+ /**
859
+ * Creates a one-element stream that never fails and executes the finalizer
860
+ * when it ends.
861
+ *
862
+ * @since 2.0.0
863
+ * @category constructors
864
+ */
865
+ const finalizer = stream.finalizer;
866
+
867
+ /**
868
+ * Finds the first element emitted by this stream that satisfies the provided
869
+ * predicate.
870
+ *
871
+ * @since 2.0.0
872
+ * @category elements
873
+ */
874
+ const find = stream.find;
875
+
876
+ /**
877
+ * Finds the first element emitted by this stream that satisfies the provided
878
+ * effectful predicate.
879
+ *
880
+ * @since 2.0.0
881
+ * @category elements
882
+ */
883
+ const findEffect = stream.findEffect;
884
+
885
+ /**
886
+ * Returns a stream made of the concatenation in strict order of all the
887
+ * streams produced by passing each element of this stream to `f0`
888
+ *
889
+ * @since 2.0.0
890
+ * @category sequencing
891
+ */
892
+ const flatMap = stream.flatMap;
893
+
894
+ /**
895
+ * Flattens this stream-of-streams into a stream made of the concatenation in
896
+ * strict order of all the streams.
897
+ *
898
+ * @since 2.0.0
899
+ * @category sequencing
900
+ */
901
+ const flatten = stream.flatten;
902
+
903
+ /**
904
+ * Submerges the chunks carried by this stream into the stream's structure,
905
+ * while still preserving them.
906
+ *
907
+ * @since 2.0.0
908
+ * @category sequencing
909
+ */
910
+ const flattenChunks = stream.flattenChunks;
911
+
912
+ /**
913
+ * Flattens `Effect` values into the stream's structure, preserving all
914
+ * information about the effect.
915
+ *
916
+ * @since 2.0.0
917
+ * @category sequencing
918
+ */
919
+ const flattenEffect = stream.flattenEffect;
920
+
921
+ /**
922
+ * Unwraps `Exit` values that also signify end-of-stream by failing with `None`.
923
+ *
924
+ * For `Exit` values that do not signal end-of-stream, prefer:
925
+ *
926
+ * ```ts
927
+ * stream.mapZIO(ZIO.done(_))
928
+ * ```
929
+ *
930
+ * @since 2.0.0
931
+ * @category sequencing
932
+ */
933
+ const flattenExitOption = stream.flattenExitOption;
934
+
935
+ /**
936
+ * Submerges the iterables carried by this stream into the stream's structure,
937
+ * while still preserving them.
938
+ *
939
+ * @since 2.0.0
940
+ * @category sequencing
941
+ */
942
+ const flattenIterables = stream.flattenIterables;
943
+
944
+ /**
945
+ * Unwraps `Exit` values and flatten chunks that also signify end-of-stream
946
+ * by failing with `None`.
947
+ *
948
+ * @since 2.0.0
949
+ * @category sequencing
950
+ */
951
+ const flattenTake = stream.flattenTake;
952
+
953
+ /**
954
+ * Repeats this stream forever.
955
+ *
956
+ * @since 2.0.0
957
+ * @category utils
958
+ */
959
+ const forever = stream.forever;
960
+
961
+ /**
962
+ * Creates a stream from an `AsyncIterable`.
963
+ *
964
+ * @since 2.0.0
965
+ * @category constructors
966
+ */
967
+ const fromAsyncIterable = stream.fromAsyncIterable;
968
+
969
+ /**
970
+ * Creates a stream from a `Channel`.
971
+ *
972
+ * @since 2.0.0
973
+ * @category constructors
974
+ */
975
+ const fromChannel = stream.fromChannel;
976
+
977
+ /**
978
+ * Creates a channel from a `Stream`.
979
+ *
980
+ * @since 2.0.0
981
+ * @category constructors
982
+ */
983
+ const toChannel = stream.toChannel;
984
+
985
+ /**
986
+ * Creates a stream from a `Chunk` of values.
987
+ *
988
+ * @since 2.0.0
989
+ * @category constructors
990
+ */
991
+ const fromChunk = stream.fromChunk;
992
+
993
+ /**
994
+ * Creates a stream from a subscription to a `Hub`.
995
+ *
996
+ * @param shutdown If `true`, the hub will be shutdown after the stream is evaluated (defaults to `false`)
997
+ * @since 2.0.0
998
+ * @category constructors
999
+ */
1000
+ const fromChunkHub = stream.fromChunkHub;
1001
+
1002
+ /**
1003
+ * Creates a stream from a `Queue` of values.
1004
+ *
1005
+ * @param shutdown If `true`, the queue will be shutdown after the stream is evaluated (defaults to `false`)
1006
+ * @since 2.0.0
1007
+ * @category constructors
1008
+ */
1009
+ const fromChunkQueue = stream.fromChunkQueue;
1010
+
1011
+ /**
1012
+ * Creates a stream from an arbitrary number of chunks.
1013
+ *
1014
+ * @since 2.0.0
1015
+ * @category constructors
1016
+ */
1017
+ const fromChunks = stream.fromChunks;
1018
+
1019
+ /**
1020
+ * Either emits the success value of this effect or terminates the stream
1021
+ * with the failure value of this effect.
1022
+ *
1023
+ * @since 2.0.0
1024
+ * @category constructors
1025
+ */
1026
+ const fromEffect = stream.fromEffect;
1027
+
1028
+ /**
1029
+ * Creates a stream from an effect producing a value of type `A` or an empty
1030
+ * `Stream`.
1031
+ *
1032
+ * @since 2.0.0
1033
+ * @category constructors
1034
+ */
1035
+ const fromEffectOption = stream.fromEffectOption;
1036
+
1037
+ /**
1038
+ * Creates a stream from a subscription to a `Hub`.
1039
+ *
1040
+ * @param shutdown If `true`, the hub will be shutdown after the stream is evaluated (defaults to `false`)
1041
+ * @since 2.0.0
1042
+ * @category constructors
1043
+ */
1044
+ const fromHub = stream.fromHub;
1045
+
1046
+ /**
1047
+ * Creates a stream from an `Iterable` collection of values.
1048
+ *
1049
+ * @since 2.0.0
1050
+ * @category constructors
1051
+ */
1052
+ const fromIterable = stream.fromIterable;
1053
+
1054
+ /**
1055
+ * Creates a stream from an effect producing a value of type `Iterable<A>`.
1056
+ *
1057
+ * @since 2.0.0
1058
+ * @category constructors
1059
+ */
1060
+ const fromIterableEffect = stream.fromIterableEffect;
1061
+
1062
+ /**
1063
+ * Creates a stream from an iterator
1064
+ *
1065
+ * @since 2.0.0
1066
+ * @category constructors
1067
+ */
1068
+ const fromIteratorSucceed = stream.fromIteratorSucceed;
1069
+
1070
+ /**
1071
+ * Creates a stream from an effect that pulls elements from another stream.
1072
+ *
1073
+ * See `Stream.toPull` for reference.
1074
+ *
1075
+ * @since 2.0.0
1076
+ * @category constructors
1077
+ */
1078
+ const fromPull = stream.fromPull;
1079
+
1080
+ /**
1081
+ * Creates a stream from a queue of values
1082
+ *
1083
+ * @param maxChunkSize The maximum number of queued elements to put in one chunk in the stream
1084
+ * @param shutdown If `true`, the queue will be shutdown after the stream is evaluated (defaults to `false`)
1085
+ * @since 2.0.0
1086
+ * @category constructors
1087
+ */
1088
+ const fromQueue = stream.fromQueue;
1089
+
1090
+ /**
1091
+ * Creates a stream from a `ReadableStream`.
1092
+ *
1093
+ * See https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream.
1094
+ *
1095
+ * @since 2.0.0
1096
+ * @category constructors
1097
+ */
1098
+ const fromReadableStream = stream.fromReadableStream;
1099
+
1100
+ /**
1101
+ * Creates a stream from a `ReadableStreamBYOBReader`.
1102
+ *
1103
+ * See https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader.
1104
+ *
1105
+ * @param allocSize Controls the size of the underlying `ArrayBuffer` (defaults to `4096`).
1106
+ * @since 2.0.0
1107
+ * @category constructors
1108
+ */
1109
+ const fromReadableStreamByob = stream.fromReadableStreamByob;
1110
+
1111
+ /**
1112
+ * Creates a stream from a `Schedule` that does not require any further
1113
+ * input. The stream will emit an element for each value output from the
1114
+ * schedule, continuing for as long as the schedule continues.
1115
+ *
1116
+ * @since 2.0.0
1117
+ * @category constructors
1118
+ */
1119
+ const fromSchedule = stream.fromSchedule;
1120
+
1121
+ /**
1122
+ * Creates a pipeline that groups on adjacent keys, calculated by the
1123
+ * specified function.
1124
+ *
1125
+ * @since 2.0.0
1126
+ * @category grouping
1127
+ */
1128
+ const groupAdjacentBy = stream.groupAdjacentBy;
1129
+
1130
+ /**
1131
+ * More powerful version of `Stream.groupByKey`.
1132
+ *
1133
+ * @since 2.0.0
1134
+ * @category grouping
1135
+ */
1136
+ const groupBy = groupBy$1.groupBy;
1137
+
1138
+ /**
1139
+ * Partition a stream using a function and process each stream individually.
1140
+ * This returns a data structure that can be used to further filter down which
1141
+ * groups shall be processed.
1142
+ *
1143
+ * After calling apply on the GroupBy object, the remaining groups will be
1144
+ * processed in parallel and the resulting streams merged in a
1145
+ * nondeterministic fashion.
1146
+ *
1147
+ * Up to `buffer` elements may be buffered in any group stream before the
1148
+ * producer is backpressured. Take care to consume from all streams in order
1149
+ * to prevent deadlocks.
1150
+ *
1151
+ * For example, to collect the first 2 words for every starting letter from a
1152
+ * stream of words:
1153
+ *
1154
+ * ```ts
1155
+ * import * as GroupBy from "./GroupBy"
1156
+ * import * as Stream from "./Stream"
1157
+ * import { pipe } from "./Function"
1158
+ *
1159
+ * pipe(
1160
+ * Stream.fromIterable(["hello", "world", "hi", "holla"]),
1161
+ * Stream.groupByKey((word) => word[0]),
1162
+ * GroupBy.evaluate((key, stream) =>
1163
+ * pipe(
1164
+ * stream,
1165
+ * Stream.take(2),
1166
+ * Stream.map((words) => [key, words] as const)
1167
+ * )
1168
+ * )
1169
+ * )
1170
+ * ```
1171
+ *
1172
+ * @since 2.0.0
1173
+ * @category utils
1174
+ */
1175
+ const groupByKey = groupBy$1.groupByKey;
1176
+
1177
+ /**
1178
+ * Partitions the stream with specified `chunkSize`.
1179
+ *
1180
+ * @since 2.0.0
1181
+ * @category utils
1182
+ */
1183
+ const grouped = stream.grouped;
1184
+
1185
+ /**
1186
+ * Partitions the stream with the specified `chunkSize` or until the specified
1187
+ * `duration` has passed, whichever is satisfied first.
1188
+ *
1189
+ * @since 2.0.0
1190
+ * @category utils
1191
+ */
1192
+ const groupedWithin = stream.groupedWithin;
1193
+
1194
+ /**
1195
+ * Specialized version of haltWhen which halts the evaluation of this stream
1196
+ * after the given duration.
1197
+ *
1198
+ * An element in the process of being pulled will not be interrupted when the
1199
+ * given duration completes. See `interruptAfter` for this behavior.
1200
+ *
1201
+ * @since 2.0.0
1202
+ * @category utils
1203
+ */
1204
+ const haltAfter = stream.haltAfter;
1205
+
1206
+ /**
1207
+ * Halts the evaluation of this stream when the provided effect completes. The
1208
+ * given effect will be forked as part of the returned stream, and its success
1209
+ * will be discarded.
1210
+ *
1211
+ * An element in the process of being pulled will not be interrupted when the
1212
+ * effect completes. See `interruptWhen` for this behavior.
1213
+ *
1214
+ * If the effect completes with a failure, the stream will emit that failure.
1215
+ *
1216
+ * @since 2.0.0
1217
+ * @category utils
1218
+ */
1219
+ const haltWhen = stream.haltWhen;
1220
+
1221
+ /**
1222
+ * Halts the evaluation of this stream when the provided promise resolves.
1223
+ *
1224
+ * If the promise completes with a failure, the stream will emit that failure.
1225
+ *
1226
+ * @since 2.0.0
1227
+ * @category utils
1228
+ */
1229
+ const haltWhenDeferred = stream.haltWhenDeferred;
1230
+
1231
+ /**
1232
+ * The identity pipeline, which does not modify streams in any way.
1233
+ *
1234
+ * @since 2.0.0
1235
+ * @category utils
1236
+ */
1237
+ const identity = stream.identityStream;
1238
+
1239
+ /**
1240
+ * Interleaves this stream and the specified stream deterministically by
1241
+ * alternating pulling values from this stream and the specified stream. When
1242
+ * one stream is exhausted all remaining values in the other stream will be
1243
+ * pulled.
1244
+ *
1245
+ * @since 2.0.0
1246
+ * @category utils
1247
+ */
1248
+ const interleave = stream.interleave;
1249
+
1250
+ /**
1251
+ * Combines this stream and the specified stream deterministically using the
1252
+ * stream of boolean values `pull` to control which stream to pull from next.
1253
+ * A value of `true` indicates to pull from this stream and a value of `false`
1254
+ * indicates to pull from the specified stream. Only consumes as many elements
1255
+ * as requested by the `pull` stream. If either this stream or the specified
1256
+ * stream are exhausted further requests for values from that stream will be
1257
+ * ignored.
1258
+ *
1259
+ * @since 2.0.0
1260
+ * @category utils
1261
+ */
1262
+ const interleaveWith = stream.interleaveWith;
1263
+
1264
+ /**
1265
+ * Intersperse stream with provided `element`.
1266
+ *
1267
+ * @since 2.0.0
1268
+ * @category utils
1269
+ */
1270
+ const intersperse = stream.intersperse;
1271
+
1272
+ /**
1273
+ * Intersperse the specified element, also adding a prefix and a suffix.
1274
+ *
1275
+ * @since 2.0.0
1276
+ * @category utils
1277
+ */
1278
+ const intersperseAffixes = stream.intersperseAffixes;
1279
+
1280
+ /**
1281
+ * Specialized version of `Stream.interruptWhen` which interrupts the
1282
+ * evaluation of this stream after the given `Duration`.
1283
+ *
1284
+ * @since 2.0.0
1285
+ * @category utils
1286
+ */
1287
+ const interruptAfter = stream.interruptAfter;
1288
+
1289
+ /**
1290
+ * Interrupts the evaluation of this stream when the provided effect
1291
+ * completes. The given effect will be forked as part of this stream, and its
1292
+ * success will be discarded. This combinator will also interrupt any
1293
+ * in-progress element being pulled from upstream.
1294
+ *
1295
+ * If the effect completes with a failure before the stream completes, the
1296
+ * returned stream will emit that failure.
1297
+ *
1298
+ * @since 2.0.0
1299
+ * @category utils
1300
+ */
1301
+ const interruptWhen = stream.interruptWhen;
1302
+
1303
+ /**
1304
+ * Interrupts the evaluation of this stream when the provided promise
1305
+ * resolves. This combinator will also interrupt any in-progress element being
1306
+ * pulled from upstream.
1307
+ *
1308
+ * If the promise completes with a failure, the stream will emit that failure.
1309
+ *
1310
+ * @since 2.0.0
1311
+ * @category utils
1312
+ */
1313
+ const interruptWhenDeferred = stream.interruptWhenDeferred;
1314
+
1315
+ /**
1316
+ * The infinite stream of iterative function application: a, f(a), f(f(a)),
1317
+ * f(f(f(a))), ...
1318
+ *
1319
+ * @since 2.0.0
1320
+ * @category constructors
1321
+ */
1322
+ const iterate = stream.iterate;
1323
+
1324
+ /**
1325
+ * Creates a stream from an sequence of values.
1326
+ *
1327
+ * @since 2.0.0
1328
+ * @category constructors
1329
+ */
1330
+ const make = stream.make;
1331
+
1332
+ /**
1333
+ * Transforms the elements of this stream using the supplied function.
1334
+ *
1335
+ * @since 2.0.0
1336
+ * @category mapping
1337
+ */
1338
+ const map = stream.map;
1339
+
1340
+ /**
1341
+ * Statefully maps over the elements of this stream to produce new elements.
1342
+ *
1343
+ * @since 2.0.0
1344
+ * @category mapping
1345
+ */
1346
+ const mapAccum = stream.mapAccum;
1347
+
1348
+ /**
1349
+ * Statefully and effectfully maps over the elements of this stream to produce
1350
+ * new elements.
1351
+ *
1352
+ * @since 2.0.0
1353
+ * @category mapping
1354
+ */
1355
+ const mapAccumEffect = stream.mapAccumEffect;
1356
+
1357
+ /**
1358
+ * Returns a stream whose failure and success channels have been mapped by the
1359
+ * specified `onFailure` and `onSuccess` functions.
1360
+ *
1361
+ * @since 2.0.0
1362
+ * @category utils
1363
+ */
1364
+ const mapBoth = stream.mapBoth;
1365
+
1366
+ /**
1367
+ * Transforms the chunks emitted by this stream.
1368
+ *
1369
+ * @since 2.0.0
1370
+ * @category mapping
1371
+ */
1372
+ const mapChunks = stream.mapChunks;
1373
+
1374
+ /**
1375
+ * Effectfully transforms the chunks emitted by this stream.
1376
+ *
1377
+ * @since 2.0.0
1378
+ * @category mapping
1379
+ */
1380
+ const mapChunksEffect = stream.mapChunksEffect;
1381
+
1382
+ /**
1383
+ * Maps each element to an iterable, and flattens the iterables into the
1384
+ * output of this stream.
1385
+ *
1386
+ * @since 2.0.0
1387
+ * @category mapping
1388
+ */
1389
+ const mapConcat = stream.mapConcat;
1390
+
1391
+ /**
1392
+ * Maps each element to a chunk, and flattens the chunks into the output of
1393
+ * this stream.
1394
+ *
1395
+ * @since 2.0.0
1396
+ * @category mapping
1397
+ */
1398
+ const mapConcatChunk = stream.mapConcatChunk;
1399
+
1400
+ /**
1401
+ * Effectfully maps each element to a chunk, and flattens the chunks into the
1402
+ * output of this stream.
1403
+ *
1404
+ * @since 2.0.0
1405
+ * @category mapping
1406
+ */
1407
+ const mapConcatChunkEffect = stream.mapConcatChunkEffect;
1408
+
1409
+ /**
1410
+ * Effectfully maps each element to an iterable, and flattens the iterables
1411
+ * into the output of this stream.
1412
+ *
1413
+ * @since 2.0.0
1414
+ * @category mapping
1415
+ */
1416
+ const mapConcatEffect = stream.mapConcatEffect;
1417
+
1418
+ /**
1419
+ * Maps over elements of the stream with the specified effectful function.
1420
+ *
1421
+ * @since 2.0.0
1422
+ * @category mapping
1423
+ */
1424
+ const mapEffect = groupBy$1.mapEffectOptions;
1425
+
1426
+ /**
1427
+ * Transforms the errors emitted by this stream using `f`.
1428
+ *
1429
+ * @since 2.0.0
1430
+ * @category mapping
1431
+ */
1432
+ const mapError = stream.mapError;
1433
+
1434
+ /**
1435
+ * Transforms the full causes of failures emitted by this stream.
1436
+ *
1437
+ * @since 2.0.0
1438
+ * @category mapping
1439
+ */
1440
+ const mapErrorCause = stream.mapErrorCause;
1441
+
1442
+ /**
1443
+ * Merges this stream and the specified stream together.
1444
+ *
1445
+ * New produced stream will terminate when both specified stream terminate if
1446
+ * no termination strategy is specified.
1447
+ *
1448
+ * @since 2.0.0
1449
+ * @category utils
1450
+ */
1451
+ const merge = stream.merge;
1452
+
1453
+ /**
1454
+ * Merges a variable list of streams in a non-deterministic fashion. Up to `n`
1455
+ * streams may be consumed in parallel and up to `outputBuffer` chunks may be
1456
+ * buffered by this operator.
1457
+ *
1458
+ * @since 2.0.0
1459
+ * @category utils
1460
+ */
1461
+ const mergeAll = stream.mergeAll;
1462
+
1463
+ /**
1464
+ * Merges this stream and the specified stream together to a common element
1465
+ * type with the specified mapping functions.
1466
+ *
1467
+ * New produced stream will terminate when both specified stream terminate if
1468
+ * no termination strategy is specified.
1469
+ *
1470
+ * @since 2.0.0
1471
+ * @category utils
1472
+ */
1473
+ const mergeWith = stream.mergeWith;
1474
+
1475
+ /**
1476
+ * Merges this stream and the specified stream together to produce a stream of
1477
+ * eithers.
1478
+ *
1479
+ * @since 2.0.0
1480
+ * @category utils
1481
+ */
1482
+ const mergeEither = stream.mergeEither;
1483
+
1484
+ /**
1485
+ * Merges this stream and the specified stream together, discarding the values
1486
+ * from the right stream.
1487
+ *
1488
+ * @since 2.0.0
1489
+ * @category utils
1490
+ */
1491
+ const mergeLeft = stream.mergeLeft;
1492
+
1493
+ /**
1494
+ * Merges this stream and the specified stream together, discarding the values
1495
+ * from the left stream.
1496
+ *
1497
+ * @since 2.0.0
1498
+ * @category utils
1499
+ */
1500
+ const mergeRight = stream.mergeRight;
1501
+
1502
+ /**
1503
+ * Returns a combined string resulting from concatenating each of the values
1504
+ * from the stream.
1505
+ *
1506
+ * @since 2.0.0
1507
+ * @category utils
1508
+ */
1509
+ const mkString = stream.mkString;
1510
+
1511
+ /**
1512
+ * The stream that never produces any value or fails with any error.
1513
+ *
1514
+ * @since 2.0.0
1515
+ * @category constructors
1516
+ */
1517
+ const never = stream.never;
1518
+
1519
+ /**
1520
+ * Runs the specified effect if this stream fails, providing the error to the
1521
+ * effect if it exists.
1522
+ *
1523
+ * Note: Unlike `Effect.onError` there is no guarantee that the provided
1524
+ * effect will not be interrupted.
1525
+ *
1526
+ * @since 2.0.0
1527
+ * @category utils
1528
+ */
1529
+ const onError = stream.onError;
1530
+
1531
+ /**
1532
+ * Runs the specified effect if this stream ends.
1533
+ *
1534
+ * @since 2.0.0
1535
+ * @category utils
1536
+ */
1537
+ const onDone = stream.onDone;
1538
+
1539
+ /**
1540
+ * Translates any failure into a stream termination, making the stream
1541
+ * infallible and all failures unchecked.
1542
+ *
1543
+ * @since 2.0.0
1544
+ * @category error handling
1545
+ */
1546
+ const orDie = stream.orDie;
1547
+
1548
+ /**
1549
+ * Keeps none of the errors, and terminates the stream with them, using the
1550
+ * specified function to convert the `E` into a defect.
1551
+ *
1552
+ * @since 2.0.0
1553
+ * @category error handling
1554
+ */
1555
+ const orDieWith = stream.orDieWith;
1556
+
1557
+ /**
1558
+ * Switches to the provided stream in case this one fails with a typed error.
1559
+ *
1560
+ * See also `Stream.catchAll`.
1561
+ *
1562
+ * @since 2.0.0
1563
+ * @category error handling
1564
+ */
1565
+ const orElse = stream.orElse;
1566
+
1567
+ /**
1568
+ * Switches to the provided stream in case this one fails with a typed error.
1569
+ *
1570
+ * See also `Stream.catchAll`.
1571
+ *
1572
+ * @since 2.0.0
1573
+ * @category error handling
1574
+ */
1575
+ const orElseEither = stream.orElseEither;
1576
+
1577
+ /**
1578
+ * Fails with given error in case this one fails with a typed error.
1579
+ *
1580
+ * See also `Stream.catchAll`.
1581
+ *
1582
+ * @since 2.0.0
1583
+ * @category error handling
1584
+ */
1585
+ const orElseFail = stream.orElseFail;
1586
+
1587
+ /**
1588
+ * Produces the specified element if this stream is empty.
1589
+ *
1590
+ * @since 2.0.0
1591
+ * @category error handling
1592
+ */
1593
+ const orElseIfEmpty = stream.orElseIfEmpty;
1594
+
1595
+ /**
1596
+ * Produces the specified chunk if this stream is empty.
1597
+ *
1598
+ * @since 2.0.0
1599
+ * @category error handling
1600
+ */
1601
+ const orElseIfEmptyChunk = stream.orElseIfEmptyChunk;
1602
+
1603
+ /**
1604
+ * Switches to the provided stream in case this one is empty.
1605
+ *
1606
+ * @since 2.0.0
1607
+ * @category error handling
1608
+ */
1609
+ const orElseIfEmptyStream = stream.orElseIfEmptyStream;
1610
+
1611
+ /**
1612
+ * Succeeds with the specified value if this one fails with a typed error.
1613
+ *
1614
+ * @since 2.0.0
1615
+ * @category error handling
1616
+ */
1617
+ const orElseSucceed = stream.orElseSucceed;
1618
+
1619
+ /**
1620
+ * Like `Stream.unfold`, but allows the emission of values to end one step further
1621
+ * than the unfolding of the state. This is useful for embedding paginated
1622
+ * APIs, hence the name.
1623
+ *
1624
+ * @since 2.0.0
1625
+ * @category constructors
1626
+ */
1627
+ const paginate = stream.paginate;
1628
+
1629
+ /**
1630
+ * Like `Stream.unfoldChunk`, but allows the emission of values to end one step
1631
+ * further than the unfolding of the state. This is useful for embedding
1632
+ * paginated APIs, hence the name.
1633
+ *
1634
+ * @since 2.0.0
1635
+ * @category constructors
1636
+ */
1637
+ const paginateChunk = stream.paginateChunk;
1638
+
1639
+ /**
1640
+ * Like `Stream.unfoldChunkEffect`, but allows the emission of values to end one step
1641
+ * further than the unfolding of the state. This is useful for embedding
1642
+ * paginated APIs, hence the name.
1643
+ *
1644
+ * @since 2.0.0
1645
+ * @category constructors
1646
+ */
1647
+ const paginateChunkEffect = stream.paginateChunkEffect;
1648
+
1649
+ /**
1650
+ * Like `Stream.unfoldEffect` but allows the emission of values to end one step
1651
+ * further than the unfolding of the state. This is useful for embedding
1652
+ * paginated APIs, hence the name.
1653
+ *
1654
+ * @since 2.0.0
1655
+ * @category constructors
1656
+ */
1657
+ const paginateEffect = stream.paginateEffect;
1658
+
1659
+ /**
1660
+ * Partition a stream using a predicate. The first stream will contain all
1661
+ * element evaluated to true and the second one will contain all element
1662
+ * evaluated to false. The faster stream may advance by up to buffer elements
1663
+ * further than the slower one.
1664
+ *
1665
+ * @since 2.0.0
1666
+ * @category utils
1667
+ */
1668
+ const partition = stream.partition;
1669
+
1670
+ /**
1671
+ * Split a stream by an effectful predicate. The faster stream may advance by
1672
+ * up to buffer elements further than the slower one.
1673
+ *
1674
+ * @since 2.0.0
1675
+ * @category utils
1676
+ */
1677
+ const partitionEither = stream.partitionEither;
1678
+
1679
+ /**
1680
+ * Peels off enough material from the stream to construct a `Z` using the
1681
+ * provided `Sink` and then returns both the `Z` and the rest of the
1682
+ * `Stream` in a scope. Like all scoped values, the provided stream is
1683
+ * valid only within the scope.
1684
+ *
1685
+ * @since 2.0.0
1686
+ * @category utils
1687
+ */
1688
+ const peel = stream.peel;
1689
+
1690
+ /**
1691
+ * Pipes all of the values from this stream through the provided sink.
1692
+ *
1693
+ * See also `Stream.transduce`.
1694
+ *
1695
+ * @since 2.0.0
1696
+ * @category utils
1697
+ */
1698
+ const pipeThrough = stream.pipeThrough;
1699
+
1700
+ /**
1701
+ * Pipes all the values from this stream through the provided channel.
1702
+ *
1703
+ * @since 2.0.0
1704
+ * @category utils
1705
+ */
1706
+ const pipeThroughChannel = stream.pipeThroughChannel;
1707
+
1708
+ /**
1709
+ * Pipes all values from this stream through the provided channel, passing
1710
+ * through any error emitted by this stream unchanged.
1711
+ *
1712
+ * @since 2.0.0
1713
+ * @category utils
1714
+ */
1715
+ const pipeThroughChannelOrFail = stream.pipeThroughChannelOrFail;
1716
+
1717
+ /**
1718
+ * Emits the provided chunk before emitting any other value.
1719
+ *
1720
+ * @since 2.0.0
1721
+ * @category utils
1722
+ */
1723
+ const prepend = stream.prepend;
1724
+
1725
+ /**
1726
+ * Provides the stream with its required context, which eliminates its
1727
+ * dependency on `R`.
1728
+ *
1729
+ * @since 2.0.0
1730
+ * @category context
1731
+ */
1732
+ const provideContext = stream.provideContext;
1733
+
1734
+ /**
1735
+ * Provides a `Layer` to the stream, which translates it to another level.
1736
+ *
1737
+ * @since 2.0.0
1738
+ * @category context
1739
+ */
1740
+ const provideLayer = stream.provideLayer;
1741
+
1742
+ /**
1743
+ * Provides the stream with the single service it requires. If the stream
1744
+ * requires more than one service use `Stream.provideContext` instead.
1745
+ *
1746
+ * @since 2.0.0
1747
+ * @category context
1748
+ */
1749
+ const provideService = stream.provideService;
1750
+
1751
+ /**
1752
+ * Provides the stream with the single service it requires. If the stream
1753
+ * requires more than one service use `Stream.provideContext` instead.
1754
+ *
1755
+ * @since 2.0.0
1756
+ * @category context
1757
+ */
1758
+ const provideServiceEffect = stream.provideServiceEffect;
1759
+
1760
+ /**
1761
+ * Provides the stream with the single service it requires. If the stream
1762
+ * requires more than one service use `Stream.provideContext` instead.
1763
+ *
1764
+ * @since 2.0.0
1765
+ * @category context
1766
+ */
1767
+ const provideServiceStream = stream.provideServiceStream;
1768
+
1769
+ /**
1770
+ * Transforms the context being provided to the stream with the specified
1771
+ * function.
1772
+ *
1773
+ * @since 2.0.0
1774
+ * @category context
1775
+ */
1776
+ const mapInputContext = stream.mapInputContext;
1777
+
1778
+ /**
1779
+ * Splits the context into two parts, providing one part using the
1780
+ * specified layer and leaving the remainder `R0`.
1781
+ *
1782
+ * @since 2.0.0
1783
+ * @category context
1784
+ */
1785
+ const provideSomeLayer = stream.provideSomeLayer;
1786
+
1787
+ /**
1788
+ * Constructs a stream from a range of integers, including both endpoints.
1789
+ *
1790
+ * @since 2.0.0
1791
+ * @category constructors
1792
+ */
1793
+ const range = stream.range;
1794
+
1795
+ /**
1796
+ * Re-chunks the elements of the stream into chunks of `n` elements each. The
1797
+ * last chunk might contain less than `n` elements.
1798
+ *
1799
+ * @since 2.0.0
1800
+ * @category utils
1801
+ */
1802
+ const rechunk = stream.rechunk;
1803
+
1804
+ /**
1805
+ * Keeps some of the errors, and terminates the fiber with the rest
1806
+ *
1807
+ * @since 2.0.0
1808
+ * @category error handling
1809
+ */
1810
+ const refineOrDie = stream.refineOrDie;
1811
+
1812
+ /**
1813
+ * Keeps some of the errors, and terminates the fiber with the rest, using the
1814
+ * specified function to convert the `E` into a defect.
1815
+ *
1816
+ * @since 2.0.0
1817
+ * @category error handling
1818
+ */
1819
+ const refineOrDieWith = stream.refineOrDieWith;
1820
+
1821
+ /**
1822
+ * Repeats the entire stream using the specified schedule. The stream will
1823
+ * execute normally, and then repeat again according to the provided schedule.
1824
+ *
1825
+ * @since 2.0.0
1826
+ * @category utils
1827
+ */
1828
+ const repeat = stream.repeat;
1829
+
1830
+ /**
1831
+ * Creates a stream from an effect producing a value of type `A` which repeats
1832
+ * forever.
1833
+ *
1834
+ * @since 2.0.0
1835
+ * @category constructors
1836
+ */
1837
+ const repeatEffect = stream.repeatEffect;
1838
+
1839
+ /**
1840
+ * Creates a stream from an effect producing chunks of `A` values which
1841
+ * repeats forever.
1842
+ *
1843
+ * @since 2.0.0
1844
+ * @category constructors
1845
+ */
1846
+ const repeatEffectChunk = stream.repeatEffectChunk;
1847
+
1848
+ /**
1849
+ * Creates a stream from an effect producing chunks of `A` values until it
1850
+ * fails with `None`.
1851
+ *
1852
+ * @since 2.0.0
1853
+ * @category constructors
1854
+ */
1855
+ const repeatEffectChunkOption = stream.repeatEffectChunkOption;
1856
+
1857
+ /**
1858
+ * Creates a stream from an effect producing values of type `A` until it fails
1859
+ * with `None`.
1860
+ *
1861
+ * @since 2.0.0
1862
+ * @category constructors
1863
+ */
1864
+ const repeatEffectOption = stream.repeatEffectOption;
1865
+
1866
+ /**
1867
+ * Creates a stream from an effect producing a value of type `A`, which is
1868
+ * repeated using the specified schedule.
1869
+ *
1870
+ * @since 2.0.0
1871
+ * @category constructors
1872
+ */
1873
+ const repeatEffectWithSchedule = stream.repeatEffectWithSchedule;
1874
+
1875
+ /**
1876
+ * Repeats the entire stream using the specified schedule. The stream will
1877
+ * execute normally, and then repeat again according to the provided schedule.
1878
+ * The schedule output will be emitted at the end of each repetition.
1879
+ *
1880
+ * @since 2.0.0
1881
+ * @category utils
1882
+ */
1883
+ const repeatEither = stream.repeatEither;
1884
+
1885
+ /**
1886
+ * Repeats each element of the stream using the provided schedule. Repetitions
1887
+ * are done in addition to the first execution, which means using
1888
+ * `Schedule.recurs(1)` actually results in the original effect, plus an
1889
+ * additional recurrence, for a total of two repetitions of each value in the
1890
+ * stream.
1891
+ *
1892
+ * @since 2.0.0
1893
+ * @category utils
1894
+ */
1895
+ const repeatElements = stream.repeatElements;
1896
+
1897
+ /**
1898
+ * Repeats each element of the stream using the provided schedule. When the
1899
+ * schedule is finished, then the output of the schedule will be emitted into
1900
+ * the stream. Repetitions are done in addition to the first execution, which
1901
+ * means using `Schedule.recurs(1)` actually results in the original effect,
1902
+ * plus an additional recurrence, for a total of two repetitions of each value
1903
+ * in the stream.
1904
+ *
1905
+ * This function accepts two conversion functions, which allow the output of
1906
+ * this stream and the output of the provided schedule to be unified into a
1907
+ * single type. For example, `Either` or similar data type.
1908
+ *
1909
+ * @since 2.0.0
1910
+ * @category utils
1911
+ */
1912
+ const repeatElementsWith = stream.repeatElementsWith;
1913
+
1914
+ /**
1915
+ * Repeats the provided value infinitely.
1916
+ *
1917
+ * @since 2.0.0
1918
+ * @category constructors
1919
+ */
1920
+ const repeatValue = stream.repeatValue;
1921
+
1922
+ /**
1923
+ * Repeats the entire stream using the specified schedule. The stream will
1924
+ * execute normally, and then repeat again according to the provided schedule.
1925
+ * The schedule output will be emitted at the end of each repetition and can
1926
+ * be unified with the stream elements using the provided functions.
1927
+ *
1928
+ * @since 2.0.0
1929
+ * @category utils
1930
+ */
1931
+ const repeatWith = stream.repeatWith;
1932
+
1933
+ /**
1934
+ * When the stream fails, retry it according to the given schedule
1935
+ *
1936
+ * This retries the entire stream, so will re-execute all of the stream's
1937
+ * acquire operations.
1938
+ *
1939
+ * The schedule is reset as soon as the first element passes through the
1940
+ * stream again.
1941
+ *
1942
+ * @param schedule A `Schedule` receiving as input the errors of the stream.
1943
+ * @since 2.0.0
1944
+ * @category utils
1945
+ */
1946
+ const retry = stream.retry;
1947
+
1948
+ /**
1949
+ * Runs the sink on the stream to produce either the sink's result or an error.
1950
+ *
1951
+ * @since 2.0.0
1952
+ * @category destructors
1953
+ */
1954
+ const run = stream.run;
1955
+
1956
+ /**
1957
+ * Runs the stream and collects all of its elements to a chunk.
1958
+ *
1959
+ * @since 2.0.0
1960
+ * @category destructors
1961
+ */
1962
+ const runCollect = stream.runCollect;
1963
+
1964
+ /**
1965
+ * Runs the stream and emits the number of elements processed
1966
+ *
1967
+ * @since 2.0.0
1968
+ * @category destructors
1969
+ */
1970
+ const runCount = stream.runCount;
1971
+
1972
+ /**
1973
+ * Runs the stream only for its effects. The emitted elements are discarded.
1974
+ *
1975
+ * @since 2.0.0
1976
+ * @category destructors
1977
+ */
1978
+ const runDrain = stream.runDrain;
1979
+
1980
+ /**
1981
+ * Executes a pure fold over the stream of values - reduces all elements in
1982
+ * the stream to a value of type `S`.
1983
+ *
1984
+ * @since 2.0.0
1985
+ * @category destructors
1986
+ */
1987
+ const runFold = stream.runFold;
1988
+
1989
+ /**
1990
+ * Executes an effectful fold over the stream of values.
1991
+ *
1992
+ * @since 2.0.0
1993
+ * @category destructors
1994
+ */
1995
+ const runFoldEffect = stream.runFoldEffect;
1996
+
1997
+ /**
1998
+ * Executes a pure fold over the stream of values. Returns a scoped value that
1999
+ * represents the scope of the stream.
2000
+ *
2001
+ * @since 2.0.0
2002
+ * @category destructors
2003
+ */
2004
+ const runFoldScoped = stream.runFoldScoped;
2005
+
2006
+ /**
2007
+ * Executes an effectful fold over the stream of values. Returns a scoped
2008
+ * value that represents the scope of the stream.
2009
+ *
2010
+ * @since 2.0.0
2011
+ * @category destructors
2012
+ */
2013
+ const runFoldScopedEffect = stream.runFoldScopedEffect;
2014
+
2015
+ /**
2016
+ * Reduces the elements in the stream to a value of type `S`. Stops the fold
2017
+ * early when the condition is not fulfilled. Example:
2018
+ *
2019
+ * @since 2.0.0
2020
+ * @category destructors
2021
+ */
2022
+ const runFoldWhile = stream.runFoldWhile;
2023
+
2024
+ /**
2025
+ * Executes an effectful fold over the stream of values. Stops the fold early
2026
+ * when the condition is not fulfilled.
2027
+ *
2028
+ * @since 2.0.0
2029
+ * @category destructors
2030
+ */
2031
+ const runFoldWhileEffect = stream.runFoldWhileEffect;
2032
+
2033
+ /**
2034
+ * Executes a pure fold over the stream of values. Returns a scoped value that
2035
+ * represents the scope of the stream. Stops the fold early when the condition
2036
+ * is not fulfilled.
2037
+ *
2038
+ * @since 2.0.0
2039
+ * @category destructors
2040
+ */
2041
+ const runFoldWhileScoped = stream.runFoldWhileScoped;
2042
+
2043
+ /**
2044
+ * Executes an effectful fold over the stream of values. Returns a scoped
2045
+ * value that represents the scope of the stream. Stops the fold early when
2046
+ * the condition is not fulfilled.
2047
+ *
2048
+ * @since 2.0.0
2049
+ * @category destructors
2050
+ */
2051
+ const runFoldWhileScopedEffect = stream.runFoldWhileScopedEffect;
2052
+
2053
+ /**
2054
+ * Consumes all elements of the stream, passing them to the specified
2055
+ * callback.
2056
+ *
2057
+ * @since 2.0.0
2058
+ * @category destructors
2059
+ */
2060
+ const runForEach = stream.runForEach;
2061
+
2062
+ /**
2063
+ * Consumes all elements of the stream, passing them to the specified
2064
+ * callback.
2065
+ *
2066
+ * @since 2.0.0
2067
+ * @category destructors
2068
+ */
2069
+ const runForEachChunk = stream.runForEachChunk;
2070
+
2071
+ /**
2072
+ * Like `Stream.runForEachChunk`, but returns a scoped effect so the
2073
+ * finalization order can be controlled.
2074
+ *
2075
+ * @since 2.0.0
2076
+ * @category destructors
2077
+ */
2078
+ const runForEachChunkScoped = stream.runForEachChunkScoped;
2079
+
2080
+ /**
2081
+ * Like `Stream.forEach`, but returns a scoped effect so the finalization
2082
+ * order can be controlled.
2083
+ *
2084
+ * @since 2.0.0
2085
+ * @category destructors
2086
+ */
2087
+ const runForEachScoped = stream.runForEachScoped;
2088
+
2089
+ /**
2090
+ * Consumes elements of the stream, passing them to the specified callback,
2091
+ * and terminating consumption when the callback returns `false`.
2092
+ *
2093
+ * @since 2.0.0
2094
+ * @category destructors
2095
+ */
2096
+ const runForEachWhile = stream.runForEachWhile;
2097
+
2098
+ /**
2099
+ * Like `Stream.runForEachWhile`, but returns a scoped effect so the
2100
+ * finalization order can be controlled.
2101
+ *
2102
+ * @since 2.0.0
2103
+ * @category destructors
2104
+ */
2105
+ const runForEachWhileScoped = stream.runForEachWhileScoped;
2106
+
2107
+ /**
2108
+ * Runs the stream to completion and yields the first value emitted by it,
2109
+ * discarding the rest of the elements.
2110
+ *
2111
+ * @since 2.0.0
2112
+ * @category destructors
2113
+ */
2114
+ const runHead = stream.runHead;
2115
+
2116
+ /**
2117
+ * Publishes elements of this stream to a hub. Stream failure and ending will
2118
+ * also be signalled.
2119
+ *
2120
+ * @since 2.0.0
2121
+ * @category destructors
2122
+ */
2123
+ const runIntoHub = stream.runIntoHub;
2124
+
2125
+ /**
2126
+ * Like `Stream.runIntoHub`, but provides the result as a scoped effect to
2127
+ * allow for scope composition.
2128
+ *
2129
+ * @since 2.0.0
2130
+ * @category destructors
2131
+ */
2132
+ const runIntoHubScoped = stream.runIntoHubScoped;
2133
+
2134
+ /**
2135
+ * Enqueues elements of this stream into a queue. Stream failure and ending
2136
+ * will also be signalled.
2137
+ *
2138
+ * @since 2.0.0
2139
+ * @category destructors
2140
+ */
2141
+ const runIntoQueue = stream.runIntoQueue;
2142
+
2143
+ /**
2144
+ * Like `Stream.runIntoQueue`, but provides the result as a scoped [[ZIO]]
2145
+ * to allow for scope composition.
2146
+ *
2147
+ * @since 2.0.0
2148
+ * @category destructors
2149
+ */
2150
+ const runIntoQueueElementsScoped = stream.runIntoQueueElementsScoped;
2151
+
2152
+ /**
2153
+ * Like `Stream.runIntoQueue`, but provides the result as a scoped effect
2154
+ * to allow for scope composition.
2155
+ *
2156
+ * @since 2.0.0
2157
+ * @category destructors
2158
+ */
2159
+ const runIntoQueueScoped = stream.runIntoQueueScoped;
2160
+
2161
+ /**
2162
+ * Runs the stream to completion and yields the last value emitted by it,
2163
+ * discarding the rest of the elements.
2164
+ *
2165
+ * @since 2.0.0
2166
+ * @category destructors
2167
+ */
2168
+ const runLast = stream.runLast;
2169
+
2170
+ /**
2171
+ * @since 2.0.0
2172
+ * @category destructors
2173
+ */
2174
+ const runScoped = stream.runScoped;
2175
+
2176
+ /**
2177
+ * Runs the stream to a sink which sums elements, provided they are Numeric.
2178
+ *
2179
+ * @since 2.0.0
2180
+ * @category destructors
2181
+ */
2182
+ const runSum = stream.runSum;
2183
+
2184
+ /**
2185
+ * Statefully maps over the elements of this stream to produce all
2186
+ * intermediate results of type `S` given an initial S.
2187
+ *
2188
+ * @since 2.0.0
2189
+ * @category utils
2190
+ */
2191
+ const scan = stream.scan;
2192
+
2193
+ /**
2194
+ * Statefully and effectfully maps over the elements of this stream to produce
2195
+ * all intermediate results of type `S` given an initial S.
2196
+ *
2197
+ * @since 2.0.0
2198
+ * @category utils
2199
+ */
2200
+ const scanEffect = stream.scanEffect;
2201
+
2202
+ /**
2203
+ * Statefully maps over the elements of this stream to produce all
2204
+ * intermediate results.
2205
+ *
2206
+ * See also `Stream.scan`.
2207
+ *
2208
+ * @since 2.0.0
2209
+ * @category utils
2210
+ */
2211
+ const scanReduce = stream.scanReduce;
2212
+
2213
+ /**
2214
+ * Statefully and effectfully maps over the elements of this stream to produce
2215
+ * all intermediate results.
2216
+ *
2217
+ * See also `Stream.scanEffect`.
2218
+ *
2219
+ * @since 2.0.0
2220
+ * @category utils
2221
+ */
2222
+ const scanReduceEffect = stream.scanReduceEffect;
2223
+
2224
+ /**
2225
+ * Schedules the output of the stream using the provided `schedule`.
2226
+ *
2227
+ * @since 2.0.0
2228
+ * @category utils
2229
+ */
2230
+ const schedule = stream.schedule;
2231
+
2232
+ /**
2233
+ * Schedules the output of the stream using the provided `schedule` and emits
2234
+ * its output at the end (if `schedule` is finite). Uses the provided function
2235
+ * to align the stream and schedule outputs on the same type.
2236
+ *
2237
+ * @since 2.0.0
2238
+ * @category utils
2239
+ */
2240
+ const scheduleWith = stream.scheduleWith;
2241
+
2242
+ /**
2243
+ * Creates a single-valued stream from a scoped resource.
2244
+ *
2245
+ * @since 2.0.0
2246
+ * @category constructors
2247
+ */
2248
+ const scoped = stream.scoped;
2249
+
2250
+ /**
2251
+ * Emits a sliding window of `n` elements.
2252
+ *
2253
+ * ```ts
2254
+ * import * as Stream from "./Stream"
2255
+ * import { pipe } from "./Function"
2256
+ *
2257
+ * pipe(
2258
+ * Stream.make(1, 2, 3, 4),
2259
+ * Stream.sliding(2),
2260
+ * Stream.runCollect
2261
+ * )
2262
+ * // => Chunk(Chunk(1, 2), Chunk(2, 3), Chunk(3, 4))
2263
+ * ```
2264
+ *
2265
+ * @since 2.0.0
2266
+ * @category utils
2267
+ */
2268
+ const sliding = stream.sliding;
2269
+
2270
+ /**
2271
+ * Like `sliding`, but with a configurable `stepSize` parameter.
2272
+ *
2273
+ * @since 2.0.0
2274
+ * @category utils
2275
+ */
2276
+ const slidingSize = stream.slidingSize;
2277
+
2278
+ /**
2279
+ * Converts an option on values into an option on errors.
2280
+ *
2281
+ * @since 2.0.0
2282
+ * @category utils
2283
+ */
2284
+ const some = stream.some;
2285
+
2286
+ /**
2287
+ * Extracts the optional value, or returns the given 'default'.
2288
+ *
2289
+ * @since 2.0.0
2290
+ * @category utils
2291
+ */
2292
+ const someOrElse = stream.someOrElse;
2293
+
2294
+ /**
2295
+ * Extracts the optional value, or fails with the given error 'e'.
2296
+ *
2297
+ * @since 2.0.0
2298
+ * @category utils
2299
+ */
2300
+ const someOrFail = stream.someOrFail;
2301
+
2302
+ /**
2303
+ * Splits elements based on a predicate.
2304
+ *
2305
+ * ```ts
2306
+ * import * as Stream from "./Stream"
2307
+ * import { pipe } from "./Function"
2308
+ *
2309
+ * pipe(
2310
+ * Stream.range(1, 10),
2311
+ * Stream.split((n) => n % 4 === 0),
2312
+ * Stream.runCollect
2313
+ * )
2314
+ * // => Chunk(Chunk(1, 2, 3), Chunk(5, 6, 7), Chunk(9))
2315
+ * ```
2316
+ *
2317
+ * @since 2.0.0
2318
+ * @category utils
2319
+ */
2320
+ const split = stream.split;
2321
+
2322
+ /**
2323
+ * Splits elements on a delimiter and transforms the splits into desired output.
2324
+ *
2325
+ * @since 2.0.0
2326
+ * @category utils
2327
+ */
2328
+ const splitOnChunk = stream.splitOnChunk;
2329
+
2330
+ /**
2331
+ * Splits strings on newlines. Handles both Windows newlines (`\r\n`) and UNIX
2332
+ * newlines (`\n`).
2333
+ *
2334
+ * @since 2.0.0
2335
+ * @category combinators
2336
+ */
2337
+ const splitLines = stream.splitLines;
2338
+
2339
+ /**
2340
+ * Creates a single-valued pure stream.
2341
+ *
2342
+ * @since 2.0.0
2343
+ * @category constructors
2344
+ */
2345
+ const succeed = stream.succeed;
2346
+
2347
+ /**
2348
+ * Creates a single-valued pure stream.
2349
+ *
2350
+ * @since 2.0.0
2351
+ * @category constructors
2352
+ */
2353
+ const sync = stream.sync;
2354
+
2355
+ /**
2356
+ * Returns a lazily constructed stream.
2357
+ *
2358
+ * @since 2.0.0
2359
+ * @category constructors
2360
+ */
2361
+ const suspend = stream.suspend;
2362
+
2363
+ /**
2364
+ * Takes the specified number of elements from this stream.
2365
+ *
2366
+ * @since 2.0.0
2367
+ * @category utils
2368
+ */
2369
+ const take = stream.take;
2370
+
2371
+ /**
2372
+ * Takes the last specified number of elements from this stream.
2373
+ *
2374
+ * @since 2.0.0
2375
+ * @category utils
2376
+ */
2377
+ const takeRight = stream.takeRight;
2378
+
2379
+ /**
2380
+ * Takes all elements of the stream until the specified predicate evaluates to
2381
+ * `true`.
2382
+ *
2383
+ * @since 2.0.0
2384
+ * @category utils
2385
+ */
2386
+ const takeUntil = stream.takeUntil;
2387
+
2388
+ /**
2389
+ * Takes all elements of the stream until the specified effectual predicate
2390
+ * evaluates to `true`.
2391
+ *
2392
+ * @since 2.0.0
2393
+ * @category utils
2394
+ */
2395
+ const takeUntilEffect = stream.takeUntilEffect;
2396
+
2397
+ /**
2398
+ * Takes all elements of the stream for as long as the specified predicate
2399
+ * evaluates to `true`.
2400
+ *
2401
+ * @since 2.0.0
2402
+ * @category utils
2403
+ */
2404
+ const takeWhile = stream.takeWhile;
2405
+
2406
+ /**
2407
+ * Adds an effect to consumption of every element of the stream.
2408
+ *
2409
+ * @since 2.0.0
2410
+ * @category sequencing
2411
+ */
2412
+ const tap = stream.tap;
2413
+
2414
+ /**
2415
+ * Returns a stream that effectfully "peeks" at the failure or success of
2416
+ * the stream.
2417
+ *
2418
+ * @since 2.0.0
2419
+ * @category sequencing
2420
+ */
2421
+ const tapBoth = stream.tapBoth;
2422
+
2423
+ /**
2424
+ * Returns a stream that effectfully "peeks" at the failure of the stream.
2425
+ *
2426
+ * @since 2.0.0
2427
+ * @category sequencing
2428
+ */
2429
+ const tapError = stream.tapError;
2430
+
2431
+ /**
2432
+ * Returns a stream that effectfully "peeks" at the cause of failure of the
2433
+ * stream.
2434
+ *
2435
+ * @since 2.0.0
2436
+ * @category utils
2437
+ */
2438
+ const tapErrorCause = stream.tapErrorCause;
2439
+
2440
+ /**
2441
+ * Sends all elements emitted by this stream to the specified sink in addition
2442
+ * to emitting them.
2443
+ *
2444
+ * @since 2.0.0
2445
+ * @category sequencing
2446
+ */
2447
+ const tapSink = stream.tapSink;
2448
+
2449
+ /**
2450
+ * Delays the chunks of this stream according to the given bandwidth
2451
+ * parameters using the token bucket algorithm. Allows for burst in the
2452
+ * processing of elements by allowing the token bucket to accumulate tokens up
2453
+ * to a `units + burst` threshold. The weight of each chunk is determined by
2454
+ * the `costFn` function.
2455
+ *
2456
+ * If using the "enforce" strategy, chunks that do not meet the bandwidth
2457
+ * constraints are dropped. If using the "shape" strategy, chunks are delayed
2458
+ * until they can be emitted without exceeding the bandwidth constraints.
2459
+ *
2460
+ * Defaults to the "shape" strategy.
2461
+ *
2462
+ * @since 2.0.0
2463
+ * @category utils
2464
+ */
2465
+ const throttle = stream.throttle;
2466
+
2467
+ /**
2468
+ * Delays the chunks of this stream according to the given bandwidth
2469
+ * parameters using the token bucket algorithm. Allows for burst in the
2470
+ * processing of elements by allowing the token bucket to accumulate tokens up
2471
+ * to a `units + burst` threshold. The weight of each chunk is determined by
2472
+ * the effectful `costFn` function.
2473
+ *
2474
+ * If using the "enforce" strategy, chunks that do not meet the bandwidth
2475
+ * constraints are dropped. If using the "shape" strategy, chunks are delayed
2476
+ * until they can be emitted without exceeding the bandwidth constraints.
2477
+ *
2478
+ * Defaults to the "shape" strategy.
2479
+ *
2480
+ * @since 2.0.0
2481
+ * @category utils
2482
+ */
2483
+ const throttleEffect = stream.throttleEffect;
2484
+
2485
+ /**
2486
+ * A stream that emits Unit values spaced by the specified duration.
2487
+ *
2488
+ * @since 2.0.0
2489
+ * @category constructors
2490
+ */
2491
+ const tick = stream.tick;
2492
+
2493
+ /**
2494
+ * Ends the stream if it does not produce a value after the specified duration.
2495
+ *
2496
+ * @since 2.0.0
2497
+ * @category utils
2498
+ */
2499
+ const timeout = stream.timeout;
2500
+
2501
+ /**
2502
+ * Fails the stream with given error if it does not produce a value after d
2503
+ * duration.
2504
+ *
2505
+ * @since 2.0.0
2506
+ * @category utils
2507
+ */
2508
+ const timeoutFail = stream.timeoutFail;
2509
+
2510
+ /**
2511
+ * Fails the stream with given cause if it does not produce a value after d
2512
+ * duration.
2513
+ *
2514
+ * @since 2.0.0
2515
+ * @category utils
2516
+ */
2517
+ const timeoutFailCause = stream.timeoutFailCause;
2518
+
2519
+ /**
2520
+ * Switches the stream if it does not produce a value after the specified
2521
+ * duration.
2522
+ *
2523
+ * @since 2.0.0
2524
+ * @category utils
2525
+ */
2526
+ const timeoutTo = stream.timeoutTo;
2527
+
2528
+ /**
2529
+ * Converts the stream to a scoped hub of chunks. After the scope is closed,
2530
+ * the hub will never again produce values and should be discarded.
2531
+ *
2532
+ * @since 2.0.0
2533
+ * @category destructors
2534
+ */
2535
+ const toHub = stream.toHub;
2536
+
2537
+ /**
2538
+ * Returns in a scope a ZIO effect that can be used to repeatedly pull chunks
2539
+ * from the stream. The pull effect fails with None when the stream is
2540
+ * finished, or with Some error if it fails, otherwise it returns a chunk of
2541
+ * the stream's output.
2542
+ *
2543
+ * @since 2.0.0
2544
+ * @category destructors
2545
+ */
2546
+ const toPull = stream.toPull;
2547
+
2548
+ /**
2549
+ * Converts the stream to a scoped queue of chunks. After the scope is closed,
2550
+ * the queue will never again produce values and should be discarded.
2551
+ *
2552
+ * Defaults to the "suspend" back pressure strategy with a capacity of 2.
2553
+ *
2554
+ * @since 2.0.0
2555
+ * @category destructors
2556
+ */
2557
+ const toQueue = stream.toQueue;
2558
+
2559
+ /**
2560
+ * Converts the stream to a scoped queue of elements. After the scope is
2561
+ * closed, the queue will never again produce values and should be discarded.
2562
+ *
2563
+ * Defaults to a capacity of 2.
2564
+ *
2565
+ * @since 2.0.0
2566
+ * @category destructors
2567
+ */
2568
+ const toQueueOfElements = stream.toQueueOfElements;
2569
+
2570
+ /**
2571
+ * Converts the stream to a `ReadableStream`.
2572
+ *
2573
+ * See https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream.
2574
+ *
2575
+ * @since 2.0.0
2576
+ * @category destructors
2577
+ */
2578
+ const toReadableStream = stream.toReadableStream;
2579
+
2580
+ /**
2581
+ * Applies the transducer to the stream and emits its outputs.
2582
+ *
2583
+ * @since 2.0.0
2584
+ * @category utils
2585
+ */
2586
+ const transduce = stream.transduce;
2587
+
2588
+ /**
2589
+ * Creates a stream by peeling off the "layers" of a value of type `S`.
2590
+ *
2591
+ * @since 2.0.0
2592
+ * @category constructors
2593
+ */
2594
+ const unfold = stream.unfold;
2595
+
2596
+ /**
2597
+ * Creates a stream by peeling off the "layers" of a value of type `S`.
2598
+ *
2599
+ * @since 2.0.0
2600
+ * @category constructors
2601
+ */
2602
+ const unfoldChunk = stream.unfoldChunk;
2603
+
2604
+ /**
2605
+ * Creates a stream by effectfully peeling off the "layers" of a value of type
2606
+ * `S`.
2607
+ *
2608
+ * @since 2.0.0
2609
+ * @category constructors
2610
+ */
2611
+ const unfoldChunkEffect = stream.unfoldChunkEffect;
2612
+
2613
+ /**
2614
+ * Creates a stream by effectfully peeling off the "layers" of a value of type
2615
+ * `S`.
2616
+ *
2617
+ * @since 2.0.0
2618
+ * @category constructors
2619
+ */
2620
+ const unfoldEffect = stream.unfoldEffect;
2621
+
2622
+ /**
2623
+ * A stream that contains a single `Unit` value.
2624
+ *
2625
+ * @since 2.0.0
2626
+ * @category constructors
2627
+ */
2628
+ const unit = stream.unit;
2629
+
2630
+ /**
2631
+ * Creates a stream produced from an `Effect`.
2632
+ *
2633
+ * @since 2.0.0
2634
+ * @category constructors
2635
+ */
2636
+ const unwrap = stream.unwrap;
2637
+
2638
+ /**
2639
+ * Creates a stream produced from a scoped `Effect`.
2640
+ *
2641
+ * @since 2.0.0
2642
+ * @category constructors
2643
+ */
2644
+ const unwrapScoped = stream.unwrapScoped;
2645
+
2646
+ /**
2647
+ * Updates the specified service within the context of the `Stream`.
2648
+ *
2649
+ * @since 2.0.0
2650
+ * @category context
2651
+ */
2652
+ const updateService = stream.updateService;
2653
+
2654
+ /**
2655
+ * Returns the specified stream if the given condition is satisfied, otherwise
2656
+ * returns an empty stream.
2657
+ *
2658
+ * @since 2.0.0
2659
+ * @category utils
2660
+ */
2661
+ const when = stream.when;
2662
+
2663
+ /**
2664
+ * Returns the resulting stream when the given `PartialFunction` is defined
2665
+ * for the given value, otherwise returns an empty stream.
2666
+ *
2667
+ * @since 2.0.0
2668
+ * @category constructors
2669
+ */
2670
+ const whenCase = stream.whenCase;
2671
+
2672
+ /**
2673
+ * Returns the stream when the given partial function is defined for the given
2674
+ * effectful value, otherwise returns an empty stream.
2675
+ *
2676
+ * @since 2.0.0
2677
+ * @category utils
2678
+ */
2679
+ const whenCaseEffect = stream.whenCaseEffect;
2680
+
2681
+ /**
2682
+ * Returns the stream if the given effectful condition is satisfied, otherwise
2683
+ * returns an empty stream.
2684
+ *
2685
+ * @since 2.0.0
2686
+ * @category utils
2687
+ */
2688
+ const whenEffect = stream.whenEffect;
2689
+
2690
+ /**
2691
+ * Wraps the stream with a new span for tracing.
2692
+ *
2693
+ * @since 2.0.0
2694
+ * @category tracing
2695
+ */
2696
+ const withSpan = stream.withSpan;
2697
+
2698
+ /**
2699
+ * Zips this stream with another point-wise and emits tuples of elements from
2700
+ * both streams.
2701
+ *
2702
+ * The new stream will end when one of the sides ends.
2703
+ *
2704
+ * @since 2.0.0
2705
+ * @category zipping
2706
+ */
2707
+ const zip = stream.zip;
2708
+
2709
+ /**
2710
+ * Zips this stream with another point-wise and emits tuples of elements from
2711
+ * both streams.
2712
+ *
2713
+ * The new stream will end when one of the sides ends.
2714
+ *
2715
+ * @since 2.0.0
2716
+ * @category zipping
2717
+ */
2718
+ const zipFlatten = stream.zipFlatten;
2719
+
2720
+ /**
2721
+ * Zips this stream with another point-wise, creating a new stream of pairs of
2722
+ * elements from both sides.
2723
+ *
2724
+ * The defaults `defaultLeft` and `defaultRight` will be used if the streams
2725
+ * have different lengths and one of the streams has ended before the other.
2726
+ *
2727
+ * @since 2.0.0
2728
+ * @category zipping
2729
+ */
2730
+ const zipAll = stream.zipAll;
2731
+
2732
+ /**
2733
+ * Zips this stream with another point-wise, and keeps only elements from this
2734
+ * stream.
2735
+ *
2736
+ * The provided default value will be used if the other stream ends before
2737
+ * this one.
2738
+ *
2739
+ * @since 2.0.0
2740
+ * @category zipping
2741
+ */
2742
+ const zipAllLeft = stream.zipAllLeft;
2743
+
2744
+ /**
2745
+ * Zips this stream with another point-wise, and keeps only elements from the
2746
+ * other stream.
2747
+ *
2748
+ * The provided default value will be used if this stream ends before the
2749
+ * other one.
2750
+ *
2751
+ * @since 2.0.0
2752
+ * @category zipping
2753
+ */
2754
+ const zipAllRight = stream.zipAllRight;
2755
+
2756
+ /**
2757
+ * Zips this stream that is sorted by distinct keys and the specified stream
2758
+ * that is sorted by distinct keys to produce a new stream that is sorted by
2759
+ * distinct keys. Combines values associated with each key into a tuple,
2760
+ * using the specified values `defaultLeft` and `defaultRight` to fill in
2761
+ * missing values.
2762
+ *
2763
+ * This allows zipping potentially unbounded streams of data by key in
2764
+ * constant space but the caller is responsible for ensuring that the
2765
+ * streams are sorted by distinct keys.
2766
+ *
2767
+ * @since 2.0.0
2768
+ * @category zipping
2769
+ */
2770
+ const zipAllSortedByKey = stream.zipAllSortedByKey;
2771
+
2772
+ /**
2773
+ * Zips this stream that is sorted by distinct keys and the specified stream
2774
+ * that is sorted by distinct keys to produce a new stream that is sorted by
2775
+ * distinct keys. Keeps only values from this stream, using the specified
2776
+ * value `default` to fill in missing values.
2777
+ *
2778
+ * This allows zipping potentially unbounded streams of data by key in
2779
+ * constant space but the caller is responsible for ensuring that the
2780
+ * streams are sorted by distinct keys.
2781
+ *
2782
+ * @since 2.0.0
2783
+ * @category zipping
2784
+ */
2785
+ const zipAllSortedByKeyLeft = stream.zipAllSortedByKeyLeft;
2786
+
2787
+ /**
2788
+ * Zips this stream that is sorted by distinct keys and the specified stream
2789
+ * that is sorted by distinct keys to produce a new stream that is sorted by
2790
+ * distinct keys. Keeps only values from that stream, using the specified
2791
+ * value `default` to fill in missing values.
2792
+ *
2793
+ * This allows zipping potentially unbounded streams of data by key in
2794
+ * constant space but the caller is responsible for ensuring that the
2795
+ * streams are sorted by distinct keys.
2796
+ *
2797
+ * @since 2.0.0
2798
+ * @category zipping
2799
+ */
2800
+ const zipAllSortedByKeyRight = stream.zipAllSortedByKeyRight;
2801
+
2802
+ /**
2803
+ * Zips this stream that is sorted by distinct keys and the specified stream
2804
+ * that is sorted by distinct keys to produce a new stream that is sorted by
2805
+ * distinct keys. Uses the functions `left`, `right`, and `both` to handle
2806
+ * the cases where a key and value exist in this stream, that stream, or
2807
+ * both streams.
2808
+ *
2809
+ * This allows zipping potentially unbounded streams of data by key in
2810
+ * constant space but the caller is responsible for ensuring that the
2811
+ * streams are sorted by distinct keys.
2812
+ *
2813
+ * @since 2.0.0
2814
+ * @category zipping
2815
+ */
2816
+ const zipAllSortedByKeyWith = stream.zipAllSortedByKeyWith;
2817
+
2818
+ /**
2819
+ * Zips this stream with another point-wise. The provided functions will be
2820
+ * used to create elements for the composed stream.
2821
+ *
2822
+ * The functions `left` and `right` will be used if the streams have different
2823
+ * lengths and one of the streams has ended before the other.
2824
+ *
2825
+ * @since 2.0.0
2826
+ * @category zipping
2827
+ */
2828
+ const zipAllWith = stream.zipAllWith;
2829
+
2830
+ /**
2831
+ * Zips the two streams so that when a value is emitted by either of the two
2832
+ * streams, it is combined with the latest value from the other stream to
2833
+ * produce a result.
2834
+ *
2835
+ * Note: tracking the latest value is done on a per-chunk basis. That means
2836
+ * that emitted elements that are not the last value in chunks will never be
2837
+ * used for zipping.
2838
+ *
2839
+ * @since 2.0.0
2840
+ * @category zipping
2841
+ */
2842
+ const zipLatest = stream.zipLatest;
2843
+
2844
+ /**
2845
+ * Zips the two streams so that when a value is emitted by either of the two
2846
+ * streams, it is combined with the latest value from the other stream to
2847
+ * produce a result.
2848
+ *
2849
+ * Note: tracking the latest value is done on a per-chunk basis. That means
2850
+ * that emitted elements that are not the last value in chunks will never be
2851
+ * used for zipping.
2852
+ *
2853
+ * @since 2.0.0
2854
+ * @category zipping
2855
+ */
2856
+ const zipLatestWith = stream.zipLatestWith;
2857
+
2858
+ /**
2859
+ * Zips this stream with another point-wise, but keeps only the outputs of
2860
+ * this stream.
2861
+ *
2862
+ * The new stream will end when one of the sides ends.
2863
+ *
2864
+ * @since 2.0.0
2865
+ * @category zipping
2866
+ */
2867
+ const zipLeft = stream.zipLeft;
2868
+
2869
+ /**
2870
+ * Zips this stream with another point-wise, but keeps only the outputs of the
2871
+ * other stream.
2872
+ *
2873
+ * The new stream will end when one of the sides ends.
2874
+ *
2875
+ * @since 2.0.0
2876
+ * @category zipping
2877
+ */
2878
+ const zipRight = stream.zipRight;
2879
+
2880
+ /**
2881
+ * Zips this stream with another point-wise and applies the function to the
2882
+ * paired elements.
2883
+ *
2884
+ * The new stream will end when one of the sides ends.
2885
+ *
2886
+ * @since 2.0.0
2887
+ * @category zipping
2888
+ */
2889
+ const zipWith = stream.zipWith;
2890
+
2891
+ /**
2892
+ * Zips this stream with another point-wise and applies the function to the
2893
+ * paired elements.
2894
+ *
2895
+ * The new stream will end when one of the sides ends.
2896
+ *
2897
+ * @since 2.0.0
2898
+ * @category zipping
2899
+ */
2900
+ const zipWithChunks = stream.zipWithChunks;
2901
+
2902
+ /**
2903
+ * Zips each element with the next element if present.
2904
+ *
2905
+ * @since 2.0.0
2906
+ * @category zipping
2907
+ */
2908
+ const zipWithNext = stream.zipWithNext;
2909
+
2910
+ /**
2911
+ * Zips each element with the previous element. Initially accompanied by
2912
+ * `None`.
2913
+ *
2914
+ * @since 2.0.0
2915
+ * @category zipping
2916
+ */
2917
+ const zipWithPrevious = stream.zipWithPrevious;
2918
+
2919
+ /**
2920
+ * Zips each element with both the previous and next element.
2921
+ *
2922
+ * @since 2.0.0
2923
+ * @category zipping
2924
+ */
2925
+ const zipWithPreviousAndNext = stream.zipWithPreviousAndNext;
2926
+
2927
+ /**
2928
+ * Zips this stream together with the index of elements.
2929
+ *
2930
+ * @since 2.0.0
2931
+ * @category zipping
2932
+ */
2933
+ const zipWithIndex = stream.zipWithIndex;
2934
+
2935
+ // -------------------------------------------------------------------------------------
2936
+ // Do notation
2937
+ // -------------------------------------------------------------------------------------
2938
+
2939
+ /**
2940
+ * @since 2.0.0
2941
+ * @category do notation
2942
+ */
2943
+ const Do = stream.Do;
2944
+
2945
+ /**
2946
+ * Binds a value from a stream in a `do` scope
2947
+ *
2948
+ * @since 2.0.0
2949
+ * @category do notation
2950
+ */
2951
+ const bind = stream.bind;
2952
+
2953
+ /**
2954
+ * Binds an effectful value in a `do` scope
2955
+ *
2956
+ * @since 2.0.0
2957
+ * @category do notation
2958
+ */
2959
+ const bindEffect = groupBy$1.bindEffect;
2960
+
2961
+ /**
2962
+ * @since 2.0.0
2963
+ * @category do notation
2964
+ */
2965
+ const bindTo = stream.bindTo;
2966
+ const let_ = stream.let_;
2967
+
2968
+ // -------------------------------------------------------------------------------------
2969
+ // encoding
2970
+ // -------------------------------------------------------------------------------------
2971
+
2972
+ /**
2973
+ * Decode Uint8Array chunks into a stream of strings using the specified encoding.
2974
+ *
2975
+ * @since 2.0.0
2976
+ * @category encoding
2977
+ */
2978
+ const decodeText = stream.decodeText;
2979
+
2980
+ /**
2981
+ * Encode a stream of strings into a stream of Uint8Array chunks using the specified encoding.
2982
+ *
2983
+ * @since 2.0.0
2984
+ * @category encoding
2985
+ */
2986
+ const encodeText = stream.encodeText;
2987
+
2988
+ exports.DefaultChunkSize = DefaultChunkSize;
2989
+ exports.Do = Do;
2990
+ exports.StreamTypeId = StreamTypeId;
2991
+ exports.acquireRelease = acquireRelease;
2992
+ exports.aggregate = aggregate;
2993
+ exports.aggregateWithin = aggregateWithin;
2994
+ exports.aggregateWithinEither = aggregateWithinEither;
2995
+ exports.as = as;
2996
+ exports.async = _async;
2997
+ exports.asyncEffect = asyncEffect;
2998
+ exports.asyncInterrupt = asyncInterrupt;
2999
+ exports.asyncOption = asyncOption;
3000
+ exports.asyncScoped = asyncScoped;
3001
+ exports.bind = bind;
3002
+ exports.bindEffect = bindEffect;
3003
+ exports.bindTo = bindTo;
3004
+ exports.branchAfter = branchAfter;
3005
+ exports.broadcast = broadcast;
3006
+ exports.broadcastDynamic = broadcastDynamic;
3007
+ exports.broadcastedQueues = broadcastedQueues;
3008
+ exports.broadcastedQueuesDynamic = broadcastedQueuesDynamic;
3009
+ exports.buffer = buffer;
3010
+ exports.bufferChunks = bufferChunks;
3011
+ exports.catchAll = catchAll;
3012
+ exports.catchAllCause = catchAllCause;
3013
+ exports.catchSome = catchSome;
3014
+ exports.catchSomeCause = catchSomeCause;
3015
+ exports.catchTag = catchTag;
3016
+ exports.catchTags = catchTags;
3017
+ exports.changes = changes;
3018
+ exports.changesWith = changesWith;
3019
+ exports.changesWithEffect = changesWithEffect;
3020
+ exports.chunks = chunks;
3021
+ exports.chunksWith = chunksWith;
3022
+ exports.combine = combine;
3023
+ exports.combineChunks = combineChunks;
3024
+ exports.concat = concat;
3025
+ exports.concatAll = concatAll;
3026
+ exports.context = context;
3027
+ exports.contextWith = contextWith;
3028
+ exports.contextWithEffect = contextWithEffect;
3029
+ exports.contextWithStream = contextWithStream;
3030
+ exports.cross = cross;
3031
+ exports.crossLeft = crossLeft;
3032
+ exports.crossRight = crossRight;
3033
+ exports.crossWith = crossWith;
3034
+ exports.debounce = debounce;
3035
+ exports.decodeText = decodeText;
3036
+ exports.die = die;
3037
+ exports.dieMessage = dieMessage;
3038
+ exports.dieSync = dieSync;
3039
+ exports.distributedWith = distributedWith;
3040
+ exports.distributedWithDynamic = distributedWithDynamic;
3041
+ exports.drain = drain;
3042
+ exports.drainFork = drainFork;
3043
+ exports.drop = drop;
3044
+ exports.dropRight = dropRight;
3045
+ exports.dropUntil = dropUntil;
3046
+ exports.dropUntilEffect = dropUntilEffect;
3047
+ exports.dropWhile = dropWhile;
3048
+ exports.dropWhileEffect = dropWhileEffect;
3049
+ exports.either = either;
3050
+ exports.empty = empty;
3051
+ exports.encodeText = encodeText;
3052
+ exports.ensuring = ensuring;
3053
+ exports.ensuringWith = ensuringWith;
3054
+ exports.execute = execute;
3055
+ exports.fail = fail;
3056
+ exports.failCause = failCause;
3057
+ exports.failCauseSync = failCauseSync;
3058
+ exports.failSync = failSync;
3059
+ exports.filter = filter;
3060
+ exports.filterEffect = filterEffect;
3061
+ exports.filterMap = filterMap;
3062
+ exports.filterMapEffect = filterMapEffect;
3063
+ exports.filterMapWhile = filterMapWhile;
3064
+ exports.filterMapWhileEffect = filterMapWhileEffect;
3065
+ exports.finalizer = finalizer;
3066
+ exports.find = find;
3067
+ exports.findEffect = findEffect;
3068
+ exports.flatMap = flatMap;
3069
+ exports.flatten = flatten;
3070
+ exports.flattenChunks = flattenChunks;
3071
+ exports.flattenEffect = flattenEffect;
3072
+ exports.flattenExitOption = flattenExitOption;
3073
+ exports.flattenIterables = flattenIterables;
3074
+ exports.flattenTake = flattenTake;
3075
+ exports.forever = forever;
3076
+ exports.fromAsyncIterable = fromAsyncIterable;
3077
+ exports.fromChannel = fromChannel;
3078
+ exports.fromChunk = fromChunk;
3079
+ exports.fromChunkHub = fromChunkHub;
3080
+ exports.fromChunkQueue = fromChunkQueue;
3081
+ exports.fromChunks = fromChunks;
3082
+ exports.fromEffect = fromEffect;
3083
+ exports.fromEffectOption = fromEffectOption;
3084
+ exports.fromHub = fromHub;
3085
+ exports.fromIterable = fromIterable;
3086
+ exports.fromIterableEffect = fromIterableEffect;
3087
+ exports.fromIteratorSucceed = fromIteratorSucceed;
3088
+ exports.fromPull = fromPull;
3089
+ exports.fromQueue = fromQueue;
3090
+ exports.fromReadableStream = fromReadableStream;
3091
+ exports.fromReadableStreamByob = fromReadableStreamByob;
3092
+ exports.fromSchedule = fromSchedule;
3093
+ exports.groupAdjacentBy = groupAdjacentBy;
3094
+ exports.groupBy = groupBy;
3095
+ exports.groupByKey = groupByKey;
3096
+ exports.grouped = grouped;
3097
+ exports.groupedWithin = groupedWithin;
3098
+ exports.haltAfter = haltAfter;
3099
+ exports.haltWhen = haltWhen;
3100
+ exports.haltWhenDeferred = haltWhenDeferred;
3101
+ exports.identity = identity;
3102
+ exports.interleave = interleave;
3103
+ exports.interleaveWith = interleaveWith;
3104
+ exports.interruptAfter = interruptAfter;
3105
+ exports.interruptWhen = interruptWhen;
3106
+ exports.interruptWhenDeferred = interruptWhenDeferred;
3107
+ exports.intersperse = intersperse;
3108
+ exports.intersperseAffixes = intersperseAffixes;
3109
+ exports.iterate = iterate;
3110
+ exports["let"] = let_;
3111
+ exports.make = make;
3112
+ exports.map = map;
3113
+ exports.mapAccum = mapAccum;
3114
+ exports.mapAccumEffect = mapAccumEffect;
3115
+ exports.mapBoth = mapBoth;
3116
+ exports.mapChunks = mapChunks;
3117
+ exports.mapChunksEffect = mapChunksEffect;
3118
+ exports.mapConcat = mapConcat;
3119
+ exports.mapConcatChunk = mapConcatChunk;
3120
+ exports.mapConcatChunkEffect = mapConcatChunkEffect;
3121
+ exports.mapConcatEffect = mapConcatEffect;
3122
+ exports.mapEffect = mapEffect;
3123
+ exports.mapError = mapError;
3124
+ exports.mapErrorCause = mapErrorCause;
3125
+ exports.mapInputContext = mapInputContext;
3126
+ exports.merge = merge;
3127
+ exports.mergeAll = mergeAll;
3128
+ exports.mergeEither = mergeEither;
3129
+ exports.mergeLeft = mergeLeft;
3130
+ exports.mergeRight = mergeRight;
3131
+ exports.mergeWith = mergeWith;
3132
+ exports.mkString = mkString;
3133
+ exports.never = never;
3134
+ exports.onDone = onDone;
3135
+ exports.onError = onError;
3136
+ exports.orDie = orDie;
3137
+ exports.orDieWith = orDieWith;
3138
+ exports.orElse = orElse;
3139
+ exports.orElseEither = orElseEither;
3140
+ exports.orElseFail = orElseFail;
3141
+ exports.orElseIfEmpty = orElseIfEmpty;
3142
+ exports.orElseIfEmptyChunk = orElseIfEmptyChunk;
3143
+ exports.orElseIfEmptyStream = orElseIfEmptyStream;
3144
+ exports.orElseSucceed = orElseSucceed;
3145
+ exports.paginate = paginate;
3146
+ exports.paginateChunk = paginateChunk;
3147
+ exports.paginateChunkEffect = paginateChunkEffect;
3148
+ exports.paginateEffect = paginateEffect;
3149
+ exports.partition = partition;
3150
+ exports.partitionEither = partitionEither;
3151
+ exports.peel = peel;
3152
+ exports.pipeThrough = pipeThrough;
3153
+ exports.pipeThroughChannel = pipeThroughChannel;
3154
+ exports.pipeThroughChannelOrFail = pipeThroughChannelOrFail;
3155
+ exports.prepend = prepend;
3156
+ exports.provideContext = provideContext;
3157
+ exports.provideLayer = provideLayer;
3158
+ exports.provideService = provideService;
3159
+ exports.provideServiceEffect = provideServiceEffect;
3160
+ exports.provideServiceStream = provideServiceStream;
3161
+ exports.provideSomeLayer = provideSomeLayer;
3162
+ exports.range = range;
3163
+ exports.rechunk = rechunk;
3164
+ exports.refineOrDie = refineOrDie;
3165
+ exports.refineOrDieWith = refineOrDieWith;
3166
+ exports.repeat = repeat;
3167
+ exports.repeatEffect = repeatEffect;
3168
+ exports.repeatEffectChunk = repeatEffectChunk;
3169
+ exports.repeatEffectChunkOption = repeatEffectChunkOption;
3170
+ exports.repeatEffectOption = repeatEffectOption;
3171
+ exports.repeatEffectWithSchedule = repeatEffectWithSchedule;
3172
+ exports.repeatEither = repeatEither;
3173
+ exports.repeatElements = repeatElements;
3174
+ exports.repeatElementsWith = repeatElementsWith;
3175
+ exports.repeatValue = repeatValue;
3176
+ exports.repeatWith = repeatWith;
3177
+ exports.retry = retry;
3178
+ exports.run = run;
3179
+ exports.runCollect = runCollect;
3180
+ exports.runCount = runCount;
3181
+ exports.runDrain = runDrain;
3182
+ exports.runFold = runFold;
3183
+ exports.runFoldEffect = runFoldEffect;
3184
+ exports.runFoldScoped = runFoldScoped;
3185
+ exports.runFoldScopedEffect = runFoldScopedEffect;
3186
+ exports.runFoldWhile = runFoldWhile;
3187
+ exports.runFoldWhileEffect = runFoldWhileEffect;
3188
+ exports.runFoldWhileScoped = runFoldWhileScoped;
3189
+ exports.runFoldWhileScopedEffect = runFoldWhileScopedEffect;
3190
+ exports.runForEach = runForEach;
3191
+ exports.runForEachChunk = runForEachChunk;
3192
+ exports.runForEachChunkScoped = runForEachChunkScoped;
3193
+ exports.runForEachScoped = runForEachScoped;
3194
+ exports.runForEachWhile = runForEachWhile;
3195
+ exports.runForEachWhileScoped = runForEachWhileScoped;
3196
+ exports.runHead = runHead;
3197
+ exports.runIntoHub = runIntoHub;
3198
+ exports.runIntoHubScoped = runIntoHubScoped;
3199
+ exports.runIntoQueue = runIntoQueue;
3200
+ exports.runIntoQueueElementsScoped = runIntoQueueElementsScoped;
3201
+ exports.runIntoQueueScoped = runIntoQueueScoped;
3202
+ exports.runLast = runLast;
3203
+ exports.runScoped = runScoped;
3204
+ exports.runSum = runSum;
3205
+ exports.scan = scan;
3206
+ exports.scanEffect = scanEffect;
3207
+ exports.scanReduce = scanReduce;
3208
+ exports.scanReduceEffect = scanReduceEffect;
3209
+ exports.schedule = schedule;
3210
+ exports.scheduleWith = scheduleWith;
3211
+ exports.scoped = scoped;
3212
+ exports.sliding = sliding;
3213
+ exports.slidingSize = slidingSize;
3214
+ exports.some = some;
3215
+ exports.someOrElse = someOrElse;
3216
+ exports.someOrFail = someOrFail;
3217
+ exports.split = split;
3218
+ exports.splitLines = splitLines;
3219
+ exports.splitOnChunk = splitOnChunk;
3220
+ exports.succeed = succeed;
3221
+ exports.suspend = suspend;
3222
+ exports.sync = sync;
3223
+ exports.take = take;
3224
+ exports.takeRight = takeRight;
3225
+ exports.takeUntil = takeUntil;
3226
+ exports.takeUntilEffect = takeUntilEffect;
3227
+ exports.takeWhile = takeWhile;
3228
+ exports.tap = tap;
3229
+ exports.tapBoth = tapBoth;
3230
+ exports.tapError = tapError;
3231
+ exports.tapErrorCause = tapErrorCause;
3232
+ exports.tapSink = tapSink;
3233
+ exports.throttle = throttle;
3234
+ exports.throttleEffect = throttleEffect;
3235
+ exports.tick = tick;
3236
+ exports.timeout = timeout;
3237
+ exports.timeoutFail = timeoutFail;
3238
+ exports.timeoutFailCause = timeoutFailCause;
3239
+ exports.timeoutTo = timeoutTo;
3240
+ exports.toChannel = toChannel;
3241
+ exports.toHub = toHub;
3242
+ exports.toPull = toPull;
3243
+ exports.toQueue = toQueue;
3244
+ exports.toQueueOfElements = toQueueOfElements;
3245
+ exports.toReadableStream = toReadableStream;
3246
+ exports.transduce = transduce;
3247
+ exports.unfold = unfold;
3248
+ exports.unfoldChunk = unfoldChunk;
3249
+ exports.unfoldChunkEffect = unfoldChunkEffect;
3250
+ exports.unfoldEffect = unfoldEffect;
3251
+ exports.unit = unit;
3252
+ exports.unwrap = unwrap;
3253
+ exports.unwrapScoped = unwrapScoped;
3254
+ exports.updateService = updateService;
3255
+ exports.when = when;
3256
+ exports.whenCase = whenCase;
3257
+ exports.whenCaseEffect = whenCaseEffect;
3258
+ exports.whenEffect = whenEffect;
3259
+ exports.withSpan = withSpan;
3260
+ exports.zip = zip;
3261
+ exports.zipAll = zipAll;
3262
+ exports.zipAllLeft = zipAllLeft;
3263
+ exports.zipAllRight = zipAllRight;
3264
+ exports.zipAllSortedByKey = zipAllSortedByKey;
3265
+ exports.zipAllSortedByKeyLeft = zipAllSortedByKeyLeft;
3266
+ exports.zipAllSortedByKeyRight = zipAllSortedByKeyRight;
3267
+ exports.zipAllSortedByKeyWith = zipAllSortedByKeyWith;
3268
+ exports.zipAllWith = zipAllWith;
3269
+ exports.zipFlatten = zipFlatten;
3270
+ exports.zipLatest = zipLatest;
3271
+ exports.zipLatestWith = zipLatestWith;
3272
+ exports.zipLeft = zipLeft;
3273
+ exports.zipRight = zipRight;
3274
+ exports.zipWith = zipWith;
3275
+ exports.zipWithChunks = zipWithChunks;
3276
+ exports.zipWithIndex = zipWithIndex;
3277
+ exports.zipWithNext = zipWithNext;
3278
+ exports.zipWithPrevious = zipWithPrevious;
3279
+ exports.zipWithPreviousAndNext = zipWithPreviousAndNext;