effect 2.0.0-next.8 → 2.0.0

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 (2475) hide show
  1. package/BigDecimal/package.json +6 -0
  2. package/BigInt/package.json +6 -0
  3. package/Boolean/package.json +6 -0
  4. package/Brand/package.json +6 -0
  5. package/Cache/package.json +6 -0
  6. package/Cause/package.json +6 -0
  7. package/Channel/package.json +6 -0
  8. package/ChildExecutorDecision/package.json +6 -0
  9. package/Chunk/package.json +6 -0
  10. package/Clock/package.json +6 -0
  11. package/Config/package.json +6 -0
  12. package/ConfigError/package.json +6 -0
  13. package/ConfigProvider/package.json +6 -0
  14. package/ConfigProviderPathPatch/package.json +6 -0
  15. package/Console/package.json +6 -0
  16. package/Context/package.json +6 -0
  17. package/Data/package.json +6 -0
  18. package/DefaultServices/package.json +6 -0
  19. package/Deferred/package.json +6 -0
  20. package/Differ/package.json +6 -0
  21. package/Duration/package.json +6 -0
  22. package/Effect/package.json +6 -0
  23. package/Effectable/package.json +6 -0
  24. package/Either/package.json +6 -0
  25. package/Encoding/package.json +6 -0
  26. package/Equal/package.json +6 -0
  27. package/Equivalence/package.json +6 -0
  28. package/ExecutionStrategy/package.json +6 -0
  29. package/Exit/package.json +6 -0
  30. package/Fiber/package.json +6 -0
  31. package/FiberId/package.json +6 -0
  32. package/FiberRef/package.json +6 -0
  33. package/FiberRefs/package.json +6 -0
  34. package/FiberRefsPatch/package.json +6 -0
  35. package/FiberStatus/package.json +6 -0
  36. package/Function/package.json +6 -0
  37. package/GlobalValue/package.json +6 -0
  38. package/GroupBy/package.json +6 -0
  39. package/HKT/package.json +6 -0
  40. package/Hash/package.json +6 -0
  41. package/HashMap/package.json +6 -0
  42. package/HashSet/package.json +6 -0
  43. package/Inspectable/package.json +6 -0
  44. package/KeyedPool/package.json +6 -0
  45. package/LICENSE +21 -0
  46. package/Layer/package.json +6 -0
  47. package/List/package.json +6 -0
  48. package/LogLevel/package.json +6 -0
  49. package/LogSpan/package.json +6 -0
  50. package/Logger/package.json +6 -0
  51. package/Match/package.json +6 -0
  52. package/MergeDecision/package.json +6 -0
  53. package/MergeState/package.json +6 -0
  54. package/MergeStrategy/package.json +6 -0
  55. package/Metric/package.json +6 -0
  56. package/MetricBoundaries/package.json +6 -0
  57. package/MetricHook/package.json +6 -0
  58. package/MetricKey/package.json +6 -0
  59. package/MetricKeyType/package.json +6 -0
  60. package/MetricLabel/package.json +6 -0
  61. package/MetricPair/package.json +6 -0
  62. package/MetricPolling/package.json +6 -0
  63. package/MetricRegistry/package.json +6 -0
  64. package/MetricState/package.json +6 -0
  65. package/MutableHashMap/package.json +6 -0
  66. package/MutableHashSet/package.json +6 -0
  67. package/MutableList/package.json +6 -0
  68. package/MutableQueue/package.json +6 -0
  69. package/MutableRef/package.json +6 -0
  70. package/NonEmptyIterable/package.json +6 -0
  71. package/Number/package.json +6 -0
  72. package/Option/package.json +6 -0
  73. package/Order/package.json +6 -0
  74. package/Ordering/package.json +6 -0
  75. package/Pipeable/package.json +6 -0
  76. package/Pool/package.json +6 -0
  77. package/Predicate/package.json +6 -0
  78. package/PrimaryKey/package.json +6 -0
  79. package/PubSub/package.json +6 -0
  80. package/Queue/package.json +6 -0
  81. package/README.md +53 -14
  82. package/Random/package.json +6 -0
  83. package/ReadonlyArray/package.json +6 -0
  84. package/ReadonlyRecord/package.json +6 -0
  85. package/RedBlackTree/package.json +6 -0
  86. package/Ref/package.json +6 -0
  87. package/Reloadable/package.json +6 -0
  88. package/Request/package.json +6 -0
  89. package/RequestBlock/package.json +6 -0
  90. package/RequestResolver/package.json +6 -0
  91. package/Resource/package.json +6 -0
  92. package/Runtime/package.json +6 -0
  93. package/RuntimeFlags/package.json +6 -0
  94. package/RuntimeFlagsPatch/package.json +6 -0
  95. package/STM/package.json +6 -0
  96. package/Schedule/package.json +6 -0
  97. package/ScheduleDecision/package.json +6 -0
  98. package/ScheduleInterval/package.json +6 -0
  99. package/ScheduleIntervals/package.json +6 -0
  100. package/Scheduler/package.json +6 -0
  101. package/Scope/package.json +6 -0
  102. package/ScopedCache/package.json +6 -0
  103. package/ScopedRef/package.json +6 -0
  104. package/Secret/package.json +6 -0
  105. package/SingleProducerAsyncInput/package.json +6 -0
  106. package/Sink/package.json +6 -0
  107. package/SortedMap/package.json +6 -0
  108. package/SortedSet/package.json +6 -0
  109. package/Stream/package.json +6 -0
  110. package/StreamEmit/package.json +6 -0
  111. package/StreamHaltStrategy/package.json +6 -0
  112. package/Streamable/package.json +6 -0
  113. package/String/package.json +6 -0
  114. package/Struct/package.json +6 -0
  115. package/SubscriptionRef/package.json +6 -0
  116. package/Supervisor/package.json +6 -0
  117. package/Symbol/package.json +6 -0
  118. package/SynchronizedRef/package.json +6 -0
  119. package/TArray/package.json +6 -0
  120. package/TDeferred/package.json +6 -0
  121. package/TMap/package.json +6 -0
  122. package/TPriorityQueue/package.json +6 -0
  123. package/TPubSub/package.json +6 -0
  124. package/TQueue/package.json +6 -0
  125. package/TRandom/package.json +6 -0
  126. package/TReentrantLock/package.json +6 -0
  127. package/TRef/package.json +6 -0
  128. package/TSemaphore/package.json +6 -0
  129. package/TSet/package.json +6 -0
  130. package/Take/package.json +6 -0
  131. package/TestAnnotation/package.json +6 -0
  132. package/TestAnnotationMap/package.json +6 -0
  133. package/TestAnnotations/package.json +6 -0
  134. package/TestClock/package.json +6 -0
  135. package/TestConfig/package.json +6 -0
  136. package/TestContext/package.json +6 -0
  137. package/TestLive/package.json +6 -0
  138. package/TestServices/package.json +6 -0
  139. package/TestSized/package.json +6 -0
  140. package/Tracer/package.json +6 -0
  141. package/Tuple/package.json +6 -0
  142. package/Types/package.json +6 -0
  143. package/Unify/package.json +6 -0
  144. package/UpstreamPullRequest/package.json +6 -0
  145. package/UpstreamPullStrategy/package.json +6 -0
  146. package/Utils/package.json +6 -0
  147. package/dist/cjs/BigDecimal.js +889 -0
  148. package/dist/cjs/BigDecimal.js.map +1 -0
  149. package/dist/cjs/BigInt.js +498 -0
  150. package/dist/cjs/BigInt.js.map +1 -0
  151. package/dist/cjs/Boolean.js +249 -0
  152. package/dist/cjs/Boolean.js.map +1 -0
  153. package/dist/cjs/Brand.js +207 -0
  154. package/dist/cjs/Brand.js.map +1 -0
  155. package/dist/cjs/Cache.js +69 -0
  156. package/dist/cjs/Cache.js.map +1 -0
  157. package/dist/cjs/Cause.js +499 -0
  158. package/dist/cjs/Cause.js.map +1 -0
  159. package/dist/cjs/Channel.js +866 -0
  160. package/dist/cjs/Channel.js.map +1 -0
  161. package/dist/cjs/ChildExecutorDecision.js +96 -0
  162. package/dist/cjs/ChildExecutorDecision.js.map +1 -0
  163. package/dist/cjs/Chunk.js +1062 -0
  164. package/dist/cjs/Chunk.js.map +1 -0
  165. package/dist/cjs/Clock.js +69 -0
  166. package/dist/cjs/Clock.js.map +1 -0
  167. package/dist/cjs/Config.js +311 -0
  168. package/dist/cjs/Config.js.map +1 -0
  169. package/dist/cjs/ConfigError.js +138 -0
  170. package/dist/cjs/ConfigError.js.map +1 -0
  171. package/dist/cjs/ConfigProvider.js +192 -0
  172. package/dist/cjs/ConfigProvider.js.map +1 -0
  173. package/dist/cjs/ConfigProviderPathPatch.js +62 -0
  174. package/dist/cjs/ConfigProviderPathPatch.js.map +1 -0
  175. package/dist/cjs/Console.js +149 -0
  176. package/dist/cjs/Console.js.map +1 -0
  177. package/dist/cjs/Context.js +265 -0
  178. package/dist/cjs/Context.js.map +1 -0
  179. package/dist/cjs/Data.js +265 -0
  180. package/dist/cjs/Data.js.map +1 -0
  181. package/dist/cjs/DefaultServices.js +43 -0
  182. package/dist/cjs/DefaultServices.js.map +1 -0
  183. package/dist/cjs/Deferred.js +191 -0
  184. package/dist/cjs/Deferred.js.map +1 -0
  185. package/dist/cjs/Differ.js +164 -0
  186. package/dist/cjs/Differ.js.map +1 -0
  187. package/dist/cjs/Duration.js +476 -0
  188. package/dist/cjs/Duration.js.map +1 -0
  189. package/dist/cjs/Effect.js +2709 -0
  190. package/dist/cjs/Effect.js.map +1 -0
  191. package/dist/cjs/Effectable.js +82 -0
  192. package/dist/cjs/Effectable.js.map +1 -0
  193. package/dist/cjs/Either.js +466 -0
  194. package/dist/cjs/Either.js.map +1 -0
  195. package/dist/cjs/Encoding.js +138 -0
  196. package/dist/cjs/Encoding.js.map +1 -0
  197. package/dist/cjs/Equal.js +73 -0
  198. package/dist/cjs/Equal.js.map +1 -0
  199. package/dist/cjs/Equivalence.js +181 -0
  200. package/dist/cjs/Equivalence.js.map +1 -0
  201. package/dist/cjs/ExecutionStrategy.js +86 -0
  202. package/dist/cjs/ExecutionStrategy.js.map +1 -0
  203. package/dist/cjs/Exit.js +286 -0
  204. package/dist/cjs/Exit.js.map +1 -0
  205. package/dist/cjs/Fiber.js +370 -0
  206. package/dist/cjs/Fiber.js.map +1 -0
  207. package/dist/cjs/FiberId.js +146 -0
  208. package/dist/cjs/FiberId.js.map +1 -0
  209. package/dist/cjs/FiberRef.js +257 -0
  210. package/dist/cjs/FiberRef.js.map +1 -0
  211. package/dist/cjs/FiberRefs.js +115 -0
  212. package/dist/cjs/FiberRefs.js.map +1 -0
  213. package/dist/cjs/FiberRefsPatch.js +63 -0
  214. package/dist/cjs/FiberRefsPatch.js.map +1 -0
  215. package/dist/cjs/FiberStatus.js +83 -0
  216. package/dist/cjs/FiberStatus.js.map +1 -0
  217. package/dist/cjs/Function.js +417 -0
  218. package/dist/cjs/Function.js.map +1 -0
  219. package/dist/cjs/GlobalValue.js +28 -0
  220. package/dist/cjs/GlobalValue.js.map +1 -0
  221. package/dist/cjs/GroupBy.js +71 -0
  222. package/dist/cjs/GroupBy.js.map +1 -0
  223. package/dist/cjs/HKT.js +6 -0
  224. package/dist/cjs/HKT.js.map +1 -0
  225. package/dist/cjs/Hash.js +149 -0
  226. package/dist/cjs/Hash.js.map +1 -0
  227. package/dist/cjs/HashMap.js +287 -0
  228. package/dist/cjs/HashMap.js.map +1 -0
  229. package/dist/cjs/HashSet.js +223 -0
  230. package/dist/cjs/HashSet.js.map +1 -0
  231. package/dist/cjs/Inspectable.js +34 -0
  232. package/dist/cjs/Inspectable.js.map +1 -0
  233. package/dist/cjs/KeyedPool.js +107 -0
  234. package/dist/cjs/KeyedPool.js.map +1 -0
  235. package/dist/cjs/Layer.js +586 -0
  236. package/dist/cjs/Layer.js.map +1 -0
  237. package/dist/cjs/List.js +802 -0
  238. package/dist/cjs/List.js.map +1 -0
  239. package/dist/cjs/LogLevel.js +139 -0
  240. package/dist/cjs/LogLevel.js.map +1 -0
  241. package/dist/cjs/LogSpan.js +47 -0
  242. package/dist/cjs/LogSpan.js.map +1 -0
  243. package/dist/cjs/Logger.js +189 -0
  244. package/dist/cjs/Logger.js.map +1 -0
  245. package/dist/cjs/Match.js +217 -0
  246. package/dist/cjs/Match.js.map +1 -0
  247. package/dist/cjs/MergeDecision.js +66 -0
  248. package/dist/cjs/MergeDecision.js.map +1 -0
  249. package/dist/cjs/MergeState.js +89 -0
  250. package/dist/cjs/MergeState.js.map +1 -0
  251. package/dist/cjs/MergeStrategy.js +83 -0
  252. package/dist/cjs/MergeStrategy.js.map +1 -0
  253. package/dist/cjs/Metric.js +426 -0
  254. package/dist/cjs/Metric.js.map +1 -0
  255. package/dist/cjs/MetricBoundaries.js +64 -0
  256. package/dist/cjs/MetricBoundaries.js.map +1 -0
  257. package/dist/cjs/MetricHook.js +73 -0
  258. package/dist/cjs/MetricHook.js.map +1 -0
  259. package/dist/cjs/MetricKey.js +94 -0
  260. package/dist/cjs/MetricKey.js.map +1 -0
  261. package/dist/cjs/MetricKeyType.js +118 -0
  262. package/dist/cjs/MetricKeyType.js.map +1 -0
  263. package/dist/cjs/MetricLabel.js +48 -0
  264. package/dist/cjs/MetricLabel.js.map +1 -0
  265. package/dist/cjs/MetricPair.js +52 -0
  266. package/dist/cjs/MetricPair.js.map +1 -0
  267. package/dist/cjs/MetricPolling.js +90 -0
  268. package/dist/cjs/MetricPolling.js.map +1 -0
  269. package/dist/cjs/MetricRegistry.js +47 -0
  270. package/dist/cjs/MetricRegistry.js.map +1 -0
  271. package/dist/cjs/MetricState.js +118 -0
  272. package/dist/cjs/MetricState.js.map +1 -0
  273. package/dist/cjs/MutableHashMap.js +288 -0
  274. package/dist/cjs/MutableHashMap.js.map +1 -0
  275. package/dist/cjs/MutableHashSet.js +108 -0
  276. package/dist/cjs/MutableHashSet.js.map +1 -0
  277. package/dist/cjs/MutableList.js +285 -0
  278. package/dist/cjs/MutableList.js.map +1 -0
  279. package/dist/cjs/MutableQueue.js +197 -0
  280. package/dist/cjs/MutableQueue.js.map +1 -0
  281. package/dist/cjs/MutableRef.js +168 -0
  282. package/dist/cjs/MutableRef.js.map +1 -0
  283. package/dist/cjs/NonEmptyIterable.js +23 -0
  284. package/dist/cjs/NonEmptyIterable.js.map +1 -0
  285. package/dist/cjs/Number.js +407 -0
  286. package/dist/cjs/Number.js.map +1 -0
  287. package/dist/cjs/Option.js +950 -0
  288. package/dist/cjs/Option.js.map +1 -0
  289. package/dist/cjs/Order.js +258 -0
  290. package/dist/cjs/Order.js.map +1 -0
  291. package/dist/cjs/Ordering.js +81 -0
  292. package/dist/cjs/Ordering.js.map +1 -0
  293. package/dist/cjs/Pipeable.js +44 -0
  294. package/dist/cjs/Pipeable.js.map +1 -0
  295. package/dist/cjs/Pool.js +105 -0
  296. package/dist/cjs/Pool.js.map +1 -0
  297. package/dist/cjs/Predicate.js +640 -0
  298. package/dist/cjs/Predicate.js.map +1 -0
  299. package/dist/cjs/PrimaryKey.js +21 -0
  300. package/dist/cjs/PrimaryKey.js.map +1 -0
  301. package/dist/cjs/PubSub.js +151 -0
  302. package/dist/cjs/PubSub.js.map +1 -0
  303. package/dist/cjs/Queue.js +279 -0
  304. package/dist/cjs/Queue.js.map +1 -0
  305. package/dist/cjs/Random.js +91 -0
  306. package/dist/cjs/Random.js.map +1 -0
  307. package/dist/cjs/ReadonlyArray.js +1408 -0
  308. package/dist/cjs/ReadonlyArray.js.map +1 -0
  309. package/dist/cjs/ReadonlyRecord.js +829 -0
  310. package/dist/cjs/ReadonlyRecord.js.map +1 -0
  311. package/dist/cjs/RedBlackTree.js +290 -0
  312. package/dist/cjs/RedBlackTree.js.map +1 -0
  313. package/dist/cjs/Ref.js +108 -0
  314. package/dist/cjs/Ref.js.map +1 -0
  315. package/dist/cjs/Reloadable.js +90 -0
  316. package/dist/cjs/Reloadable.js.map +1 -0
  317. package/dist/cjs/Request.js +168 -0
  318. package/dist/cjs/Request.js.map +1 -0
  319. package/dist/cjs/RequestBlock.js +67 -0
  320. package/dist/cjs/RequestBlock.js.map +1 -0
  321. package/dist/cjs/RequestResolver.js +182 -0
  322. package/dist/cjs/RequestResolver.js.map +1 -0
  323. package/dist/cjs/Resource.js +75 -0
  324. package/dist/cjs/Resource.js.map +1 -0
  325. package/dist/cjs/Runtime.js +135 -0
  326. package/dist/cjs/Runtime.js.map +1 -0
  327. package/dist/cjs/RuntimeFlags.js +283 -0
  328. package/dist/cjs/RuntimeFlags.js.map +1 -0
  329. package/dist/cjs/RuntimeFlagsPatch.js +166 -0
  330. package/dist/cjs/RuntimeFlagsPatch.js.map +1 -0
  331. package/dist/cjs/STM.js +1013 -0
  332. package/dist/cjs/STM.js.map +1 -0
  333. package/dist/cjs/Schedule.js +838 -0
  334. package/dist/cjs/Schedule.js.map +1 -0
  335. package/dist/cjs/ScheduleDecision.js +58 -0
  336. package/dist/cjs/ScheduleDecision.js.map +1 -0
  337. package/dist/cjs/ScheduleInterval.js +131 -0
  338. package/dist/cjs/ScheduleInterval.js.map +1 -0
  339. package/dist/cjs/ScheduleIntervals.js +109 -0
  340. package/dist/cjs/ScheduleIntervals.js.map +1 -0
  341. package/dist/cjs/Scheduler.js +332 -0
  342. package/dist/cjs/Scheduler.js.map +1 -0
  343. package/dist/cjs/Scope.js +114 -0
  344. package/dist/cjs/Scope.js.map +1 -0
  345. package/dist/cjs/ScopedCache.js +55 -0
  346. package/dist/cjs/ScopedCache.js.map +1 -0
  347. package/dist/cjs/ScopedRef.js +73 -0
  348. package/dist/cjs/ScopedRef.js.map +1 -0
  349. package/dist/cjs/Secret.js +68 -0
  350. package/dist/cjs/Secret.js.map +1 -0
  351. package/dist/cjs/SingleProducerAsyncInput.js +38 -0
  352. package/dist/cjs/SingleProducerAsyncInput.js.map +1 -0
  353. package/dist/cjs/Sink.js +884 -0
  354. package/dist/cjs/Sink.js.map +1 -0
  355. package/dist/cjs/SortedMap.js +190 -0
  356. package/dist/cjs/SortedMap.js.map +1 -0
  357. package/dist/cjs/SortedSet.js +269 -0
  358. package/dist/cjs/SortedSet.js.map +1 -0
  359. package/dist/cjs/Stream.js +2581 -0
  360. package/dist/cjs/Stream.js.map +1 -0
  361. package/dist/cjs/StreamEmit.js +6 -0
  362. package/dist/cjs/StreamEmit.js.map +1 -0
  363. package/dist/cjs/StreamHaltStrategy.js +87 -0
  364. package/dist/cjs/StreamHaltStrategy.js.map +1 -0
  365. package/dist/cjs/Streamable.js +69 -0
  366. package/dist/cjs/Streamable.js.map +1 -0
  367. package/dist/cjs/String.js +601 -0
  368. package/dist/cjs/String.js.map +1 -0
  369. package/dist/cjs/Struct.js +153 -0
  370. package/dist/cjs/Struct.js.map +1 -0
  371. package/dist/cjs/SubscriptionRef.js +147 -0
  372. package/dist/cjs/SubscriptionRef.js.map +1 -0
  373. package/dist/cjs/Supervisor.js +139 -0
  374. package/dist/cjs/Supervisor.js.map +1 -0
  375. package/dist/cjs/Symbol.js +58 -0
  376. package/dist/cjs/Symbol.js.map +1 -0
  377. package/dist/cjs/SynchronizedRef.js +150 -0
  378. package/dist/cjs/SynchronizedRef.js.map +1 -0
  379. package/dist/cjs/TArray.js +338 -0
  380. package/dist/cjs/TArray.js.map +1 -0
  381. package/dist/cjs/TDeferred.js +64 -0
  382. package/dist/cjs/TDeferred.js.map +1 -0
  383. package/dist/cjs/TMap.js +310 -0
  384. package/dist/cjs/TMap.js.map +1 -0
  385. package/dist/cjs/TPriorityQueue.js +167 -0
  386. package/dist/cjs/TPriorityQueue.js.map +1 -0
  387. package/dist/cjs/TPubSub.js +154 -0
  388. package/dist/cjs/TPubSub.js.map +1 -0
  389. package/dist/cjs/TQueue.js +261 -0
  390. package/dist/cjs/TQueue.js.map +1 -0
  391. package/dist/cjs/TRandom.js +96 -0
  392. package/dist/cjs/TRandom.js.map +1 -0
  393. package/dist/cjs/TReentrantLock.js +173 -0
  394. package/dist/cjs/TReentrantLock.js.map +1 -0
  395. package/dist/cjs/TRef.js +107 -0
  396. package/dist/cjs/TRef.js.map +1 -0
  397. package/dist/cjs/TSemaphore.js +97 -0
  398. package/dist/cjs/TSemaphore.js.map +1 -0
  399. package/dist/cjs/TSet.js +232 -0
  400. package/dist/cjs/TSet.js.map +1 -0
  401. package/dist/cjs/Take.js +179 -0
  402. package/dist/cjs/Take.js.map +1 -0
  403. package/dist/cjs/TestAnnotation.js +131 -0
  404. package/dist/cjs/TestAnnotation.js.map +1 -0
  405. package/dist/cjs/TestAnnotationMap.js +90 -0
  406. package/dist/cjs/TestAnnotationMap.js.map +1 -0
  407. package/dist/cjs/TestAnnotations.js +95 -0
  408. package/dist/cjs/TestAnnotations.js.map +1 -0
  409. package/dist/cjs/TestClock.js +389 -0
  410. package/dist/cjs/TestClock.js.map +1 -0
  411. package/dist/cjs/TestConfig.js +46 -0
  412. package/dist/cjs/TestConfig.js.map +1 -0
  413. package/dist/cjs/TestContext.js +52 -0
  414. package/dist/cjs/TestContext.js.map +1 -0
  415. package/dist/cjs/TestLive.js +63 -0
  416. package/dist/cjs/TestLive.js.map +1 -0
  417. package/dist/cjs/TestServices.js +279 -0
  418. package/dist/cjs/TestServices.js.map +1 -0
  419. package/dist/cjs/TestSized.js +70 -0
  420. package/dist/cjs/TestSized.js.map +1 -0
  421. package/dist/cjs/Tracer.js +63 -0
  422. package/dist/cjs/Tracer.js.map +1 -0
  423. package/dist/cjs/Tuple.js +191 -0
  424. package/dist/cjs/Tuple.js.map +1 -0
  425. package/dist/cjs/Types.js +6 -0
  426. package/dist/cjs/Types.js.map +1 -0
  427. package/dist/cjs/Unify.js +16 -0
  428. package/dist/cjs/Unify.js.map +1 -0
  429. package/dist/cjs/UpstreamPullRequest.js +83 -0
  430. package/dist/cjs/UpstreamPullRequest.js.map +1 -0
  431. package/dist/cjs/UpstreamPullStrategy.js +83 -0
  432. package/dist/cjs/UpstreamPullStrategy.js.map +1 -0
  433. package/dist/cjs/Utils.js +289 -0
  434. package/dist/cjs/Utils.js.map +1 -0
  435. package/dist/cjs/index.js +357 -0
  436. package/dist/cjs/index.js.map +1 -0
  437. package/dist/cjs/internal/Iterable.js +61 -0
  438. package/dist/cjs/internal/Iterable.js.map +1 -0
  439. package/dist/cjs/internal/blockedRequests.js +389 -0
  440. package/dist/cjs/internal/blockedRequests.js.map +1 -0
  441. package/dist/cjs/internal/cache.js +511 -0
  442. package/dist/cjs/internal/cache.js.map +1 -0
  443. package/dist/cjs/internal/cause.js +931 -0
  444. package/dist/cjs/internal/cause.js.map +1 -0
  445. package/dist/cjs/internal/channel/channelExecutor.js +722 -0
  446. package/dist/cjs/internal/channel/channelExecutor.js.map +1 -0
  447. package/dist/cjs/internal/channel/channelState.js +101 -0
  448. package/dist/cjs/internal/channel/channelState.js.map +1 -0
  449. package/dist/cjs/internal/channel/childExecutorDecision.js +98 -0
  450. package/dist/cjs/internal/channel/childExecutorDecision.js.map +1 -0
  451. package/dist/cjs/internal/channel/continuation.js +81 -0
  452. package/dist/cjs/internal/channel/continuation.js.map +1 -0
  453. package/dist/cjs/internal/channel/mergeDecision.js +88 -0
  454. package/dist/cjs/internal/channel/mergeDecision.js.map +1 -0
  455. package/dist/cjs/internal/channel/mergeState.js +107 -0
  456. package/dist/cjs/internal/channel/mergeState.js.map +1 -0
  457. package/dist/cjs/internal/channel/mergeStrategy.js +82 -0
  458. package/dist/cjs/internal/channel/mergeStrategy.js.map +1 -0
  459. package/dist/cjs/internal/channel/singleProducerAsyncInput.js +195 -0
  460. package/dist/cjs/internal/channel/singleProducerAsyncInput.js.map +1 -0
  461. package/dist/cjs/internal/channel/subexecutor.js +187 -0
  462. package/dist/cjs/internal/channel/subexecutor.js.map +1 -0
  463. package/dist/cjs/internal/channel/upstreamPullRequest.js +88 -0
  464. package/dist/cjs/internal/channel/upstreamPullRequest.js.map +1 -0
  465. package/dist/cjs/internal/channel/upstreamPullStrategy.js +88 -0
  466. package/dist/cjs/internal/channel/upstreamPullStrategy.js.map +1 -0
  467. package/dist/cjs/internal/channel.js +647 -0
  468. package/dist/cjs/internal/channel.js.map +1 -0
  469. package/dist/cjs/internal/clock.js +106 -0
  470. package/dist/cjs/internal/clock.js.map +1 -0
  471. package/dist/cjs/internal/completedRequestMap.js +11 -0
  472. package/dist/cjs/internal/completedRequestMap.js.map +1 -0
  473. package/dist/cjs/internal/concurrency.js +61 -0
  474. package/dist/cjs/internal/concurrency.js.map +1 -0
  475. package/dist/cjs/internal/config.js +371 -0
  476. package/dist/cjs/internal/config.js.map +1 -0
  477. package/dist/cjs/internal/configError.js +295 -0
  478. package/dist/cjs/internal/configError.js.map +1 -0
  479. package/dist/cjs/internal/configProvider/pathPatch.js +107 -0
  480. package/dist/cjs/internal/configProvider/pathPatch.js.map +1 -0
  481. package/dist/cjs/internal/configProvider.js +469 -0
  482. package/dist/cjs/internal/configProvider.js.map +1 -0
  483. package/dist/cjs/internal/console.js +103 -0
  484. package/dist/cjs/internal/console.js.map +1 -0
  485. package/dist/cjs/internal/context.js +228 -0
  486. package/dist/cjs/internal/context.js.map +1 -0
  487. package/dist/cjs/internal/core-effect.js +848 -0
  488. package/dist/cjs/internal/core-effect.js.map +1 -0
  489. package/dist/cjs/internal/core-stream.js +283 -0
  490. package/dist/cjs/internal/core-stream.js.map +1 -0
  491. package/dist/cjs/internal/core.js +1771 -0
  492. package/dist/cjs/internal/core.js.map +1 -0
  493. package/dist/cjs/internal/data.js +61 -0
  494. package/dist/cjs/internal/data.js.map +1 -0
  495. package/dist/cjs/internal/dataSource.js +109 -0
  496. package/dist/cjs/internal/dataSource.js.map +1 -0
  497. package/dist/cjs/internal/defaultServices/console.js +123 -0
  498. package/dist/cjs/internal/defaultServices/console.js.map +1 -0
  499. package/dist/cjs/internal/defaultServices.js +104 -0
  500. package/dist/cjs/internal/defaultServices.js.map +1 -0
  501. package/dist/cjs/internal/deferred.js +60 -0
  502. package/dist/cjs/internal/deferred.js.map +1 -0
  503. package/dist/cjs/internal/differ/chunkPatch.js +163 -0
  504. package/dist/cjs/internal/differ/chunkPatch.js.map +1 -0
  505. package/dist/cjs/internal/differ/contextPatch.js +176 -0
  506. package/dist/cjs/internal/differ/contextPatch.js.map +1 -0
  507. package/dist/cjs/internal/differ/hashMapPatch.js +163 -0
  508. package/dist/cjs/internal/differ/hashMapPatch.js.map +1 -0
  509. package/dist/cjs/internal/differ/hashSetPatch.js +137 -0
  510. package/dist/cjs/internal/differ/hashSetPatch.js.map +1 -0
  511. package/dist/cjs/internal/differ/orPatch.js +208 -0
  512. package/dist/cjs/internal/differ/orPatch.js.map +1 -0
  513. package/dist/cjs/internal/differ/readonlyArrayPatch.js +160 -0
  514. package/dist/cjs/internal/differ/readonlyArrayPatch.js.map +1 -0
  515. package/dist/cjs/internal/differ.js +169 -0
  516. package/dist/cjs/internal/differ.js.map +1 -0
  517. package/dist/cjs/internal/effect/circular.js +321 -0
  518. package/dist/cjs/internal/effect/circular.js.map +1 -0
  519. package/dist/cjs/internal/effectable.js +140 -0
  520. package/dist/cjs/internal/effectable.js.map +1 -0
  521. package/dist/cjs/internal/either.js +124 -0
  522. package/dist/cjs/internal/either.js.map +1 -0
  523. package/dist/cjs/internal/encoding/base64.js +101 -0
  524. package/dist/cjs/internal/encoding/base64.js.map +1 -0
  525. package/dist/cjs/internal/encoding/base64Url.js +53 -0
  526. package/dist/cjs/internal/encoding/base64Url.js.map +1 -0
  527. package/dist/cjs/internal/encoding/common.js +30 -0
  528. package/dist/cjs/internal/encoding/common.js.map +1 -0
  529. package/dist/cjs/internal/encoding/hex.js +81 -0
  530. package/dist/cjs/internal/encoding/hex.js.map +1 -0
  531. package/dist/cjs/internal/executionStrategy.js +54 -0
  532. package/dist/cjs/internal/executionStrategy.js.map +1 -0
  533. package/dist/cjs/internal/fiber.js +269 -0
  534. package/dist/cjs/internal/fiber.js.map +1 -0
  535. package/dist/cjs/internal/fiberId.js +259 -0
  536. package/dist/cjs/internal/fiberId.js.map +1 -0
  537. package/dist/cjs/internal/fiberMessage.js +38 -0
  538. package/dist/cjs/internal/fiberMessage.js.map +1 -0
  539. package/dist/cjs/internal/fiberRefs/patch.js +139 -0
  540. package/dist/cjs/internal/fiberRefs/patch.js.map +1 -0
  541. package/dist/cjs/internal/fiberRefs.js +227 -0
  542. package/dist/cjs/internal/fiberRefs.js.map +1 -0
  543. package/dist/cjs/internal/fiberRuntime.js +1921 -0
  544. package/dist/cjs/internal/fiberRuntime.js.map +1 -0
  545. package/dist/cjs/internal/fiberScope.js +76 -0
  546. package/dist/cjs/internal/fiberScope.js.map +1 -0
  547. package/dist/cjs/internal/fiberStatus.js +108 -0
  548. package/dist/cjs/internal/fiberStatus.js.map +1 -0
  549. package/dist/cjs/internal/groupBy.js +235 -0
  550. package/dist/cjs/internal/groupBy.js.map +1 -0
  551. package/dist/cjs/internal/hashMap/array.js +57 -0
  552. package/dist/cjs/internal/hashMap/array.js.map +1 -0
  553. package/dist/cjs/internal/hashMap/bitwise.js +38 -0
  554. package/dist/cjs/internal/hashMap/bitwise.js.map +1 -0
  555. package/dist/cjs/internal/hashMap/config.js +17 -0
  556. package/dist/cjs/internal/hashMap/config.js.map +1 -0
  557. package/dist/cjs/internal/hashMap/keySet.js +12 -0
  558. package/dist/cjs/internal/hashMap/keySet.js.map +1 -0
  559. package/dist/cjs/internal/hashMap/node.js +297 -0
  560. package/dist/cjs/internal/hashMap/node.js.map +1 -0
  561. package/dist/cjs/internal/hashMap.js +381 -0
  562. package/dist/cjs/internal/hashMap.js.map +1 -0
  563. package/dist/cjs/internal/hashSet.js +222 -0
  564. package/dist/cjs/internal/hashSet.js.map +1 -0
  565. package/dist/cjs/internal/internalize.js +15 -0
  566. package/dist/cjs/internal/internalize.js.map +1 -0
  567. package/dist/cjs/internal/keyedPool.js +194 -0
  568. package/dist/cjs/internal/keyedPool.js.map +1 -0
  569. package/dist/cjs/internal/layer/circular.js +101 -0
  570. package/dist/cjs/internal/layer/circular.js.map +1 -0
  571. package/dist/cjs/internal/layer.js +526 -0
  572. package/dist/cjs/internal/layer.js.map +1 -0
  573. package/dist/cjs/internal/logSpan.js +21 -0
  574. package/dist/cjs/internal/logSpan.js.map +1 -0
  575. package/dist/cjs/internal/logger-circular.js +50 -0
  576. package/dist/cjs/internal/logger-circular.js.map +1 -0
  577. package/dist/cjs/internal/logger.js +229 -0
  578. package/dist/cjs/internal/logger.js.map +1 -0
  579. package/dist/cjs/internal/matcher.js +337 -0
  580. package/dist/cjs/internal/matcher.js.map +1 -0
  581. package/dist/cjs/internal/metric/boundaries.js +77 -0
  582. package/dist/cjs/internal/metric/boundaries.js.map +1 -0
  583. package/dist/cjs/internal/metric/hook.js +387 -0
  584. package/dist/cjs/internal/metric/hook.js.map +1 -0
  585. package/dist/cjs/internal/metric/key.js +97 -0
  586. package/dist/cjs/internal/metric/key.js.map +1 -0
  587. package/dist/cjs/internal/metric/keyType.js +243 -0
  588. package/dist/cjs/internal/metric/keyType.js.map +1 -0
  589. package/dist/cjs/internal/metric/label.js +69 -0
  590. package/dist/cjs/internal/metric/label.js.map +1 -0
  591. package/dist/cjs/internal/metric/pair.js +40 -0
  592. package/dist/cjs/internal/metric/pair.js.map +1 -0
  593. package/dist/cjs/internal/metric/polling.js +99 -0
  594. package/dist/cjs/internal/metric/polling.js.map +1 -0
  595. package/dist/cjs/internal/metric/registry.js +137 -0
  596. package/dist/cjs/internal/metric/registry.js.map +1 -0
  597. package/dist/cjs/internal/metric/state.js +229 -0
  598. package/dist/cjs/internal/metric/state.js.map +1 -0
  599. package/dist/cjs/internal/metric.js +227 -0
  600. package/dist/cjs/internal/metric.js.map +1 -0
  601. package/dist/cjs/internal/opCodes/cause.js +19 -0
  602. package/dist/cjs/internal/opCodes/cause.js.map +1 -0
  603. package/dist/cjs/internal/opCodes/channel.js +35 -0
  604. package/dist/cjs/internal/opCodes/channel.js.map +1 -0
  605. package/dist/cjs/internal/opCodes/channelChildExecutorDecision.js +13 -0
  606. package/dist/cjs/internal/opCodes/channelChildExecutorDecision.js.map +1 -0
  607. package/dist/cjs/internal/opCodes/channelMergeDecision.js +11 -0
  608. package/dist/cjs/internal/opCodes/channelMergeDecision.js.map +1 -0
  609. package/dist/cjs/internal/opCodes/channelMergeState.js +13 -0
  610. package/dist/cjs/internal/opCodes/channelMergeState.js.map +1 -0
  611. package/dist/cjs/internal/opCodes/channelMergeStrategy.js +11 -0
  612. package/dist/cjs/internal/opCodes/channelMergeStrategy.js.map +1 -0
  613. package/dist/cjs/internal/opCodes/channelState.js +15 -0
  614. package/dist/cjs/internal/opCodes/channelState.js.map +1 -0
  615. package/dist/cjs/internal/opCodes/channelUpstreamPullRequest.js +11 -0
  616. package/dist/cjs/internal/opCodes/channelUpstreamPullRequest.js.map +1 -0
  617. package/dist/cjs/internal/opCodes/channelUpstreamPullStrategy.js +11 -0
  618. package/dist/cjs/internal/opCodes/channelUpstreamPullStrategy.js.map +1 -0
  619. package/dist/cjs/internal/opCodes/config.js +29 -0
  620. package/dist/cjs/internal/opCodes/config.js.map +1 -0
  621. package/dist/cjs/internal/opCodes/configError.js +19 -0
  622. package/dist/cjs/internal/opCodes/configError.js.map +1 -0
  623. package/dist/cjs/internal/opCodes/continuation.js +11 -0
  624. package/dist/cjs/internal/opCodes/continuation.js.map +1 -0
  625. package/dist/cjs/internal/opCodes/deferred.js +11 -0
  626. package/dist/cjs/internal/opCodes/deferred.js.map +1 -0
  627. package/dist/cjs/internal/opCodes/effect.js +35 -0
  628. package/dist/cjs/internal/opCodes/effect.js.map +1 -0
  629. package/dist/cjs/internal/opCodes/layer.js +25 -0
  630. package/dist/cjs/internal/opCodes/layer.js.map +1 -0
  631. package/dist/cjs/internal/opCodes/streamHaltStrategy.js +15 -0
  632. package/dist/cjs/internal/opCodes/streamHaltStrategy.js.map +1 -0
  633. package/dist/cjs/internal/option.js +105 -0
  634. package/dist/cjs/internal/option.js.map +1 -0
  635. package/dist/cjs/internal/pool.js +296 -0
  636. package/dist/cjs/internal/pool.js.map +1 -0
  637. package/dist/cjs/internal/pubsub.js +1125 -0
  638. package/dist/cjs/internal/pubsub.js.map +1 -0
  639. package/dist/cjs/internal/query.js +126 -0
  640. package/dist/cjs/internal/query.js.map +1 -0
  641. package/dist/cjs/internal/queue.js +537 -0
  642. package/dist/cjs/internal/queue.js.map +1 -0
  643. package/dist/cjs/internal/random.js +88 -0
  644. package/dist/cjs/internal/random.js.map +1 -0
  645. package/dist/cjs/internal/readonlyArray.js +13 -0
  646. package/dist/cjs/internal/readonlyArray.js.map +1 -0
  647. package/dist/cjs/internal/redBlackTree/iterator.js +224 -0
  648. package/dist/cjs/internal/redBlackTree/iterator.js.map +1 -0
  649. package/dist/cjs/internal/redBlackTree/node.js +55 -0
  650. package/dist/cjs/internal/redBlackTree/node.js.map +1 -0
  651. package/dist/cjs/internal/redBlackTree.js +1056 -0
  652. package/dist/cjs/internal/redBlackTree.js.map +1 -0
  653. package/dist/cjs/internal/ref.js +140 -0
  654. package/dist/cjs/internal/ref.js.map +1 -0
  655. package/dist/cjs/internal/reloadable.js +88 -0
  656. package/dist/cjs/internal/reloadable.js.map +1 -0
  657. package/dist/cjs/internal/request.js +127 -0
  658. package/dist/cjs/internal/request.js.map +1 -0
  659. package/dist/cjs/internal/resource.js +63 -0
  660. package/dist/cjs/internal/resource.js.map +1 -0
  661. package/dist/cjs/internal/ringBuffer.js +88 -0
  662. package/dist/cjs/internal/ringBuffer.js.map +1 -0
  663. package/dist/cjs/internal/runtime.js +288 -0
  664. package/dist/cjs/internal/runtime.js.map +1 -0
  665. package/dist/cjs/internal/runtimeFlags.js +150 -0
  666. package/dist/cjs/internal/runtimeFlags.js.map +1 -0
  667. package/dist/cjs/internal/runtimeFlagsPatch.js +52 -0
  668. package/dist/cjs/internal/runtimeFlagsPatch.js.map +1 -0
  669. package/dist/cjs/internal/schedule/decision.js +68 -0
  670. package/dist/cjs/internal/schedule/decision.js.map +1 -0
  671. package/dist/cjs/internal/schedule/interval.js +107 -0
  672. package/dist/cjs/internal/schedule/interval.js.map +1 -0
  673. package/dist/cjs/internal/schedule/intervals.js +157 -0
  674. package/dist/cjs/internal/schedule/intervals.js.map +1 -0
  675. package/dist/cjs/internal/schedule.js +802 -0
  676. package/dist/cjs/internal/schedule.js.map +1 -0
  677. package/dist/cjs/internal/scopedCache.js +422 -0
  678. package/dist/cjs/internal/scopedCache.js.map +1 -0
  679. package/dist/cjs/internal/scopedRef.js +75 -0
  680. package/dist/cjs/internal/scopedRef.js.map +1 -0
  681. package/dist/cjs/internal/secret.js +90 -0
  682. package/dist/cjs/internal/secret.js.map +1 -0
  683. package/dist/cjs/internal/singleShotGen.js +37 -0
  684. package/dist/cjs/internal/singleShotGen.js.map +1 -0
  685. package/dist/cjs/internal/sink.js +901 -0
  686. package/dist/cjs/internal/sink.js.map +1 -0
  687. package/dist/cjs/internal/stack.js +17 -0
  688. package/dist/cjs/internal/stack.js.map +1 -0
  689. package/dist/cjs/internal/stm/core.js +546 -0
  690. package/dist/cjs/internal/stm/core.js.map +1 -0
  691. package/dist/cjs/internal/stm/opCodes/stm.js +31 -0
  692. package/dist/cjs/internal/stm/opCodes/stm.js.map +1 -0
  693. package/dist/cjs/internal/stm/opCodes/stmState.js +13 -0
  694. package/dist/cjs/internal/stm/opCodes/stmState.js.map +1 -0
  695. package/dist/cjs/internal/stm/opCodes/strategy.js +13 -0
  696. package/dist/cjs/internal/stm/opCodes/strategy.js.map +1 -0
  697. package/dist/cjs/internal/stm/opCodes/tExit.js +17 -0
  698. package/dist/cjs/internal/stm/opCodes/tExit.js.map +1 -0
  699. package/dist/cjs/internal/stm/opCodes/tryCommit.js +11 -0
  700. package/dist/cjs/internal/stm/opCodes/tryCommit.js.map +1 -0
  701. package/dist/cjs/internal/stm/stm/entry.js +81 -0
  702. package/dist/cjs/internal/stm/stm/entry.js.map +1 -0
  703. package/dist/cjs/internal/stm/stm/journal.js +128 -0
  704. package/dist/cjs/internal/stm/stm/journal.js.map +1 -0
  705. package/dist/cjs/internal/stm/stm/opCodes/stm.js +31 -0
  706. package/dist/cjs/internal/stm/stm/opCodes/stm.js.map +1 -0
  707. package/dist/cjs/internal/stm/stm/opCodes/stmState.js +13 -0
  708. package/dist/cjs/internal/stm/stm/opCodes/stmState.js.map +1 -0
  709. package/dist/cjs/internal/stm/stm/opCodes/strategy.js +13 -0
  710. package/dist/cjs/internal/stm/stm/opCodes/strategy.js.map +1 -0
  711. package/dist/cjs/internal/stm/stm/opCodes/tExit.js +17 -0
  712. package/dist/cjs/internal/stm/stm/opCodes/tExit.js.map +1 -0
  713. package/dist/cjs/internal/stm/stm/opCodes/tryCommit.js +11 -0
  714. package/dist/cjs/internal/stm/stm/opCodes/tryCommit.js.map +1 -0
  715. package/dist/cjs/internal/stm/stm/stmState.js +124 -0
  716. package/dist/cjs/internal/stm/stm/stmState.js.map +1 -0
  717. package/dist/cjs/internal/stm/stm/tExit.js +141 -0
  718. package/dist/cjs/internal/stm/stm/tExit.js.map +1 -0
  719. package/dist/cjs/internal/stm/stm/tryCommit.js +49 -0
  720. package/dist/cjs/internal/stm/stm/tryCommit.js.map +1 -0
  721. package/dist/cjs/internal/stm/stm/txnId.js +18 -0
  722. package/dist/cjs/internal/stm/stm/txnId.js.map +1 -0
  723. package/dist/cjs/internal/stm/stm/versioned.js +15 -0
  724. package/dist/cjs/internal/stm/stm/versioned.js.map +1 -0
  725. package/dist/cjs/internal/stm/stm.js +553 -0
  726. package/dist/cjs/internal/stm/stm.js.map +1 -0
  727. package/dist/cjs/internal/stm/tArray.js +282 -0
  728. package/dist/cjs/internal/stm/tArray.js.map +1 -0
  729. package/dist/cjs/internal/stm/tDeferred.js +73 -0
  730. package/dist/cjs/internal/stm/tDeferred.js.map +1 -0
  731. package/dist/cjs/internal/stm/tMap.js +470 -0
  732. package/dist/cjs/internal/stm/tMap.js.map +1 -0
  733. package/dist/cjs/internal/stm/tPriorityQueue.js +180 -0
  734. package/dist/cjs/internal/stm/tPriorityQueue.js.map +1 -0
  735. package/dist/cjs/internal/stm/tPubSub.js +421 -0
  736. package/dist/cjs/internal/stm/tPubSub.js.map +1 -0
  737. package/dist/cjs/internal/stm/tQueue.js +309 -0
  738. package/dist/cjs/internal/stm/tQueue.js.map +1 -0
  739. package/dist/cjs/internal/stm/tRandom.js +116 -0
  740. package/dist/cjs/internal/stm/tRandom.js.map +1 -0
  741. package/dist/cjs/internal/stm/tReentrantLock.js +239 -0
  742. package/dist/cjs/internal/stm/tReentrantLock.js.map +1 -0
  743. package/dist/cjs/internal/stm/tRef.js +130 -0
  744. package/dist/cjs/internal/stm/tRef.js.map +1 -0
  745. package/dist/cjs/internal/stm/tSemaphore.js +96 -0
  746. package/dist/cjs/internal/stm/tSemaphore.js.map +1 -0
  747. package/dist/cjs/internal/stm/tSet.js +128 -0
  748. package/dist/cjs/internal/stm/tSet.js.map +1 -0
  749. package/dist/cjs/internal/stream/debounceState.js +29 -0
  750. package/dist/cjs/internal/stream/debounceState.js.map +1 -0
  751. package/dist/cjs/internal/stream/emit.js +81 -0
  752. package/dist/cjs/internal/stream/emit.js.map +1 -0
  753. package/dist/cjs/internal/stream/haltStrategy.js +99 -0
  754. package/dist/cjs/internal/stream/haltStrategy.js.map +1 -0
  755. package/dist/cjs/internal/stream/handoff.js +89 -0
  756. package/dist/cjs/internal/stream/handoff.js.map +1 -0
  757. package/dist/cjs/internal/stream/handoffSignal.js +31 -0
  758. package/dist/cjs/internal/stream/handoffSignal.js.map +1 -0
  759. package/dist/cjs/internal/stream/pull.js +58 -0
  760. package/dist/cjs/internal/stream/pull.js.map +1 -0
  761. package/dist/cjs/internal/stream/sinkEndReason.js +19 -0
  762. package/dist/cjs/internal/stream/sinkEndReason.js.map +1 -0
  763. package/dist/cjs/internal/stream/zipAllState.js +41 -0
  764. package/dist/cjs/internal/stream/zipAllState.js.map +1 -0
  765. package/dist/cjs/internal/stream/zipChunksState.js +29 -0
  766. package/dist/cjs/internal/stream/zipChunksState.js.map +1 -0
  767. package/dist/cjs/internal/stream.js +2833 -0
  768. package/dist/cjs/internal/stream.js.map +1 -0
  769. package/dist/cjs/internal/string-utils.js +90 -0
  770. package/dist/cjs/internal/string-utils.js.map +1 -0
  771. package/dist/cjs/internal/subscriptionRef.js +89 -0
  772. package/dist/cjs/internal/subscriptionRef.js.map +1 -0
  773. package/dist/cjs/internal/supervisor/patch.js +159 -0
  774. package/dist/cjs/internal/supervisor/patch.js.map +1 -0
  775. package/dist/cjs/internal/supervisor.js +246 -0
  776. package/dist/cjs/internal/supervisor.js.map +1 -0
  777. package/dist/cjs/internal/synchronizedRef.js +75 -0
  778. package/dist/cjs/internal/synchronizedRef.js.map +1 -0
  779. package/dist/cjs/internal/take.js +154 -0
  780. package/dist/cjs/internal/take.js.map +1 -0
  781. package/dist/cjs/internal/testing/sleep.js +14 -0
  782. package/dist/cjs/internal/testing/sleep.js.map +1 -0
  783. package/dist/cjs/internal/testing/suspendedWarningData.js +58 -0
  784. package/dist/cjs/internal/testing/suspendedWarningData.js.map +1 -0
  785. package/dist/cjs/internal/testing/warningData.js +59 -0
  786. package/dist/cjs/internal/testing/warningData.js.map +1 -0
  787. package/dist/cjs/internal/timeout.js +24 -0
  788. package/dist/cjs/internal/timeout.js.map +1 -0
  789. package/dist/cjs/internal/tracer.js +109 -0
  790. package/dist/cjs/internal/tracer.js.map +1 -0
  791. package/dist/cjs/internal/version.js +8 -0
  792. package/dist/cjs/internal/version.js.map +1 -0
  793. package/dist/dts/BigDecimal.d.ts +644 -0
  794. package/dist/dts/BigDecimal.d.ts.map +1 -0
  795. package/dist/dts/BigInt.d.ts +477 -0
  796. package/dist/dts/BigInt.d.ts.map +1 -0
  797. package/dist/dts/Boolean.d.ts +229 -0
  798. package/dist/dts/Boolean.d.ts.map +1 -0
  799. package/dist/dts/Brand.d.ts +230 -0
  800. package/dist/dts/Brand.d.ts.map +1 -0
  801. package/dist/dts/Cache.d.ts +220 -0
  802. package/dist/dts/Cache.d.ts.map +1 -0
  803. package/dist/dts/Cause.d.ts +786 -0
  804. package/dist/dts/Cause.d.ts.map +1 -0
  805. package/dist/dts/Channel.d.ts +1178 -0
  806. package/dist/dts/Channel.d.ts.map +1 -0
  807. package/dist/dts/ChildExecutorDecision.d.ts +123 -0
  808. package/dist/dts/ChildExecutorDecision.d.ts.map +1 -0
  809. package/dist/dts/Chunk.d.ts +793 -0
  810. package/dist/dts/Chunk.d.ts.map +1 -0
  811. package/dist/dts/Clock.d.ts +97 -0
  812. package/dist/dts/Clock.d.ts.map +1 -0
  813. package/dist/dts/Config.d.ts +402 -0
  814. package/dist/dts/Config.d.ts.map +1 -0
  815. package/dist/dts/ConfigError.d.ts +219 -0
  816. package/dist/dts/ConfigError.d.ts.map +1 -0
  817. package/dist/dts/ConfigProvider.d.ts +284 -0
  818. package/dist/dts/ConfigProvider.d.ts.map +1 -0
  819. package/dist/dts/ConfigProviderPathPatch.d.ts +86 -0
  820. package/dist/dts/ConfigProviderPathPatch.d.ts.map +1 -0
  821. package/dist/dts/Console.d.ts +202 -0
  822. package/dist/dts/Console.d.ts.map +1 -0
  823. package/dist/dts/Context.d.ts +340 -0
  824. package/dist/dts/Context.d.ts.map +1 -0
  825. package/dist/dts/Data.d.ts +383 -0
  826. package/dist/dts/Data.d.ts.map +1 -0
  827. package/dist/dts/DefaultServices.d.ts +26 -0
  828. package/dist/dts/DefaultServices.d.ts.map +1 -0
  829. package/dist/dts/Deferred.d.ts +248 -0
  830. package/dist/dts/Deferred.d.ts.map +1 -0
  831. package/dist/dts/Differ.d.ts +341 -0
  832. package/dist/dts/Differ.d.ts.map +1 -0
  833. package/dist/dts/Duration.d.ts +288 -0
  834. package/dist/dts/Duration.d.ts.map +1 -0
  835. package/dist/dts/Effect.d.ts +3861 -0
  836. package/dist/dts/Effect.d.ts.map +1 -0
  837. package/dist/dts/Effectable.d.ts +93 -0
  838. package/dist/dts/Effectable.d.ts.map +1 -0
  839. package/dist/dts/Either.d.ts +505 -0
  840. package/dist/dts/Either.d.ts.map +1 -0
  841. package/dist/dts/Encoding.d.ts +110 -0
  842. package/dist/dts/Encoding.d.ts.map +1 -0
  843. package/dist/dts/Equal.d.ts +34 -0
  844. package/dist/dts/Equal.d.ts.map +1 -0
  845. package/dist/dts/Equivalence.d.ts +134 -0
  846. package/dist/dts/Equivalence.d.ts.map +1 -0
  847. package/dist/dts/ExecutionStrategy.d.ts +100 -0
  848. package/dist/dts/ExecutionStrategy.d.ts.map +1 -0
  849. package/dist/dts/Exit.d.ts +408 -0
  850. package/dist/dts/Exit.d.ts.map +1 -0
  851. package/dist/dts/Fiber.d.ts +570 -0
  852. package/dist/dts/Fiber.d.ts.map +1 -0
  853. package/dist/dts/FiberId.d.ts +165 -0
  854. package/dist/dts/FiberId.d.ts.map +1 -0
  855. package/dist/dts/FiberRef.d.ts +313 -0
  856. package/dist/dts/FiberRef.d.ts.map +1 -0
  857. package/dist/dts/FiberRefs.d.ts +172 -0
  858. package/dist/dts/FiberRefs.d.ts.map +1 -0
  859. package/dist/dts/FiberRefsPatch.d.ts +95 -0
  860. package/dist/dts/FiberRefsPatch.d.ts.map +1 -0
  861. package/dist/dts/FiberStatus.d.ts +94 -0
  862. package/dist/dts/FiberStatus.d.ts.map +1 -0
  863. package/dist/dts/Function.d.ts +371 -0
  864. package/dist/dts/Function.d.ts.map +1 -0
  865. package/dist/dts/GlobalValue.d.ts +5 -0
  866. package/dist/dts/GlobalValue.d.ts.map +1 -0
  867. package/dist/dts/GroupBy.d.ts +87 -0
  868. package/dist/dts/GroupBy.d.ts.map +1 -0
  869. package/dist/dts/HKT.d.ts +41 -0
  870. package/dist/dts/HKT.d.ts.map +1 -0
  871. package/dist/dts/Hash.d.ts +63 -0
  872. package/dist/dts/Hash.d.ts.map +1 -0
  873. package/dist/dts/HashMap.d.ts +377 -0
  874. package/dist/dts/HashMap.d.ts.map +1 -0
  875. package/dist/dts/HashSet.d.ts +267 -0
  876. package/dist/dts/HashSet.d.ts.map +1 -0
  877. package/dist/dts/Inspectable.d.ts +31 -0
  878. package/dist/dts/Inspectable.d.ts.map +1 -0
  879. package/dist/dts/KeyedPool.d.ts +148 -0
  880. package/dist/dts/KeyedPool.d.ts.map +1 -0
  881. package/dist/dts/Layer.d.ts +764 -0
  882. package/dist/dts/Layer.d.ts.map +1 -0
  883. package/dist/dts/List.d.ts +485 -0
  884. package/dist/dts/List.d.ts.map +1 -0
  885. package/dist/dts/LogLevel.d.ts +203 -0
  886. package/dist/dts/LogLevel.d.ts.map +1 -0
  887. package/dist/dts/LogSpan.d.ts +19 -0
  888. package/dist/dts/LogSpan.d.ts.map +1 -0
  889. package/dist/dts/Logger.d.ts +248 -0
  890. package/dist/dts/Logger.d.ts.map +1 -0
  891. package/dist/dts/Match.d.ts +424 -0
  892. package/dist/dts/Match.d.ts.map +1 -0
  893. package/dist/dts/MergeDecision.d.ts +78 -0
  894. package/dist/dts/MergeDecision.d.ts.map +1 -0
  895. package/dist/dts/MergeState.d.ts +122 -0
  896. package/dist/dts/MergeState.d.ts.map +1 -0
  897. package/dist/dts/MergeStrategy.d.ts +92 -0
  898. package/dist/dts/MergeStrategy.d.ts.map +1 -0
  899. package/dist/dts/Metric.d.ts +604 -0
  900. package/dist/dts/Metric.d.ts.map +1 -0
  901. package/dist/dts/MetricBoundaries.d.ts +58 -0
  902. package/dist/dts/MetricBoundaries.d.ts.map +1 -0
  903. package/dist/dts/MetricHook.d.ts +121 -0
  904. package/dist/dts/MetricHook.d.ts.map +1 -0
  905. package/dist/dts/MetricKey.d.ts +171 -0
  906. package/dist/dts/MetricKey.d.ts.map +1 -0
  907. package/dist/dts/MetricKeyType.d.ts +221 -0
  908. package/dist/dts/MetricKeyType.d.ts.map +1 -0
  909. package/dist/dts/MetricLabel.d.ts +42 -0
  910. package/dist/dts/MetricLabel.d.ts.map +1 -0
  911. package/dist/dts/MetricPair.d.ts +54 -0
  912. package/dist/dts/MetricPair.d.ts.map +1 -0
  913. package/dist/dts/MetricPolling.d.ts +111 -0
  914. package/dist/dts/MetricPolling.d.ts.map +1 -0
  915. package/dist/dts/MetricRegistry.d.ts +34 -0
  916. package/dist/dts/MetricRegistry.d.ts.map +1 -0
  917. package/dist/dts/MetricState.d.ts +222 -0
  918. package/dist/dts/MetricState.d.ts.map +1 -0
  919. package/dist/dts/MutableHashMap.d.ts +89 -0
  920. package/dist/dts/MutableHashMap.d.ts.map +1 -0
  921. package/dist/dts/MutableHashSet.d.ts +63 -0
  922. package/dist/dts/MutableHashSet.d.ts.map +1 -0
  923. package/dist/dts/MutableList.d.ts +114 -0
  924. package/dist/dts/MutableList.d.ts.map +1 -0
  925. package/dist/dts/MutableQueue.d.ts +127 -0
  926. package/dist/dts/MutableQueue.d.ts.map +1 -0
  927. package/dist/dts/MutableRef.d.ts +118 -0
  928. package/dist/dts/MutableRef.d.ts.map +1 -0
  929. package/dist/dts/NonEmptyIterable.d.ts +21 -0
  930. package/dist/dts/NonEmptyIterable.d.ts.map +1 -0
  931. package/dist/dts/Number.d.ts +400 -0
  932. package/dist/dts/Number.d.ts.map +1 -0
  933. package/dist/dts/Option.d.ts +982 -0
  934. package/dist/dts/Option.d.ts.map +1 -0
  935. package/dist/dts/Order.d.ts +234 -0
  936. package/dist/dts/Order.d.ts.map +1 -0
  937. package/dist/dts/Ordering.d.ts +83 -0
  938. package/dist/dts/Ordering.d.ts.map +1 -0
  939. package/dist/dts/Pipeable.d.ts +35 -0
  940. package/dist/dts/Pipeable.d.ts.map +1 -0
  941. package/dist/dts/Pool.d.ts +135 -0
  942. package/dist/dts/Pool.d.ts.map +1 -0
  943. package/dist/dts/Predicate.d.ts +629 -0
  944. package/dist/dts/Predicate.d.ts.map +1 -0
  945. package/dist/dts/PrimaryKey.d.ts +21 -0
  946. package/dist/dts/PrimaryKey.d.ts.map +1 -0
  947. package/dist/dts/PubSub.d.ts +158 -0
  948. package/dist/dts/PubSub.d.ts.map +1 -0
  949. package/dist/dts/Queue.d.ts +521 -0
  950. package/dist/dts/Queue.d.ts.map +1 -0
  951. package/dist/dts/Random.d.ts +101 -0
  952. package/dist/dts/Random.d.ts.map +1 -0
  953. package/dist/dts/ReadonlyArray.d.ts +1243 -0
  954. package/dist/dts/ReadonlyArray.d.ts.map +1 -0
  955. package/dist/dts/ReadonlyRecord.d.ts +671 -0
  956. package/dist/dts/ReadonlyRecord.d.ts.map +1 -0
  957. package/dist/dts/RedBlackTree.d.ts +376 -0
  958. package/dist/dts/RedBlackTree.d.ts.map +1 -0
  959. package/dist/dts/Ref.d.ts +142 -0
  960. package/dist/dts/Ref.d.ts.map +1 -0
  961. package/dist/dts/Reloadable.d.ts +102 -0
  962. package/dist/dts/Reloadable.d.ts.map +1 -0
  963. package/dist/dts/Request.d.ts +303 -0
  964. package/dist/dts/Request.d.ts.map +1 -0
  965. package/dist/dts/RequestBlock.d.ts +94 -0
  966. package/dist/dts/RequestBlock.d.ts.map +1 -0
  967. package/dist/dts/RequestResolver.d.ts +235 -0
  968. package/dist/dts/RequestResolver.d.ts.map +1 -0
  969. package/dist/dts/Resource.d.ts +79 -0
  970. package/dist/dts/Resource.d.ts.map +1 -0
  971. package/dist/dts/Runtime.d.ts +180 -0
  972. package/dist/dts/Runtime.d.ts.map +1 -0
  973. package/dist/dts/RuntimeFlags.d.ts +297 -0
  974. package/dist/dts/RuntimeFlags.d.ts.map +1 -0
  975. package/dist/dts/RuntimeFlagsPatch.d.ts +161 -0
  976. package/dist/dts/RuntimeFlagsPatch.d.ts.map +1 -0
  977. package/dist/dts/STM.d.ts +1552 -0
  978. package/dist/dts/STM.d.ts.map +1 -0
  979. package/dist/dts/Schedule.d.ts +1082 -0
  980. package/dist/dts/Schedule.d.ts.map +1 -0
  981. package/dist/dts/ScheduleDecision.d.ts +50 -0
  982. package/dist/dts/ScheduleDecision.d.ts.map +1 -0
  983. package/dist/dts/ScheduleInterval.d.ts +136 -0
  984. package/dist/dts/ScheduleInterval.d.ts.map +1 -0
  985. package/dist/dts/ScheduleIntervals.d.ts +109 -0
  986. package/dist/dts/ScheduleIntervals.d.ts.map +1 -0
  987. package/dist/dts/Scheduler.d.ts +158 -0
  988. package/dist/dts/Scheduler.d.ts.map +1 -0
  989. package/dist/dts/Scope.d.ts +131 -0
  990. package/dist/dts/Scope.d.ts.map +1 -0
  991. package/dist/dts/ScopedCache.d.ts +127 -0
  992. package/dist/dts/ScopedCache.d.ts.map +1 -0
  993. package/dist/dts/ScopedRef.d.ts +83 -0
  994. package/dist/dts/ScopedRef.d.ts.map +1 -0
  995. package/dist/dts/Secret.d.ts +63 -0
  996. package/dist/dts/Secret.d.ts.map +1 -0
  997. package/dist/dts/SingleProducerAsyncInput.d.ts +57 -0
  998. package/dist/dts/SingleProducerAsyncInput.d.ts.map +1 -0
  999. package/dist/dts/Sink.d.ts +1131 -0
  1000. package/dist/dts/Sink.d.ts.map +1 -0
  1001. package/dist/dts/SortedMap.d.ts +145 -0
  1002. package/dist/dts/SortedMap.d.ts.map +1 -0
  1003. package/dist/dts/SortedSet.d.ts +185 -0
  1004. package/dist/dts/SortedSet.d.ts.map +1 -0
  1005. package/dist/dts/Stream.d.ts +3601 -0
  1006. package/dist/dts/Stream.d.ts.map +1 -0
  1007. package/dist/dts/StreamEmit.d.ts +73 -0
  1008. package/dist/dts/StreamEmit.d.ts.map +1 -0
  1009. package/dist/dts/StreamHaltStrategy.d.ts +92 -0
  1010. package/dist/dts/StreamHaltStrategy.d.ts.map +1 -0
  1011. package/dist/dts/Streamable.d.ts +27 -0
  1012. package/dist/dts/Streamable.d.ts.map +1 -0
  1013. package/dist/dts/String.d.ts +515 -0
  1014. package/dist/dts/String.d.ts.map +1 -0
  1015. package/dist/dts/Struct.d.ts +110 -0
  1016. package/dist/dts/Struct.d.ts.map +1 -0
  1017. package/dist/dts/SubscriptionRef.d.ts +212 -0
  1018. package/dist/dts/SubscriptionRef.d.ts.map +1 -0
  1019. package/dist/dts/Supervisor.d.ts +171 -0
  1020. package/dist/dts/Supervisor.d.ts.map +1 -0
  1021. package/dist/dts/Symbol.d.ts +25 -0
  1022. package/dist/dts/Symbol.d.ts.map +1 -0
  1023. package/dist/dts/SynchronizedRef.d.ts +206 -0
  1024. package/dist/dts/SynchronizedRef.d.ts.map +1 -0
  1025. package/dist/dts/TArray.d.ts +431 -0
  1026. package/dist/dts/TArray.d.ts.map +1 -0
  1027. package/dist/dts/TDeferred.d.ts +80 -0
  1028. package/dist/dts/TDeferred.d.ts.map +1 -0
  1029. package/dist/dts/TMap.d.ts +414 -0
  1030. package/dist/dts/TMap.d.ts.map +1 -0
  1031. package/dist/dts/TPriorityQueue.d.ts +190 -0
  1032. package/dist/dts/TPriorityQueue.d.ts.map +1 -0
  1033. package/dist/dts/TPubSub.d.ts +150 -0
  1034. package/dist/dts/TPubSub.d.ts.map +1 -0
  1035. package/dist/dts/TQueue.d.ts +384 -0
  1036. package/dist/dts/TQueue.d.ts.map +1 -0
  1037. package/dist/dts/TRandom.d.ts +108 -0
  1038. package/dist/dts/TRandom.d.ts.map +1 -0
  1039. package/dist/dts/TReentrantLock.d.ts +194 -0
  1040. package/dist/dts/TReentrantLock.d.ts.map +1 -0
  1041. package/dist/dts/TRef.d.ts +146 -0
  1042. package/dist/dts/TRef.d.ts.map +1 -0
  1043. package/dist/dts/TSemaphore.d.ts +105 -0
  1044. package/dist/dts/TSemaphore.d.ts.map +1 -0
  1045. package/dist/dts/TSet.d.ts +310 -0
  1046. package/dist/dts/TSet.d.ts.map +1 -0
  1047. package/dist/dts/Take.d.ts +215 -0
  1048. package/dist/dts/Take.d.ts.map +1 -0
  1049. package/dist/dts/TestAnnotation.d.ts +73 -0
  1050. package/dist/dts/TestAnnotation.d.ts.map +1 -0
  1051. package/dist/dts/TestAnnotationMap.d.ts +55 -0
  1052. package/dist/dts/TestAnnotationMap.d.ts.map +1 -0
  1053. package/dist/dts/TestAnnotations.d.ts +59 -0
  1054. package/dist/dts/TestAnnotations.d.ts.map +1 -0
  1055. package/dist/dts/TestClock.d.ts +149 -0
  1056. package/dist/dts/TestClock.d.ts.map +1 -0
  1057. package/dist/dts/TestConfig.d.ts +45 -0
  1058. package/dist/dts/TestConfig.d.ts.map +1 -0
  1059. package/dist/dts/TestContext.d.ts +15 -0
  1060. package/dist/dts/TestContext.d.ts.map +1 -0
  1061. package/dist/dts/TestLive.d.ts +35 -0
  1062. package/dist/dts/TestLive.d.ts.map +1 -0
  1063. package/dist/dts/TestServices.d.ts +231 -0
  1064. package/dist/dts/TestServices.d.ts.map +1 -0
  1065. package/dist/dts/TestSized.d.ts +36 -0
  1066. package/dist/dts/TestSized.d.ts.map +1 -0
  1067. package/dist/dts/Tracer.d.ts +112 -0
  1068. package/dist/dts/Tracer.d.ts.map +1 -0
  1069. package/dist/dts/Tuple.d.ts +173 -0
  1070. package/dist/dts/Tuple.d.ts.map +1 -0
  1071. package/dist/dts/Types.d.ts +161 -0
  1072. package/dist/dts/Types.d.ts.map +1 -0
  1073. package/dist/dts/Unify.d.ts +62 -0
  1074. package/dist/dts/Unify.d.ts.map +1 -0
  1075. package/dist/dts/UpstreamPullRequest.d.ts +97 -0
  1076. package/dist/dts/UpstreamPullRequest.d.ts.map +1 -0
  1077. package/dist/dts/UpstreamPullStrategy.d.ts +98 -0
  1078. package/dist/dts/UpstreamPullStrategy.d.ts.map +1 -0
  1079. package/dist/dts/Utils.d.ts +225 -0
  1080. package/dist/dts/Utils.d.ts.map +1 -0
  1081. package/dist/dts/index.d.ts +722 -0
  1082. package/dist/dts/index.d.ts.map +1 -0
  1083. package/dist/dts/internal/Iterable.d.ts +2 -0
  1084. package/dist/dts/internal/Iterable.d.ts.map +1 -0
  1085. package/dist/dts/internal/blockedRequests.d.ts +2 -0
  1086. package/dist/dts/internal/blockedRequests.d.ts.map +1 -0
  1087. package/dist/dts/internal/cache.d.ts +2 -0
  1088. package/dist/dts/internal/cache.d.ts.map +1 -0
  1089. package/dist/dts/internal/cause.d.ts +2 -0
  1090. package/dist/dts/internal/cause.d.ts.map +1 -0
  1091. package/dist/dts/internal/channel/channelExecutor.d.ts +3 -0
  1092. package/dist/dts/internal/channel/channelExecutor.d.ts.map +1 -0
  1093. package/dist/dts/internal/channel/channelState.d.ts +2 -0
  1094. package/dist/dts/internal/channel/channelState.d.ts.map +1 -0
  1095. package/dist/dts/internal/channel/childExecutorDecision.d.ts +2 -0
  1096. package/dist/dts/internal/channel/childExecutorDecision.d.ts.map +1 -0
  1097. package/dist/dts/internal/channel/continuation.d.ts +2 -0
  1098. package/dist/dts/internal/channel/continuation.d.ts.map +1 -0
  1099. package/dist/dts/internal/channel/mergeDecision.d.ts +2 -0
  1100. package/dist/dts/internal/channel/mergeDecision.d.ts.map +1 -0
  1101. package/dist/dts/internal/channel/mergeState.d.ts +2 -0
  1102. package/dist/dts/internal/channel/mergeState.d.ts.map +1 -0
  1103. package/dist/dts/internal/channel/mergeStrategy.d.ts +2 -0
  1104. package/dist/dts/internal/channel/mergeStrategy.d.ts.map +1 -0
  1105. package/dist/dts/internal/channel/singleProducerAsyncInput.d.ts +2 -0
  1106. package/dist/dts/internal/channel/singleProducerAsyncInput.d.ts.map +1 -0
  1107. package/dist/dts/internal/channel/subexecutor.d.ts +2 -0
  1108. package/dist/dts/internal/channel/subexecutor.d.ts.map +1 -0
  1109. package/dist/dts/internal/channel/upstreamPullRequest.d.ts +2 -0
  1110. package/dist/dts/internal/channel/upstreamPullRequest.d.ts.map +1 -0
  1111. package/dist/dts/internal/channel/upstreamPullStrategy.d.ts +2 -0
  1112. package/dist/dts/internal/channel/upstreamPullStrategy.d.ts.map +1 -0
  1113. package/dist/dts/internal/channel.d.ts +2 -0
  1114. package/dist/dts/internal/channel.d.ts.map +1 -0
  1115. package/dist/dts/internal/clock.d.ts +2 -0
  1116. package/dist/dts/internal/clock.d.ts.map +1 -0
  1117. package/dist/dts/internal/completedRequestMap.d.ts +2 -0
  1118. package/dist/dts/internal/completedRequestMap.d.ts.map +1 -0
  1119. package/dist/dts/internal/concurrency.d.ts +2 -0
  1120. package/dist/dts/internal/concurrency.d.ts.map +1 -0
  1121. package/dist/dts/internal/config.d.ts +2 -0
  1122. package/dist/dts/internal/config.d.ts.map +1 -0
  1123. package/dist/dts/internal/configError.d.ts +2 -0
  1124. package/dist/dts/internal/configError.d.ts.map +1 -0
  1125. package/dist/dts/internal/configProvider/pathPatch.d.ts +2 -0
  1126. package/dist/dts/internal/configProvider/pathPatch.d.ts.map +1 -0
  1127. package/dist/dts/internal/configProvider.d.ts +2 -0
  1128. package/dist/dts/internal/configProvider.d.ts.map +1 -0
  1129. package/dist/dts/internal/console.d.ts +2 -0
  1130. package/dist/dts/internal/console.d.ts.map +1 -0
  1131. package/dist/dts/internal/context.d.ts +2 -0
  1132. package/dist/dts/internal/context.d.ts.map +1 -0
  1133. package/dist/dts/internal/core-effect.d.ts +2 -0
  1134. package/dist/dts/internal/core-effect.d.ts.map +1 -0
  1135. package/dist/dts/internal/core-stream.d.ts +5 -0
  1136. package/dist/dts/internal/core-stream.d.ts.map +1 -0
  1137. package/dist/dts/internal/core.d.ts +2 -0
  1138. package/dist/dts/internal/core.d.ts.map +1 -0
  1139. package/dist/dts/internal/data.d.ts +2 -0
  1140. package/dist/dts/internal/data.d.ts.map +1 -0
  1141. package/dist/dts/internal/dataSource.d.ts +2 -0
  1142. package/dist/dts/internal/dataSource.d.ts.map +1 -0
  1143. package/dist/dts/internal/defaultServices/console.d.ts +2 -0
  1144. package/dist/dts/internal/defaultServices/console.d.ts.map +1 -0
  1145. package/dist/dts/internal/defaultServices.d.ts +10 -0
  1146. package/dist/dts/internal/defaultServices.d.ts.map +1 -0
  1147. package/dist/dts/internal/deferred.d.ts +2 -0
  1148. package/dist/dts/internal/deferred.d.ts.map +1 -0
  1149. package/dist/dts/internal/differ/chunkPatch.d.ts +2 -0
  1150. package/dist/dts/internal/differ/chunkPatch.d.ts.map +1 -0
  1151. package/dist/dts/internal/differ/contextPatch.d.ts +2 -0
  1152. package/dist/dts/internal/differ/contextPatch.d.ts.map +1 -0
  1153. package/dist/dts/internal/differ/hashMapPatch.d.ts +2 -0
  1154. package/dist/dts/internal/differ/hashMapPatch.d.ts.map +1 -0
  1155. package/dist/dts/internal/differ/hashSetPatch.d.ts +2 -0
  1156. package/dist/dts/internal/differ/hashSetPatch.d.ts.map +1 -0
  1157. package/dist/dts/internal/differ/orPatch.d.ts +2 -0
  1158. package/dist/dts/internal/differ/orPatch.d.ts.map +1 -0
  1159. package/dist/dts/internal/differ/readonlyArrayPatch.d.ts +2 -0
  1160. package/dist/dts/internal/differ/readonlyArrayPatch.d.ts.map +1 -0
  1161. package/dist/dts/internal/differ.d.ts +2 -0
  1162. package/dist/dts/internal/differ.d.ts.map +1 -0
  1163. package/dist/dts/internal/effect/circular.d.ts +2 -0
  1164. package/dist/dts/internal/effect/circular.d.ts.map +1 -0
  1165. package/dist/dts/internal/effectable.d.ts +2 -0
  1166. package/dist/dts/internal/effectable.d.ts.map +1 -0
  1167. package/dist/dts/internal/either.d.ts +5 -0
  1168. package/dist/dts/internal/either.d.ts.map +1 -0
  1169. package/dist/dts/internal/encoding/base64.d.ts +2 -0
  1170. package/dist/dts/internal/encoding/base64.d.ts.map +1 -0
  1171. package/dist/dts/internal/encoding/base64Url.d.ts +2 -0
  1172. package/dist/dts/internal/encoding/base64Url.d.ts.map +1 -0
  1173. package/dist/dts/internal/encoding/common.d.ts +5 -0
  1174. package/dist/dts/internal/encoding/common.d.ts.map +1 -0
  1175. package/dist/dts/internal/encoding/hex.d.ts +2 -0
  1176. package/dist/dts/internal/encoding/hex.d.ts.map +1 -0
  1177. package/dist/dts/internal/executionStrategy.d.ts +2 -0
  1178. package/dist/dts/internal/executionStrategy.d.ts.map +1 -0
  1179. package/dist/dts/internal/fiber.d.ts +2 -0
  1180. package/dist/dts/internal/fiber.d.ts.map +1 -0
  1181. package/dist/dts/internal/fiberId.d.ts +2 -0
  1182. package/dist/dts/internal/fiberId.d.ts.map +1 -0
  1183. package/dist/dts/internal/fiberMessage.d.ts +2 -0
  1184. package/dist/dts/internal/fiberMessage.d.ts.map +1 -0
  1185. package/dist/dts/internal/fiberRefs/patch.d.ts +2 -0
  1186. package/dist/dts/internal/fiberRefs/patch.d.ts.map +1 -0
  1187. package/dist/dts/internal/fiberRefs.d.ts +2 -0
  1188. package/dist/dts/internal/fiberRefs.d.ts.map +1 -0
  1189. package/dist/dts/internal/fiberRuntime.d.ts +2 -0
  1190. package/dist/dts/internal/fiberRuntime.d.ts.map +1 -0
  1191. package/dist/dts/internal/fiberScope.d.ts +18 -0
  1192. package/dist/dts/internal/fiberScope.d.ts.map +1 -0
  1193. package/dist/dts/internal/fiberStatus.d.ts +2 -0
  1194. package/dist/dts/internal/fiberStatus.d.ts.map +1 -0
  1195. package/dist/dts/internal/groupBy.d.ts +2 -0
  1196. package/dist/dts/internal/groupBy.d.ts.map +1 -0
  1197. package/dist/dts/internal/hashMap/array.d.ts +2 -0
  1198. package/dist/dts/internal/hashMap/array.d.ts.map +1 -0
  1199. package/dist/dts/internal/hashMap/bitwise.d.ts +2 -0
  1200. package/dist/dts/internal/hashMap/bitwise.d.ts.map +1 -0
  1201. package/dist/dts/internal/hashMap/config.d.ts +2 -0
  1202. package/dist/dts/internal/hashMap/config.d.ts.map +1 -0
  1203. package/dist/dts/internal/hashMap/keySet.d.ts +2 -0
  1204. package/dist/dts/internal/hashMap/keySet.d.ts.map +1 -0
  1205. package/dist/dts/internal/hashMap/node.d.ts +2 -0
  1206. package/dist/dts/internal/hashMap/node.d.ts.map +1 -0
  1207. package/dist/dts/internal/hashMap.d.ts +9 -0
  1208. package/dist/dts/internal/hashMap.d.ts.map +1 -0
  1209. package/dist/dts/internal/hashSet.d.ts +2 -0
  1210. package/dist/dts/internal/hashSet.d.ts.map +1 -0
  1211. package/dist/dts/internal/internalize.d.ts +2 -0
  1212. package/dist/dts/internal/internalize.d.ts.map +1 -0
  1213. package/dist/dts/internal/keyedPool.d.ts +2 -0
  1214. package/dist/dts/internal/keyedPool.d.ts.map +1 -0
  1215. package/dist/dts/internal/layer/circular.d.ts +2 -0
  1216. package/dist/dts/internal/layer/circular.d.ts.map +1 -0
  1217. package/dist/dts/internal/layer.d.ts +2 -0
  1218. package/dist/dts/internal/layer.d.ts.map +1 -0
  1219. package/dist/dts/internal/logSpan.d.ts +2 -0
  1220. package/dist/dts/internal/logSpan.d.ts.map +1 -0
  1221. package/dist/dts/internal/logger-circular.d.ts +2 -0
  1222. package/dist/dts/internal/logger-circular.d.ts.map +1 -0
  1223. package/dist/dts/internal/logger.d.ts +2 -0
  1224. package/dist/dts/internal/logger.d.ts.map +1 -0
  1225. package/dist/dts/internal/matcher.d.ts +2 -0
  1226. package/dist/dts/internal/matcher.d.ts.map +1 -0
  1227. package/dist/dts/internal/metric/boundaries.d.ts +2 -0
  1228. package/dist/dts/internal/metric/boundaries.d.ts.map +1 -0
  1229. package/dist/dts/internal/metric/hook.d.ts +2 -0
  1230. package/dist/dts/internal/metric/hook.d.ts.map +1 -0
  1231. package/dist/dts/internal/metric/key.d.ts +2 -0
  1232. package/dist/dts/internal/metric/key.d.ts.map +1 -0
  1233. package/dist/dts/internal/metric/keyType.d.ts +88 -0
  1234. package/dist/dts/internal/metric/keyType.d.ts.map +1 -0
  1235. package/dist/dts/internal/metric/label.d.ts +2 -0
  1236. package/dist/dts/internal/metric/label.d.ts.map +1 -0
  1237. package/dist/dts/internal/metric/pair.d.ts +2 -0
  1238. package/dist/dts/internal/metric/pair.d.ts.map +1 -0
  1239. package/dist/dts/internal/metric/polling.d.ts +2 -0
  1240. package/dist/dts/internal/metric/polling.d.ts.map +1 -0
  1241. package/dist/dts/internal/metric/registry.d.ts +2 -0
  1242. package/dist/dts/internal/metric/registry.d.ts.map +1 -0
  1243. package/dist/dts/internal/metric/state.d.ts +22 -0
  1244. package/dist/dts/internal/metric/state.d.ts.map +1 -0
  1245. package/dist/dts/internal/metric.d.ts +2 -0
  1246. package/dist/dts/internal/metric.d.ts.map +1 -0
  1247. package/dist/dts/internal/opCodes/cause.d.ts +2 -0
  1248. package/dist/dts/internal/opCodes/cause.d.ts.map +1 -0
  1249. package/dist/dts/internal/opCodes/channel.d.ts +2 -0
  1250. package/dist/dts/internal/opCodes/channel.d.ts.map +1 -0
  1251. package/dist/dts/internal/opCodes/channelChildExecutorDecision.d.ts +2 -0
  1252. package/dist/dts/internal/opCodes/channelChildExecutorDecision.d.ts.map +1 -0
  1253. package/dist/dts/internal/opCodes/channelMergeDecision.d.ts +2 -0
  1254. package/dist/dts/internal/opCodes/channelMergeDecision.d.ts.map +1 -0
  1255. package/dist/dts/internal/opCodes/channelMergeState.d.ts +2 -0
  1256. package/dist/dts/internal/opCodes/channelMergeState.d.ts.map +1 -0
  1257. package/dist/dts/internal/opCodes/channelMergeStrategy.d.ts +2 -0
  1258. package/dist/dts/internal/opCodes/channelMergeStrategy.d.ts.map +1 -0
  1259. package/dist/dts/internal/opCodes/channelState.d.ts +2 -0
  1260. package/dist/dts/internal/opCodes/channelState.d.ts.map +1 -0
  1261. package/dist/dts/internal/opCodes/channelUpstreamPullRequest.d.ts +2 -0
  1262. package/dist/dts/internal/opCodes/channelUpstreamPullRequest.d.ts.map +1 -0
  1263. package/dist/dts/internal/opCodes/channelUpstreamPullStrategy.d.ts +2 -0
  1264. package/dist/dts/internal/opCodes/channelUpstreamPullStrategy.d.ts.map +1 -0
  1265. package/dist/dts/internal/opCodes/config.d.ts +2 -0
  1266. package/dist/dts/internal/opCodes/config.d.ts.map +1 -0
  1267. package/dist/dts/internal/opCodes/configError.d.ts +2 -0
  1268. package/dist/dts/internal/opCodes/configError.d.ts.map +1 -0
  1269. package/dist/dts/internal/opCodes/continuation.d.ts +2 -0
  1270. package/dist/dts/internal/opCodes/continuation.d.ts.map +1 -0
  1271. package/dist/dts/internal/opCodes/deferred.d.ts +2 -0
  1272. package/dist/dts/internal/opCodes/deferred.d.ts.map +1 -0
  1273. package/dist/dts/internal/opCodes/effect.d.ts +2 -0
  1274. package/dist/dts/internal/opCodes/effect.d.ts.map +1 -0
  1275. package/dist/dts/internal/opCodes/layer.d.ts +2 -0
  1276. package/dist/dts/internal/opCodes/layer.d.ts.map +1 -0
  1277. package/dist/dts/internal/opCodes/streamHaltStrategy.d.ts +2 -0
  1278. package/dist/dts/internal/opCodes/streamHaltStrategy.d.ts.map +1 -0
  1279. package/dist/dts/internal/option.d.ts +5 -0
  1280. package/dist/dts/internal/option.d.ts.map +1 -0
  1281. package/dist/dts/internal/pool.d.ts +2 -0
  1282. package/dist/dts/internal/pool.d.ts.map +1 -0
  1283. package/dist/dts/internal/pubsub.d.ts +2 -0
  1284. package/dist/dts/internal/pubsub.d.ts.map +1 -0
  1285. package/dist/dts/internal/query.d.ts +2 -0
  1286. package/dist/dts/internal/query.d.ts.map +1 -0
  1287. package/dist/dts/internal/queue.d.ts +2 -0
  1288. package/dist/dts/internal/queue.d.ts.map +1 -0
  1289. package/dist/dts/internal/random.d.ts +3 -0
  1290. package/dist/dts/internal/random.d.ts.map +1 -0
  1291. package/dist/dts/internal/readonlyArray.d.ts +5 -0
  1292. package/dist/dts/internal/readonlyArray.d.ts.map +1 -0
  1293. package/dist/dts/internal/redBlackTree/iterator.d.ts +2 -0
  1294. package/dist/dts/internal/redBlackTree/iterator.d.ts.map +1 -0
  1295. package/dist/dts/internal/redBlackTree/node.d.ts +6 -0
  1296. package/dist/dts/internal/redBlackTree/node.d.ts.map +1 -0
  1297. package/dist/dts/internal/redBlackTree.d.ts +2 -0
  1298. package/dist/dts/internal/redBlackTree.d.ts.map +1 -0
  1299. package/dist/dts/internal/ref.d.ts +2 -0
  1300. package/dist/dts/internal/ref.d.ts.map +1 -0
  1301. package/dist/dts/internal/reloadable.d.ts +2 -0
  1302. package/dist/dts/internal/reloadable.d.ts.map +1 -0
  1303. package/dist/dts/internal/request.d.ts +2 -0
  1304. package/dist/dts/internal/request.d.ts.map +1 -0
  1305. package/dist/dts/internal/resource.d.ts +2 -0
  1306. package/dist/dts/internal/resource.d.ts.map +1 -0
  1307. package/dist/dts/internal/ringBuffer.d.ts +2 -0
  1308. package/dist/dts/internal/ringBuffer.d.ts.map +1 -0
  1309. package/dist/dts/internal/runtime.d.ts +2 -0
  1310. package/dist/dts/internal/runtime.d.ts.map +1 -0
  1311. package/dist/dts/internal/runtimeFlags.d.ts +3 -0
  1312. package/dist/dts/internal/runtimeFlags.d.ts.map +1 -0
  1313. package/dist/dts/internal/runtimeFlagsPatch.d.ts +2 -0
  1314. package/dist/dts/internal/runtimeFlagsPatch.d.ts.map +1 -0
  1315. package/dist/dts/internal/schedule/decision.d.ts +2 -0
  1316. package/dist/dts/internal/schedule/decision.d.ts.map +1 -0
  1317. package/dist/dts/internal/schedule/interval.d.ts +2 -0
  1318. package/dist/dts/internal/schedule/interval.d.ts.map +1 -0
  1319. package/dist/dts/internal/schedule/intervals.d.ts +2 -0
  1320. package/dist/dts/internal/schedule/intervals.d.ts.map +1 -0
  1321. package/dist/dts/internal/schedule.d.ts +2 -0
  1322. package/dist/dts/internal/schedule.d.ts.map +1 -0
  1323. package/dist/dts/internal/scopedCache.d.ts +2 -0
  1324. package/dist/dts/internal/scopedCache.d.ts.map +1 -0
  1325. package/dist/dts/internal/scopedRef.d.ts +2 -0
  1326. package/dist/dts/internal/scopedRef.d.ts.map +1 -0
  1327. package/dist/dts/internal/secret.d.ts +2 -0
  1328. package/dist/dts/internal/secret.d.ts.map +1 -0
  1329. package/dist/dts/internal/singleShotGen.d.ts +2 -0
  1330. package/dist/dts/internal/singleShotGen.d.ts.map +1 -0
  1331. package/dist/dts/internal/sink.d.ts +2 -0
  1332. package/dist/dts/internal/sink.d.ts.map +1 -0
  1333. package/dist/dts/internal/stack.d.ts +2 -0
  1334. package/dist/dts/internal/stack.d.ts.map +1 -0
  1335. package/dist/dts/internal/stm/core.d.ts +2 -0
  1336. package/dist/dts/internal/stm/core.d.ts.map +1 -0
  1337. package/dist/dts/internal/stm/opCodes/stm.d.ts +2 -0
  1338. package/dist/dts/internal/stm/opCodes/stm.d.ts.map +1 -0
  1339. package/dist/dts/internal/stm/opCodes/stmState.d.ts +2 -0
  1340. package/dist/dts/internal/stm/opCodes/stmState.d.ts.map +1 -0
  1341. package/dist/dts/internal/stm/opCodes/strategy.d.ts +2 -0
  1342. package/dist/dts/internal/stm/opCodes/strategy.d.ts.map +1 -0
  1343. package/dist/dts/internal/stm/opCodes/tExit.d.ts +2 -0
  1344. package/dist/dts/internal/stm/opCodes/tExit.d.ts.map +1 -0
  1345. package/dist/dts/internal/stm/opCodes/tryCommit.d.ts +2 -0
  1346. package/dist/dts/internal/stm/opCodes/tryCommit.d.ts.map +1 -0
  1347. package/dist/dts/internal/stm/stm/entry.d.ts +2 -0
  1348. package/dist/dts/internal/stm/stm/entry.d.ts.map +1 -0
  1349. package/dist/dts/internal/stm/stm/journal.d.ts +2 -0
  1350. package/dist/dts/internal/stm/stm/journal.d.ts.map +1 -0
  1351. package/dist/dts/internal/stm/stm/opCodes/stm.d.ts +2 -0
  1352. package/dist/dts/internal/stm/stm/opCodes/stm.d.ts.map +1 -0
  1353. package/dist/dts/internal/stm/stm/opCodes/stmState.d.ts +2 -0
  1354. package/dist/dts/internal/stm/stm/opCodes/stmState.d.ts.map +1 -0
  1355. package/dist/dts/internal/stm/stm/opCodes/strategy.d.ts +2 -0
  1356. package/dist/dts/internal/stm/stm/opCodes/strategy.d.ts.map +1 -0
  1357. package/dist/dts/internal/stm/stm/opCodes/tExit.d.ts +2 -0
  1358. package/dist/dts/internal/stm/stm/opCodes/tExit.d.ts.map +1 -0
  1359. package/dist/dts/internal/stm/stm/opCodes/tryCommit.d.ts +2 -0
  1360. package/dist/dts/internal/stm/stm/opCodes/tryCommit.d.ts.map +1 -0
  1361. package/dist/dts/internal/stm/stm/stmState.d.ts +2 -0
  1362. package/dist/dts/internal/stm/stm/stmState.d.ts.map +1 -0
  1363. package/dist/dts/internal/stm/stm/tExit.d.ts +2 -0
  1364. package/dist/dts/internal/stm/stm/tExit.d.ts.map +1 -0
  1365. package/dist/dts/internal/stm/stm/tryCommit.d.ts +2 -0
  1366. package/dist/dts/internal/stm/stm/tryCommit.d.ts.map +1 -0
  1367. package/dist/dts/internal/stm/stm/txnId.d.ts +2 -0
  1368. package/dist/dts/internal/stm/stm/txnId.d.ts.map +1 -0
  1369. package/dist/dts/internal/stm/stm/versioned.d.ts +2 -0
  1370. package/dist/dts/internal/stm/stm/versioned.d.ts.map +1 -0
  1371. package/dist/dts/internal/stm/stm.d.ts +17 -0
  1372. package/dist/dts/internal/stm/stm.d.ts.map +1 -0
  1373. package/dist/dts/internal/stm/tArray.d.ts +2 -0
  1374. package/dist/dts/internal/stm/tArray.d.ts.map +1 -0
  1375. package/dist/dts/internal/stm/tDeferred.d.ts +2 -0
  1376. package/dist/dts/internal/stm/tDeferred.d.ts.map +1 -0
  1377. package/dist/dts/internal/stm/tMap.d.ts +2 -0
  1378. package/dist/dts/internal/stm/tMap.d.ts.map +1 -0
  1379. package/dist/dts/internal/stm/tPriorityQueue.d.ts +2 -0
  1380. package/dist/dts/internal/stm/tPriorityQueue.d.ts.map +1 -0
  1381. package/dist/dts/internal/stm/tPubSub.d.ts +2 -0
  1382. package/dist/dts/internal/stm/tPubSub.d.ts.map +1 -0
  1383. package/dist/dts/internal/stm/tQueue.d.ts +2 -0
  1384. package/dist/dts/internal/stm/tQueue.d.ts.map +1 -0
  1385. package/dist/dts/internal/stm/tRandom.d.ts +2 -0
  1386. package/dist/dts/internal/stm/tRandom.d.ts.map +1 -0
  1387. package/dist/dts/internal/stm/tReentrantLock.d.ts +2 -0
  1388. package/dist/dts/internal/stm/tReentrantLock.d.ts.map +1 -0
  1389. package/dist/dts/internal/stm/tRef.d.ts +2 -0
  1390. package/dist/dts/internal/stm/tRef.d.ts.map +1 -0
  1391. package/dist/dts/internal/stm/tSemaphore.d.ts +2 -0
  1392. package/dist/dts/internal/stm/tSemaphore.d.ts.map +1 -0
  1393. package/dist/dts/internal/stm/tSet.d.ts +2 -0
  1394. package/dist/dts/internal/stm/tSet.d.ts.map +1 -0
  1395. package/dist/dts/internal/stream/debounceState.d.ts +4 -0
  1396. package/dist/dts/internal/stream/debounceState.d.ts.map +1 -0
  1397. package/dist/dts/internal/stream/emit.d.ts +2 -0
  1398. package/dist/dts/internal/stream/emit.d.ts.map +1 -0
  1399. package/dist/dts/internal/stream/haltStrategy.d.ts +2 -0
  1400. package/dist/dts/internal/stream/haltStrategy.d.ts.map +1 -0
  1401. package/dist/dts/internal/stream/handoff.d.ts +2 -0
  1402. package/dist/dts/internal/stream/handoff.d.ts.map +1 -0
  1403. package/dist/dts/internal/stream/handoffSignal.d.ts +6 -0
  1404. package/dist/dts/internal/stream/handoffSignal.d.ts.map +1 -0
  1405. package/dist/dts/internal/stream/pull.d.ts +2 -0
  1406. package/dist/dts/internal/stream/pull.d.ts.map +1 -0
  1407. package/dist/dts/internal/stream/sinkEndReason.d.ts +2 -0
  1408. package/dist/dts/internal/stream/sinkEndReason.d.ts.map +1 -0
  1409. package/dist/dts/internal/stream/zipAllState.d.ts +2 -0
  1410. package/dist/dts/internal/stream/zipAllState.d.ts.map +1 -0
  1411. package/dist/dts/internal/stream/zipChunksState.d.ts +2 -0
  1412. package/dist/dts/internal/stream/zipChunksState.d.ts.map +1 -0
  1413. package/dist/dts/internal/stream.d.ts +2 -0
  1414. package/dist/dts/internal/stream.d.ts.map +1 -0
  1415. package/dist/dts/internal/string-utils.d.ts +7 -0
  1416. package/dist/dts/internal/string-utils.d.ts.map +1 -0
  1417. package/dist/dts/internal/subscriptionRef.d.ts +2 -0
  1418. package/dist/dts/internal/subscriptionRef.d.ts.map +1 -0
  1419. package/dist/dts/internal/supervisor/patch.d.ts +2 -0
  1420. package/dist/dts/internal/supervisor/patch.d.ts.map +1 -0
  1421. package/dist/dts/internal/supervisor.d.ts +2 -0
  1422. package/dist/dts/internal/supervisor.d.ts.map +1 -0
  1423. package/dist/dts/internal/synchronizedRef.d.ts +2 -0
  1424. package/dist/dts/internal/synchronizedRef.d.ts.map +1 -0
  1425. package/dist/dts/internal/take.d.ts +2 -0
  1426. package/dist/dts/internal/take.d.ts.map +1 -0
  1427. package/dist/dts/internal/testing/sleep.d.ts +2 -0
  1428. package/dist/dts/internal/testing/sleep.d.ts.map +1 -0
  1429. package/dist/dts/internal/testing/suspendedWarningData.d.ts +2 -0
  1430. package/dist/dts/internal/testing/suspendedWarningData.d.ts.map +1 -0
  1431. package/dist/dts/internal/testing/warningData.d.ts +2 -0
  1432. package/dist/dts/internal/testing/warningData.d.ts.map +1 -0
  1433. package/dist/dts/internal/timeout.d.ts +7 -0
  1434. package/dist/dts/internal/timeout.d.ts.map +1 -0
  1435. package/dist/dts/internal/tracer.d.ts +2 -0
  1436. package/dist/dts/internal/tracer.d.ts.map +1 -0
  1437. package/dist/dts/internal/version.d.ts +2 -0
  1438. package/dist/dts/internal/version.d.ts.map +1 -0
  1439. package/dist/esm/BigDecimal.js +838 -0
  1440. package/dist/esm/BigDecimal.js.map +1 -0
  1441. package/dist/esm/BigInt.js +458 -0
  1442. package/dist/esm/BigInt.js.map +1 -0
  1443. package/dist/esm/Boolean.js +214 -0
  1444. package/dist/esm/Boolean.js.map +1 -0
  1445. package/dist/esm/Brand.js +170 -0
  1446. package/dist/esm/Brand.js.map +1 -0
  1447. package/dist/esm/Cache.js +38 -0
  1448. package/dist/esm/Cache.js.map +1 -0
  1449. package/dist/esm/Cause.js +468 -0
  1450. package/dist/esm/Cause.js.map +1 -0
  1451. package/dist/esm/Channel.js +834 -0
  1452. package/dist/esm/Channel.js.map +1 -0
  1453. package/dist/esm/ChildExecutorDecision.js +64 -0
  1454. package/dist/esm/ChildExecutorDecision.js.map +1 -0
  1455. package/dist/esm/Chunk.js +1006 -0
  1456. package/dist/esm/Chunk.js.map +1 -0
  1457. package/dist/esm/Clock.js +38 -0
  1458. package/dist/esm/Clock.js.map +1 -0
  1459. package/dist/esm/Config.js +280 -0
  1460. package/dist/esm/Config.js.map +1 -0
  1461. package/dist/esm/ConfigError.js +107 -0
  1462. package/dist/esm/ConfigError.js.map +1 -0
  1463. package/dist/esm/ConfigProvider.js +161 -0
  1464. package/dist/esm/ConfigProvider.js.map +1 -0
  1465. package/dist/esm/ConfigProviderPathPatch.js +30 -0
  1466. package/dist/esm/ConfigProviderPathPatch.js.map +1 -0
  1467. package/dist/esm/Console.js +118 -0
  1468. package/dist/esm/Console.js.map +1 -0
  1469. package/dist/esm/Context.js +234 -0
  1470. package/dist/esm/Context.js.map +1 -0
  1471. package/dist/esm/Data.js +254 -0
  1472. package/dist/esm/Data.js.map +1 -0
  1473. package/dist/esm/DefaultServices.js +12 -0
  1474. package/dist/esm/DefaultServices.js.map +1 -0
  1475. package/dist/esm/Deferred.js +169 -0
  1476. package/dist/esm/Deferred.js.map +1 -0
  1477. package/dist/esm/Differ.js +132 -0
  1478. package/dist/esm/Differ.js.map +1 -0
  1479. package/dist/esm/Duration.js +427 -0
  1480. package/dist/esm/Duration.js.map +1 -0
  1481. package/dist/esm/Effect.js +2708 -0
  1482. package/dist/esm/Effect.js.map +1 -0
  1483. package/dist/esm/Effectable.js +49 -0
  1484. package/dist/esm/Effectable.js.map +1 -0
  1485. package/dist/esm/Either.js +438 -0
  1486. package/dist/esm/Either.js.map +1 -0
  1487. package/dist/esm/Encoding.js +97 -0
  1488. package/dist/esm/Encoding.js.map +1 -0
  1489. package/dist/esm/Equal.js +39 -0
  1490. package/dist/esm/Equal.js.map +1 -0
  1491. package/dist/esm/Equivalence.js +166 -0
  1492. package/dist/esm/Equivalence.js.map +1 -0
  1493. package/dist/esm/ExecutionStrategy.js +55 -0
  1494. package/dist/esm/ExecutionStrategy.js.map +1 -0
  1495. package/dist/esm/Exit.js +255 -0
  1496. package/dist/esm/Exit.js.map +1 -0
  1497. package/dist/esm/Fiber.js +348 -0
  1498. package/dist/esm/Fiber.js.map +1 -0
  1499. package/dist/esm/FiberId.js +115 -0
  1500. package/dist/esm/FiberId.js.map +1 -0
  1501. package/dist/esm/FiberRef.js +232 -0
  1502. package/dist/esm/FiberRef.js.map +1 -0
  1503. package/dist/esm/FiberRefs.js +92 -0
  1504. package/dist/esm/FiberRefs.js.map +1 -0
  1505. package/dist/esm/FiberRefsPatch.js +32 -0
  1506. package/dist/esm/FiberRefsPatch.js.map +1 -0
  1507. package/dist/esm/FiberStatus.js +52 -0
  1508. package/dist/esm/FiberStatus.js.map +1 -0
  1509. package/dist/esm/Function.js +397 -0
  1510. package/dist/esm/Function.js.map +1 -0
  1511. package/dist/esm/GlobalValue.js +20 -0
  1512. package/dist/esm/GlobalValue.js.map +1 -0
  1513. package/dist/esm/GroupBy.js +39 -0
  1514. package/dist/esm/GroupBy.js.map +1 -0
  1515. package/dist/esm/HKT.js +2 -0
  1516. package/dist/esm/HKT.js.map +1 -0
  1517. package/dist/esm/Hash.js +132 -0
  1518. package/dist/esm/Hash.js.map +1 -0
  1519. package/dist/esm/HashMap.js +254 -0
  1520. package/dist/esm/HashMap.js.map +1 -0
  1521. package/dist/esm/HashSet.js +191 -0
  1522. package/dist/esm/HashSet.js.map +1 -0
  1523. package/dist/esm/Inspectable.js +25 -0
  1524. package/dist/esm/Inspectable.js.map +1 -0
  1525. package/dist/esm/KeyedPool.js +76 -0
  1526. package/dist/esm/KeyedPool.js.map +1 -0
  1527. package/dist/esm/Layer.js +556 -0
  1528. package/dist/esm/Layer.js.map +1 -0
  1529. package/dist/esm/List.js +750 -0
  1530. package/dist/esm/List.js.map +1 -0
  1531. package/dist/esm/LogLevel.js +107 -0
  1532. package/dist/esm/LogLevel.js.map +1 -0
  1533. package/dist/esm/LogSpan.js +15 -0
  1534. package/dist/esm/LogSpan.js.map +1 -0
  1535. package/dist/esm/Logger.js +158 -0
  1536. package/dist/esm/Logger.js.map +1 -0
  1537. package/dist/esm/Match.js +198 -0
  1538. package/dist/esm/Match.js.map +1 -0
  1539. package/dist/esm/MergeDecision.js +35 -0
  1540. package/dist/esm/MergeDecision.js.map +1 -0
  1541. package/dist/esm/MergeState.js +58 -0
  1542. package/dist/esm/MergeState.js.map +1 -0
  1543. package/dist/esm/MergeStrategy.js +51 -0
  1544. package/dist/esm/MergeStrategy.js.map +1 -0
  1545. package/dist/esm/Metric.js +395 -0
  1546. package/dist/esm/Metric.js.map +1 -0
  1547. package/dist/esm/MetricBoundaries.js +33 -0
  1548. package/dist/esm/MetricBoundaries.js.map +1 -0
  1549. package/dist/esm/MetricHook.js +42 -0
  1550. package/dist/esm/MetricHook.js.map +1 -0
  1551. package/dist/esm/MetricKey.js +63 -0
  1552. package/dist/esm/MetricKey.js.map +1 -0
  1553. package/dist/esm/MetricKeyType.js +87 -0
  1554. package/dist/esm/MetricKeyType.js.map +1 -0
  1555. package/dist/esm/MetricLabel.js +17 -0
  1556. package/dist/esm/MetricLabel.js.map +1 -0
  1557. package/dist/esm/MetricPair.js +20 -0
  1558. package/dist/esm/MetricPair.js.map +1 -0
  1559. package/dist/esm/MetricPolling.js +59 -0
  1560. package/dist/esm/MetricPolling.js.map +1 -0
  1561. package/dist/esm/MetricRegistry.js +15 -0
  1562. package/dist/esm/MetricRegistry.js.map +1 -0
  1563. package/dist/esm/MetricState.js +87 -0
  1564. package/dist/esm/MetricState.js.map +1 -0
  1565. package/dist/esm/MutableHashMap.js +252 -0
  1566. package/dist/esm/MutableHashMap.js.map +1 -0
  1567. package/dist/esm/MutableHashSet.js +72 -0
  1568. package/dist/esm/MutableHashSet.js.map +1 -0
  1569. package/dist/esm/MutableList.js +243 -0
  1570. package/dist/esm/MutableList.js.map +1 -0
  1571. package/dist/esm/MutableQueue.js +159 -0
  1572. package/dist/esm/MutableQueue.js.map +1 -0
  1573. package/dist/esm/MutableRef.js +127 -0
  1574. package/dist/esm/MutableRef.js.map +1 -0
  1575. package/dist/esm/NonEmptyIterable.js +16 -0
  1576. package/dist/esm/NonEmptyIterable.js.map +1 -0
  1577. package/dist/esm/Number.js +370 -0
  1578. package/dist/esm/Number.js.map +1 -0
  1579. package/dist/esm/Option.js +908 -0
  1580. package/dist/esm/Option.js.map +1 -0
  1581. package/dist/esm/Order.js +235 -0
  1582. package/dist/esm/Order.js.map +1 -0
  1583. package/dist/esm/Ordering.js +73 -0
  1584. package/dist/esm/Ordering.js.map +1 -0
  1585. package/dist/esm/Pipeable.js +37 -0
  1586. package/dist/esm/Pipeable.js.map +1 -0
  1587. package/dist/esm/Pool.js +74 -0
  1588. package/dist/esm/Pool.js.map +1 -0
  1589. package/dist/esm/Predicate.js +605 -0
  1590. package/dist/esm/Predicate.js.map +1 -0
  1591. package/dist/esm/PrimaryKey.js +14 -0
  1592. package/dist/esm/PrimaryKey.js.map +1 -0
  1593. package/dist/esm/PubSub.js +120 -0
  1594. package/dist/esm/PubSub.js.map +1 -0
  1595. package/dist/esm/Queue.js +248 -0
  1596. package/dist/esm/Queue.js.map +1 -0
  1597. package/dist/esm/Random.js +60 -0
  1598. package/dist/esm/Random.js.map +1 -0
  1599. package/dist/esm/ReadonlyArray.js +1343 -0
  1600. package/dist/esm/ReadonlyArray.js.map +1 -0
  1601. package/dist/esm/ReadonlyRecord.js +786 -0
  1602. package/dist/esm/ReadonlyRecord.js.map +1 -0
  1603. package/dist/esm/RedBlackTree.js +259 -0
  1604. package/dist/esm/RedBlackTree.js.map +1 -0
  1605. package/dist/esm/Ref.js +77 -0
  1606. package/dist/esm/Ref.js.map +1 -0
  1607. package/dist/esm/Reloadable.js +59 -0
  1608. package/dist/esm/Reloadable.js.map +1 -0
  1609. package/dist/esm/Request.js +136 -0
  1610. package/dist/esm/Request.js.map +1 -0
  1611. package/dist/esm/RequestBlock.js +35 -0
  1612. package/dist/esm/RequestBlock.js.map +1 -0
  1613. package/dist/esm/RequestResolver.js +148 -0
  1614. package/dist/esm/RequestResolver.js.map +1 -0
  1615. package/dist/esm/Resource.js +44 -0
  1616. package/dist/esm/Resource.js.map +1 -0
  1617. package/dist/esm/Runtime.js +104 -0
  1618. package/dist/esm/Runtime.js.map +1 -0
  1619. package/dist/esm/RuntimeFlags.js +251 -0
  1620. package/dist/esm/RuntimeFlags.js.map +1 -0
  1621. package/dist/esm/RuntimeFlagsPatch.js +134 -0
  1622. package/dist/esm/RuntimeFlagsPatch.js.map +1 -0
  1623. package/dist/esm/STM.js +1002 -0
  1624. package/dist/esm/STM.js.map +1 -0
  1625. package/dist/esm/Schedule.js +807 -0
  1626. package/dist/esm/Schedule.js.map +1 -0
  1627. package/dist/esm/ScheduleDecision.js +32 -0
  1628. package/dist/esm/ScheduleDecision.js.map +1 -0
  1629. package/dist/esm/ScheduleInterval.js +100 -0
  1630. package/dist/esm/ScheduleInterval.js.map +1 -0
  1631. package/dist/esm/ScheduleIntervals.js +78 -0
  1632. package/dist/esm/ScheduleIntervals.js.map +1 -0
  1633. package/dist/esm/Scheduler.js +290 -0
  1634. package/dist/esm/Scheduler.js.map +1 -0
  1635. package/dist/esm/Scope.js +82 -0
  1636. package/dist/esm/Scope.js.map +1 -0
  1637. package/dist/esm/ScopedCache.js +24 -0
  1638. package/dist/esm/ScopedCache.js.map +1 -0
  1639. package/dist/esm/ScopedRef.js +42 -0
  1640. package/dist/esm/ScopedRef.js.map +1 -0
  1641. package/dist/esm/Secret.js +37 -0
  1642. package/dist/esm/Secret.js.map +1 -0
  1643. package/dist/esm/SingleProducerAsyncInput.js +7 -0
  1644. package/dist/esm/SingleProducerAsyncInput.js.map +1 -0
  1645. package/dist/esm/Sink.js +852 -0
  1646. package/dist/esm/Sink.js.map +1 -0
  1647. package/dist/esm/SortedMap.js +147 -0
  1648. package/dist/esm/SortedMap.js.map +1 -0
  1649. package/dist/esm/SortedSet.js +232 -0
  1650. package/dist/esm/SortedSet.js.map +1 -0
  1651. package/dist/esm/Stream.js +2566 -0
  1652. package/dist/esm/Stream.js.map +1 -0
  1653. package/dist/esm/StreamEmit.js +2 -0
  1654. package/dist/esm/StreamEmit.js.map +1 -0
  1655. package/dist/esm/StreamHaltStrategy.js +55 -0
  1656. package/dist/esm/StreamHaltStrategy.js.map +1 -0
  1657. package/dist/esm/Streamable.js +36 -0
  1658. package/dist/esm/Streamable.js.map +1 -0
  1659. package/dist/esm/String.js +538 -0
  1660. package/dist/esm/String.js.map +1 -0
  1661. package/dist/esm/Struct.js +119 -0
  1662. package/dist/esm/Struct.js.map +1 -0
  1663. package/dist/esm/SubscriptionRef.js +116 -0
  1664. package/dist/esm/SubscriptionRef.js.map +1 -0
  1665. package/dist/esm/Supervisor.js +107 -0
  1666. package/dist/esm/Supervisor.js.map +1 -0
  1667. package/dist/esm/Symbol.js +26 -0
  1668. package/dist/esm/Symbol.js.map +1 -0
  1669. package/dist/esm/SynchronizedRef.js +119 -0
  1670. package/dist/esm/SynchronizedRef.js.map +1 -0
  1671. package/dist/esm/TArray.js +306 -0
  1672. package/dist/esm/TArray.js.map +1 -0
  1673. package/dist/esm/TDeferred.js +39 -0
  1674. package/dist/esm/TDeferred.js.map +1 -0
  1675. package/dist/esm/TMap.js +279 -0
  1676. package/dist/esm/TMap.js.map +1 -0
  1677. package/dist/esm/TPriorityQueue.js +136 -0
  1678. package/dist/esm/TPriorityQueue.js.map +1 -0
  1679. package/dist/esm/TPubSub.js +123 -0
  1680. package/dist/esm/TPubSub.js.map +1 -0
  1681. package/dist/esm/TQueue.js +229 -0
  1682. package/dist/esm/TQueue.js.map +1 -0
  1683. package/dist/esm/TRandom.js +65 -0
  1684. package/dist/esm/TRandom.js.map +1 -0
  1685. package/dist/esm/TReentrantLock.js +142 -0
  1686. package/dist/esm/TReentrantLock.js.map +1 -0
  1687. package/dist/esm/TRef.js +75 -0
  1688. package/dist/esm/TRef.js.map +1 -0
  1689. package/dist/esm/TSemaphore.js +65 -0
  1690. package/dist/esm/TSemaphore.js.map +1 -0
  1691. package/dist/esm/TSet.js +201 -0
  1692. package/dist/esm/TSet.js.map +1 -0
  1693. package/dist/esm/Take.js +148 -0
  1694. package/dist/esm/Take.js.map +1 -0
  1695. package/dist/esm/TestAnnotation.js +96 -0
  1696. package/dist/esm/TestAnnotation.js.map +1 -0
  1697. package/dist/esm/TestAnnotationMap.js +80 -0
  1698. package/dist/esm/TestAnnotationMap.js.map +1 -0
  1699. package/dist/esm/TestAnnotations.js +61 -0
  1700. package/dist/esm/TestAnnotations.js.map +1 -0
  1701. package/dist/esm/TestClock.js +347 -0
  1702. package/dist/esm/TestClock.js.map +1 -0
  1703. package/dist/esm/TestConfig.js +13 -0
  1704. package/dist/esm/TestConfig.js.map +1 -0
  1705. package/dist/esm/TestContext.js +21 -0
  1706. package/dist/esm/TestContext.js.map +1 -0
  1707. package/dist/esm/TestLive.js +30 -0
  1708. package/dist/esm/TestLive.js.map +1 -0
  1709. package/dist/esm/TestServices.js +230 -0
  1710. package/dist/esm/TestServices.js.map +1 -0
  1711. package/dist/esm/TestSized.js +36 -0
  1712. package/dist/esm/TestSized.js.map +1 -0
  1713. package/dist/esm/Tracer.js +32 -0
  1714. package/dist/esm/Tracer.js.map +1 -0
  1715. package/dist/esm/Tuple.js +155 -0
  1716. package/dist/esm/Tuple.js.map +1 -0
  1717. package/dist/esm/Types.js +7 -0
  1718. package/dist/esm/Types.js.map +1 -0
  1719. package/dist/esm/Unify.js +9 -0
  1720. package/dist/esm/Unify.js.map +1 -0
  1721. package/dist/esm/UpstreamPullRequest.js +51 -0
  1722. package/dist/esm/UpstreamPullRequest.js.map +1 -0
  1723. package/dist/esm/UpstreamPullStrategy.js +51 -0
  1724. package/dist/esm/UpstreamPullStrategy.js.map +1 -0
  1725. package/dist/esm/Utils.js +276 -0
  1726. package/dist/esm/Utils.js.map +1 -0
  1727. package/dist/esm/index.js +722 -0
  1728. package/dist/esm/index.js.map +1 -0
  1729. package/dist/esm/internal/Iterable.js +53 -0
  1730. package/dist/esm/internal/Iterable.js.map +1 -0
  1731. package/dist/esm/internal/blockedRequests.js +338 -0
  1732. package/dist/esm/internal/blockedRequests.js.map +1 -0
  1733. package/dist/esm/internal/cache.js +467 -0
  1734. package/dist/esm/internal/cache.js.map +1 -0
  1735. package/dist/esm/internal/cause.js +865 -0
  1736. package/dist/esm/internal/cause.js.map +1 -0
  1737. package/dist/esm/internal/channel/channelExecutor.js +687 -0
  1738. package/dist/esm/internal/channel/channelExecutor.js.map +1 -0
  1739. package/dist/esm/internal/channel/channelState.js +59 -0
  1740. package/dist/esm/internal/channel/channelState.js.map +1 -0
  1741. package/dist/esm/internal/channel/childExecutorDecision.js +60 -0
  1742. package/dist/esm/internal/channel/childExecutorDecision.js.map +1 -0
  1743. package/dist/esm/internal/channel/continuation.js +48 -0
  1744. package/dist/esm/internal/channel/continuation.js.map +1 -0
  1745. package/dist/esm/internal/channel/mergeDecision.js +53 -0
  1746. package/dist/esm/internal/channel/mergeDecision.js.map +1 -0
  1747. package/dist/esm/internal/channel/mergeState.js +69 -0
  1748. package/dist/esm/internal/channel/mergeState.js.map +1 -0
  1749. package/dist/esm/internal/channel/mergeStrategy.js +46 -0
  1750. package/dist/esm/internal/channel/mergeStrategy.js.map +1 -0
  1751. package/dist/esm/internal/channel/singleProducerAsyncInput.js +163 -0
  1752. package/dist/esm/internal/channel/singleProducerAsyncInput.js.map +1 -0
  1753. package/dist/esm/internal/channel/subexecutor.js +152 -0
  1754. package/dist/esm/internal/channel/subexecutor.js.map +1 -0
  1755. package/dist/esm/internal/channel/upstreamPullRequest.js +52 -0
  1756. package/dist/esm/internal/channel/upstreamPullRequest.js.map +1 -0
  1757. package/dist/esm/internal/channel/upstreamPullStrategy.js +52 -0
  1758. package/dist/esm/internal/channel/upstreamPullStrategy.js.map +1 -0
  1759. package/dist/esm/internal/channel.js +573 -0
  1760. package/dist/esm/internal/channel.js.map +1 -0
  1761. package/dist/esm/internal/clock.js +74 -0
  1762. package/dist/esm/internal/clock.js.map +1 -0
  1763. package/dist/esm/internal/completedRequestMap.js +5 -0
  1764. package/dist/esm/internal/completedRequestMap.js.map +1 -0
  1765. package/dist/esm/internal/concurrency.js +28 -0
  1766. package/dist/esm/internal/concurrency.js.map +1 -0
  1767. package/dist/esm/internal/config.js +318 -0
  1768. package/dist/esm/internal/config.js.map +1 -0
  1769. package/dist/esm/internal/configError.js +250 -0
  1770. package/dist/esm/internal/configError.js.map +1 -0
  1771. package/dist/esm/internal/configProvider/pathPatch.js +76 -0
  1772. package/dist/esm/internal/configProvider/pathPatch.js.map +1 -0
  1773. package/dist/esm/internal/configProvider.js +427 -0
  1774. package/dist/esm/internal/configProvider.js.map +1 -0
  1775. package/dist/esm/internal/console.js +54 -0
  1776. package/dist/esm/internal/console.js.map +1 -0
  1777. package/dist/esm/internal/context.js +189 -0
  1778. package/dist/esm/internal/context.js.map +1 -0
  1779. package/dist/esm/internal/core-effect.js +767 -0
  1780. package/dist/esm/internal/core-effect.js.map +1 -0
  1781. package/dist/esm/internal/core-stream.js +235 -0
  1782. package/dist/esm/internal/core-stream.js.map +1 -0
  1783. package/dist/esm/internal/core.js +1646 -0
  1784. package/dist/esm/internal/core.js.map +1 -0
  1785. package/dist/esm/internal/data.js +29 -0
  1786. package/dist/esm/internal/data.js.map +1 -0
  1787. package/dist/esm/internal/dataSource.js +71 -0
  1788. package/dist/esm/internal/dataSource.js.map +1 -0
  1789. package/dist/esm/internal/defaultServices/console.js +92 -0
  1790. package/dist/esm/internal/defaultServices/console.js.map +1 -0
  1791. package/dist/esm/internal/defaultServices.js +63 -0
  1792. package/dist/esm/internal/defaultServices.js.map +1 -0
  1793. package/dist/esm/internal/deferred.js +27 -0
  1794. package/dist/esm/internal/deferred.js.map +1 -0
  1795. package/dist/esm/internal/differ/chunkPatch.js +130 -0
  1796. package/dist/esm/internal/differ/chunkPatch.js.map +1 -0
  1797. package/dist/esm/internal/differ/contextPatch.js +143 -0
  1798. package/dist/esm/internal/differ/contextPatch.js.map +1 -0
  1799. package/dist/esm/internal/differ/hashMapPatch.js +130 -0
  1800. package/dist/esm/internal/differ/hashMapPatch.js.map +1 -0
  1801. package/dist/esm/internal/differ/hashSetPatch.js +101 -0
  1802. package/dist/esm/internal/differ/hashSetPatch.js.map +1 -0
  1803. package/dist/esm/internal/differ/orPatch.js +170 -0
  1804. package/dist/esm/internal/differ/orPatch.js.map +1 -0
  1805. package/dist/esm/internal/differ/readonlyArrayPatch.js +127 -0
  1806. package/dist/esm/internal/differ/readonlyArrayPatch.js.map +1 -0
  1807. package/dist/esm/internal/differ.js +130 -0
  1808. package/dist/esm/internal/differ.js.map +1 -0
  1809. package/dist/esm/internal/effect/circular.js +281 -0
  1810. package/dist/esm/internal/effect/circular.js.map +1 -0
  1811. package/dist/esm/internal/effectable.js +109 -0
  1812. package/dist/esm/internal/effectable.js.map +1 -0
  1813. package/dist/esm/internal/either.js +85 -0
  1814. package/dist/esm/internal/either.js.map +1 -0
  1815. package/dist/esm/internal/encoding/base64.js +68 -0
  1816. package/dist/esm/internal/encoding/base64.js.map +1 -0
  1817. package/dist/esm/internal/encoding/base64Url.js +20 -0
  1818. package/dist/esm/internal/encoding/base64Url.js.map +1 -0
  1819. package/dist/esm/internal/encoding/common.js +22 -0
  1820. package/dist/esm/internal/encoding/common.js.map +1 -0
  1821. package/dist/esm/internal/encoding/hex.js +48 -0
  1822. package/dist/esm/internal/encoding/hex.js.map +1 -0
  1823. package/dist/esm/internal/executionStrategy.js +44 -0
  1824. package/dist/esm/internal/executionStrategy.js.map +1 -0
  1825. package/dist/esm/internal/fiber.js +217 -0
  1826. package/dist/esm/internal/fiber.js.map +1 -0
  1827. package/dist/esm/internal/fiberId.js +215 -0
  1828. package/dist/esm/internal/fiberId.js.map +1 -0
  1829. package/dist/esm/internal/fiberMessage.js +28 -0
  1830. package/dist/esm/internal/fiberMessage.js.map +1 -0
  1831. package/dist/esm/internal/fiberRefs/patch.js +107 -0
  1832. package/dist/esm/internal/fiberRefs/patch.js.map +1 -0
  1833. package/dist/esm/internal/fiberRefs.js +189 -0
  1834. package/dist/esm/internal/fiberRefs.js.map +1 -0
  1835. package/dist/esm/internal/fiberRuntime.js +1845 -0
  1836. package/dist/esm/internal/fiberRuntime.js.map +1 -0
  1837. package/dist/esm/internal/fiberScope.js +44 -0
  1838. package/dist/esm/internal/fiberScope.js.map +1 -0
  1839. package/dist/esm/internal/fiberStatus.js +71 -0
  1840. package/dist/esm/internal/fiberStatus.js.map +1 -0
  1841. package/dist/esm/internal/groupBy.js +202 -0
  1842. package/dist/esm/internal/groupBy.js.map +1 -0
  1843. package/dist/esm/internal/hashMap/array.js +49 -0
  1844. package/dist/esm/internal/hashMap/array.js.map +1 -0
  1845. package/dist/esm/internal/hashMap/bitwise.js +29 -0
  1846. package/dist/esm/internal/hashMap/bitwise.js.map +1 -0
  1847. package/dist/esm/internal/hashMap/config.js +11 -0
  1848. package/dist/esm/internal/hashMap/config.js.map +1 -0
  1849. package/dist/esm/internal/hashMap/keySet.js +6 -0
  1850. package/dist/esm/internal/hashMap/keySet.js.map +1 -0
  1851. package/dist/esm/internal/hashMap/node.js +258 -0
  1852. package/dist/esm/internal/hashMap/node.js.map +1 -0
  1853. package/dist/esm/internal/hashMap.js +338 -0
  1854. package/dist/esm/internal/hashMap.js.map +1 -0
  1855. package/dist/esm/internal/hashSet.js +182 -0
  1856. package/dist/esm/internal/hashSet.js.map +1 -0
  1857. package/dist/esm/internal/internalize.js +8 -0
  1858. package/dist/esm/internal/internalize.js.map +1 -0
  1859. package/dist/esm/internal/keyedPool.js +159 -0
  1860. package/dist/esm/internal/keyedPool.js.map +1 -0
  1861. package/dist/esm/internal/layer/circular.js +60 -0
  1862. package/dist/esm/internal/layer/circular.js.map +1 -0
  1863. package/dist/esm/internal/layer.js +462 -0
  1864. package/dist/esm/internal/layer.js.map +1 -0
  1865. package/dist/esm/internal/logSpan.js +13 -0
  1866. package/dist/esm/internal/logSpan.js.map +1 -0
  1867. package/dist/esm/internal/logger-circular.js +19 -0
  1868. package/dist/esm/internal/logger-circular.js.map +1 -0
  1869. package/dist/esm/internal/logger.js +193 -0
  1870. package/dist/esm/internal/logger.js.map +1 -0
  1871. package/dist/esm/internal/matcher.js +284 -0
  1872. package/dist/esm/internal/matcher.js.map +1 -0
  1873. package/dist/esm/internal/metric/boundaries.js +42 -0
  1874. package/dist/esm/internal/metric/boundaries.js.map +1 -0
  1875. package/dist/esm/internal/metric/hook.js +350 -0
  1876. package/dist/esm/internal/metric/hook.js.map +1 -0
  1877. package/dist/esm/internal/metric/key.js +60 -0
  1878. package/dist/esm/internal/metric/key.js.map +1 -0
  1879. package/dist/esm/internal/metric/keyType.js +201 -0
  1880. package/dist/esm/internal/metric/keyType.js.map +1 -0
  1881. package/dist/esm/internal/metric/label.js +36 -0
  1882. package/dist/esm/internal/metric/label.js.map +1 -0
  1883. package/dist/esm/internal/metric/pair.js +32 -0
  1884. package/dist/esm/internal/metric/pair.js.map +1 -0
  1885. package/dist/esm/internal/metric/polling.js +64 -0
  1886. package/dist/esm/internal/metric/polling.js.map +1 -0
  1887. package/dist/esm/internal/metric/registry.js +105 -0
  1888. package/dist/esm/internal/metric/registry.js.map +1 -0
  1889. package/dist/esm/internal/metric/state.js +185 -0
  1890. package/dist/esm/internal/metric/state.js.map +1 -0
  1891. package/dist/esm/internal/metric.js +180 -0
  1892. package/dist/esm/internal/metric.js.map +1 -0
  1893. package/dist/esm/internal/opCodes/cause.js +13 -0
  1894. package/dist/esm/internal/opCodes/cause.js.map +1 -0
  1895. package/dist/esm/internal/opCodes/channel.js +29 -0
  1896. package/dist/esm/internal/opCodes/channel.js.map +1 -0
  1897. package/dist/esm/internal/opCodes/channelChildExecutorDecision.js +7 -0
  1898. package/dist/esm/internal/opCodes/channelChildExecutorDecision.js.map +1 -0
  1899. package/dist/esm/internal/opCodes/channelMergeDecision.js +5 -0
  1900. package/dist/esm/internal/opCodes/channelMergeDecision.js.map +1 -0
  1901. package/dist/esm/internal/opCodes/channelMergeState.js +7 -0
  1902. package/dist/esm/internal/opCodes/channelMergeState.js.map +1 -0
  1903. package/dist/esm/internal/opCodes/channelMergeStrategy.js +5 -0
  1904. package/dist/esm/internal/opCodes/channelMergeStrategy.js.map +1 -0
  1905. package/dist/esm/internal/opCodes/channelState.js +9 -0
  1906. package/dist/esm/internal/opCodes/channelState.js.map +1 -0
  1907. package/dist/esm/internal/opCodes/channelUpstreamPullRequest.js +5 -0
  1908. package/dist/esm/internal/opCodes/channelUpstreamPullRequest.js.map +1 -0
  1909. package/dist/esm/internal/opCodes/channelUpstreamPullStrategy.js +5 -0
  1910. package/dist/esm/internal/opCodes/channelUpstreamPullStrategy.js.map +1 -0
  1911. package/dist/esm/internal/opCodes/config.js +23 -0
  1912. package/dist/esm/internal/opCodes/config.js.map +1 -0
  1913. package/dist/esm/internal/opCodes/configError.js +13 -0
  1914. package/dist/esm/internal/opCodes/configError.js.map +1 -0
  1915. package/dist/esm/internal/opCodes/continuation.js +5 -0
  1916. package/dist/esm/internal/opCodes/continuation.js.map +1 -0
  1917. package/dist/esm/internal/opCodes/deferred.js +5 -0
  1918. package/dist/esm/internal/opCodes/deferred.js.map +1 -0
  1919. package/dist/esm/internal/opCodes/effect.js +29 -0
  1920. package/dist/esm/internal/opCodes/effect.js.map +1 -0
  1921. package/dist/esm/internal/opCodes/layer.js +19 -0
  1922. package/dist/esm/internal/opCodes/layer.js.map +1 -0
  1923. package/dist/esm/internal/opCodes/streamHaltStrategy.js +9 -0
  1924. package/dist/esm/internal/opCodes/streamHaltStrategy.js.map +1 -0
  1925. package/dist/esm/internal/option.js +69 -0
  1926. package/dist/esm/internal/option.js.map +1 -0
  1927. package/dist/esm/internal/pool.js +261 -0
  1928. package/dist/esm/internal/pool.js.map +1 -0
  1929. package/dist/esm/internal/pubsub.js +1077 -0
  1930. package/dist/esm/internal/pubsub.js.map +1 -0
  1931. package/dist/esm/internal/query.js +93 -0
  1932. package/dist/esm/internal/query.js.map +1 -0
  1933. package/dist/esm/internal/queue.js +481 -0
  1934. package/dist/esm/internal/queue.js.map +1 -0
  1935. package/dist/esm/internal/random.js +56 -0
  1936. package/dist/esm/internal/random.js.map +1 -0
  1937. package/dist/esm/internal/readonlyArray.js +6 -0
  1938. package/dist/esm/internal/readonlyArray.js.map +1 -0
  1939. package/dist/esm/internal/redBlackTree/iterator.js +192 -0
  1940. package/dist/esm/internal/redBlackTree/iterator.js.map +1 -0
  1941. package/dist/esm/internal/redBlackTree/node.js +44 -0
  1942. package/dist/esm/internal/redBlackTree/node.js.map +1 -0
  1943. package/dist/esm/internal/redBlackTree.js +1013 -0
  1944. package/dist/esm/internal/redBlackTree.js.map +1 -0
  1945. package/dist/esm/internal/ref.js +105 -0
  1946. package/dist/esm/internal/ref.js.map +1 -0
  1947. package/dist/esm/internal/reloadable.js +50 -0
  1948. package/dist/esm/internal/reloadable.js.map +1 -0
  1949. package/dist/esm/internal/request.js +90 -0
  1950. package/dist/esm/internal/request.js.map +1 -0
  1951. package/dist/esm/internal/resource.js +28 -0
  1952. package/dist/esm/internal/resource.js.map +1 -0
  1953. package/dist/esm/internal/ringBuffer.js +56 -0
  1954. package/dist/esm/internal/ringBuffer.js.map +1 -0
  1955. package/dist/esm/internal/runtime.js +244 -0
  1956. package/dist/esm/internal/runtime.js.map +1 -0
  1957. package/dist/esm/internal/runtimeFlags.js +107 -0
  1958. package/dist/esm/internal/runtimeFlags.js.map +1 -0
  1959. package/dist/esm/internal/runtimeFlagsPatch.js +38 -0
  1960. package/dist/esm/internal/runtimeFlagsPatch.js.map +1 -0
  1961. package/dist/esm/internal/schedule/decision.js +33 -0
  1962. package/dist/esm/internal/schedule/decision.js.map +1 -0
  1963. package/dist/esm/internal/schedule/interval.js +70 -0
  1964. package/dist/esm/internal/schedule/interval.js.map +1 -0
  1965. package/dist/esm/internal/schedule/intervals.js +121 -0
  1966. package/dist/esm/internal/schedule/intervals.js.map +1 -0
  1967. package/dist/esm/internal/schedule.js +715 -0
  1968. package/dist/esm/internal/schedule.js.map +1 -0
  1969. package/dist/esm/internal/scopedCache.js +382 -0
  1970. package/dist/esm/internal/scopedCache.js.map +1 -0
  1971. package/dist/esm/internal/scopedRef.js +41 -0
  1972. package/dist/esm/internal/scopedRef.js.map +1 -0
  1973. package/dist/esm/internal/secret.js +53 -0
  1974. package/dist/esm/internal/secret.js.map +1 -0
  1975. package/dist/esm/internal/singleShotGen.js +30 -0
  1976. package/dist/esm/internal/singleShotGen.js.map +1 -0
  1977. package/dist/esm/internal/sink.js +796 -0
  1978. package/dist/esm/internal/sink.js.map +1 -0
  1979. package/dist/esm/internal/stack.js +10 -0
  1980. package/dist/esm/internal/stack.js.map +1 -0
  1981. package/dist/esm/internal/stm/core.js +498 -0
  1982. package/dist/esm/internal/stm/core.js.map +1 -0
  1983. package/dist/esm/internal/stm/opCodes/stm.js +25 -0
  1984. package/dist/esm/internal/stm/opCodes/stm.js.map +1 -0
  1985. package/dist/esm/internal/stm/opCodes/stmState.js +7 -0
  1986. package/dist/esm/internal/stm/opCodes/stmState.js.map +1 -0
  1987. package/dist/esm/internal/stm/opCodes/strategy.js +7 -0
  1988. package/dist/esm/internal/stm/opCodes/strategy.js.map +1 -0
  1989. package/dist/esm/internal/stm/opCodes/tExit.js +11 -0
  1990. package/dist/esm/internal/stm/opCodes/tExit.js.map +1 -0
  1991. package/dist/esm/internal/stm/opCodes/tryCommit.js +5 -0
  1992. package/dist/esm/internal/stm/opCodes/tryCommit.js.map +1 -0
  1993. package/dist/esm/internal/stm/stm/entry.js +42 -0
  1994. package/dist/esm/internal/stm/stm/entry.js.map +1 -0
  1995. package/dist/esm/internal/stm/stm/journal.js +89 -0
  1996. package/dist/esm/internal/stm/stm/journal.js.map +1 -0
  1997. package/dist/esm/internal/stm/stm/opCodes/stm.js +25 -0
  1998. package/dist/esm/internal/stm/stm/opCodes/stm.js.map +1 -0
  1999. package/dist/esm/internal/stm/stm/opCodes/stmState.js +7 -0
  2000. package/dist/esm/internal/stm/stm/opCodes/stmState.js.map +1 -0
  2001. package/dist/esm/internal/stm/stm/opCodes/strategy.js +7 -0
  2002. package/dist/esm/internal/stm/stm/opCodes/strategy.js.map +1 -0
  2003. package/dist/esm/internal/stm/stm/opCodes/tExit.js +11 -0
  2004. package/dist/esm/internal/stm/stm/opCodes/tExit.js.map +1 -0
  2005. package/dist/esm/internal/stm/stm/opCodes/tryCommit.js +5 -0
  2006. package/dist/esm/internal/stm/stm/opCodes/tryCommit.js.map +1 -0
  2007. package/dist/esm/internal/stm/stm/stmState.js +87 -0
  2008. package/dist/esm/internal/stm/stm/stmState.js.map +1 -0
  2009. package/dist/esm/internal/stm/stm/tExit.js +99 -0
  2010. package/dist/esm/internal/stm/stm/tExit.js.map +1 -0
  2011. package/dist/esm/internal/stm/stm/tryCommit.js +16 -0
  2012. package/dist/esm/internal/stm/stm/tryCommit.js.map +1 -0
  2013. package/dist/esm/internal/stm/stm/txnId.js +11 -0
  2014. package/dist/esm/internal/stm/stm/txnId.js.map +1 -0
  2015. package/dist/esm/internal/stm/stm/versioned.js +8 -0
  2016. package/dist/esm/internal/stm/stm/versioned.js.map +1 -0
  2017. package/dist/esm/internal/stm/stm.js +491 -0
  2018. package/dist/esm/internal/stm/stm.js.map +1 -0
  2019. package/dist/esm/internal/stm/tArray.js +243 -0
  2020. package/dist/esm/internal/stm/tArray.js.map +1 -0
  2021. package/dist/esm/internal/stm/tDeferred.js +39 -0
  2022. package/dist/esm/internal/stm/tDeferred.js.map +1 -0
  2023. package/dist/esm/internal/stm/tMap.js +428 -0
  2024. package/dist/esm/internal/stm/tMap.js.map +1 -0
  2025. package/dist/esm/internal/stm/tPriorityQueue.js +135 -0
  2026. package/dist/esm/internal/stm/tPriorityQueue.js.map +1 -0
  2027. package/dist/esm/internal/stm/tPubSub.js +376 -0
  2028. package/dist/esm/internal/stm/tPubSub.js.map +1 -0
  2029. package/dist/esm/internal/stm/tQueue.js +259 -0
  2030. package/dist/esm/internal/stm/tQueue.js.map +1 -0
  2031. package/dist/esm/internal/stm/tRandom.js +82 -0
  2032. package/dist/esm/internal/stm/tRandom.js.map +1 -0
  2033. package/dist/esm/internal/stm/tReentrantLock.js +192 -0
  2034. package/dist/esm/internal/stm/tReentrantLock.js.map +1 -0
  2035. package/dist/esm/internal/stm/tRef.js +96 -0
  2036. package/dist/esm/internal/stm/tRef.js.map +1 -0
  2037. package/dist/esm/internal/stm/tSemaphore.js +59 -0
  2038. package/dist/esm/internal/stm/tSemaphore.js.map +1 -0
  2039. package/dist/esm/internal/stm/tSet.js +88 -0
  2040. package/dist/esm/internal/stm/tSet.js.map +1 -0
  2041. package/dist/esm/internal/stream/debounceState.js +21 -0
  2042. package/dist/esm/internal/stream/debounceState.js.map +1 -0
  2043. package/dist/esm/internal/stream/emit.js +49 -0
  2044. package/dist/esm/internal/stream/emit.js.map +1 -0
  2045. package/dist/esm/internal/stream/haltStrategy.js +63 -0
  2046. package/dist/esm/internal/stream/haltStrategy.js.map +1 -0
  2047. package/dist/esm/internal/stream/handoff.js +55 -0
  2048. package/dist/esm/internal/stream/handoff.js.map +1 -0
  2049. package/dist/esm/internal/stream/handoffSignal.js +22 -0
  2050. package/dist/esm/internal/stream/handoffSignal.js.map +1 -0
  2051. package/dist/esm/internal/stream/pull.js +20 -0
  2052. package/dist/esm/internal/stream/pull.js.map +1 -0
  2053. package/dist/esm/internal/stream/sinkEndReason.js +13 -0
  2054. package/dist/esm/internal/stream/sinkEndReason.js.map +1 -0
  2055. package/dist/esm/internal/stream/zipAllState.js +33 -0
  2056. package/dist/esm/internal/stream/zipAllState.js.map +1 -0
  2057. package/dist/esm/internal/stream/zipChunksState.js +21 -0
  2058. package/dist/esm/internal/stream/zipChunksState.js.map +1 -0
  2059. package/dist/esm/internal/stream.js +2703 -0
  2060. package/dist/esm/internal/stream.js.map +1 -0
  2061. package/dist/esm/internal/string-utils.js +77 -0
  2062. package/dist/esm/internal/string-utils.js.map +1 -0
  2063. package/dist/esm/internal/subscriptionRef.js +56 -0
  2064. package/dist/esm/internal/subscriptionRef.js.map +1 -0
  2065. package/dist/esm/internal/supervisor/patch.js +125 -0
  2066. package/dist/esm/internal/supervisor/patch.js.map +1 -0
  2067. package/dist/esm/internal/supervisor.js +207 -0
  2068. package/dist/esm/internal/supervisor.js.map +1 -0
  2069. package/dist/esm/internal/synchronizedRef.js +44 -0
  2070. package/dist/esm/internal/synchronizedRef.js.map +1 -0
  2071. package/dist/esm/internal/take.js +108 -0
  2072. package/dist/esm/internal/take.js.map +1 -0
  2073. package/dist/esm/internal/testing/sleep.js +7 -0
  2074. package/dist/esm/internal/testing/sleep.js.map +1 -0
  2075. package/dist/esm/internal/testing/suspendedWarningData.js +48 -0
  2076. package/dist/esm/internal/testing/suspendedWarningData.js.map +1 -0
  2077. package/dist/esm/internal/testing/warningData.js +49 -0
  2078. package/dist/esm/internal/testing/warningData.js.map +1 -0
  2079. package/dist/esm/internal/timeout.js +18 -0
  2080. package/dist/esm/internal/timeout.js.map +1 -0
  2081. package/dist/esm/internal/tracer.js +74 -0
  2082. package/dist/esm/internal/tracer.js.map +1 -0
  2083. package/dist/esm/internal/version.js +2 -0
  2084. package/dist/esm/internal/version.js.map +1 -0
  2085. package/dist/esm/package.json +4 -0
  2086. package/package.json +1166 -31
  2087. package/src/BigDecimal.ts +1012 -0
  2088. package/src/BigInt.ts +547 -0
  2089. package/src/Boolean.ts +261 -0
  2090. package/src/Brand.ts +333 -0
  2091. package/src/Cache.ts +252 -0
  2092. package/src/Cause.ts +896 -0
  2093. package/src/Channel.ts +2267 -0
  2094. package/src/ChildExecutorDecision.ts +146 -0
  2095. package/src/Chunk.ts +1390 -0
  2096. package/src/Clock.ts +111 -0
  2097. package/src/Config.ts +462 -0
  2098. package/src/ConfigError.ts +267 -0
  2099. package/src/ConfigProvider.ts +328 -0
  2100. package/src/ConfigProviderPathPatch.ts +100 -0
  2101. package/src/Console.ts +232 -0
  2102. package/src/Context.ts +369 -0
  2103. package/src/Data.ts +476 -0
  2104. package/src/DefaultServices.ts +34 -0
  2105. package/src/Deferred.ts +284 -0
  2106. package/src/Differ.ts +449 -0
  2107. package/src/Duration.ts +642 -0
  2108. package/src/Effect.ts +5292 -0
  2109. package/src/Effectable.ts +107 -0
  2110. package/src/Either.ts +708 -0
  2111. package/src/Encoding.ts +130 -0
  2112. package/src/Equal.ts +65 -0
  2113. package/src/Equivalence.ts +235 -0
  2114. package/src/ExecutionStrategy.ts +111 -0
  2115. package/src/Exit.ts +480 -0
  2116. package/src/Fiber.ts +657 -0
  2117. package/src/FiberId.ts +187 -0
  2118. package/src/FiberRef.ts +399 -0
  2119. package/src/FiberRefs.ts +204 -0
  2120. package/src/FiberRefsPatch.ts +105 -0
  2121. package/src/FiberStatus.ts +108 -0
  2122. package/src/Function.ts +825 -0
  2123. package/src/GlobalValue.ts +22 -0
  2124. package/src/GroupBy.ts +107 -0
  2125. package/src/HKT.ts +45 -0
  2126. package/src/Hash.ts +158 -0
  2127. package/src/HashMap.ts +421 -0
  2128. package/src/HashSet.ts +300 -0
  2129. package/src/Inspectable.ts +47 -0
  2130. package/src/KeyedPool.ts +167 -0
  2131. package/src/Layer.ts +1051 -0
  2132. package/src/List.ts +968 -0
  2133. package/src/LogLevel.ts +256 -0
  2134. package/src/LogSpan.ts +25 -0
  2135. package/src/Logger.ts +329 -0
  2136. package/src/Match.ts +774 -0
  2137. package/src/MergeDecision.ts +95 -0
  2138. package/src/MergeState.ts +172 -0
  2139. package/src/MergeStrategy.ts +107 -0
  2140. package/src/Metric.ts +755 -0
  2141. package/src/MetricBoundaries.ts +69 -0
  2142. package/src/MetricHook.ts +140 -0
  2143. package/src/MetricKey.ts +216 -0
  2144. package/src/MetricKeyType.ts +257 -0
  2145. package/src/MetricLabel.ts +47 -0
  2146. package/src/MetricPair.ts +71 -0
  2147. package/src/MetricPolling.ts +148 -0
  2148. package/src/MetricRegistry.ts +48 -0
  2149. package/src/MetricState.ts +257 -0
  2150. package/src/MutableHashMap.ts +353 -0
  2151. package/src/MutableHashSet.ts +120 -0
  2152. package/src/MutableList.ts +289 -0
  2153. package/src/MutableQueue.ts +227 -0
  2154. package/src/MutableRef.ts +204 -0
  2155. package/src/NonEmptyIterable.ts +32 -0
  2156. package/src/Number.ts +450 -0
  2157. package/src/Option.ts +1235 -0
  2158. package/src/Order.ts +356 -0
  2159. package/src/Ordering.ts +112 -0
  2160. package/src/Pipeable.ts +318 -0
  2161. package/src/Pool.ts +147 -0
  2162. package/src/Predicate.ts +743 -0
  2163. package/src/PrimaryKey.ts +23 -0
  2164. package/src/PubSub.ts +175 -0
  2165. package/src/Queue.ts +606 -0
  2166. package/src/Random.ts +115 -0
  2167. package/src/ReadonlyArray.ts +2069 -0
  2168. package/src/ReadonlyRecord.ts +1011 -0
  2169. package/src/RedBlackTree.ts +421 -0
  2170. package/src/Ref.ts +160 -0
  2171. package/src/Reloadable.ts +137 -0
  2172. package/src/Request.ts +342 -0
  2173. package/src/RequestBlock.ts +118 -0
  2174. package/src/RequestResolver.ts +328 -0
  2175. package/src/Resource.ts +98 -0
  2176. package/src/Runtime.ts +215 -0
  2177. package/src/RuntimeFlags.ts +336 -0
  2178. package/src/RuntimeFlagsPatch.ts +183 -0
  2179. package/src/STM.ts +2098 -0
  2180. package/src/Schedule.ts +1405 -0
  2181. package/src/ScheduleDecision.ts +62 -0
  2182. package/src/ScheduleInterval.ts +151 -0
  2183. package/src/ScheduleIntervals.ts +122 -0
  2184. package/src/Scheduler.ts +359 -0
  2185. package/src/Scope.ts +171 -0
  2186. package/src/ScopedCache.ts +149 -0
  2187. package/src/ScopedRef.ts +96 -0
  2188. package/src/Secret.ts +75 -0
  2189. package/src/SingleProducerAsyncInput.ts +68 -0
  2190. package/src/Sink.ts +1470 -0
  2191. package/src/SortedMap.ts +248 -0
  2192. package/src/SortedSet.ts +379 -0
  2193. package/src/Stream.ts +4662 -0
  2194. package/src/StreamEmit.ts +83 -0
  2195. package/src/StreamHaltStrategy.ts +111 -0
  2196. package/src/Streamable.ts +45 -0
  2197. package/src/String.ts +682 -0
  2198. package/src/Struct.ts +152 -0
  2199. package/src/SubscriptionRef.ts +276 -0
  2200. package/src/Supervisor.ts +240 -0
  2201. package/src/Symbol.ts +28 -0
  2202. package/src/SynchronizedRef.ts +250 -0
  2203. package/src/TArray.ts +495 -0
  2204. package/src/TDeferred.ts +100 -0
  2205. package/src/TMap.ts +515 -0
  2206. package/src/TPriorityQueue.ts +224 -0
  2207. package/src/TPubSub.ts +191 -0
  2208. package/src/TQueue.ts +432 -0
  2209. package/src/TRandom.ts +129 -0
  2210. package/src/TReentrantLock.ts +224 -0
  2211. package/src/TRef.ts +177 -0
  2212. package/src/TSemaphore.ts +129 -0
  2213. package/src/TSet.ts +365 -0
  2214. package/src/Take.ts +258 -0
  2215. package/src/TestAnnotation.ts +169 -0
  2216. package/src/TestAnnotationMap.ts +123 -0
  2217. package/src/TestAnnotations.ts +116 -0
  2218. package/src/TestClock.ts +550 -0
  2219. package/src/TestConfig.ts +49 -0
  2220. package/src/TestContext.ts +36 -0
  2221. package/src/TestLive.ts +55 -0
  2222. package/src/TestServices.ts +392 -0
  2223. package/src/TestSized.ts +55 -0
  2224. package/src/Tracer.ts +135 -0
  2225. package/src/Tuple.ts +204 -0
  2226. package/src/Types.ts +176 -0
  2227. package/src/Unify.ts +118 -0
  2228. package/src/UpstreamPullRequest.ts +117 -0
  2229. package/src/UpstreamPullStrategy.ts +121 -0
  2230. package/src/Utils.ts +700 -0
  2231. package/src/index.ts +867 -0
  2232. package/src/internal/Iterable.ts +54 -0
  2233. package/src/internal/blockedRequests.ts +504 -0
  2234. package/src/internal/cache.ts +714 -0
  2235. package/src/internal/cause.ts +1072 -0
  2236. package/src/internal/channel/channelExecutor.ts +1194 -0
  2237. package/src/internal/channel/channelState.ts +134 -0
  2238. package/src/internal/channel/childExecutorDecision.ts +96 -0
  2239. package/src/internal/channel/continuation.ts +200 -0
  2240. package/src/internal/channel/mergeDecision.ts +115 -0
  2241. package/src/internal/channel/mergeState.ts +120 -0
  2242. package/src/internal/channel/mergeStrategy.ts +72 -0
  2243. package/src/internal/channel/singleProducerAsyncInput.ts +261 -0
  2244. package/src/internal/channel/subexecutor.ts +229 -0
  2245. package/src/internal/channel/upstreamPullRequest.ts +84 -0
  2246. package/src/internal/channel/upstreamPullStrategy.ts +87 -0
  2247. package/src/internal/channel.ts +2539 -0
  2248. package/src/internal/clock.ts +97 -0
  2249. package/src/internal/completedRequestMap.ts +9 -0
  2250. package/src/internal/concurrency.ts +54 -0
  2251. package/src/internal/config.ts +615 -0
  2252. package/src/internal/configError.ts +291 -0
  2253. package/src/internal/configProvider/pathPatch.ts +97 -0
  2254. package/src/internal/configProvider.ts +807 -0
  2255. package/src/internal/console.ts +153 -0
  2256. package/src/internal/context.ts +253 -0
  2257. package/src/internal/core-effect.ts +2159 -0
  2258. package/src/internal/core-stream.ts +1003 -0
  2259. package/src/internal/core.ts +3004 -0
  2260. package/src/internal/data.ts +37 -0
  2261. package/src/internal/dataSource.ts +302 -0
  2262. package/src/internal/defaultServices/console.ts +97 -0
  2263. package/src/internal/defaultServices.ts +140 -0
  2264. package/src/internal/deferred.ts +46 -0
  2265. package/src/internal/differ/chunkPatch.ts +211 -0
  2266. package/src/internal/differ/contextPatch.ts +232 -0
  2267. package/src/internal/differ/hashMapPatch.ts +220 -0
  2268. package/src/internal/differ/hashSetPatch.ts +176 -0
  2269. package/src/internal/differ/orPatch.ts +311 -0
  2270. package/src/internal/differ/readonlyArrayPatch.ts +208 -0
  2271. package/src/internal/differ.ts +196 -0
  2272. package/src/internal/effect/circular.ts +672 -0
  2273. package/src/internal/effectable.ts +127 -0
  2274. package/src/internal/either.ts +107 -0
  2275. package/src/internal/encoding/base64.ts +282 -0
  2276. package/src/internal/encoding/base64Url.ts +28 -0
  2277. package/src/internal/encoding/common.ts +30 -0
  2278. package/src/internal/encoding/hex.ts +315 -0
  2279. package/src/internal/executionStrategy.ts +72 -0
  2280. package/src/internal/fiber.ts +349 -0
  2281. package/src/internal/fiberId.ts +269 -0
  2282. package/src/internal/fiberMessage.ts +82 -0
  2283. package/src/internal/fiberRefs/patch.ts +144 -0
  2284. package/src/internal/fiberRefs.ts +298 -0
  2285. package/src/internal/fiberRuntime.ts +3491 -0
  2286. package/src/internal/fiberScope.ts +72 -0
  2287. package/src/internal/fiberStatus.ts +118 -0
  2288. package/src/internal/groupBy.ts +541 -0
  2289. package/src/internal/hashMap/array.ts +49 -0
  2290. package/src/internal/hashMap/bitwise.ts +32 -0
  2291. package/src/internal/hashMap/config.ts +14 -0
  2292. package/src/internal/hashMap/keySet.ts +8 -0
  2293. package/src/internal/hashMap/node.ts +391 -0
  2294. package/src/internal/hashMap.ts +540 -0
  2295. package/src/internal/hashSet.ts +319 -0
  2296. package/src/internal/internalize.ts +5 -0
  2297. package/src/internal/keyedPool.ts +242 -0
  2298. package/src/internal/layer/circular.ts +217 -0
  2299. package/src/internal/layer.ts +1231 -0
  2300. package/src/internal/logSpan.ts +15 -0
  2301. package/src/internal/logger-circular.ts +24 -0
  2302. package/src/internal/logger.ts +305 -0
  2303. package/src/internal/matcher.ts +594 -0
  2304. package/src/internal/metric/boundaries.ts +75 -0
  2305. package/src/internal/metric/hook.ts +449 -0
  2306. package/src/internal/metric/key.ts +164 -0
  2307. package/src/internal/metric/keyType.ts +269 -0
  2308. package/src/internal/metric/label.ts +41 -0
  2309. package/src/internal/metric/pair.ts +48 -0
  2310. package/src/internal/metric/polling.ts +143 -0
  2311. package/src/internal/metric/registry.ts +187 -0
  2312. package/src/internal/metric/state.ts +289 -0
  2313. package/src/internal/metric.ts +548 -0
  2314. package/src/internal/opCodes/cause.ts +35 -0
  2315. package/src/internal/opCodes/channel.ts +83 -0
  2316. package/src/internal/opCodes/channelChildExecutorDecision.ts +17 -0
  2317. package/src/internal/opCodes/channelMergeDecision.ts +11 -0
  2318. package/src/internal/opCodes/channelMergeState.ts +17 -0
  2319. package/src/internal/opCodes/channelMergeStrategy.ts +11 -0
  2320. package/src/internal/opCodes/channelState.ts +23 -0
  2321. package/src/internal/opCodes/channelUpstreamPullRequest.ts +11 -0
  2322. package/src/internal/opCodes/channelUpstreamPullStrategy.ts +11 -0
  2323. package/src/internal/opCodes/config.ts +65 -0
  2324. package/src/internal/opCodes/configError.ts +35 -0
  2325. package/src/internal/opCodes/continuation.ts +11 -0
  2326. package/src/internal/opCodes/deferred.ts +11 -0
  2327. package/src/internal/opCodes/effect.ts +83 -0
  2328. package/src/internal/opCodes/layer.ts +53 -0
  2329. package/src/internal/opCodes/streamHaltStrategy.ts +23 -0
  2330. package/src/internal/option.ts +79 -0
  2331. package/src/internal/pool.ts +496 -0
  2332. package/src/internal/pubsub.ts +1561 -0
  2333. package/src/internal/query.ts +203 -0
  2334. package/src/internal/queue.ts +765 -0
  2335. package/src/internal/random.ts +88 -0
  2336. package/src/internal/readonlyArray.ts +8 -0
  2337. package/src/internal/redBlackTree/iterator.ts +200 -0
  2338. package/src/internal/redBlackTree/node.ts +48 -0
  2339. package/src/internal/redBlackTree.ts +1210 -0
  2340. package/src/internal/ref.ts +165 -0
  2341. package/src/internal/reloadable.ts +163 -0
  2342. package/src/internal/request.ts +176 -0
  2343. package/src/internal/resource.ts +65 -0
  2344. package/src/internal/ringBuffer.ts +68 -0
  2345. package/src/internal/runtime.ts +346 -0
  2346. package/src/internal/runtimeFlags.ts +178 -0
  2347. package/src/internal/runtimeFlagsPatch.ts +103 -0
  2348. package/src/internal/schedule/decision.ts +47 -0
  2349. package/src/internal/schedule/interval.ts +101 -0
  2350. package/src/internal/schedule/intervals.ts +179 -0
  2351. package/src/internal/schedule.ts +2103 -0
  2352. package/src/internal/scopedCache.ts +641 -0
  2353. package/src/internal/scopedRef.ts +134 -0
  2354. package/src/internal/secret.ts +69 -0
  2355. package/src/internal/singleShotGen.ts +35 -0
  2356. package/src/internal/sink.ts +2159 -0
  2357. package/src/internal/stack.ts +4 -0
  2358. package/src/internal/stm/core.ts +809 -0
  2359. package/src/internal/stm/opCodes/stm.ts +71 -0
  2360. package/src/internal/stm/opCodes/stmState.ts +17 -0
  2361. package/src/internal/stm/opCodes/strategy.ts +17 -0
  2362. package/src/internal/stm/opCodes/tExit.ts +29 -0
  2363. package/src/internal/stm/opCodes/tryCommit.ts +11 -0
  2364. package/src/internal/stm/stm/entry.ts +59 -0
  2365. package/src/internal/stm/stm/journal.ts +123 -0
  2366. package/src/internal/stm/stm/opCodes/stm.ts +71 -0
  2367. package/src/internal/stm/stm/opCodes/stmState.ts +17 -0
  2368. package/src/internal/stm/stm/opCodes/strategy.ts +17 -0
  2369. package/src/internal/stm/stm/opCodes/tExit.ts +29 -0
  2370. package/src/internal/stm/stm/opCodes/tryCommit.ts +11 -0
  2371. package/src/internal/stm/stm/stmState.ts +131 -0
  2372. package/src/internal/stm/stm/tExit.ts +181 -0
  2373. package/src/internal/stm/stm/tryCommit.ts +34 -0
  2374. package/src/internal/stm/stm/txnId.ts +14 -0
  2375. package/src/internal/stm/stm/versioned.ts +4 -0
  2376. package/src/internal/stm/stm.ts +1491 -0
  2377. package/src/internal/stm/tArray.ts +550 -0
  2378. package/src/internal/stm/tDeferred.ts +79 -0
  2379. package/src/internal/stm/tMap.ts +823 -0
  2380. package/src/internal/stm/tPriorityQueue.ts +260 -0
  2381. package/src/internal/stm/tPubSub.ts +551 -0
  2382. package/src/internal/stm/tQueue.ts +397 -0
  2383. package/src/internal/stm/tRandom.ts +140 -0
  2384. package/src/internal/stm/tReentrantLock.ts +352 -0
  2385. package/src/internal/stm/tRef.ts +190 -0
  2386. package/src/internal/stm/tSemaphore.ts +113 -0
  2387. package/src/internal/stm/tSet.ts +260 -0
  2388. package/src/internal/stream/debounceState.ts +57 -0
  2389. package/src/internal/stream/emit.ts +46 -0
  2390. package/src/internal/stream/haltStrategy.ts +85 -0
  2391. package/src/internal/stream/handoff.ts +187 -0
  2392. package/src/internal/stream/handoffSignal.ts +59 -0
  2393. package/src/internal/stream/pull.ts +35 -0
  2394. package/src/internal/stream/sinkEndReason.ts +30 -0
  2395. package/src/internal/stream/zipAllState.ts +88 -0
  2396. package/src/internal/stream/zipChunksState.ts +56 -0
  2397. package/src/internal/stream.ts +8171 -0
  2398. package/src/internal/string-utils.ts +107 -0
  2399. package/src/internal/subscriptionRef.ts +131 -0
  2400. package/src/internal/supervisor/patch.ts +190 -0
  2401. package/src/internal/supervisor.ts +310 -0
  2402. package/src/internal/synchronizedRef.ts +115 -0
  2403. package/src/internal/take.ts +199 -0
  2404. package/src/internal/testing/sleep.ts +27 -0
  2405. package/src/internal/testing/suspendedWarningData.ts +85 -0
  2406. package/src/internal/testing/warningData.ts +94 -0
  2407. package/src/internal/timeout.ts +23 -0
  2408. package/src/internal/tracer.ts +101 -0
  2409. package/src/internal/version.ts +1 -0
  2410. package/Debug.d.ts +0 -31
  2411. package/Debug.d.ts.map +0 -1
  2412. package/Debug.js +0 -31
  2413. package/Debug.js.map +0 -1
  2414. package/Differ.d.ts +0 -61
  2415. package/Differ.d.ts.map +0 -1
  2416. package/Differ.js +0 -38
  2417. package/Differ.js.map +0 -1
  2418. package/Fiber.d.ts +0 -51
  2419. package/Fiber.d.ts.map +0 -1
  2420. package/Fiber.js +0 -35
  2421. package/Fiber.js.map +0 -1
  2422. package/FiberRefs.d.ts +0 -21
  2423. package/FiberRefs.d.ts.map +0 -1
  2424. package/FiberRefs.js +0 -26
  2425. package/FiberRefs.js.map +0 -1
  2426. package/Logger/LogLevel.d.ts +0 -10
  2427. package/Logger/LogLevel.d.ts.map +0 -1
  2428. package/Logger/LogLevel.js +0 -17
  2429. package/Logger/LogLevel.js.map +0 -1
  2430. package/Logger.d.ts +0 -31
  2431. package/Logger.d.ts.map +0 -1
  2432. package/Logger.js +0 -29
  2433. package/Logger.js.map +0 -1
  2434. package/Metric.d.ts +0 -101
  2435. package/Metric.d.ts.map +0 -1
  2436. package/Metric.js +0 -50
  2437. package/Metric.js.map +0 -1
  2438. package/Optic.d.ts +0 -62
  2439. package/Optic.d.ts.map +0 -1
  2440. package/Optic.js +0 -70
  2441. package/Optic.js.map +0 -1
  2442. package/Ref.d.ts +0 -31
  2443. package/Ref.d.ts.map +0 -1
  2444. package/Ref.js +0 -29
  2445. package/Ref.js.map +0 -1
  2446. package/Schedule.d.ts +0 -41
  2447. package/Schedule.d.ts.map +0 -1
  2448. package/Schedule.js +0 -32
  2449. package/Schedule.js.map +0 -1
  2450. package/_mjs/Debug.mjs +0 -27
  2451. package/_mjs/Debug.mjs.map +0 -1
  2452. package/_mjs/Differ.mjs +0 -61
  2453. package/_mjs/Differ.mjs.map +0 -1
  2454. package/_mjs/Fiber.mjs +0 -51
  2455. package/_mjs/Fiber.mjs.map +0 -1
  2456. package/_mjs/FiberRefs.mjs +0 -21
  2457. package/_mjs/FiberRefs.mjs.map +0 -1
  2458. package/_mjs/Logger/LogLevel.mjs +0 -10
  2459. package/_mjs/Logger/LogLevel.mjs.map +0 -1
  2460. package/_mjs/Logger.mjs +0 -31
  2461. package/_mjs/Logger.mjs.map +0 -1
  2462. package/_mjs/Metric.mjs +0 -101
  2463. package/_mjs/Metric.mjs.map +0 -1
  2464. package/_mjs/Optic.mjs +0 -62
  2465. package/_mjs/Optic.mjs.map +0 -1
  2466. package/_mjs/Ref.mjs +0 -31
  2467. package/_mjs/Ref.mjs.map +0 -1
  2468. package/_mjs/Schedule.mjs +0 -41
  2469. package/_mjs/Schedule.mjs.map +0 -1
  2470. package/_mjs/index.mjs +0 -939
  2471. package/_mjs/index.mjs.map +0 -1
  2472. package/index.d.ts +0 -939
  2473. package/index.d.ts.map +0 -1
  2474. package/index.js +0 -217
  2475. package/index.js.map +0 -1
@@ -0,0 +1,2566 @@
1
+ import * as _groupBy from "./internal/groupBy.js";
2
+ import * as internal from "./internal/stream.js";
3
+ /**
4
+ * @since 2.0.0
5
+ * @category symbols
6
+ */
7
+ export const StreamTypeId = internal.StreamTypeId;
8
+ /**
9
+ * The default chunk size used by the various combinators and constructors of
10
+ * `Stream`.
11
+ *
12
+ * @since 2.0.0
13
+ * @category constants
14
+ */
15
+ export const DefaultChunkSize = internal.DefaultChunkSize;
16
+ /**
17
+ * Collects each underlying Chunk of the stream into a new chunk, and emits it
18
+ * on each pull.
19
+ *
20
+ * @since 2.0.0
21
+ * @category utils
22
+ */
23
+ export const accumulate = internal.accumulate;
24
+ /**
25
+ * Re-chunks the elements of the stream by accumulating each underlying chunk.
26
+ *
27
+ * @since 2.0.0
28
+ * @category utils
29
+ */
30
+ export const accumulateChunks = internal.accumulateChunks;
31
+ /**
32
+ * Creates a stream from a single value that will get cleaned up after the
33
+ * stream is consumed.
34
+ *
35
+ * @since 2.0.0
36
+ * @category constructors
37
+ */
38
+ export const acquireRelease = internal.acquireRelease;
39
+ /**
40
+ * Aggregates elements of this stream using the provided sink for as long as
41
+ * the downstream operators on the stream are busy.
42
+ *
43
+ * This operator divides the stream into two asynchronous "islands". Operators
44
+ * upstream of this operator run on one fiber, while downstream operators run
45
+ * on another. Whenever the downstream fiber is busy processing elements, the
46
+ * upstream fiber will feed elements into the sink until it signals
47
+ * completion.
48
+ *
49
+ * Any sink can be used here, but see `Sink.foldWeightedEffect` and
50
+ * `Sink.foldUntilEffect` for sinks that cover the common usecases.
51
+ *
52
+ * @since 2.0.0
53
+ * @category utils
54
+ */
55
+ export const aggregate = internal.aggregate;
56
+ /**
57
+ * Like `aggregateWithinEither`, but only returns the `Right` results.
58
+ *
59
+ * @param sink A `Sink` used to perform the aggregation.
60
+ * @param schedule A `Schedule` used to signal when to stop the aggregation.
61
+ * @since 2.0.0
62
+ * @category utils
63
+ */
64
+ export const aggregateWithin = internal.aggregateWithin;
65
+ /**
66
+ * Aggregates elements using the provided sink until it completes, or until
67
+ * the delay signalled by the schedule has passed.
68
+ *
69
+ * This operator divides the stream into two asynchronous islands. Operators
70
+ * upstream of this operator run on one fiber, while downstream operators run
71
+ * on another. Elements will be aggregated by the sink until the downstream
72
+ * fiber pulls the aggregated value, or until the schedule's delay has passed.
73
+ *
74
+ * Aggregated elements will be fed into the schedule to determine the delays
75
+ * between pulls.
76
+ *
77
+ * @param sink A `Sink` used to perform the aggregation.
78
+ * @param schedule A `Schedule` used to signal when to stop the aggregation.
79
+ * @since 2.0.0
80
+ * @category utils
81
+ */
82
+ export const aggregateWithinEither = internal.aggregateWithinEither;
83
+ /**
84
+ * Maps the success values of this stream to the specified constant value.
85
+ *
86
+ * @since 2.0.0
87
+ * @category mapping
88
+ */
89
+ export const as = internal.as;
90
+ const _async = internal._async;
91
+ export {
92
+ /**
93
+ * Creates a stream from an asynchronous callback that can be called multiple
94
+ * times. The optionality of the error type `E` can be used to signal the end
95
+ * of the stream, by setting it to `None`.
96
+ *
97
+ * @since 2.0.0
98
+ * @category constructors
99
+ */
100
+ _async as async };
101
+ /**
102
+ * Creates a stream from an asynchronous callback that can be called multiple
103
+ * times The registration of the callback itself returns an effect. The
104
+ * optionality of the error type `E` can be used to signal the end of the
105
+ * stream, by setting it to `None`.
106
+ *
107
+ * @since 2.0.0
108
+ * @category constructors
109
+ */
110
+ export const asyncEffect = internal.asyncEffect;
111
+ /**
112
+ * Creates a stream from an asynchronous callback that can be called multiple
113
+ * times. The registration of the callback returns either a canceler or
114
+ * synchronously returns a stream. The optionality of the error type `E` can
115
+ * be used to signal the end of the stream, by setting it to `None`.
116
+ *
117
+ * @since 2.0.0
118
+ * @category constructors
119
+ */
120
+ export const asyncInterrupt = internal.asyncInterrupt;
121
+ /**
122
+ * Creates a stream from an asynchronous callback that can be called multiple
123
+ * times. The registration of the callback can possibly return the stream
124
+ * synchronously. The optionality of the error type `E` can be used to signal
125
+ * the end of the stream, by setting it to `None`.
126
+ *
127
+ * @since 2.0.0
128
+ * @category constructors
129
+ */
130
+ export const asyncOption = internal.asyncOption;
131
+ /**
132
+ * Creates a stream from an asynchronous callback that can be called multiple
133
+ * times. The registration of the callback itself returns an a scoped
134
+ * resource. The optionality of the error type `E` can be used to signal the
135
+ * end of the stream, by setting it to `None`.
136
+ *
137
+ * @since 2.0.0
138
+ * @category constructors
139
+ */
140
+ export const asyncScoped = internal.asyncScoped;
141
+ /**
142
+ * Returns a `Stream` that first collects `n` elements from the input `Stream`,
143
+ * and then creates a new `Stream` using the specified function, and sends all
144
+ * the following elements through that.
145
+ *
146
+ * @since 2.0.0
147
+ * @category sequencing
148
+ */
149
+ export const branchAfter = internal.branchAfter;
150
+ /**
151
+ * Fan out the stream, producing a list of streams that have the same elements
152
+ * as this stream. The driver stream will only ever advance the `maximumLag`
153
+ * chunks before the slowest downstream stream.
154
+ *
155
+ * @since 2.0.0
156
+ * @category utils
157
+ */
158
+ export const broadcast = internal.broadcast;
159
+ /**
160
+ * Fan out the stream, producing a dynamic number of streams that have the
161
+ * same elements as this stream. The driver stream will only ever advance the
162
+ * `maximumLag` chunks before the slowest downstream stream.
163
+ *
164
+ * @since 2.0.0
165
+ * @category utils
166
+ */
167
+ export const broadcastDynamic = internal.broadcastDynamic;
168
+ /**
169
+ * Converts the stream to a scoped list of queues. Every value will be
170
+ * replicated to every queue with the slowest queue being allowed to buffer
171
+ * `maximumLag` chunks before the driver is back pressured.
172
+ *
173
+ * Queues can unsubscribe from upstream by shutting down.
174
+ *
175
+ * @since 2.0.0
176
+ * @category utils
177
+ */
178
+ export const broadcastedQueues = internal.broadcastedQueues;
179
+ /**
180
+ * Converts the stream to a scoped dynamic amount of queues. Every chunk will
181
+ * be replicated to every queue with the slowest queue being allowed to buffer
182
+ * `maximumLag` chunks before the driver is back pressured.
183
+ *
184
+ * Queues can unsubscribe from upstream by shutting down.
185
+ *
186
+ * @since 2.0.0
187
+ * @category utils
188
+ */
189
+ export const broadcastedQueuesDynamic = internal.broadcastedQueuesDynamic;
190
+ /**
191
+ * Allows a faster producer to progress independently of a slower consumer by
192
+ * buffering up to `capacity` elements in a queue.
193
+ *
194
+ * @note This combinator destroys the chunking structure. It's recommended to
195
+ * use rechunk afterwards. Additionally, prefer capacities that are powers
196
+ * of 2 for better performance.
197
+ * @since 2.0.0
198
+ * @category utils
199
+ */
200
+ export const buffer = internal.buffer;
201
+ /**
202
+ * Allows a faster producer to progress independently of a slower consumer by
203
+ * buffering up to `capacity` chunks in a queue.
204
+ *
205
+ * @note Prefer capacities that are powers of 2 for better performance.
206
+ * @since 2.0.0
207
+ * @category utils
208
+ */
209
+ export const bufferChunks = internal.bufferChunks;
210
+ /**
211
+ * Switches over to the stream produced by the provided function in case this
212
+ * one fails with a typed error.
213
+ *
214
+ * @since 2.0.0
215
+ * @category error handling
216
+ */
217
+ export const catchAll = internal.catchAll;
218
+ /**
219
+ * Switches over to the stream produced by the provided function in case this
220
+ * one fails. Allows recovery from all causes of failure, including
221
+ * interruption if the stream is uninterruptible.
222
+ *
223
+ * @since 2.0.0
224
+ * @category error handling
225
+ */
226
+ export const catchAllCause = internal.catchAllCause;
227
+ /**
228
+ * Switches over to the stream produced by the provided function in case this
229
+ * one fails with some typed error.
230
+ *
231
+ * @since 2.0.0
232
+ * @category error handling
233
+ */
234
+ export const catchSome = internal.catchSome;
235
+ /**
236
+ * Switches over to the stream produced by the provided function in case this
237
+ * one fails with an error matching the given `_tag`.
238
+ *
239
+ * @since 2.0.0
240
+ * @category error handling
241
+ */
242
+ export const catchTag = internal.catchTag;
243
+ /**
244
+ * Switches over to the stream produced by one of the provided functions, in
245
+ * case this one fails with an error matching one of the given `_tag`'s.
246
+ *
247
+ * @since 2.0.0
248
+ * @category error handling
249
+ */
250
+ export const catchTags = internal.catchTags;
251
+ /**
252
+ * Switches over to the stream produced by the provided function in case this
253
+ * one fails with some errors. Allows recovery from all causes of failure,
254
+ * including interruption if the stream is uninterruptible.
255
+ *
256
+ * @since 2.0.0
257
+ * @category error handling
258
+ */
259
+ export const catchSomeCause = internal.catchSomeCause;
260
+ /**
261
+ * Returns a new stream that only emits elements that are not equal to the
262
+ * previous element emitted, using natural equality to determine whether two
263
+ * elements are equal.
264
+ *
265
+ * @since 2.0.0
266
+ * @category utils
267
+ */
268
+ export const changes = internal.changes;
269
+ /**
270
+ * Returns a new stream that only emits elements that are not equal to the
271
+ * previous element emitted, using the specified function to determine whether
272
+ * two elements are equal.
273
+ *
274
+ * @since 2.0.0
275
+ * @category utils
276
+ */
277
+ export const changesWith = internal.changesWith;
278
+ /**
279
+ * Returns a new stream that only emits elements that are not equal to the
280
+ * previous element emitted, using the specified effectual function to
281
+ * determine whether two elements are equal.
282
+ *
283
+ * @since 2.0.0
284
+ * @category utils
285
+ */
286
+ export const changesWithEffect = internal.changesWithEffect;
287
+ /**
288
+ * Exposes the underlying chunks of the stream as a stream of chunks of
289
+ * elements.
290
+ *
291
+ * @since 2.0.0
292
+ * @category utils
293
+ */
294
+ export const chunks = internal.chunks;
295
+ /**
296
+ * Performs the specified stream transformation with the chunk structure of
297
+ * the stream exposed.
298
+ *
299
+ * @since 2.0.0
300
+ * @category utils
301
+ */
302
+ export const chunksWith = internal.chunksWith;
303
+ /**
304
+ * Combines the elements from this stream and the specified stream by
305
+ * repeatedly applying the function `f` to extract an element using both sides
306
+ * and conceptually "offer" it to the destination stream. `f` can maintain
307
+ * some internal state to control the combining process, with the initial
308
+ * state being specified by `s`.
309
+ *
310
+ * Where possible, prefer `Stream.combineChunks` for a more efficient
311
+ * implementation.
312
+ *
313
+ * @since 2.0.0
314
+ * @category utils
315
+ */
316
+ export const combine = internal.combine;
317
+ /**
318
+ * Combines the chunks from this stream and the specified stream by repeatedly
319
+ * applying the function `f` to extract a chunk using both sides and
320
+ * conceptually "offer" it to the destination stream. `f` can maintain some
321
+ * internal state to control the combining process, with the initial state
322
+ * being specified by `s`.
323
+ *
324
+ * @since 2.0.0
325
+ * @category utils
326
+ */
327
+ export const combineChunks = internal.combineChunks;
328
+ /**
329
+ * Concatenates the specified stream with this stream, resulting in a stream
330
+ * that emits the elements from this stream and then the elements from the
331
+ * specified stream.
332
+ *
333
+ * @since 2.0.0
334
+ * @category utils
335
+ */
336
+ export const concat = internal.concat;
337
+ /**
338
+ * Concatenates all of the streams in the chunk to one stream.
339
+ *
340
+ * @since 2.0.0
341
+ * @category constructors
342
+ */
343
+ export const concatAll = internal.concatAll;
344
+ /**
345
+ * Composes this stream with the specified stream to create a cartesian
346
+ * product of elements. The `that` stream would be run multiple times, for
347
+ * every element in the `this` stream.
348
+ *
349
+ * See also `Stream.zip` for the more common point-wise variant.
350
+ *
351
+ * @since 2.0.0
352
+ * @category utils
353
+ */
354
+ export const cross = internal.cross;
355
+ /**
356
+ * Composes this stream with the specified stream to create a cartesian
357
+ * product of elements, but keeps only elements from this stream. The `that`
358
+ * stream would be run multiple times, for every element in the `this` stream.
359
+ *
360
+ * See also `Stream.zipLeft` for the more common point-wise variant.
361
+ *
362
+ * @since 2.0.0
363
+ * @category utils
364
+ */
365
+ export const crossLeft = internal.crossLeft;
366
+ /**
367
+ * Composes this stream with the specified stream to create a cartesian
368
+ * product of elements, but keeps only elements from the other stream. The
369
+ * `that` stream would be run multiple times, for every element in the `this`
370
+ * stream.
371
+ *
372
+ * See also `Stream.zipRight` for the more common point-wise variant.
373
+ *
374
+ * @since 2.0.0
375
+ * @category utils
376
+ */
377
+ export const crossRight = internal.crossRight;
378
+ /**
379
+ * Composes this stream with the specified stream to create a cartesian
380
+ * product of elements with a specified function. The `that` stream would be
381
+ * run multiple times, for every element in the `this` stream.
382
+ *
383
+ * See also `Stream.zipWith` for the more common point-wise variant.
384
+ *
385
+ * @since 2.0.0
386
+ * @category utils
387
+ */
388
+ export const crossWith = internal.crossWith;
389
+ /**
390
+ * Delays the emission of values by holding new values for a set duration. If
391
+ * no new values arrive during that time the value is emitted, however if a
392
+ * new value is received during the holding period the previous value is
393
+ * discarded and the process is repeated with the new value.
394
+ *
395
+ * This operator is useful if you have a stream of "bursty" events which
396
+ * eventually settle down and you only need the final event of the burst. For
397
+ * example, a search engine may only want to initiate a search after a user
398
+ * has paused typing so as to not prematurely recommend results.
399
+ *
400
+ * @since 2.0.0
401
+ * @category utils
402
+ */
403
+ export const debounce = internal.debounce;
404
+ /**
405
+ * The stream that dies with the specified defect.
406
+ *
407
+ * @since 2.0.0
408
+ * @category constructors
409
+ */
410
+ export const die = internal.die;
411
+ /**
412
+ * The stream that dies with the specified lazily evaluated defect.
413
+ *
414
+ * @since 2.0.0
415
+ * @category constructors
416
+ */
417
+ export const dieSync = internal.dieSync;
418
+ /**
419
+ * The stream that dies with an exception described by `message`.
420
+ *
421
+ * @since 2.0.0
422
+ * @category constructors
423
+ */
424
+ export const dieMessage = internal.dieMessage;
425
+ /**
426
+ * More powerful version of `Stream.broadcast`. Allows to provide a function
427
+ * that determines what queues should receive which elements. The decide
428
+ * function will receive the indices of the queues in the resulting list.
429
+ *
430
+ * @since 2.0.0
431
+ * @category utils
432
+ */
433
+ export const distributedWith = internal.distributedWith;
434
+ /**
435
+ * More powerful version of `Stream.distributedWith`. This returns a function
436
+ * that will produce new queues and corresponding indices. You can also
437
+ * provide a function that will be executed after the final events are
438
+ * enqueued in all queues. Shutdown of the queues is handled by the driver.
439
+ * Downstream users can also shutdown queues manually. In this case the driver
440
+ * will continue but no longer backpressure on them.
441
+ *
442
+ * @since 2.0.0
443
+ * @category utils
444
+ */
445
+ export const distributedWithDynamic = internal.distributedWithDynamic;
446
+ /**
447
+ * Converts this stream to a stream that executes its effects but emits no
448
+ * elements. Useful for sequencing effects using streams:
449
+ *
450
+ * @since 2.0.0
451
+ * @category utils
452
+ */
453
+ export const drain = internal.drain;
454
+ /**
455
+ * Drains the provided stream in the background for as long as this stream is
456
+ * running. If this stream ends before `other`, `other` will be interrupted.
457
+ * If `other` fails, this stream will fail with that error.
458
+ *
459
+ * @since 2.0.0
460
+ * @category utils
461
+ */
462
+ export const drainFork = internal.drainFork;
463
+ /**
464
+ * Drops the specified number of elements from this stream.
465
+ *
466
+ * @since 2.0.0
467
+ * @category utils
468
+ */
469
+ export const drop = internal.drop;
470
+ /**
471
+ * Drops the last specified number of elements from this stream.
472
+ *
473
+ * @note This combinator keeps `n` elements in memory. Be careful with big
474
+ * numbers.
475
+ * @since 2.0.0
476
+ * @category utils
477
+ */
478
+ export const dropRight = internal.dropRight;
479
+ /**
480
+ * Drops all elements of the stream until the specified predicate evaluates to
481
+ * `true`.
482
+ *
483
+ * @since 2.0.0
484
+ * @category utils
485
+ */
486
+ export const dropUntil = internal.dropUntil;
487
+ /**
488
+ * Drops all elements of the stream until the specified effectful predicate
489
+ * evaluates to `true`.
490
+ *
491
+ * @since 2.0.0
492
+ * @category utils
493
+ */
494
+ export const dropUntilEffect = internal.dropUntilEffect;
495
+ /**
496
+ * Drops all elements of the stream for as long as the specified predicate
497
+ * evaluates to `true`.
498
+ *
499
+ * @since 2.0.0
500
+ * @category utils
501
+ */
502
+ export const dropWhile = internal.dropWhile;
503
+ /**
504
+ * Drops all elements of the stream for as long as the specified predicate
505
+ * produces an effect that evalutates to `true`
506
+ *
507
+ * @since 2.0.0
508
+ * @category utils
509
+ */
510
+ export const dropWhileEffect = internal.dropWhileEffect;
511
+ /**
512
+ * Returns a stream whose failures and successes have been lifted into an
513
+ * `Either`. The resulting stream cannot fail, because the failures have been
514
+ * exposed as part of the `Either` success case.
515
+ *
516
+ * @note The stream will end as soon as the first error occurs.
517
+ *
518
+ * @since 2.0.0
519
+ * @category utils
520
+ */
521
+ export const either = internal.either;
522
+ /**
523
+ * The empty stream.
524
+ *
525
+ * @since 2.0.0
526
+ * @category constructors
527
+ */
528
+ export const empty = internal.empty;
529
+ /**
530
+ * Executes the provided finalizer after this stream's finalizers run.
531
+ *
532
+ * @since 2.0.0
533
+ * @category utils
534
+ */
535
+ export const ensuring = internal.ensuring;
536
+ /**
537
+ * Executes the provided finalizer after this stream's finalizers run.
538
+ *
539
+ * @since 2.0.0
540
+ * @category utils
541
+ */
542
+ export const ensuringWith = internal.ensuringWith;
543
+ /**
544
+ * Accesses the whole context of the stream.
545
+ *
546
+ * @since 2.0.0
547
+ * @category context
548
+ */
549
+ export const context = internal.context;
550
+ /**
551
+ * Accesses the context of the stream.
552
+ *
553
+ * @since 2.0.0
554
+ * @category context
555
+ */
556
+ export const contextWith = internal.contextWith;
557
+ /**
558
+ * Accesses the context of the stream in the context of an effect.
559
+ *
560
+ * @since 2.0.0
561
+ * @category context
562
+ */
563
+ export const contextWithEffect = internal.contextWithEffect;
564
+ /**
565
+ * Accesses the context of the stream in the context of a stream.
566
+ *
567
+ * @since 2.0.0
568
+ * @category context
569
+ */
570
+ export const contextWithStream = internal.contextWithStream;
571
+ /**
572
+ * Creates a stream that executes the specified effect but emits no elements.
573
+ *
574
+ * @since 2.0.0
575
+ * @category constructors
576
+ */
577
+ export const execute = internal.execute;
578
+ /**
579
+ * Terminates with the specified error.
580
+ *
581
+ * @since 2.0.0
582
+ * @category constructors
583
+ */
584
+ export const fail = internal.fail;
585
+ /**
586
+ * Terminates with the specified lazily evaluated error.
587
+ *
588
+ * @since 2.0.0
589
+ * @category constructors
590
+ */
591
+ export const failSync = internal.failSync;
592
+ /**
593
+ * The stream that always fails with the specified `Cause`.
594
+ *
595
+ * @since 2.0.0
596
+ * @category constructors
597
+ */
598
+ export const failCause = internal.failCause;
599
+ /**
600
+ * The stream that always fails with the specified lazily evaluated `Cause`.
601
+ *
602
+ * @since 2.0.0
603
+ * @category constructors
604
+ */
605
+ export const failCauseSync = internal.failCauseSync;
606
+ /**
607
+ * Filters the elements emitted by this stream using the provided function.
608
+ *
609
+ * @since 2.0.0
610
+ * @category filtering
611
+ */
612
+ export const filter = internal.filter;
613
+ /**
614
+ * Effectfully filters the elements emitted by this stream.
615
+ *
616
+ * @since 2.0.0
617
+ * @category filtering
618
+ */
619
+ export const filterEffect = internal.filterEffect;
620
+ /**
621
+ * Performs a filter and map in a single step.
622
+ *
623
+ * @since 2.0.0
624
+ * @category utils
625
+ */
626
+ export const filterMap = internal.filterMap;
627
+ /**
628
+ * Performs an effectful filter and map in a single step.
629
+ *
630
+ * @since 2.0.0
631
+ * @category utils
632
+ */
633
+ export const filterMapEffect = internal.filterMapEffect;
634
+ /**
635
+ * Transforms all elements of the stream for as long as the specified partial
636
+ * function is defined.
637
+ *
638
+ * @since 2.0.0
639
+ * @category utils
640
+ */
641
+ export const filterMapWhile = internal.filterMapWhile;
642
+ /**
643
+ * Effectfully transforms all elements of the stream for as long as the
644
+ * specified partial function is defined.
645
+ *
646
+ * @since 2.0.0
647
+ * @category utils
648
+ */
649
+ export const filterMapWhileEffect = internal.filterMapWhileEffect;
650
+ /**
651
+ * Creates a one-element stream that never fails and executes the finalizer
652
+ * when it ends.
653
+ *
654
+ * @since 2.0.0
655
+ * @category constructors
656
+ */
657
+ export const finalizer = internal.finalizer;
658
+ /**
659
+ * Finds the first element emitted by this stream that satisfies the provided
660
+ * predicate.
661
+ *
662
+ * @since 2.0.0
663
+ * @category elements
664
+ */
665
+ export const find = internal.find;
666
+ /**
667
+ * Finds the first element emitted by this stream that satisfies the provided
668
+ * effectful predicate.
669
+ *
670
+ * @since 2.0.0
671
+ * @category elements
672
+ */
673
+ export const findEffect = internal.findEffect;
674
+ /**
675
+ * Returns a stream made of the concatenation in strict order of all the
676
+ * streams produced by passing each element of this stream to `f0`
677
+ *
678
+ * @since 2.0.0
679
+ * @category sequencing
680
+ */
681
+ export const flatMap = internal.flatMap;
682
+ /**
683
+ * Flattens this stream-of-streams into a stream made of the concatenation in
684
+ * strict order of all the streams.
685
+ *
686
+ * @since 2.0.0
687
+ * @category sequencing
688
+ */
689
+ export const flatten = internal.flatten;
690
+ /**
691
+ * Submerges the chunks carried by this stream into the stream's structure,
692
+ * while still preserving them.
693
+ *
694
+ * @since 2.0.0
695
+ * @category sequencing
696
+ */
697
+ export const flattenChunks = internal.flattenChunks;
698
+ /**
699
+ * Flattens `Effect` values into the stream's structure, preserving all
700
+ * information about the effect.
701
+ *
702
+ * @since 2.0.0
703
+ * @category sequencing
704
+ */
705
+ export const flattenEffect = internal.flattenEffect;
706
+ /**
707
+ * Unwraps `Exit` values that also signify end-of-stream by failing with `None`.
708
+ *
709
+ * For `Exit` values that do not signal end-of-stream, prefer:
710
+ *
711
+ * ```ts
712
+ * stream.mapZIO(ZIO.done(_))
713
+ * ```
714
+ *
715
+ * @since 2.0.0
716
+ * @category sequencing
717
+ */
718
+ export const flattenExitOption = internal.flattenExitOption;
719
+ /**
720
+ * Submerges the iterables carried by this stream into the stream's structure,
721
+ * while still preserving them.
722
+ *
723
+ * @since 2.0.0
724
+ * @category sequencing
725
+ */
726
+ export const flattenIterables = internal.flattenIterables;
727
+ /**
728
+ * Unwraps `Exit` values and flatten chunks that also signify end-of-stream
729
+ * by failing with `None`.
730
+ *
731
+ * @since 2.0.0
732
+ * @category sequencing
733
+ */
734
+ export const flattenTake = internal.flattenTake;
735
+ /**
736
+ * Repeats this stream forever.
737
+ *
738
+ * @since 2.0.0
739
+ * @category utils
740
+ */
741
+ export const forever = internal.forever;
742
+ /**
743
+ * Creates a stream from an `AsyncIterable`.
744
+ *
745
+ * @since 2.0.0
746
+ * @category constructors
747
+ */
748
+ export const fromAsyncIterable = internal.fromAsyncIterable;
749
+ /**
750
+ * Creates a stream from a `Channel`.
751
+ *
752
+ * @since 2.0.0
753
+ * @category constructors
754
+ */
755
+ export const fromChannel = internal.fromChannel;
756
+ /**
757
+ * Creates a channel from a `Stream`.
758
+ *
759
+ * @since 2.0.0
760
+ * @category constructors
761
+ */
762
+ export const toChannel = internal.toChannel;
763
+ /**
764
+ * Creates a stream from a `Chunk` of values.
765
+ *
766
+ * @since 2.0.0
767
+ * @category constructors
768
+ */
769
+ export const fromChunk = internal.fromChunk;
770
+ /**
771
+ * Creates a stream from a subscription to a `PubSub`.
772
+ *
773
+ * @param shutdown If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
774
+ * @since 2.0.0
775
+ * @category constructors
776
+ */
777
+ export const fromChunkPubSub = internal.fromChunkPubSub;
778
+ /**
779
+ * Creates a stream from a `Queue` of values.
780
+ *
781
+ * @param shutdown If `true`, the queue will be shutdown after the stream is evaluated (defaults to `false`)
782
+ * @since 2.0.0
783
+ * @category constructors
784
+ */
785
+ export const fromChunkQueue = internal.fromChunkQueue;
786
+ /**
787
+ * Creates a stream from an arbitrary number of chunks.
788
+ *
789
+ * @since 2.0.0
790
+ * @category constructors
791
+ */
792
+ export const fromChunks = internal.fromChunks;
793
+ /**
794
+ * Either emits the success value of this effect or terminates the stream
795
+ * with the failure value of this effect.
796
+ *
797
+ * @since 2.0.0
798
+ * @category constructors
799
+ */
800
+ export const fromEffect = internal.fromEffect;
801
+ /**
802
+ * Creates a stream from an effect producing a value of type `A` or an empty
803
+ * `Stream`.
804
+ *
805
+ * @since 2.0.0
806
+ * @category constructors
807
+ */
808
+ export const fromEffectOption = internal.fromEffectOption;
809
+ /**
810
+ * Creates a stream from a subscription to a `PubSub`.
811
+ *
812
+ * @param shutdown If `true`, the `PubSub` will be shutdown after the stream is evaluated (defaults to `false`)
813
+ * @since 2.0.0
814
+ * @category constructors
815
+ */
816
+ export const fromPubSub = internal.fromPubSub;
817
+ /**
818
+ * Creates a new `Stream` from an iterable collection of values.
819
+ *
820
+ * @since 2.0.0
821
+ * @category constructors
822
+ */
823
+ export const fromIterable = internal.fromIterable;
824
+ /**
825
+ * Creates a stream from an effect producing a value of type `Iterable<A>`.
826
+ *
827
+ * @since 2.0.0
828
+ * @category constructors
829
+ */
830
+ export const fromIterableEffect = internal.fromIterableEffect;
831
+ /**
832
+ * Creates a stream from an iterator
833
+ *
834
+ * @since 2.0.0
835
+ * @category constructors
836
+ */
837
+ export const fromIteratorSucceed = internal.fromIteratorSucceed;
838
+ /**
839
+ * Creates a stream from an effect that pulls elements from another stream.
840
+ *
841
+ * See `Stream.toPull` for reference.
842
+ *
843
+ * @since 2.0.0
844
+ * @category constructors
845
+ */
846
+ export const fromPull = internal.fromPull;
847
+ /**
848
+ * Creates a stream from a queue of values
849
+ *
850
+ * @param maxChunkSize The maximum number of queued elements to put in one chunk in the stream
851
+ * @param shutdown If `true`, the queue will be shutdown after the stream is evaluated (defaults to `false`)
852
+ * @since 2.0.0
853
+ * @category constructors
854
+ */
855
+ export const fromQueue = internal.fromQueue;
856
+ /**
857
+ * Creates a stream from a `ReadableStream`.
858
+ *
859
+ * See https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream.
860
+ *
861
+ * @since 2.0.0
862
+ * @category constructors
863
+ */
864
+ export const fromReadableStream = internal.fromReadableStream;
865
+ /**
866
+ * Creates a stream from a `ReadableStreamBYOBReader`.
867
+ *
868
+ * See https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader.
869
+ *
870
+ * @param allocSize Controls the size of the underlying `ArrayBuffer` (defaults to `4096`).
871
+ * @since 2.0.0
872
+ * @category constructors
873
+ */
874
+ export const fromReadableStreamByob = internal.fromReadableStreamByob;
875
+ /**
876
+ * Creates a stream from a `Schedule` that does not require any further
877
+ * input. The stream will emit an element for each value output from the
878
+ * schedule, continuing for as long as the schedule continues.
879
+ *
880
+ * @since 2.0.0
881
+ * @category constructors
882
+ */
883
+ export const fromSchedule = internal.fromSchedule;
884
+ /**
885
+ * Creates a pipeline that groups on adjacent keys, calculated by the
886
+ * specified function.
887
+ *
888
+ * @since 2.0.0
889
+ * @category grouping
890
+ */
891
+ export const groupAdjacentBy = internal.groupAdjacentBy;
892
+ /**
893
+ * More powerful version of `Stream.groupByKey`.
894
+ *
895
+ * @since 2.0.0
896
+ * @category grouping
897
+ */
898
+ export const groupBy = _groupBy.groupBy;
899
+ /**
900
+ * Partition a stream using a function and process each stream individually.
901
+ * This returns a data structure that can be used to further filter down which
902
+ * groups shall be processed.
903
+ *
904
+ * After calling apply on the GroupBy object, the remaining groups will be
905
+ * processed in parallel and the resulting streams merged in a
906
+ * nondeterministic fashion.
907
+ *
908
+ * Up to `buffer` elements may be buffered in any group stream before the
909
+ * producer is backpressured. Take care to consume from all streams in order
910
+ * to prevent deadlocks.
911
+ *
912
+ * For example, to collect the first 2 words for every starting letter from a
913
+ * stream of words:
914
+ *
915
+ * ```ts
916
+ * import * as GroupBy from "./GroupBy"
917
+ * import * as Stream from "./Stream"
918
+ * import { pipe } from "./Function"
919
+ *
920
+ * pipe(
921
+ * Stream.fromIterable(["hello", "world", "hi", "holla"]),
922
+ * Stream.groupByKey((word) => word[0]),
923
+ * GroupBy.evaluate((key, stream) =>
924
+ * pipe(
925
+ * stream,
926
+ * Stream.take(2),
927
+ * Stream.map((words) => [key, words] as const)
928
+ * )
929
+ * )
930
+ * )
931
+ * ```
932
+ *
933
+ * @since 2.0.0
934
+ * @category utils
935
+ */
936
+ export const groupByKey = _groupBy.groupByKey;
937
+ /**
938
+ * Partitions the stream with specified `chunkSize`.
939
+ *
940
+ * @since 2.0.0
941
+ * @category utils
942
+ */
943
+ export const grouped = internal.grouped;
944
+ /**
945
+ * Partitions the stream with the specified `chunkSize` or until the specified
946
+ * `duration` has passed, whichever is satisfied first.
947
+ *
948
+ * @since 2.0.0
949
+ * @category utils
950
+ */
951
+ export const groupedWithin = internal.groupedWithin;
952
+ /**
953
+ * Specialized version of haltWhen which halts the evaluation of this stream
954
+ * after the given duration.
955
+ *
956
+ * An element in the process of being pulled will not be interrupted when the
957
+ * given duration completes. See `interruptAfter` for this behavior.
958
+ *
959
+ * @since 2.0.0
960
+ * @category utils
961
+ */
962
+ export const haltAfter = internal.haltAfter;
963
+ /**
964
+ * Halts the evaluation of this stream when the provided effect completes. The
965
+ * given effect will be forked as part of the returned stream, and its success
966
+ * will be discarded.
967
+ *
968
+ * An element in the process of being pulled will not be interrupted when the
969
+ * effect completes. See `interruptWhen` for this behavior.
970
+ *
971
+ * If the effect completes with a failure, the stream will emit that failure.
972
+ *
973
+ * @since 2.0.0
974
+ * @category utils
975
+ */
976
+ export const haltWhen = internal.haltWhen;
977
+ /**
978
+ * Halts the evaluation of this stream when the provided promise resolves.
979
+ *
980
+ * If the promise completes with a failure, the stream will emit that failure.
981
+ *
982
+ * @since 2.0.0
983
+ * @category utils
984
+ */
985
+ export const haltWhenDeferred = internal.haltWhenDeferred;
986
+ /**
987
+ * The identity pipeline, which does not modify streams in any way.
988
+ *
989
+ * @since 2.0.0
990
+ * @category utils
991
+ */
992
+ export const identity = internal.identityStream;
993
+ /**
994
+ * Interleaves this stream and the specified stream deterministically by
995
+ * alternating pulling values from this stream and the specified stream. When
996
+ * one stream is exhausted all remaining values in the other stream will be
997
+ * pulled.
998
+ *
999
+ * @since 2.0.0
1000
+ * @category utils
1001
+ */
1002
+ export const interleave = internal.interleave;
1003
+ /**
1004
+ * Combines this stream and the specified stream deterministically using the
1005
+ * stream of boolean values `pull` to control which stream to pull from next.
1006
+ * A value of `true` indicates to pull from this stream and a value of `false`
1007
+ * indicates to pull from the specified stream. Only consumes as many elements
1008
+ * as requested by the `pull` stream. If either this stream or the specified
1009
+ * stream are exhausted further requests for values from that stream will be
1010
+ * ignored.
1011
+ *
1012
+ * @since 2.0.0
1013
+ * @category utils
1014
+ */
1015
+ export const interleaveWith = internal.interleaveWith;
1016
+ /**
1017
+ * Intersperse stream with provided `element`.
1018
+ *
1019
+ * @since 2.0.0
1020
+ * @category utils
1021
+ */
1022
+ export const intersperse = internal.intersperse;
1023
+ /**
1024
+ * Intersperse the specified element, also adding a prefix and a suffix.
1025
+ *
1026
+ * @since 2.0.0
1027
+ * @category utils
1028
+ */
1029
+ export const intersperseAffixes = internal.intersperseAffixes;
1030
+ /**
1031
+ * Specialized version of `Stream.interruptWhen` which interrupts the
1032
+ * evaluation of this stream after the given `Duration`.
1033
+ *
1034
+ * @since 2.0.0
1035
+ * @category utils
1036
+ */
1037
+ export const interruptAfter = internal.interruptAfter;
1038
+ /**
1039
+ * Interrupts the evaluation of this stream when the provided effect
1040
+ * completes. The given effect will be forked as part of this stream, and its
1041
+ * success will be discarded. This combinator will also interrupt any
1042
+ * in-progress element being pulled from upstream.
1043
+ *
1044
+ * If the effect completes with a failure before the stream completes, the
1045
+ * returned stream will emit that failure.
1046
+ *
1047
+ * @since 2.0.0
1048
+ * @category utils
1049
+ */
1050
+ export const interruptWhen = internal.interruptWhen;
1051
+ /**
1052
+ * Interrupts the evaluation of this stream when the provided promise
1053
+ * resolves. This combinator will also interrupt any in-progress element being
1054
+ * pulled from upstream.
1055
+ *
1056
+ * If the promise completes with a failure, the stream will emit that failure.
1057
+ *
1058
+ * @since 2.0.0
1059
+ * @category utils
1060
+ */
1061
+ export const interruptWhenDeferred = internal.interruptWhenDeferred;
1062
+ /**
1063
+ * The infinite stream of iterative function application: a, f(a), f(f(a)),
1064
+ * f(f(f(a))), ...
1065
+ *
1066
+ * @since 2.0.0
1067
+ * @category constructors
1068
+ */
1069
+ export const iterate = internal.iterate;
1070
+ /**
1071
+ * Creates a stream from an sequence of values.
1072
+ *
1073
+ * @since 2.0.0
1074
+ * @category constructors
1075
+ */
1076
+ export const make = internal.make;
1077
+ /**
1078
+ * Transforms the elements of this stream using the supplied function.
1079
+ *
1080
+ * @since 2.0.0
1081
+ * @category mapping
1082
+ */
1083
+ export const map = internal.map;
1084
+ /**
1085
+ * Statefully maps over the elements of this stream to produce new elements.
1086
+ *
1087
+ * @since 2.0.0
1088
+ * @category mapping
1089
+ */
1090
+ export const mapAccum = internal.mapAccum;
1091
+ /**
1092
+ * Statefully and effectfully maps over the elements of this stream to produce
1093
+ * new elements.
1094
+ *
1095
+ * @since 2.0.0
1096
+ * @category mapping
1097
+ */
1098
+ export const mapAccumEffect = internal.mapAccumEffect;
1099
+ /**
1100
+ * Returns a stream whose failure and success channels have been mapped by the
1101
+ * specified `onFailure` and `onSuccess` functions.
1102
+ *
1103
+ * @since 2.0.0
1104
+ * @category utils
1105
+ */
1106
+ export const mapBoth = internal.mapBoth;
1107
+ /**
1108
+ * Transforms the chunks emitted by this stream.
1109
+ *
1110
+ * @since 2.0.0
1111
+ * @category mapping
1112
+ */
1113
+ export const mapChunks = internal.mapChunks;
1114
+ /**
1115
+ * Effectfully transforms the chunks emitted by this stream.
1116
+ *
1117
+ * @since 2.0.0
1118
+ * @category mapping
1119
+ */
1120
+ export const mapChunksEffect = internal.mapChunksEffect;
1121
+ /**
1122
+ * Maps each element to an iterable, and flattens the iterables into the
1123
+ * output of this stream.
1124
+ *
1125
+ * @since 2.0.0
1126
+ * @category mapping
1127
+ */
1128
+ export const mapConcat = internal.mapConcat;
1129
+ /**
1130
+ * Maps each element to a chunk, and flattens the chunks into the output of
1131
+ * this stream.
1132
+ *
1133
+ * @since 2.0.0
1134
+ * @category mapping
1135
+ */
1136
+ export const mapConcatChunk = internal.mapConcatChunk;
1137
+ /**
1138
+ * Effectfully maps each element to a chunk, and flattens the chunks into the
1139
+ * output of this stream.
1140
+ *
1141
+ * @since 2.0.0
1142
+ * @category mapping
1143
+ */
1144
+ export const mapConcatChunkEffect = internal.mapConcatChunkEffect;
1145
+ /**
1146
+ * Effectfully maps each element to an iterable, and flattens the iterables
1147
+ * into the output of this stream.
1148
+ *
1149
+ * @since 2.0.0
1150
+ * @category mapping
1151
+ */
1152
+ export const mapConcatEffect = internal.mapConcatEffect;
1153
+ /**
1154
+ * Maps over elements of the stream with the specified effectful function.
1155
+ *
1156
+ * @since 2.0.0
1157
+ * @category mapping
1158
+ */
1159
+ export const mapEffect = _groupBy.mapEffectOptions;
1160
+ /**
1161
+ * Transforms the errors emitted by this stream using `f`.
1162
+ *
1163
+ * @since 2.0.0
1164
+ * @category mapping
1165
+ */
1166
+ export const mapError = internal.mapError;
1167
+ /**
1168
+ * Transforms the full causes of failures emitted by this stream.
1169
+ *
1170
+ * @since 2.0.0
1171
+ * @category mapping
1172
+ */
1173
+ export const mapErrorCause = internal.mapErrorCause;
1174
+ /**
1175
+ * Merges this stream and the specified stream together.
1176
+ *
1177
+ * New produced stream will terminate when both specified stream terminate if
1178
+ * no termination strategy is specified.
1179
+ *
1180
+ * @since 2.0.0
1181
+ * @category utils
1182
+ */
1183
+ export const merge = internal.merge;
1184
+ /**
1185
+ * Merges a variable list of streams in a non-deterministic fashion. Up to `n`
1186
+ * streams may be consumed in parallel and up to `outputBuffer` chunks may be
1187
+ * buffered by this operator.
1188
+ *
1189
+ * @since 2.0.0
1190
+ * @category utils
1191
+ */
1192
+ export const mergeAll = internal.mergeAll;
1193
+ /**
1194
+ * Merges this stream and the specified stream together to a common element
1195
+ * type with the specified mapping functions.
1196
+ *
1197
+ * New produced stream will terminate when both specified stream terminate if
1198
+ * no termination strategy is specified.
1199
+ *
1200
+ * @since 2.0.0
1201
+ * @category utils
1202
+ */
1203
+ export const mergeWith = internal.mergeWith;
1204
+ /**
1205
+ * Merges this stream and the specified stream together to produce a stream of
1206
+ * eithers.
1207
+ *
1208
+ * @since 2.0.0
1209
+ * @category utils
1210
+ */
1211
+ export const mergeEither = internal.mergeEither;
1212
+ /**
1213
+ * Merges this stream and the specified stream together, discarding the values
1214
+ * from the right stream.
1215
+ *
1216
+ * @since 2.0.0
1217
+ * @category utils
1218
+ */
1219
+ export const mergeLeft = internal.mergeLeft;
1220
+ /**
1221
+ * Merges this stream and the specified stream together, discarding the values
1222
+ * from the left stream.
1223
+ *
1224
+ * @since 2.0.0
1225
+ * @category utils
1226
+ */
1227
+ export const mergeRight = internal.mergeRight;
1228
+ /**
1229
+ * Returns a combined string resulting from concatenating each of the values
1230
+ * from the stream.
1231
+ *
1232
+ * @since 2.0.0
1233
+ * @category utils
1234
+ */
1235
+ export const mkString = internal.mkString;
1236
+ /**
1237
+ * The stream that never produces any value or fails with any error.
1238
+ *
1239
+ * @since 2.0.0
1240
+ * @category constructors
1241
+ */
1242
+ export const never = internal.never;
1243
+ /**
1244
+ * Runs the specified effect if this stream fails, providing the error to the
1245
+ * effect if it exists.
1246
+ *
1247
+ * Note: Unlike `Effect.onError` there is no guarantee that the provided
1248
+ * effect will not be interrupted.
1249
+ *
1250
+ * @since 2.0.0
1251
+ * @category utils
1252
+ */
1253
+ export const onError = internal.onError;
1254
+ /**
1255
+ * Runs the specified effect if this stream ends.
1256
+ *
1257
+ * @since 2.0.0
1258
+ * @category utils
1259
+ */
1260
+ export const onDone = internal.onDone;
1261
+ /**
1262
+ * Translates any failure into a stream termination, making the stream
1263
+ * infallible and all failures unchecked.
1264
+ *
1265
+ * @since 2.0.0
1266
+ * @category error handling
1267
+ */
1268
+ export const orDie = internal.orDie;
1269
+ /**
1270
+ * Keeps none of the errors, and terminates the stream with them, using the
1271
+ * specified function to convert the `E` into a defect.
1272
+ *
1273
+ * @since 2.0.0
1274
+ * @category error handling
1275
+ */
1276
+ export const orDieWith = internal.orDieWith;
1277
+ /**
1278
+ * Switches to the provided stream in case this one fails with a typed error.
1279
+ *
1280
+ * See also `Stream.catchAll`.
1281
+ *
1282
+ * @since 2.0.0
1283
+ * @category error handling
1284
+ */
1285
+ export const orElse = internal.orElse;
1286
+ /**
1287
+ * Switches to the provided stream in case this one fails with a typed error.
1288
+ *
1289
+ * See also `Stream.catchAll`.
1290
+ *
1291
+ * @since 2.0.0
1292
+ * @category error handling
1293
+ */
1294
+ export const orElseEither = internal.orElseEither;
1295
+ /**
1296
+ * Fails with given error in case this one fails with a typed error.
1297
+ *
1298
+ * See also `Stream.catchAll`.
1299
+ *
1300
+ * @since 2.0.0
1301
+ * @category error handling
1302
+ */
1303
+ export const orElseFail = internal.orElseFail;
1304
+ /**
1305
+ * Produces the specified element if this stream is empty.
1306
+ *
1307
+ * @since 2.0.0
1308
+ * @category error handling
1309
+ */
1310
+ export const orElseIfEmpty = internal.orElseIfEmpty;
1311
+ /**
1312
+ * Produces the specified chunk if this stream is empty.
1313
+ *
1314
+ * @since 2.0.0
1315
+ * @category error handling
1316
+ */
1317
+ export const orElseIfEmptyChunk = internal.orElseIfEmptyChunk;
1318
+ /**
1319
+ * Switches to the provided stream in case this one is empty.
1320
+ *
1321
+ * @since 2.0.0
1322
+ * @category error handling
1323
+ */
1324
+ export const orElseIfEmptyStream = internal.orElseIfEmptyStream;
1325
+ /**
1326
+ * Succeeds with the specified value if this one fails with a typed error.
1327
+ *
1328
+ * @since 2.0.0
1329
+ * @category error handling
1330
+ */
1331
+ export const orElseSucceed = internal.orElseSucceed;
1332
+ /**
1333
+ * Like `Stream.unfold`, but allows the emission of values to end one step further
1334
+ * than the unfolding of the state. This is useful for embedding paginated
1335
+ * APIs, hence the name.
1336
+ *
1337
+ * @since 2.0.0
1338
+ * @category constructors
1339
+ */
1340
+ export const paginate = internal.paginate;
1341
+ /**
1342
+ * Like `Stream.unfoldChunk`, but allows the emission of values to end one step
1343
+ * further than the unfolding of the state. This is useful for embedding
1344
+ * paginated APIs, hence the name.
1345
+ *
1346
+ * @since 2.0.0
1347
+ * @category constructors
1348
+ */
1349
+ export const paginateChunk = internal.paginateChunk;
1350
+ /**
1351
+ * Like `Stream.unfoldChunkEffect`, but allows the emission of values to end one step
1352
+ * further than the unfolding of the state. This is useful for embedding
1353
+ * paginated APIs, hence the name.
1354
+ *
1355
+ * @since 2.0.0
1356
+ * @category constructors
1357
+ */
1358
+ export const paginateChunkEffect = internal.paginateChunkEffect;
1359
+ /**
1360
+ * Like `Stream.unfoldEffect` but allows the emission of values to end one step
1361
+ * further than the unfolding of the state. This is useful for embedding
1362
+ * paginated APIs, hence the name.
1363
+ *
1364
+ * @since 2.0.0
1365
+ * @category constructors
1366
+ */
1367
+ export const paginateEffect = internal.paginateEffect;
1368
+ /**
1369
+ * Partition a stream using a predicate. The first stream will contain all
1370
+ * element evaluated to true and the second one will contain all element
1371
+ * evaluated to false. The faster stream may advance by up to buffer elements
1372
+ * further than the slower one.
1373
+ *
1374
+ * @since 2.0.0
1375
+ * @category utils
1376
+ */
1377
+ export const partition = internal.partition;
1378
+ /**
1379
+ * Split a stream by an effectful predicate. The faster stream may advance by
1380
+ * up to buffer elements further than the slower one.
1381
+ *
1382
+ * @since 2.0.0
1383
+ * @category utils
1384
+ */
1385
+ export const partitionEither = internal.partitionEither;
1386
+ /**
1387
+ * Peels off enough material from the stream to construct a `Z` using the
1388
+ * provided `Sink` and then returns both the `Z` and the rest of the
1389
+ * `Stream` in a scope. Like all scoped values, the provided stream is
1390
+ * valid only within the scope.
1391
+ *
1392
+ * @since 2.0.0
1393
+ * @category utils
1394
+ */
1395
+ export const peel = internal.peel;
1396
+ /**
1397
+ * Pipes all of the values from this stream through the provided sink.
1398
+ *
1399
+ * See also `Stream.transduce`.
1400
+ *
1401
+ * @since 2.0.0
1402
+ * @category utils
1403
+ */
1404
+ export const pipeThrough = internal.pipeThrough;
1405
+ /**
1406
+ * Pipes all the values from this stream through the provided channel.
1407
+ *
1408
+ * @since 2.0.0
1409
+ * @category utils
1410
+ */
1411
+ export const pipeThroughChannel = internal.pipeThroughChannel;
1412
+ /**
1413
+ * Pipes all values from this stream through the provided channel, passing
1414
+ * through any error emitted by this stream unchanged.
1415
+ *
1416
+ * @since 2.0.0
1417
+ * @category utils
1418
+ */
1419
+ export const pipeThroughChannelOrFail = internal.pipeThroughChannelOrFail;
1420
+ /**
1421
+ * Emits the provided chunk before emitting any other value.
1422
+ *
1423
+ * @since 2.0.0
1424
+ * @category utils
1425
+ */
1426
+ export const prepend = internal.prepend;
1427
+ /**
1428
+ * Provides the stream with its required context, which eliminates its
1429
+ * dependency on `R`.
1430
+ *
1431
+ * @since 2.0.0
1432
+ * @category context
1433
+ */
1434
+ export const provideContext = internal.provideContext;
1435
+ /**
1436
+ * Provides a `Layer` to the stream, which translates it to another level.
1437
+ *
1438
+ * @since 2.0.0
1439
+ * @category context
1440
+ */
1441
+ export const provideLayer = internal.provideLayer;
1442
+ /**
1443
+ * Provides the stream with the single service it requires. If the stream
1444
+ * requires more than one service use `Stream.provideContext` instead.
1445
+ *
1446
+ * @since 2.0.0
1447
+ * @category context
1448
+ */
1449
+ export const provideService = internal.provideService;
1450
+ /**
1451
+ * Provides the stream with the single service it requires. If the stream
1452
+ * requires more than one service use `Stream.provideContext` instead.
1453
+ *
1454
+ * @since 2.0.0
1455
+ * @category context
1456
+ */
1457
+ export const provideServiceEffect = internal.provideServiceEffect;
1458
+ /**
1459
+ * Provides the stream with the single service it requires. If the stream
1460
+ * requires more than one service use `Stream.provideContext` instead.
1461
+ *
1462
+ * @since 2.0.0
1463
+ * @category context
1464
+ */
1465
+ export const provideServiceStream = internal.provideServiceStream;
1466
+ /**
1467
+ * Transforms the context being provided to the stream with the specified
1468
+ * function.
1469
+ *
1470
+ * @since 2.0.0
1471
+ * @category context
1472
+ */
1473
+ export const mapInputContext = internal.mapInputContext;
1474
+ /**
1475
+ * Splits the context into two parts, providing one part using the
1476
+ * specified layer and leaving the remainder `R0`.
1477
+ *
1478
+ * @since 2.0.0
1479
+ * @category context
1480
+ */
1481
+ export const provideSomeLayer = internal.provideSomeLayer;
1482
+ /**
1483
+ * Constructs a stream from a range of integers, including both endpoints.
1484
+ *
1485
+ * @since 2.0.0
1486
+ * @category constructors
1487
+ */
1488
+ export const range = internal.range;
1489
+ /**
1490
+ * Re-chunks the elements of the stream into chunks of `n` elements each. The
1491
+ * last chunk might contain less than `n` elements.
1492
+ *
1493
+ * @since 2.0.0
1494
+ * @category utils
1495
+ */
1496
+ export const rechunk = internal.rechunk;
1497
+ /**
1498
+ * Keeps some of the errors, and terminates the fiber with the rest
1499
+ *
1500
+ * @since 2.0.0
1501
+ * @category error handling
1502
+ */
1503
+ export const refineOrDie = internal.refineOrDie;
1504
+ /**
1505
+ * Keeps some of the errors, and terminates the fiber with the rest, using the
1506
+ * specified function to convert the `E` into a defect.
1507
+ *
1508
+ * @since 2.0.0
1509
+ * @category error handling
1510
+ */
1511
+ export const refineOrDieWith = internal.refineOrDieWith;
1512
+ /**
1513
+ * Repeats the entire stream using the specified schedule. The stream will
1514
+ * execute normally, and then repeat again according to the provided schedule.
1515
+ *
1516
+ * @since 2.0.0
1517
+ * @category utils
1518
+ */
1519
+ export const repeat = internal.repeat;
1520
+ /**
1521
+ * Creates a stream from an effect producing a value of type `A` which repeats
1522
+ * forever.
1523
+ *
1524
+ * @since 2.0.0
1525
+ * @category constructors
1526
+ */
1527
+ export const repeatEffect = internal.repeatEffect;
1528
+ /**
1529
+ * Creates a stream from an effect producing chunks of `A` values which
1530
+ * repeats forever.
1531
+ *
1532
+ * @since 2.0.0
1533
+ * @category constructors
1534
+ */
1535
+ export const repeatEffectChunk = internal.repeatEffectChunk;
1536
+ /**
1537
+ * Creates a stream from an effect producing chunks of `A` values until it
1538
+ * fails with `None`.
1539
+ *
1540
+ * @since 2.0.0
1541
+ * @category constructors
1542
+ */
1543
+ export const repeatEffectChunkOption = internal.repeatEffectChunkOption;
1544
+ /**
1545
+ * Creates a stream from an effect producing values of type `A` until it fails
1546
+ * with `None`.
1547
+ *
1548
+ * @since 2.0.0
1549
+ * @category constructors
1550
+ */
1551
+ export const repeatEffectOption = internal.repeatEffectOption;
1552
+ /**
1553
+ * Creates a stream from an effect producing a value of type `A`, which is
1554
+ * repeated using the specified schedule.
1555
+ *
1556
+ * @since 2.0.0
1557
+ * @category constructors
1558
+ */
1559
+ export const repeatEffectWithSchedule = internal.repeatEffectWithSchedule;
1560
+ /**
1561
+ * Repeats the entire stream using the specified schedule. The stream will
1562
+ * execute normally, and then repeat again according to the provided schedule.
1563
+ * The schedule output will be emitted at the end of each repetition.
1564
+ *
1565
+ * @since 2.0.0
1566
+ * @category utils
1567
+ */
1568
+ export const repeatEither = internal.repeatEither;
1569
+ /**
1570
+ * Repeats each element of the stream using the provided schedule. Repetitions
1571
+ * are done in addition to the first execution, which means using
1572
+ * `Schedule.recurs(1)` actually results in the original effect, plus an
1573
+ * additional recurrence, for a total of two repetitions of each value in the
1574
+ * stream.
1575
+ *
1576
+ * @since 2.0.0
1577
+ * @category utils
1578
+ */
1579
+ export const repeatElements = internal.repeatElements;
1580
+ /**
1581
+ * Repeats each element of the stream using the provided schedule. When the
1582
+ * schedule is finished, then the output of the schedule will be emitted into
1583
+ * the stream. Repetitions are done in addition to the first execution, which
1584
+ * means using `Schedule.recurs(1)` actually results in the original effect,
1585
+ * plus an additional recurrence, for a total of two repetitions of each value
1586
+ * in the stream.
1587
+ *
1588
+ * This function accepts two conversion functions, which allow the output of
1589
+ * this stream and the output of the provided schedule to be unified into a
1590
+ * single type. For example, `Either` or similar data type.
1591
+ *
1592
+ * @since 2.0.0
1593
+ * @category utils
1594
+ */
1595
+ export const repeatElementsWith = internal.repeatElementsWith;
1596
+ /**
1597
+ * Repeats the provided value infinitely.
1598
+ *
1599
+ * @since 2.0.0
1600
+ * @category constructors
1601
+ */
1602
+ export const repeatValue = internal.repeatValue;
1603
+ /**
1604
+ * Repeats the entire stream using the specified schedule. The stream will
1605
+ * execute normally, and then repeat again according to the provided schedule.
1606
+ * The schedule output will be emitted at the end of each repetition and can
1607
+ * be unified with the stream elements using the provided functions.
1608
+ *
1609
+ * @since 2.0.0
1610
+ * @category utils
1611
+ */
1612
+ export const repeatWith = internal.repeatWith;
1613
+ /**
1614
+ * When the stream fails, retry it according to the given schedule
1615
+ *
1616
+ * This retries the entire stream, so will re-execute all of the stream's
1617
+ * acquire operations.
1618
+ *
1619
+ * The schedule is reset as soon as the first element passes through the
1620
+ * stream again.
1621
+ *
1622
+ * @param schedule A `Schedule` receiving as input the errors of the stream.
1623
+ * @since 2.0.0
1624
+ * @category utils
1625
+ */
1626
+ export const retry = internal.retry;
1627
+ /**
1628
+ * Runs the sink on the stream to produce either the sink's result or an error.
1629
+ *
1630
+ * @since 2.0.0
1631
+ * @category destructors
1632
+ */
1633
+ export const run = internal.run;
1634
+ /**
1635
+ * Runs the stream and collects all of its elements to a chunk.
1636
+ *
1637
+ * @since 2.0.0
1638
+ * @category destructors
1639
+ */
1640
+ export const runCollect = internal.runCollect;
1641
+ /**
1642
+ * Runs the stream and emits the number of elements processed
1643
+ *
1644
+ * @since 2.0.0
1645
+ * @category destructors
1646
+ */
1647
+ export const runCount = internal.runCount;
1648
+ /**
1649
+ * Runs the stream only for its effects. The emitted elements are discarded.
1650
+ *
1651
+ * @since 2.0.0
1652
+ * @category destructors
1653
+ */
1654
+ export const runDrain = internal.runDrain;
1655
+ /**
1656
+ * Executes a pure fold over the stream of values - reduces all elements in
1657
+ * the stream to a value of type `S`.
1658
+ *
1659
+ * @since 2.0.0
1660
+ * @category destructors
1661
+ */
1662
+ export const runFold = internal.runFold;
1663
+ /**
1664
+ * Executes an effectful fold over the stream of values.
1665
+ *
1666
+ * @since 2.0.0
1667
+ * @category destructors
1668
+ */
1669
+ export const runFoldEffect = internal.runFoldEffect;
1670
+ /**
1671
+ * Executes a pure fold over the stream of values. Returns a scoped value that
1672
+ * represents the scope of the stream.
1673
+ *
1674
+ * @since 2.0.0
1675
+ * @category destructors
1676
+ */
1677
+ export const runFoldScoped = internal.runFoldScoped;
1678
+ /**
1679
+ * Executes an effectful fold over the stream of values. Returns a scoped
1680
+ * value that represents the scope of the stream.
1681
+ *
1682
+ * @since 2.0.0
1683
+ * @category destructors
1684
+ */
1685
+ export const runFoldScopedEffect = internal.runFoldScopedEffect;
1686
+ /**
1687
+ * Reduces the elements in the stream to a value of type `S`. Stops the fold
1688
+ * early when the condition is not fulfilled. Example:
1689
+ *
1690
+ * @since 2.0.0
1691
+ * @category destructors
1692
+ */
1693
+ export const runFoldWhile = internal.runFoldWhile;
1694
+ /**
1695
+ * Executes an effectful fold over the stream of values. Stops the fold early
1696
+ * when the condition is not fulfilled.
1697
+ *
1698
+ * @since 2.0.0
1699
+ * @category destructors
1700
+ */
1701
+ export const runFoldWhileEffect = internal.runFoldWhileEffect;
1702
+ /**
1703
+ * Executes a pure fold over the stream of values. Returns a scoped value that
1704
+ * represents the scope of the stream. Stops the fold early when the condition
1705
+ * is not fulfilled.
1706
+ *
1707
+ * @since 2.0.0
1708
+ * @category destructors
1709
+ */
1710
+ export const runFoldWhileScoped = internal.runFoldWhileScoped;
1711
+ /**
1712
+ * Executes an effectful fold over the stream of values. Returns a scoped
1713
+ * value that represents the scope of the stream. Stops the fold early when
1714
+ * the condition is not fulfilled.
1715
+ *
1716
+ * @since 2.0.0
1717
+ * @category destructors
1718
+ */
1719
+ export const runFoldWhileScopedEffect = internal.runFoldWhileScopedEffect;
1720
+ /**
1721
+ * Consumes all elements of the stream, passing them to the specified
1722
+ * callback.
1723
+ *
1724
+ * @since 2.0.0
1725
+ * @category destructors
1726
+ */
1727
+ export const runForEach = internal.runForEach;
1728
+ /**
1729
+ * Consumes all elements of the stream, passing them to the specified
1730
+ * callback.
1731
+ *
1732
+ * @since 2.0.0
1733
+ * @category destructors
1734
+ */
1735
+ export const runForEachChunk = internal.runForEachChunk;
1736
+ /**
1737
+ * Like `Stream.runForEachChunk`, but returns a scoped effect so the
1738
+ * finalization order can be controlled.
1739
+ *
1740
+ * @since 2.0.0
1741
+ * @category destructors
1742
+ */
1743
+ export const runForEachChunkScoped = internal.runForEachChunkScoped;
1744
+ /**
1745
+ * Like `Stream.forEach`, but returns a scoped effect so the finalization
1746
+ * order can be controlled.
1747
+ *
1748
+ * @since 2.0.0
1749
+ * @category destructors
1750
+ */
1751
+ export const runForEachScoped = internal.runForEachScoped;
1752
+ /**
1753
+ * Consumes elements of the stream, passing them to the specified callback,
1754
+ * and terminating consumption when the callback returns `false`.
1755
+ *
1756
+ * @since 2.0.0
1757
+ * @category destructors
1758
+ */
1759
+ export const runForEachWhile = internal.runForEachWhile;
1760
+ /**
1761
+ * Like `Stream.runForEachWhile`, but returns a scoped effect so the
1762
+ * finalization order can be controlled.
1763
+ *
1764
+ * @since 2.0.0
1765
+ * @category destructors
1766
+ */
1767
+ export const runForEachWhileScoped = internal.runForEachWhileScoped;
1768
+ /**
1769
+ * Runs the stream to completion and yields the first value emitted by it,
1770
+ * discarding the rest of the elements.
1771
+ *
1772
+ * @since 2.0.0
1773
+ * @category destructors
1774
+ */
1775
+ export const runHead = internal.runHead;
1776
+ /**
1777
+ * Publishes elements of this stream to a `PubSub`. Stream failure and ending will
1778
+ * also be signalled.
1779
+ *
1780
+ * @since 2.0.0
1781
+ * @category destructors
1782
+ */
1783
+ export const runIntoPubSub = internal.runIntoPubSub;
1784
+ /**
1785
+ * Like `Stream.runIntoPubSub`, but provides the result as a scoped effect to
1786
+ * allow for scope composition.
1787
+ *
1788
+ * @since 2.0.0
1789
+ * @category destructors
1790
+ */
1791
+ export const runIntoPubSubScoped = internal.runIntoPubSubScoped;
1792
+ /**
1793
+ * Enqueues elements of this stream into a queue. Stream failure and ending
1794
+ * will also be signalled.
1795
+ *
1796
+ * @since 2.0.0
1797
+ * @category destructors
1798
+ */
1799
+ export const runIntoQueue = internal.runIntoQueue;
1800
+ /**
1801
+ * Like `Stream.runIntoQueue`, but provides the result as a scoped [[ZIO]]
1802
+ * to allow for scope composition.
1803
+ *
1804
+ * @since 2.0.0
1805
+ * @category destructors
1806
+ */
1807
+ export const runIntoQueueElementsScoped = internal.runIntoQueueElementsScoped;
1808
+ /**
1809
+ * Like `Stream.runIntoQueue`, but provides the result as a scoped effect
1810
+ * to allow for scope composition.
1811
+ *
1812
+ * @since 2.0.0
1813
+ * @category destructors
1814
+ */
1815
+ export const runIntoQueueScoped = internal.runIntoQueueScoped;
1816
+ /**
1817
+ * Runs the stream to completion and yields the last value emitted by it,
1818
+ * discarding the rest of the elements.
1819
+ *
1820
+ * @since 2.0.0
1821
+ * @category destructors
1822
+ */
1823
+ export const runLast = internal.runLast;
1824
+ /**
1825
+ * @since 2.0.0
1826
+ * @category destructors
1827
+ */
1828
+ export const runScoped = internal.runScoped;
1829
+ /**
1830
+ * Runs the stream to a sink which sums elements, provided they are Numeric.
1831
+ *
1832
+ * @since 2.0.0
1833
+ * @category destructors
1834
+ */
1835
+ export const runSum = internal.runSum;
1836
+ /**
1837
+ * Statefully maps over the elements of this stream to produce all
1838
+ * intermediate results of type `S` given an initial S.
1839
+ *
1840
+ * @since 2.0.0
1841
+ * @category utils
1842
+ */
1843
+ export const scan = internal.scan;
1844
+ /**
1845
+ * Statefully and effectfully maps over the elements of this stream to produce
1846
+ * all intermediate results of type `S` given an initial S.
1847
+ *
1848
+ * @since 2.0.0
1849
+ * @category utils
1850
+ */
1851
+ export const scanEffect = internal.scanEffect;
1852
+ /**
1853
+ * Statefully maps over the elements of this stream to produce all
1854
+ * intermediate results.
1855
+ *
1856
+ * See also `Stream.scan`.
1857
+ *
1858
+ * @since 2.0.0
1859
+ * @category utils
1860
+ */
1861
+ export const scanReduce = internal.scanReduce;
1862
+ /**
1863
+ * Statefully and effectfully maps over the elements of this stream to produce
1864
+ * all intermediate results.
1865
+ *
1866
+ * See also `Stream.scanEffect`.
1867
+ *
1868
+ * @since 2.0.0
1869
+ * @category utils
1870
+ */
1871
+ export const scanReduceEffect = internal.scanReduceEffect;
1872
+ /**
1873
+ * Schedules the output of the stream using the provided `schedule`.
1874
+ *
1875
+ * @since 2.0.0
1876
+ * @category utils
1877
+ */
1878
+ export const schedule = internal.schedule;
1879
+ /**
1880
+ * Schedules the output of the stream using the provided `schedule` and emits
1881
+ * its output at the end (if `schedule` is finite). Uses the provided function
1882
+ * to align the stream and schedule outputs on the same type.
1883
+ *
1884
+ * @since 2.0.0
1885
+ * @category utils
1886
+ */
1887
+ export const scheduleWith = internal.scheduleWith;
1888
+ /**
1889
+ * Creates a single-valued stream from a scoped resource.
1890
+ *
1891
+ * @since 2.0.0
1892
+ * @category constructors
1893
+ */
1894
+ export const scoped = internal.scoped;
1895
+ /**
1896
+ * Emits a sliding window of `n` elements.
1897
+ *
1898
+ * ```ts
1899
+ * import * as Stream from "./Stream"
1900
+ * import { pipe } from "./Function"
1901
+ *
1902
+ * pipe(
1903
+ * Stream.make(1, 2, 3, 4),
1904
+ * Stream.sliding(2),
1905
+ * Stream.runCollect
1906
+ * )
1907
+ * // => Chunk(Chunk(1, 2), Chunk(2, 3), Chunk(3, 4))
1908
+ * ```
1909
+ *
1910
+ * @since 2.0.0
1911
+ * @category utils
1912
+ */
1913
+ export const sliding = internal.sliding;
1914
+ /**
1915
+ * Like `sliding`, but with a configurable `stepSize` parameter.
1916
+ *
1917
+ * @since 2.0.0
1918
+ * @category utils
1919
+ */
1920
+ export const slidingSize = internal.slidingSize;
1921
+ /**
1922
+ * Converts an option on values into an option on errors.
1923
+ *
1924
+ * @since 2.0.0
1925
+ * @category utils
1926
+ */
1927
+ export const some = internal.some;
1928
+ /**
1929
+ * Extracts the optional value, or returns the given 'default'.
1930
+ *
1931
+ * @since 2.0.0
1932
+ * @category utils
1933
+ */
1934
+ export const someOrElse = internal.someOrElse;
1935
+ /**
1936
+ * Extracts the optional value, or fails with the given error 'e'.
1937
+ *
1938
+ * @since 2.0.0
1939
+ * @category utils
1940
+ */
1941
+ export const someOrFail = internal.someOrFail;
1942
+ /**
1943
+ * Splits elements based on a predicate.
1944
+ *
1945
+ * ```ts
1946
+ * import * as Stream from "./Stream"
1947
+ * import { pipe } from "./Function"
1948
+ *
1949
+ * pipe(
1950
+ * Stream.range(1, 10),
1951
+ * Stream.split((n) => n % 4 === 0),
1952
+ * Stream.runCollect
1953
+ * )
1954
+ * // => Chunk(Chunk(1, 2, 3), Chunk(5, 6, 7), Chunk(9))
1955
+ * ```
1956
+ *
1957
+ * @since 2.0.0
1958
+ * @category utils
1959
+ */
1960
+ export const split = internal.split;
1961
+ /**
1962
+ * Splits elements on a delimiter and transforms the splits into desired output.
1963
+ *
1964
+ * @since 2.0.0
1965
+ * @category utils
1966
+ */
1967
+ export const splitOnChunk = internal.splitOnChunk;
1968
+ /**
1969
+ * Splits strings on newlines. Handles both Windows newlines (`\r\n`) and UNIX
1970
+ * newlines (`\n`).
1971
+ *
1972
+ * @since 2.0.0
1973
+ * @category combinators
1974
+ */
1975
+ export const splitLines = internal.splitLines;
1976
+ /**
1977
+ * Creates a single-valued pure stream.
1978
+ *
1979
+ * @since 2.0.0
1980
+ * @category constructors
1981
+ */
1982
+ export const succeed = internal.succeed;
1983
+ /**
1984
+ * Creates a single-valued pure stream.
1985
+ *
1986
+ * @since 2.0.0
1987
+ * @category constructors
1988
+ */
1989
+ export const sync = internal.sync;
1990
+ /**
1991
+ * Returns a lazily constructed stream.
1992
+ *
1993
+ * @since 2.0.0
1994
+ * @category constructors
1995
+ */
1996
+ export const suspend = internal.suspend;
1997
+ /**
1998
+ * Takes the specified number of elements from this stream.
1999
+ *
2000
+ * @since 2.0.0
2001
+ * @category utils
2002
+ */
2003
+ export const take = internal.take;
2004
+ /**
2005
+ * Takes the last specified number of elements from this stream.
2006
+ *
2007
+ * @since 2.0.0
2008
+ * @category utils
2009
+ */
2010
+ export const takeRight = internal.takeRight;
2011
+ /**
2012
+ * Takes all elements of the stream until the specified predicate evaluates to
2013
+ * `true`.
2014
+ *
2015
+ * @since 2.0.0
2016
+ * @category utils
2017
+ */
2018
+ export const takeUntil = internal.takeUntil;
2019
+ /**
2020
+ * Takes all elements of the stream until the specified effectual predicate
2021
+ * evaluates to `true`.
2022
+ *
2023
+ * @since 2.0.0
2024
+ * @category utils
2025
+ */
2026
+ export const takeUntilEffect = internal.takeUntilEffect;
2027
+ /**
2028
+ * Takes all elements of the stream for as long as the specified predicate
2029
+ * evaluates to `true`.
2030
+ *
2031
+ * @since 2.0.0
2032
+ * @category utils
2033
+ */
2034
+ export const takeWhile = internal.takeWhile;
2035
+ /**
2036
+ * Adds an effect to consumption of every element of the stream.
2037
+ *
2038
+ * @since 2.0.0
2039
+ * @category sequencing
2040
+ */
2041
+ export const tap = internal.tap;
2042
+ /**
2043
+ * Returns a stream that effectfully "peeks" at the failure or success of
2044
+ * the stream.
2045
+ *
2046
+ * @since 2.0.0
2047
+ * @category sequencing
2048
+ */
2049
+ export const tapBoth = internal.tapBoth;
2050
+ /**
2051
+ * Returns a stream that effectfully "peeks" at the failure of the stream.
2052
+ *
2053
+ * @since 2.0.0
2054
+ * @category sequencing
2055
+ */
2056
+ export const tapError = internal.tapError;
2057
+ /**
2058
+ * Returns a stream that effectfully "peeks" at the cause of failure of the
2059
+ * stream.
2060
+ *
2061
+ * @since 2.0.0
2062
+ * @category utils
2063
+ */
2064
+ export const tapErrorCause = internal.tapErrorCause;
2065
+ /**
2066
+ * Sends all elements emitted by this stream to the specified sink in addition
2067
+ * to emitting them.
2068
+ *
2069
+ * @since 2.0.0
2070
+ * @category sequencing
2071
+ */
2072
+ export const tapSink = internal.tapSink;
2073
+ /**
2074
+ * Delays the chunks of this stream according to the given bandwidth
2075
+ * parameters using the token bucket algorithm. Allows for burst in the
2076
+ * processing of elements by allowing the token bucket to accumulate tokens up
2077
+ * to a `units + burst` threshold. The weight of each chunk is determined by
2078
+ * the `costFn` function.
2079
+ *
2080
+ * If using the "enforce" strategy, chunks that do not meet the bandwidth
2081
+ * constraints are dropped. If using the "shape" strategy, chunks are delayed
2082
+ * until they can be emitted without exceeding the bandwidth constraints.
2083
+ *
2084
+ * Defaults to the "shape" strategy.
2085
+ *
2086
+ * @since 2.0.0
2087
+ * @category utils
2088
+ */
2089
+ export const throttle = internal.throttle;
2090
+ /**
2091
+ * Delays the chunks of this stream according to the given bandwidth
2092
+ * parameters using the token bucket algorithm. Allows for burst in the
2093
+ * processing of elements by allowing the token bucket to accumulate tokens up
2094
+ * to a `units + burst` threshold. The weight of each chunk is determined by
2095
+ * the effectful `costFn` function.
2096
+ *
2097
+ * If using the "enforce" strategy, chunks that do not meet the bandwidth
2098
+ * constraints are dropped. If using the "shape" strategy, chunks are delayed
2099
+ * until they can be emitted without exceeding the bandwidth constraints.
2100
+ *
2101
+ * Defaults to the "shape" strategy.
2102
+ *
2103
+ * @since 2.0.0
2104
+ * @category utils
2105
+ */
2106
+ export const throttleEffect = internal.throttleEffect;
2107
+ /**
2108
+ * A stream that emits Unit values spaced by the specified duration.
2109
+ *
2110
+ * @since 2.0.0
2111
+ * @category constructors
2112
+ */
2113
+ export const tick = internal.tick;
2114
+ /**
2115
+ * Ends the stream if it does not produce a value after the specified duration.
2116
+ *
2117
+ * @since 2.0.0
2118
+ * @category utils
2119
+ */
2120
+ export const timeout = internal.timeout;
2121
+ /**
2122
+ * Fails the stream with given error if it does not produce a value after d
2123
+ * duration.
2124
+ *
2125
+ * @since 2.0.0
2126
+ * @category utils
2127
+ */
2128
+ export const timeoutFail = internal.timeoutFail;
2129
+ /**
2130
+ * Fails the stream with given cause if it does not produce a value after d
2131
+ * duration.
2132
+ *
2133
+ * @since 2.0.0
2134
+ * @category utils
2135
+ */
2136
+ export const timeoutFailCause = internal.timeoutFailCause;
2137
+ /**
2138
+ * Switches the stream if it does not produce a value after the specified
2139
+ * duration.
2140
+ *
2141
+ * @since 2.0.0
2142
+ * @category utils
2143
+ */
2144
+ export const timeoutTo = internal.timeoutTo;
2145
+ /**
2146
+ * Converts the stream to a scoped `PubSub` of chunks. After the scope is closed,
2147
+ * the `PubSub` will never again produce values and should be discarded.
2148
+ *
2149
+ * @since 2.0.0
2150
+ * @category destructors
2151
+ */
2152
+ export const toPubSub = internal.toPubSub;
2153
+ /**
2154
+ * Returns in a scope a ZIO effect that can be used to repeatedly pull chunks
2155
+ * from the stream. The pull effect fails with None when the stream is
2156
+ * finished, or with Some error if it fails, otherwise it returns a chunk of
2157
+ * the stream's output.
2158
+ *
2159
+ * @since 2.0.0
2160
+ * @category destructors
2161
+ */
2162
+ export const toPull = internal.toPull;
2163
+ /**
2164
+ * Converts the stream to a scoped queue of chunks. After the scope is closed,
2165
+ * the queue will never again produce values and should be discarded.
2166
+ *
2167
+ * Defaults to the "suspend" back pressure strategy with a capacity of 2.
2168
+ *
2169
+ * @since 2.0.0
2170
+ * @category destructors
2171
+ */
2172
+ export const toQueue = internal.toQueue;
2173
+ /**
2174
+ * Converts the stream to a scoped queue of elements. After the scope is
2175
+ * closed, the queue will never again produce values and should be discarded.
2176
+ *
2177
+ * Defaults to a capacity of 2.
2178
+ *
2179
+ * @since 2.0.0
2180
+ * @category destructors
2181
+ */
2182
+ export const toQueueOfElements = internal.toQueueOfElements;
2183
+ /**
2184
+ * Converts the stream to a `ReadableStream`.
2185
+ *
2186
+ * See https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream.
2187
+ *
2188
+ * @since 2.0.0
2189
+ * @category destructors
2190
+ */
2191
+ export const toReadableStream = internal.toReadableStream;
2192
+ /**
2193
+ * Applies the transducer to the stream and emits its outputs.
2194
+ *
2195
+ * @since 2.0.0
2196
+ * @category utils
2197
+ */
2198
+ export const transduce = internal.transduce;
2199
+ /**
2200
+ * Creates a stream by peeling off the "layers" of a value of type `S`.
2201
+ *
2202
+ * @since 2.0.0
2203
+ * @category constructors
2204
+ */
2205
+ export const unfold = internal.unfold;
2206
+ /**
2207
+ * Creates a stream by peeling off the "layers" of a value of type `S`.
2208
+ *
2209
+ * @since 2.0.0
2210
+ * @category constructors
2211
+ */
2212
+ export const unfoldChunk = internal.unfoldChunk;
2213
+ /**
2214
+ * Creates a stream by effectfully peeling off the "layers" of a value of type
2215
+ * `S`.
2216
+ *
2217
+ * @since 2.0.0
2218
+ * @category constructors
2219
+ */
2220
+ export const unfoldChunkEffect = internal.unfoldChunkEffect;
2221
+ /**
2222
+ * Creates a stream by effectfully peeling off the "layers" of a value of type
2223
+ * `S`.
2224
+ *
2225
+ * @since 2.0.0
2226
+ * @category constructors
2227
+ */
2228
+ export const unfoldEffect = internal.unfoldEffect;
2229
+ /**
2230
+ * A stream that contains a single `Unit` value.
2231
+ *
2232
+ * @since 2.0.0
2233
+ * @category constructors
2234
+ */
2235
+ export const unit = internal.unit;
2236
+ /**
2237
+ * Creates a stream produced from an `Effect`.
2238
+ *
2239
+ * @since 2.0.0
2240
+ * @category constructors
2241
+ */
2242
+ export const unwrap = internal.unwrap;
2243
+ /**
2244
+ * Creates a stream produced from a scoped `Effect`.
2245
+ *
2246
+ * @since 2.0.0
2247
+ * @category constructors
2248
+ */
2249
+ export const unwrapScoped = internal.unwrapScoped;
2250
+ /**
2251
+ * Updates the specified service within the context of the `Stream`.
2252
+ *
2253
+ * @since 2.0.0
2254
+ * @category context
2255
+ */
2256
+ export const updateService = internal.updateService;
2257
+ /**
2258
+ * Returns the specified stream if the given condition is satisfied, otherwise
2259
+ * returns an empty stream.
2260
+ *
2261
+ * @since 2.0.0
2262
+ * @category utils
2263
+ */
2264
+ export const when = internal.when;
2265
+ /**
2266
+ * Returns the resulting stream when the given `PartialFunction` is defined
2267
+ * for the given value, otherwise returns an empty stream.
2268
+ *
2269
+ * @since 2.0.0
2270
+ * @category constructors
2271
+ */
2272
+ export const whenCase = internal.whenCase;
2273
+ /**
2274
+ * Returns the stream when the given partial function is defined for the given
2275
+ * effectful value, otherwise returns an empty stream.
2276
+ *
2277
+ * @since 2.0.0
2278
+ * @category utils
2279
+ */
2280
+ export const whenCaseEffect = internal.whenCaseEffect;
2281
+ /**
2282
+ * Returns the stream if the given effectful condition is satisfied, otherwise
2283
+ * returns an empty stream.
2284
+ *
2285
+ * @since 2.0.0
2286
+ * @category utils
2287
+ */
2288
+ export const whenEffect = internal.whenEffect;
2289
+ /**
2290
+ * Wraps the stream with a new span for tracing.
2291
+ *
2292
+ * @since 2.0.0
2293
+ * @category tracing
2294
+ */
2295
+ export const withSpan = internal.withSpan;
2296
+ /**
2297
+ * Zips this stream with another point-wise and emits tuples of elements from
2298
+ * both streams.
2299
+ *
2300
+ * The new stream will end when one of the sides ends.
2301
+ *
2302
+ * @since 2.0.0
2303
+ * @category zipping
2304
+ */
2305
+ export const zip = internal.zip;
2306
+ /**
2307
+ * Zips this stream with another point-wise and emits tuples of elements from
2308
+ * both streams.
2309
+ *
2310
+ * The new stream will end when one of the sides ends.
2311
+ *
2312
+ * @since 2.0.0
2313
+ * @category zipping
2314
+ */
2315
+ export const zipFlatten = internal.zipFlatten;
2316
+ /**
2317
+ * Zips this stream with another point-wise, creating a new stream of pairs of
2318
+ * elements from both sides.
2319
+ *
2320
+ * The defaults `defaultLeft` and `defaultRight` will be used if the streams
2321
+ * have different lengths and one of the streams has ended before the other.
2322
+ *
2323
+ * @since 2.0.0
2324
+ * @category zipping
2325
+ */
2326
+ export const zipAll = internal.zipAll;
2327
+ /**
2328
+ * Zips this stream with another point-wise, and keeps only elements from this
2329
+ * stream.
2330
+ *
2331
+ * The provided default value will be used if the other stream ends before
2332
+ * this one.
2333
+ *
2334
+ * @since 2.0.0
2335
+ * @category zipping
2336
+ */
2337
+ export const zipAllLeft = internal.zipAllLeft;
2338
+ /**
2339
+ * Zips this stream with another point-wise, and keeps only elements from the
2340
+ * other stream.
2341
+ *
2342
+ * The provided default value will be used if this stream ends before the
2343
+ * other one.
2344
+ *
2345
+ * @since 2.0.0
2346
+ * @category zipping
2347
+ */
2348
+ export const zipAllRight = internal.zipAllRight;
2349
+ /**
2350
+ * Zips this stream that is sorted by distinct keys and the specified stream
2351
+ * that is sorted by distinct keys to produce a new stream that is sorted by
2352
+ * distinct keys. Combines values associated with each key into a tuple,
2353
+ * using the specified values `defaultLeft` and `defaultRight` to fill in
2354
+ * missing values.
2355
+ *
2356
+ * This allows zipping potentially unbounded streams of data by key in
2357
+ * constant space but the caller is responsible for ensuring that the
2358
+ * streams are sorted by distinct keys.
2359
+ *
2360
+ * @since 2.0.0
2361
+ * @category zipping
2362
+ */
2363
+ export const zipAllSortedByKey = internal.zipAllSortedByKey;
2364
+ /**
2365
+ * Zips this stream that is sorted by distinct keys and the specified stream
2366
+ * that is sorted by distinct keys to produce a new stream that is sorted by
2367
+ * distinct keys. Keeps only values from this stream, using the specified
2368
+ * value `default` to fill in missing values.
2369
+ *
2370
+ * This allows zipping potentially unbounded streams of data by key in
2371
+ * constant space but the caller is responsible for ensuring that the
2372
+ * streams are sorted by distinct keys.
2373
+ *
2374
+ * @since 2.0.0
2375
+ * @category zipping
2376
+ */
2377
+ export const zipAllSortedByKeyLeft = internal.zipAllSortedByKeyLeft;
2378
+ /**
2379
+ * Zips this stream that is sorted by distinct keys and the specified stream
2380
+ * that is sorted by distinct keys to produce a new stream that is sorted by
2381
+ * distinct keys. Keeps only values from that stream, using the specified
2382
+ * value `default` to fill in missing values.
2383
+ *
2384
+ * This allows zipping potentially unbounded streams of data by key in
2385
+ * constant space but the caller is responsible for ensuring that the
2386
+ * streams are sorted by distinct keys.
2387
+ *
2388
+ * @since 2.0.0
2389
+ * @category zipping
2390
+ */
2391
+ export const zipAllSortedByKeyRight = internal.zipAllSortedByKeyRight;
2392
+ /**
2393
+ * Zips this stream that is sorted by distinct keys and the specified stream
2394
+ * that is sorted by distinct keys to produce a new stream that is sorted by
2395
+ * distinct keys. Uses the functions `left`, `right`, and `both` to handle
2396
+ * the cases where a key and value exist in this stream, that stream, or
2397
+ * both streams.
2398
+ *
2399
+ * This allows zipping potentially unbounded streams of data by key in
2400
+ * constant space but the caller is responsible for ensuring that the
2401
+ * streams are sorted by distinct keys.
2402
+ *
2403
+ * @since 2.0.0
2404
+ * @category zipping
2405
+ */
2406
+ export const zipAllSortedByKeyWith = internal.zipAllSortedByKeyWith;
2407
+ /**
2408
+ * Zips this stream with another point-wise. The provided functions will be
2409
+ * used to create elements for the composed stream.
2410
+ *
2411
+ * The functions `left` and `right` will be used if the streams have different
2412
+ * lengths and one of the streams has ended before the other.
2413
+ *
2414
+ * @since 2.0.0
2415
+ * @category zipping
2416
+ */
2417
+ export const zipAllWith = internal.zipAllWith;
2418
+ /**
2419
+ * Zips the two streams so that when a value is emitted by either of the two
2420
+ * streams, it is combined with the latest value from the other stream to
2421
+ * produce a result.
2422
+ *
2423
+ * Note: tracking the latest value is done on a per-chunk basis. That means
2424
+ * that emitted elements that are not the last value in chunks will never be
2425
+ * used for zipping.
2426
+ *
2427
+ * @since 2.0.0
2428
+ * @category zipping
2429
+ */
2430
+ export const zipLatest = internal.zipLatest;
2431
+ /**
2432
+ * Zips the two streams so that when a value is emitted by either of the two
2433
+ * streams, it is combined with the latest value from the other stream to
2434
+ * produce a result.
2435
+ *
2436
+ * Note: tracking the latest value is done on a per-chunk basis. That means
2437
+ * that emitted elements that are not the last value in chunks will never be
2438
+ * used for zipping.
2439
+ *
2440
+ * @since 2.0.0
2441
+ * @category zipping
2442
+ */
2443
+ export const zipLatestWith = internal.zipLatestWith;
2444
+ /**
2445
+ * Zips this stream with another point-wise, but keeps only the outputs of
2446
+ * this stream.
2447
+ *
2448
+ * The new stream will end when one of the sides ends.
2449
+ *
2450
+ * @since 2.0.0
2451
+ * @category zipping
2452
+ */
2453
+ export const zipLeft = internal.zipLeft;
2454
+ /**
2455
+ * Zips this stream with another point-wise, but keeps only the outputs of the
2456
+ * other stream.
2457
+ *
2458
+ * The new stream will end when one of the sides ends.
2459
+ *
2460
+ * @since 2.0.0
2461
+ * @category zipping
2462
+ */
2463
+ export const zipRight = internal.zipRight;
2464
+ /**
2465
+ * Zips this stream with another point-wise and applies the function to the
2466
+ * paired elements.
2467
+ *
2468
+ * The new stream will end when one of the sides ends.
2469
+ *
2470
+ * @since 2.0.0
2471
+ * @category zipping
2472
+ */
2473
+ export const zipWith = internal.zipWith;
2474
+ /**
2475
+ * Zips this stream with another point-wise and applies the function to the
2476
+ * paired elements.
2477
+ *
2478
+ * The new stream will end when one of the sides ends.
2479
+ *
2480
+ * @since 2.0.0
2481
+ * @category zipping
2482
+ */
2483
+ export const zipWithChunks = internal.zipWithChunks;
2484
+ /**
2485
+ * Zips each element with the next element if present.
2486
+ *
2487
+ * @since 2.0.0
2488
+ * @category zipping
2489
+ */
2490
+ export const zipWithNext = internal.zipWithNext;
2491
+ /**
2492
+ * Zips each element with the previous element. Initially accompanied by
2493
+ * `None`.
2494
+ *
2495
+ * @since 2.0.0
2496
+ * @category zipping
2497
+ */
2498
+ export const zipWithPrevious = internal.zipWithPrevious;
2499
+ /**
2500
+ * Zips each element with both the previous and next element.
2501
+ *
2502
+ * @since 2.0.0
2503
+ * @category zipping
2504
+ */
2505
+ export const zipWithPreviousAndNext = internal.zipWithPreviousAndNext;
2506
+ /**
2507
+ * Zips this stream together with the index of elements.
2508
+ *
2509
+ * @since 2.0.0
2510
+ * @category zipping
2511
+ */
2512
+ export const zipWithIndex = internal.zipWithIndex;
2513
+ // -------------------------------------------------------------------------------------
2514
+ // Do notation
2515
+ // -------------------------------------------------------------------------------------
2516
+ /**
2517
+ * @since 2.0.0
2518
+ * @category do notation
2519
+ */
2520
+ export const Do = internal.Do;
2521
+ /**
2522
+ * Binds a value from a stream in a `do` scope
2523
+ *
2524
+ * @since 2.0.0
2525
+ * @category do notation
2526
+ */
2527
+ export const bind = internal.bind;
2528
+ /**
2529
+ * Binds an effectful value in a `do` scope
2530
+ *
2531
+ * @since 2.0.0
2532
+ * @category do notation
2533
+ */
2534
+ export const bindEffect = _groupBy.bindEffect;
2535
+ /**
2536
+ * @since 2.0.0
2537
+ * @category do notation
2538
+ */
2539
+ export const bindTo = internal.bindTo;
2540
+ const let_ = internal.let_;
2541
+ export {
2542
+ /**
2543
+ * Bind a value in a `do` scope
2544
+ *
2545
+ * @since 2.0.0
2546
+ * @category do notation
2547
+ */
2548
+ let_ as let };
2549
+ // -------------------------------------------------------------------------------------
2550
+ // encoding
2551
+ // -------------------------------------------------------------------------------------
2552
+ /**
2553
+ * Decode Uint8Array chunks into a stream of strings using the specified encoding.
2554
+ *
2555
+ * @since 2.0.0
2556
+ * @category encoding
2557
+ */
2558
+ export const decodeText = internal.decodeText;
2559
+ /**
2560
+ * Encode a stream of strings into a stream of Uint8Array chunks using the specified encoding.
2561
+ *
2562
+ * @since 2.0.0
2563
+ * @category encoding
2564
+ */
2565
+ export const encodeText = internal.encodeText;
2566
+ //# sourceMappingURL=Stream.js.map