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