@fncts/io 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1089) hide show
  1. package/Cached/api.d.ts +2 -2
  2. package/Channel/ChildExecutorDecision/api.d.ts +2 -2
  3. package/Channel/UpstreamPullRequest/api.d.ts +2 -2
  4. package/Channel/api/interruptWhen.d.ts +5 -5
  5. package/Channel/api/mapOutIOC.d.ts +3 -3
  6. package/Channel/api/mergeAll.d.ts +2 -2
  7. package/Channel/api/mergeAllUnboundedWith.d.ts +2 -2
  8. package/Channel/api/mergeAllWith.d.ts +2 -2
  9. package/Channel/api/mergeMap.d.ts +2 -2
  10. package/Channel/api/mergeWith.d.ts +2 -2
  11. package/Channel/api/zipC.d.ts +6 -6
  12. package/Channel/api.d.ts +64 -64
  13. package/Channel/core-api.d.ts +11 -11
  14. package/Channel/definition.d.ts +35 -21
  15. package/Fiber/api/evalOn.d.ts +3 -3
  16. package/Fiber/api/evalOnIO.d.ts +3 -3
  17. package/Fiber/api/interruptAs.d.ts +3 -3
  18. package/Fiber/api/interruptAsFork.d.ts +3 -3
  19. package/Fiber/api/mapFiber.d.ts +2 -2
  20. package/Fiber/api/mapIO.d.ts +5 -5
  21. package/Fiber/api/zipWith.d.ts +2 -2
  22. package/Fiber.d.ts +1 -0
  23. package/FiberRef/api/locallyScoped.d.ts +2 -2
  24. package/FiberRef/api/locallyScopedWith.d.ts +2 -2
  25. package/FiberRef/api.d.ts +18 -18
  26. package/FiberRefs/api.d.ts +2 -2
  27. package/FiberRefs/join.d.ts +3 -3
  28. package/Future/api.d.ts +21 -21
  29. package/Hub/constructors.d.ts +49 -0
  30. package/Hub/definition.d.ts +37 -81
  31. package/Hub/internal.d.ts +4 -11
  32. package/Hub.d.ts +1 -1
  33. package/IO/api/acquireRelease.d.ts +1 -1
  34. package/IO/api/acquireReleaseExit.d.ts +1 -1
  35. package/IO/api/bracket.d.ts +1 -1
  36. package/IO/api/bracketExit.d.ts +1 -1
  37. package/IO/api/concurrency.d.ts +2 -2
  38. package/IO/api/core-scope.d.ts +5 -5
  39. package/IO/api/ensuringChildren.d.ts +3 -3
  40. package/IO/api/environment.d.ts +11 -15
  41. package/IO/api/foreachC.d.ts +2 -2
  42. package/IO/api/foreachExec.d.ts +1 -1
  43. package/IO/api/forkIn.d.ts +3 -3
  44. package/IO/api/fulfill.d.ts +3 -3
  45. package/IO/api/interrupt.d.ts +6 -6
  46. package/IO/api/onExit.d.ts +3 -3
  47. package/IO/api/onTermination.d.ts +4 -4
  48. package/IO/api/provideLayer.d.ts +3 -3
  49. package/IO/api/provideSomeLayer.d.ts +3 -7
  50. package/IO/api/race.d.ts +2 -2
  51. package/IO/api/raceFirst.d.ts +2 -2
  52. package/IO/api/repeat.d.ts +3 -3
  53. package/IO/api/retry.d.ts +7 -7
  54. package/IO/api/schedule.d.ts +5 -5
  55. package/IO/api/scoped.d.ts +2 -2
  56. package/IO/api/supervised.d.ts +3 -3
  57. package/IO/api/timeout.d.ts +5 -5
  58. package/IO/api/withFinalizer.d.ts +3 -3
  59. package/IO/api/withFinalizerExit.d.ts +3 -3
  60. package/IO/api/withRuntimeConfig.d.ts +3 -3
  61. package/IO/api/zipC.d.ts +4 -4
  62. package/IO/api.d.ts +179 -176
  63. package/IO/definition.d.ts +15 -9
  64. package/Layer/MemoMap.d.ts +4 -4
  65. package/Layer/api.d.ts +28 -28
  66. package/LogLevel.d.ts +12 -12
  67. package/LogSpan.d.ts +2 -2
  68. package/Logger/api.d.ts +5 -5
  69. package/Queue/constructors.d.ts +2 -1
  70. package/Queue/definition.d.ts +91 -82
  71. package/Queue/internal.d.ts +7 -9
  72. package/Queue.d.ts +0 -2
  73. package/Ref/Atomic.d.ts +15 -2
  74. package/Ref/Synchronized.d.ts +72 -0
  75. package/Ref/constructors.d.ts +7 -0
  76. package/Ref/definition.d.ts +60 -58
  77. package/Ref.d.ts +1 -6
  78. package/STM/api/core-api.d.ts +10 -10
  79. package/STM/api.d.ts +61 -61
  80. package/STM/internal/Journal.d.ts +4 -4
  81. package/Schedule/Decision.d.ts +2 -2
  82. package/Schedule/api.d.ts +94 -94
  83. package/Scope/ReleaseMap/api/releaseAll.d.ts +2 -2
  84. package/Scope/ReleaseMap/api.d.ts +10 -10
  85. package/Scope/api.d.ts +8 -8
  86. package/Sink/api.d.ts +68 -68
  87. package/State/api.d.ts +4 -4
  88. package/State/internal.d.ts +1 -1
  89. package/Stream/api/zipAllWith.d.ts +2 -2
  90. package/Stream/api/zipWith.d.ts +2 -2
  91. package/Stream/api/zipWithChunks.d.ts +2 -2
  92. package/Stream/api.d.ts +216 -205
  93. package/Stream/internal/DebounceState.d.ts +3 -3
  94. package/Stream/internal/Handoff.d.ts +5 -5
  95. package/Stream/internal/Pull.d.ts +2 -2
  96. package/Stream/internal/SinkEndReason.d.ts +3 -3
  97. package/Stream/internal/Take.d.ts +8 -8
  98. package/SubscriptionRef.d.ts +29 -0
  99. package/Supervisor/api.d.ts +4 -4
  100. package/SupervisorPatch.d.ts +4 -4
  101. package/TFuture/api.d.ts +7 -7
  102. package/TReentrantLock/api.d.ts +4 -4
  103. package/TRef/api.d.ts +24 -24
  104. package/TSemaphore/api.d.ts +4 -4
  105. package/TSemaphore/constructors.d.ts +6 -0
  106. package/_cjs/Cached/api.cjs +9 -9
  107. package/_cjs/Cached/api.cjs.map +1 -1
  108. package/_cjs/Channel/ChildExecutorDecision/api.cjs +19 -17
  109. package/_cjs/Channel/ChildExecutorDecision/api.cjs.map +1 -1
  110. package/_cjs/Channel/UpstreamPullRequest/api.cjs +16 -14
  111. package/_cjs/Channel/UpstreamPullRequest/api.cjs.map +1 -1
  112. package/_cjs/Channel/api/interruptWhen.cjs +14 -10
  113. package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
  114. package/_cjs/Channel/api/mapOutIOC.cjs +25 -25
  115. package/_cjs/Channel/api/mapOutIOC.cjs.map +1 -1
  116. package/_cjs/Channel/api/mergeAll.cjs +6 -4
  117. package/_cjs/Channel/api/mergeAll.cjs.map +1 -1
  118. package/_cjs/Channel/api/mergeAllUnboundedWith.cjs +6 -4
  119. package/_cjs/Channel/api/mergeAllUnboundedWith.cjs.map +1 -1
  120. package/_cjs/Channel/api/mergeAllWith.cjs +48 -52
  121. package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
  122. package/_cjs/Channel/api/mergeMap.cjs +6 -4
  123. package/_cjs/Channel/api/mergeMap.cjs.map +1 -1
  124. package/_cjs/Channel/api/mergeWith.cjs +48 -46
  125. package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
  126. package/_cjs/Channel/api/run.cjs +1 -1
  127. package/_cjs/Channel/api/run.cjs.map +1 -1
  128. package/_cjs/Channel/api/runScoped.cjs +2 -2
  129. package/_cjs/Channel/api/runScoped.cjs.map +1 -1
  130. package/_cjs/Channel/api/toPull.cjs +3 -3
  131. package/_cjs/Channel/api/toPull.cjs.map +1 -1
  132. package/_cjs/Channel/api/zipC.cjs +20 -14
  133. package/_cjs/Channel/api/zipC.cjs.map +1 -1
  134. package/_cjs/Channel/api.cjs +264 -218
  135. package/_cjs/Channel/api.cjs.map +1 -1
  136. package/_cjs/Channel/core-api.cjs +34 -24
  137. package/_cjs/Channel/core-api.cjs.map +1 -1
  138. package/_cjs/Channel/definition.cjs +1 -1
  139. package/_cjs/Channel/definition.cjs.map +1 -1
  140. package/_cjs/Channel/internal/ChannelExecutor.cjs +83 -83
  141. package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
  142. package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +22 -24
  143. package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
  144. package/_cjs/Differ/api.cjs +5 -5
  145. package/_cjs/Differ/api.cjs.map +1 -1
  146. package/_cjs/Fiber/FiberContext.cjs +48 -48
  147. package/_cjs/Fiber/FiberContext.cjs.map +1 -1
  148. package/_cjs/Fiber/api/awaitAll.cjs +1 -1
  149. package/_cjs/Fiber/api/awaitAll.cjs.map +1 -1
  150. package/_cjs/Fiber/api/collectAll.cjs +1 -1
  151. package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
  152. package/_cjs/Fiber/api/evalOn.cjs +12 -10
  153. package/_cjs/Fiber/api/evalOn.cjs.map +1 -1
  154. package/_cjs/Fiber/api/evalOnIO.cjs +6 -4
  155. package/_cjs/Fiber/api/evalOnIO.cjs.map +1 -1
  156. package/_cjs/Fiber/api/fromIO.cjs +1 -1
  157. package/_cjs/Fiber/api/fromIO.cjs.map +1 -1
  158. package/_cjs/Fiber/api/interrupt.cjs +1 -1
  159. package/_cjs/Fiber/api/interrupt.cjs.map +1 -1
  160. package/_cjs/Fiber/api/interruptAll.cjs +2 -2
  161. package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
  162. package/_cjs/Fiber/api/interruptAs.cjs +6 -4
  163. package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
  164. package/_cjs/Fiber/api/interruptAsFork.cjs +6 -4
  165. package/_cjs/Fiber/api/interruptAsFork.cjs.map +1 -1
  166. package/_cjs/Fiber/api/interruptFork.cjs +1 -1
  167. package/_cjs/Fiber/api/interruptFork.cjs.map +1 -1
  168. package/_cjs/Fiber/api/join.cjs +1 -1
  169. package/_cjs/Fiber/api/join.cjs.map +1 -1
  170. package/_cjs/Fiber/api/joinAll.cjs +1 -1
  171. package/_cjs/Fiber/api/joinAll.cjs.map +1 -1
  172. package/_cjs/Fiber/api/mapFiber.cjs +6 -4
  173. package/_cjs/Fiber/api/mapFiber.cjs.map +1 -1
  174. package/_cjs/Fiber/api/mapIO.cjs +14 -10
  175. package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
  176. package/_cjs/Fiber/api/zipWith.cjs +6 -4
  177. package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
  178. package/_cjs/Fiber/definition.cjs.map +1 -1
  179. package/_cjs/Fiber.cjs +13 -0
  180. package/_cjs/Fiber.cjs.map +1 -1
  181. package/_cjs/FiberRef/api/locallyScoped.cjs +6 -4
  182. package/_cjs/FiberRef/api/locallyScoped.cjs.map +1 -1
  183. package/_cjs/FiberRef/api/locallyScopedWith.cjs +5 -3
  184. package/_cjs/FiberRef/api/locallyScopedWith.cjs.map +1 -1
  185. package/_cjs/FiberRef/api.cjs +64 -47
  186. package/_cjs/FiberRef/api.cjs.map +1 -1
  187. package/_cjs/FiberRef/constructors.cjs +1 -1
  188. package/_cjs/FiberRef/constructors.cjs.map +1 -1
  189. package/_cjs/FiberRef.cjs.map +1 -1
  190. package/_cjs/FiberRefs/api.cjs +15 -13
  191. package/_cjs/FiberRefs/api.cjs.map +1 -1
  192. package/_cjs/FiberRefs/join.cjs +37 -35
  193. package/_cjs/FiberRefs/join.cjs.map +1 -1
  194. package/_cjs/FiberState/definition.cjs.map +1 -1
  195. package/_cjs/Future/api.cjs +97 -79
  196. package/_cjs/Future/api.cjs.map +1 -1
  197. package/_cjs/Future/constructors.cjs +1 -1
  198. package/_cjs/Future/constructors.cjs.map +1 -1
  199. package/_cjs/Hub/constructors.cjs +93 -0
  200. package/_cjs/Hub/constructors.cjs.map +1 -0
  201. package/_cjs/Hub/definition.cjs +104 -13
  202. package/_cjs/Hub/definition.cjs.map +1 -1
  203. package/_cjs/Hub/internal.cjs +104 -129
  204. package/_cjs/Hub/internal.cjs.map +1 -1
  205. package/_cjs/Hub.cjs +4 -4
  206. package/_cjs/IO/api/acquireReleaseExit.cjs +1 -1
  207. package/_cjs/IO/api/acquireReleaseExit.cjs.map +1 -1
  208. package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +1 -1
  209. package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs.map +1 -1
  210. package/_cjs/IO/api/addFinalizerExit.cjs +1 -1
  211. package/_cjs/IO/api/addFinalizerExit.cjs.map +1 -1
  212. package/_cjs/IO/api/asyncIO.cjs +4 -4
  213. package/_cjs/IO/api/asyncIO.cjs.map +1 -1
  214. package/_cjs/IO/api/bracket.cjs +3 -3
  215. package/_cjs/IO/api/bracket.cjs.map +1 -1
  216. package/_cjs/IO/api/bracketExit.cjs +3 -3
  217. package/_cjs/IO/api/bracketExit.cjs.map +1 -1
  218. package/_cjs/IO/api/clockWith.cjs +2 -2
  219. package/_cjs/IO/api/clockWith.cjs.map +1 -1
  220. package/_cjs/IO/api/concurrency.cjs +9 -7
  221. package/_cjs/IO/api/concurrency.cjs.map +1 -1
  222. package/_cjs/IO/api/concurrentFinalizers.cjs +1 -1
  223. package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
  224. package/_cjs/IO/api/consoleWith.cjs +2 -2
  225. package/_cjs/IO/api/consoleWith.cjs.map +1 -1
  226. package/_cjs/IO/api/core-scope.cjs +45 -41
  227. package/_cjs/IO/api/core-scope.cjs.map +1 -1
  228. package/_cjs/IO/api/ensuringChildren.cjs +5 -3
  229. package/_cjs/IO/api/ensuringChildren.cjs.map +1 -1
  230. package/_cjs/IO/api/environment.cjs +35 -35
  231. package/_cjs/IO/api/environment.cjs.map +1 -1
  232. package/_cjs/IO/api/foreachC.cjs +19 -23
  233. package/_cjs/IO/api/foreachC.cjs.map +1 -1
  234. package/_cjs/IO/api/foreachExec.cjs +3 -3
  235. package/_cjs/IO/api/foreachExec.cjs.map +1 -1
  236. package/_cjs/IO/api/forkAll.cjs +1 -1
  237. package/_cjs/IO/api/forkAll.cjs.map +1 -1
  238. package/_cjs/IO/api/forkIn.cjs +8 -6
  239. package/_cjs/IO/api/forkIn.cjs.map +1 -1
  240. package/_cjs/IO/api/forkScoped.cjs +1 -1
  241. package/_cjs/IO/api/forkScoped.cjs.map +1 -1
  242. package/_cjs/IO/api/fulfill.cjs +8 -6
  243. package/_cjs/IO/api/fulfill.cjs.map +1 -1
  244. package/_cjs/IO/api/interrupt.cjs +36 -30
  245. package/_cjs/IO/api/interrupt.cjs.map +1 -1
  246. package/_cjs/IO/api/memoize.cjs +1 -1
  247. package/_cjs/IO/api/memoize.cjs.map +1 -1
  248. package/_cjs/IO/api/onExit.cjs +6 -4
  249. package/_cjs/IO/api/onExit.cjs.map +1 -1
  250. package/_cjs/IO/api/onTermination.cjs +5 -3
  251. package/_cjs/IO/api/onTermination.cjs.map +1 -1
  252. package/_cjs/IO/api/once.cjs +3 -5
  253. package/_cjs/IO/api/once.cjs.map +1 -1
  254. package/_cjs/IO/api/provideLayer.cjs +6 -4
  255. package/_cjs/IO/api/provideLayer.cjs.map +1 -1
  256. package/_cjs/IO/api/provideSomeLayer.cjs +5 -15
  257. package/_cjs/IO/api/provideSomeLayer.cjs.map +1 -1
  258. package/_cjs/IO/api/race.cjs +6 -4
  259. package/_cjs/IO/api/race.cjs.map +1 -1
  260. package/_cjs/IO/api/raceFirst.cjs +6 -4
  261. package/_cjs/IO/api/raceFirst.cjs.map +1 -1
  262. package/_cjs/IO/api/randomWith.cjs +1 -1
  263. package/_cjs/IO/api/randomWith.cjs.map +1 -1
  264. package/_cjs/IO/api/repeat.cjs +12 -12
  265. package/_cjs/IO/api/repeat.cjs.map +1 -1
  266. package/_cjs/IO/api/retry.cjs +14 -14
  267. package/_cjs/IO/api/retry.cjs.map +1 -1
  268. package/_cjs/IO/api/schedule.cjs +15 -11
  269. package/_cjs/IO/api/schedule.cjs.map +1 -1
  270. package/_cjs/IO/api/scoped.cjs +6 -6
  271. package/_cjs/IO/api/scoped.cjs.map +1 -1
  272. package/_cjs/IO/api/sequenceT.cjs +1 -1
  273. package/_cjs/IO/api/sequenceT.cjs.map +1 -1
  274. package/_cjs/IO/api/stateful.cjs.map +1 -1
  275. package/_cjs/IO/api/supervised.cjs +6 -4
  276. package/_cjs/IO/api/supervised.cjs.map +1 -1
  277. package/_cjs/IO/api/timeout.cjs +10 -6
  278. package/_cjs/IO/api/timeout.cjs.map +1 -1
  279. package/_cjs/IO/api/withChildren.cjs +1 -1
  280. package/_cjs/IO/api/withChildren.cjs.map +1 -1
  281. package/_cjs/IO/api/withEarlyRelease.cjs +1 -1
  282. package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
  283. package/_cjs/IO/api/withFinalizer.cjs +6 -4
  284. package/_cjs/IO/api/withFinalizer.cjs.map +1 -1
  285. package/_cjs/IO/api/withFinalizerExit.cjs +6 -4
  286. package/_cjs/IO/api/withFinalizerExit.cjs.map +1 -1
  287. package/_cjs/IO/api/withRuntimeConfig.cjs +6 -4
  288. package/_cjs/IO/api/withRuntimeConfig.cjs.map +1 -1
  289. package/_cjs/IO/api/zipC.cjs +21 -17
  290. package/_cjs/IO/api/zipC.cjs.map +1 -1
  291. package/_cjs/IO/api.cjs +634 -509
  292. package/_cjs/IO/api.cjs.map +1 -1
  293. package/_cjs/IO/definition.cjs.map +1 -1
  294. package/_cjs/IO/runtime.cjs +7 -7
  295. package/_cjs/IO/runtime.cjs.map +1 -1
  296. package/_cjs/IO.cjs.map +1 -1
  297. package/_cjs/IOEnv/definition.cjs +1 -1
  298. package/_cjs/IOEnv/definition.cjs.map +1 -1
  299. package/_cjs/IOEnv/live.cjs +1 -1
  300. package/_cjs/IOEnv/live.cjs.map +1 -1
  301. package/_cjs/Layer/MemoMap.cjs +86 -92
  302. package/_cjs/Layer/MemoMap.cjs.map +1 -1
  303. package/_cjs/Layer/api.cjs +110 -81
  304. package/_cjs/Layer/api.cjs.map +1 -1
  305. package/_cjs/Layer/definition.cjs.map +1 -1
  306. package/_cjs/LogLevel.cjs +24 -16
  307. package/_cjs/LogLevel.cjs.map +1 -1
  308. package/_cjs/LogSpan.cjs +18 -16
  309. package/_cjs/LogSpan.cjs.map +1 -1
  310. package/_cjs/Logger/api.cjs +18 -14
  311. package/_cjs/Logger/api.cjs.map +1 -1
  312. package/_cjs/Logger/constructors.cjs +1 -1
  313. package/_cjs/Logger/constructors.cjs.map +1 -1
  314. package/_cjs/Queue/constructors.cjs +19 -5
  315. package/_cjs/Queue/constructors.cjs.map +1 -1
  316. package/_cjs/Queue/definition.cjs +191 -16
  317. package/_cjs/Queue/definition.cjs.map +1 -1
  318. package/_cjs/Queue/internal.cjs +27 -181
  319. package/_cjs/Queue/internal.cjs.map +1 -1
  320. package/_cjs/Queue/strategy.cjs +19 -19
  321. package/_cjs/Queue/strategy.cjs.map +1 -1
  322. package/_cjs/Queue.cjs +0 -26
  323. package/_cjs/Queue.cjs.map +1 -1
  324. package/_cjs/Random/live.cjs +2 -2
  325. package/_cjs/Random/live.cjs.map +1 -1
  326. package/_cjs/Ref/Atomic.cjs +47 -24
  327. package/_cjs/Ref/Atomic.cjs.map +1 -1
  328. package/_cjs/Ref/Synchronized.cjs +140 -0
  329. package/_cjs/Ref/Synchronized.cjs.map +1 -0
  330. package/_cjs/Ref/constructors.cjs +21 -2
  331. package/_cjs/Ref/constructors.cjs.map +1 -1
  332. package/_cjs/Ref/definition.cjs +105 -10
  333. package/_cjs/Ref/definition.cjs.map +1 -1
  334. package/_cjs/Ref.cjs +4 -69
  335. package/_cjs/Ref.cjs.map +1 -1
  336. package/_cjs/Reloadable/constructors.cjs +10 -10
  337. package/_cjs/Reloadable/constructors.cjs.map +1 -1
  338. package/_cjs/RuntimeConfig.cjs +2 -2
  339. package/_cjs/RuntimeConfig.cjs.map +1 -1
  340. package/_cjs/STM/api/core-api.cjs +36 -26
  341. package/_cjs/STM/api/core-api.cjs.map +1 -1
  342. package/_cjs/STM/api.cjs +217 -163
  343. package/_cjs/STM/api.cjs.map +1 -1
  344. package/_cjs/STM/driver.cjs +3 -3
  345. package/_cjs/STM/driver.cjs.map +1 -1
  346. package/_cjs/STM/internal/Entry.cjs.map +1 -1
  347. package/_cjs/STM/internal/Journal.cjs +33 -29
  348. package/_cjs/STM/internal/Journal.cjs.map +1 -1
  349. package/_cjs/STM.cjs.map +1 -1
  350. package/_cjs/Schedule/Decision.cjs +16 -14
  351. package/_cjs/Schedule/Decision.cjs.map +1 -1
  352. package/_cjs/Schedule/api/driver.cjs +16 -20
  353. package/_cjs/Schedule/api/driver.cjs.map +1 -1
  354. package/_cjs/Schedule/api.cjs +381 -290
  355. package/_cjs/Schedule/api.cjs.map +1 -1
  356. package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +14 -14
  357. package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
  358. package/_cjs/Scope/ReleaseMap/api.cjs +68 -61
  359. package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
  360. package/_cjs/Scope/api.cjs +34 -27
  361. package/_cjs/Scope/api.cjs.map +1 -1
  362. package/_cjs/ScopedRef/api.cjs +9 -13
  363. package/_cjs/ScopedRef/api.cjs.map +1 -1
  364. package/_cjs/ScopedRef/definition.cjs +1 -1
  365. package/_cjs/ScopedRef/definition.cjs.map +1 -1
  366. package/_cjs/Sink/api.cjs +307 -249
  367. package/_cjs/Sink/api.cjs.map +1 -1
  368. package/_cjs/State/api.cjs +18 -14
  369. package/_cjs/State/api.cjs.map +1 -1
  370. package/_cjs/Stream/api/zipAllWith.cjs +15 -13
  371. package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
  372. package/_cjs/Stream/api/zipWith.cjs +6 -4
  373. package/_cjs/Stream/api/zipWith.cjs.map +1 -1
  374. package/_cjs/Stream/api/zipWithChunks.cjs +13 -11
  375. package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
  376. package/_cjs/Stream/api.cjs +992 -788
  377. package/_cjs/Stream/api.cjs.map +1 -1
  378. package/_cjs/Stream/definition.cjs.map +1 -1
  379. package/_cjs/Stream/internal/DebounceState.cjs +21 -19
  380. package/_cjs/Stream/internal/DebounceState.cjs.map +1 -1
  381. package/_cjs/Stream/internal/Handoff.cjs +35 -33
  382. package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
  383. package/_cjs/Stream/internal/Pull.cjs +9 -11
  384. package/_cjs/Stream/internal/Pull.cjs.map +1 -1
  385. package/_cjs/Stream/internal/SinkEndReason.cjs +16 -14
  386. package/_cjs/Stream/internal/SinkEndReason.cjs.map +1 -1
  387. package/_cjs/Stream/internal/Take.cjs +32 -24
  388. package/_cjs/Stream/internal/Take.cjs.map +1 -1
  389. package/_cjs/Stream/internal/util.cjs +3 -3
  390. package/_cjs/Stream/internal/util.cjs.map +1 -1
  391. package/_cjs/SubscriptionRef.cjs +68 -0
  392. package/_cjs/SubscriptionRef.cjs.map +1 -0
  393. package/_cjs/Supervisor/api.cjs +24 -20
  394. package/_cjs/Supervisor/api.cjs.map +1 -1
  395. package/_cjs/Supervisor/constructors.cjs +2 -2
  396. package/_cjs/Supervisor/constructors.cjs.map +1 -1
  397. package/_cjs/Supervisor/definition.cjs +1 -1
  398. package/_cjs/Supervisor/definition.cjs.map +1 -1
  399. package/_cjs/SupervisorPatch.cjs +15 -11
  400. package/_cjs/SupervisorPatch.cjs.map +1 -1
  401. package/_cjs/TExit/definition.cjs.map +1 -1
  402. package/_cjs/TFuture/api.cjs +21 -15
  403. package/_cjs/TFuture/api.cjs.map +1 -1
  404. package/_cjs/TFuture/constructors.cjs +1 -1
  405. package/_cjs/TFuture/constructors.cjs.map +1 -1
  406. package/_cjs/TFuture/definition.cjs.map +1 -1
  407. package/_cjs/TReentrantLock/api.cjs +32 -28
  408. package/_cjs/TReentrantLock/api.cjs.map +1 -1
  409. package/_cjs/TReentrantLock/definition.cjs +4 -4
  410. package/_cjs/TReentrantLock/definition.cjs.map +1 -1
  411. package/_cjs/TRef/api.cjs +233 -209
  412. package/_cjs/TRef/api.cjs.map +1 -1
  413. package/_cjs/TRef/definition.cjs +4 -4
  414. package/_cjs/TRef/definition.cjs.map +1 -1
  415. package/_cjs/TSemaphore/api.cjs +27 -23
  416. package/_cjs/TSemaphore/api.cjs.map +1 -1
  417. package/_cjs/TSemaphore/constructors.cjs +18 -3
  418. package/_cjs/TSemaphore/constructors.cjs.map +1 -1
  419. package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +21 -19
  420. package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
  421. package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +21 -19
  422. package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
  423. package/_cjs/collection/immutable/Conc/filterIO.cjs +16 -14
  424. package/_cjs/collection/immutable/Conc/filterIO.cjs.map +1 -1
  425. package/_cjs/collection/immutable/Conc/findIO.cjs +19 -17
  426. package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
  427. package/_cjs/collection/immutable/Conc/mapIO.cjs +11 -9
  428. package/_cjs/collection/immutable/Conc/mapIO.cjs.map +1 -1
  429. package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +31 -29
  430. package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
  431. package/_cjs/data/Exit/foreachIO.cjs +6 -4
  432. package/_cjs/data/Exit/foreachIO.cjs.map +1 -1
  433. package/_cjs/internal/Hub.cjs +13 -11
  434. package/_cjs/internal/Hub.cjs.map +1 -1
  435. package/_cjs/internal/IsFatal.cjs +18 -16
  436. package/_cjs/internal/IsFatal.cjs.map +1 -1
  437. package/_cjs/internal/MutableQueue.cjs +11 -9
  438. package/_cjs/internal/MutableQueue.cjs.map +1 -1
  439. package/_cjs/internal/StackTraceBuilder.cjs.map +1 -1
  440. package/_mjs/Cached/api.mjs +6 -6
  441. package/_mjs/Cached/api.mjs.map +1 -1
  442. package/_mjs/Channel/ChildExecutorDecision/api.mjs +18 -16
  443. package/_mjs/Channel/ChildExecutorDecision/api.mjs.map +1 -1
  444. package/_mjs/Channel/UpstreamPullRequest/api.mjs +14 -12
  445. package/_mjs/Channel/UpstreamPullRequest/api.mjs.map +1 -1
  446. package/_mjs/Channel/api/interruptWhen.mjs +11 -7
  447. package/_mjs/Channel/api/interruptWhen.mjs.map +1 -1
  448. package/_mjs/Channel/api/mapOutIOC.mjs +24 -23
  449. package/_mjs/Channel/api/mapOutIOC.mjs.map +1 -1
  450. package/_mjs/Channel/api/mergeAll.mjs +5 -3
  451. package/_mjs/Channel/api/mergeAll.mjs.map +1 -1
  452. package/_mjs/Channel/api/mergeAllUnboundedWith.mjs +5 -3
  453. package/_mjs/Channel/api/mergeAllUnboundedWith.mjs.map +1 -1
  454. package/_mjs/Channel/api/mergeAllWith.mjs +45 -46
  455. package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -1
  456. package/_mjs/Channel/api/mergeMap.mjs +5 -3
  457. package/_mjs/Channel/api/mergeMap.mjs.map +1 -1
  458. package/_mjs/Channel/api/mergeWith.mjs +46 -44
  459. package/_mjs/Channel/api/mergeWith.mjs.map +1 -1
  460. package/_mjs/Channel/api/run.mjs +1 -1
  461. package/_mjs/Channel/api/run.mjs.map +1 -1
  462. package/_mjs/Channel/api/runScoped.mjs +2 -2
  463. package/_mjs/Channel/api/runScoped.mjs.map +1 -1
  464. package/_mjs/Channel/api/toPull.mjs +3 -3
  465. package/_mjs/Channel/api/toPull.mjs.map +1 -1
  466. package/_mjs/Channel/api/zipC.mjs +16 -10
  467. package/_mjs/Channel/api/zipC.mjs.map +1 -1
  468. package/_mjs/Channel/api.mjs +224 -173
  469. package/_mjs/Channel/api.mjs.map +1 -1
  470. package/_mjs/Channel/core-api.mjs +28 -18
  471. package/_mjs/Channel/core-api.mjs.map +1 -1
  472. package/_mjs/Channel/definition.mjs +1 -1
  473. package/_mjs/Channel/definition.mjs.map +1 -1
  474. package/_mjs/Channel/internal/ChannelExecutor.mjs +83 -83
  475. package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
  476. package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +22 -23
  477. package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -1
  478. package/_mjs/Differ/api.mjs +5 -5
  479. package/_mjs/Differ/api.mjs.map +1 -1
  480. package/_mjs/Fiber/FiberContext.mjs +48 -48
  481. package/_mjs/Fiber/FiberContext.mjs.map +1 -1
  482. package/_mjs/Fiber/api/awaitAll.mjs +1 -1
  483. package/_mjs/Fiber/api/awaitAll.mjs.map +1 -1
  484. package/_mjs/Fiber/api/collectAll.mjs +1 -1
  485. package/_mjs/Fiber/api/collectAll.mjs.map +1 -1
  486. package/_mjs/Fiber/api/evalOn.mjs +11 -9
  487. package/_mjs/Fiber/api/evalOn.mjs.map +1 -1
  488. package/_mjs/Fiber/api/evalOnIO.mjs +5 -3
  489. package/_mjs/Fiber/api/evalOnIO.mjs.map +1 -1
  490. package/_mjs/Fiber/api/fromIO.mjs +1 -1
  491. package/_mjs/Fiber/api/fromIO.mjs.map +1 -1
  492. package/_mjs/Fiber/api/interrupt.mjs +1 -1
  493. package/_mjs/Fiber/api/interrupt.mjs.map +1 -1
  494. package/_mjs/Fiber/api/interruptAll.mjs +2 -2
  495. package/_mjs/Fiber/api/interruptAll.mjs.map +1 -1
  496. package/_mjs/Fiber/api/interruptAs.mjs +6 -4
  497. package/_mjs/Fiber/api/interruptAs.mjs.map +1 -1
  498. package/_mjs/Fiber/api/interruptAsFork.mjs +6 -4
  499. package/_mjs/Fiber/api/interruptAsFork.mjs.map +1 -1
  500. package/_mjs/Fiber/api/interruptFork.mjs +1 -1
  501. package/_mjs/Fiber/api/interruptFork.mjs.map +1 -1
  502. package/_mjs/Fiber/api/join.mjs +1 -1
  503. package/_mjs/Fiber/api/join.mjs.map +1 -1
  504. package/_mjs/Fiber/api/joinAll.mjs +1 -1
  505. package/_mjs/Fiber/api/joinAll.mjs.map +1 -1
  506. package/_mjs/Fiber/api/mapFiber.mjs +5 -3
  507. package/_mjs/Fiber/api/mapFiber.mjs.map +1 -1
  508. package/_mjs/Fiber/api/mapIO.mjs +11 -7
  509. package/_mjs/Fiber/api/mapIO.mjs.map +1 -1
  510. package/_mjs/Fiber/api/zipWith.mjs +5 -3
  511. package/_mjs/Fiber/api/zipWith.mjs.map +1 -1
  512. package/_mjs/Fiber/definition.mjs.map +1 -1
  513. package/_mjs/Fiber.mjs +1 -0
  514. package/_mjs/Fiber.mjs.map +1 -1
  515. package/_mjs/FiberRef/api/locallyScoped.mjs +5 -3
  516. package/_mjs/FiberRef/api/locallyScoped.mjs.map +1 -1
  517. package/_mjs/FiberRef/api/locallyScopedWith.mjs +5 -3
  518. package/_mjs/FiberRef/api/locallyScopedWith.mjs.map +1 -1
  519. package/_mjs/FiberRef/api.mjs +52 -36
  520. package/_mjs/FiberRef/api.mjs.map +1 -1
  521. package/_mjs/FiberRef/constructors.mjs +1 -1
  522. package/_mjs/FiberRef/constructors.mjs.map +1 -1
  523. package/_mjs/FiberRef.mjs.map +1 -1
  524. package/_mjs/FiberRefs/api.mjs +14 -12
  525. package/_mjs/FiberRefs/api.mjs.map +1 -1
  526. package/_mjs/FiberRefs/join.mjs +35 -33
  527. package/_mjs/FiberRefs/join.mjs.map +1 -1
  528. package/_mjs/FiberState/definition.mjs.map +1 -1
  529. package/_mjs/Future/api.mjs +84 -66
  530. package/_mjs/Future/api.mjs.map +1 -1
  531. package/_mjs/Future/constructors.mjs +1 -1
  532. package/_mjs/Future/constructors.mjs.map +1 -1
  533. package/_mjs/Hub/constructors.mjs +66 -0
  534. package/_mjs/Hub/constructors.mjs.map +1 -0
  535. package/_mjs/Hub/definition.mjs +88 -9
  536. package/_mjs/Hub/definition.mjs.map +1 -1
  537. package/_mjs/Hub/internal.mjs +105 -122
  538. package/_mjs/Hub/internal.mjs.map +1 -1
  539. package/_mjs/Hub.mjs +1 -1
  540. package/_mjs/Hub.mjs.map +1 -1
  541. package/_mjs/IO/api/acquireReleaseExit.mjs +1 -1
  542. package/_mjs/IO/api/acquireReleaseExit.mjs.map +1 -1
  543. package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs +1 -1
  544. package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs.map +1 -1
  545. package/_mjs/IO/api/addFinalizerExit.mjs +1 -1
  546. package/_mjs/IO/api/addFinalizerExit.mjs.map +1 -1
  547. package/_mjs/IO/api/asyncIO.mjs +4 -4
  548. package/_mjs/IO/api/asyncIO.mjs.map +1 -1
  549. package/_mjs/IO/api/bracket.mjs +2 -2
  550. package/_mjs/IO/api/bracket.mjs.map +1 -1
  551. package/_mjs/IO/api/bracketExit.mjs +2 -2
  552. package/_mjs/IO/api/bracketExit.mjs.map +1 -1
  553. package/_mjs/IO/api/clockWith.mjs +2 -2
  554. package/_mjs/IO/api/clockWith.mjs.map +1 -1
  555. package/_mjs/IO/api/concurrency.mjs +8 -6
  556. package/_mjs/IO/api/concurrency.mjs.map +1 -1
  557. package/_mjs/IO/api/concurrentFinalizers.mjs +1 -1
  558. package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -1
  559. package/_mjs/IO/api/consoleWith.mjs +2 -2
  560. package/_mjs/IO/api/consoleWith.mjs.map +1 -1
  561. package/_mjs/IO/api/core-scope.mjs +40 -36
  562. package/_mjs/IO/api/core-scope.mjs.map +1 -1
  563. package/_mjs/IO/api/ensuringChildren.mjs +5 -3
  564. package/_mjs/IO/api/ensuringChildren.mjs.map +1 -1
  565. package/_mjs/IO/api/environment.mjs +29 -27
  566. package/_mjs/IO/api/environment.mjs.map +1 -1
  567. package/_mjs/IO/api/foreachC.mjs +17 -19
  568. package/_mjs/IO/api/foreachC.mjs.map +1 -1
  569. package/_mjs/IO/api/foreachExec.mjs +2 -2
  570. package/_mjs/IO/api/foreachExec.mjs.map +1 -1
  571. package/_mjs/IO/api/forkAll.mjs +1 -1
  572. package/_mjs/IO/api/forkAll.mjs.map +1 -1
  573. package/_mjs/IO/api/forkIn.mjs +7 -5
  574. package/_mjs/IO/api/forkIn.mjs.map +1 -1
  575. package/_mjs/IO/api/forkScoped.mjs +1 -1
  576. package/_mjs/IO/api/forkScoped.mjs.map +1 -1
  577. package/_mjs/IO/api/fulfill.mjs +7 -5
  578. package/_mjs/IO/api/fulfill.mjs.map +1 -1
  579. package/_mjs/IO/api/interrupt.mjs +34 -28
  580. package/_mjs/IO/api/interrupt.mjs.map +1 -1
  581. package/_mjs/IO/api/memoize.mjs +1 -1
  582. package/_mjs/IO/api/memoize.mjs.map +1 -1
  583. package/_mjs/IO/api/onExit.mjs +5 -3
  584. package/_mjs/IO/api/onExit.mjs.map +1 -1
  585. package/_mjs/IO/api/onTermination.mjs +5 -3
  586. package/_mjs/IO/api/onTermination.mjs.map +1 -1
  587. package/_mjs/IO/api/once.mjs +3 -4
  588. package/_mjs/IO/api/once.mjs.map +1 -1
  589. package/_mjs/IO/api/provideLayer.mjs +5 -3
  590. package/_mjs/IO/api/provideLayer.mjs.map +1 -1
  591. package/_mjs/IO/api/provideSomeLayer.mjs +5 -11
  592. package/_mjs/IO/api/provideSomeLayer.mjs.map +1 -1
  593. package/_mjs/IO/api/race.mjs +5 -3
  594. package/_mjs/IO/api/race.mjs.map +1 -1
  595. package/_mjs/IO/api/raceFirst.mjs +5 -3
  596. package/_mjs/IO/api/raceFirst.mjs.map +1 -1
  597. package/_mjs/IO/api/randomWith.mjs +1 -1
  598. package/_mjs/IO/api/randomWith.mjs.map +1 -1
  599. package/_mjs/IO/api/repeat.mjs +8 -8
  600. package/_mjs/IO/api/repeat.mjs.map +1 -1
  601. package/_mjs/IO/api/retry.mjs +12 -12
  602. package/_mjs/IO/api/retry.mjs.map +1 -1
  603. package/_mjs/IO/api/schedule.mjs +15 -11
  604. package/_mjs/IO/api/schedule.mjs.map +1 -1
  605. package/_mjs/IO/api/scoped.mjs +3 -3
  606. package/_mjs/IO/api/scoped.mjs.map +1 -1
  607. package/_mjs/IO/api/sequenceT.mjs +1 -1
  608. package/_mjs/IO/api/sequenceT.mjs.map +1 -1
  609. package/_mjs/IO/api/stateful.mjs.map +1 -1
  610. package/_mjs/IO/api/supervised.mjs +5 -3
  611. package/_mjs/IO/api/supervised.mjs.map +1 -1
  612. package/_mjs/IO/api/timeout.mjs +10 -6
  613. package/_mjs/IO/api/timeout.mjs.map +1 -1
  614. package/_mjs/IO/api/withChildren.mjs +1 -1
  615. package/_mjs/IO/api/withChildren.mjs.map +1 -1
  616. package/_mjs/IO/api/withEarlyRelease.mjs +1 -1
  617. package/_mjs/IO/api/withEarlyRelease.mjs.map +1 -1
  618. package/_mjs/IO/api/withFinalizer.mjs +5 -3
  619. package/_mjs/IO/api/withFinalizer.mjs.map +1 -1
  620. package/_mjs/IO/api/withFinalizerExit.mjs +5 -3
  621. package/_mjs/IO/api/withFinalizerExit.mjs.map +1 -1
  622. package/_mjs/IO/api/withRuntimeConfig.mjs +5 -3
  623. package/_mjs/IO/api/withRuntimeConfig.mjs.map +1 -1
  624. package/_mjs/IO/api/zipC.mjs +18 -14
  625. package/_mjs/IO/api/zipC.mjs.map +1 -1
  626. package/_mjs/IO/api.mjs +511 -387
  627. package/_mjs/IO/api.mjs.map +1 -1
  628. package/_mjs/IO/definition.mjs.map +1 -1
  629. package/_mjs/IO/runtime.mjs +7 -7
  630. package/_mjs/IO/runtime.mjs.map +1 -1
  631. package/_mjs/IO.mjs.map +1 -1
  632. package/_mjs/IOEnv/definition.mjs +1 -1
  633. package/_mjs/IOEnv/definition.mjs.map +1 -1
  634. package/_mjs/IOEnv/live.mjs +1 -1
  635. package/_mjs/IOEnv/live.mjs.map +1 -1
  636. package/_mjs/Layer/MemoMap.mjs +86 -87
  637. package/_mjs/Layer/MemoMap.mjs.map +1 -1
  638. package/_mjs/Layer/api.mjs +91 -63
  639. package/_mjs/Layer/api.mjs.map +1 -1
  640. package/_mjs/Layer/definition.mjs.map +1 -1
  641. package/_mjs/LogLevel.mjs +24 -16
  642. package/_mjs/LogLevel.mjs.map +1 -1
  643. package/_mjs/LogSpan.mjs +16 -14
  644. package/_mjs/LogSpan.mjs.map +1 -1
  645. package/_mjs/Logger/api.mjs +16 -12
  646. package/_mjs/Logger/api.mjs.map +1 -1
  647. package/_mjs/Logger/constructors.mjs +1 -1
  648. package/_mjs/Logger/constructors.mjs.map +1 -1
  649. package/_mjs/Queue/constructors.mjs +16 -5
  650. package/_mjs/Queue/constructors.mjs.map +1 -1
  651. package/_mjs/Queue/definition.mjs +174 -12
  652. package/_mjs/Queue/definition.mjs.map +1 -1
  653. package/_mjs/Queue/internal.mjs +21 -170
  654. package/_mjs/Queue/internal.mjs.map +1 -1
  655. package/_mjs/Queue/strategy.mjs +20 -23
  656. package/_mjs/Queue/strategy.mjs.map +1 -1
  657. package/_mjs/Queue.mjs +1 -3
  658. package/_mjs/Queue.mjs.map +1 -1
  659. package/_mjs/Random/live.mjs +2 -2
  660. package/_mjs/Random/live.mjs.map +1 -1
  661. package/_mjs/Ref/Atomic.mjs +39 -3
  662. package/_mjs/Ref/Atomic.mjs.map +1 -1
  663. package/_mjs/Ref/Synchronized.mjs +123 -0
  664. package/_mjs/Ref/Synchronized.mjs.map +1 -0
  665. package/_mjs/Ref/constructors.mjs +15 -1
  666. package/_mjs/Ref/constructors.mjs.map +1 -1
  667. package/_mjs/Ref/definition.mjs +96 -4
  668. package/_mjs/Ref/definition.mjs.map +1 -1
  669. package/_mjs/Ref.mjs +1 -8
  670. package/_mjs/Ref.mjs.map +1 -1
  671. package/_mjs/Reloadable/constructors.mjs +10 -10
  672. package/_mjs/Reloadable/constructors.mjs.map +1 -1
  673. package/_mjs/RuntimeConfig.mjs +2 -2
  674. package/_mjs/RuntimeConfig.mjs.map +1 -1
  675. package/_mjs/STM/api/core-api.mjs +29 -19
  676. package/_mjs/STM/api/core-api.mjs.map +1 -1
  677. package/_mjs/STM/api.mjs +180 -127
  678. package/_mjs/STM/api.mjs.map +1 -1
  679. package/_mjs/STM/driver.mjs +3 -3
  680. package/_mjs/STM/driver.mjs.map +1 -1
  681. package/_mjs/STM/internal/Entry.mjs.map +1 -1
  682. package/_mjs/STM/internal/Journal.mjs +33 -29
  683. package/_mjs/STM/internal/Journal.mjs.map +1 -1
  684. package/_mjs/STM.mjs.map +1 -1
  685. package/_mjs/Schedule/Decision.mjs +14 -12
  686. package/_mjs/Schedule/Decision.mjs.map +1 -1
  687. package/_mjs/Schedule/api/driver.mjs +15 -17
  688. package/_mjs/Schedule/api/driver.mjs.map +1 -1
  689. package/_mjs/Schedule/api.mjs +326 -234
  690. package/_mjs/Schedule/api.mjs.map +1 -1
  691. package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs +12 -11
  692. package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -1
  693. package/_mjs/Scope/ReleaseMap/api.mjs +60 -51
  694. package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -1
  695. package/_mjs/Scope/api.mjs +28 -22
  696. package/_mjs/Scope/api.mjs.map +1 -1
  697. package/_mjs/ScopedRef/api.mjs +9 -11
  698. package/_mjs/ScopedRef/api.mjs.map +1 -1
  699. package/_mjs/ScopedRef/definition.mjs +1 -1
  700. package/_mjs/ScopedRef/definition.mjs.map +1 -1
  701. package/_mjs/Sink/api.mjs +301 -240
  702. package/_mjs/Sink/api.mjs.map +1 -1
  703. package/_mjs/State/api.mjs +16 -12
  704. package/_mjs/State/api.mjs.map +1 -1
  705. package/_mjs/Stream/api/zipAllWith.mjs +14 -12
  706. package/_mjs/Stream/api/zipAllWith.mjs.map +1 -1
  707. package/_mjs/Stream/api/zipWith.mjs +5 -3
  708. package/_mjs/Stream/api/zipWith.mjs.map +1 -1
  709. package/_mjs/Stream/api/zipWithChunks.mjs +12 -10
  710. package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -1
  711. package/_mjs/Stream/api.mjs +856 -653
  712. package/_mjs/Stream/api.mjs.map +1 -1
  713. package/_mjs/Stream/definition.mjs.map +1 -1
  714. package/_mjs/Stream/internal/DebounceState.mjs +18 -16
  715. package/_mjs/Stream/internal/DebounceState.mjs.map +1 -1
  716. package/_mjs/Stream/internal/Handoff.mjs +35 -32
  717. package/_mjs/Stream/internal/Handoff.mjs.map +1 -1
  718. package/_mjs/Stream/internal/Pull.mjs +9 -10
  719. package/_mjs/Stream/internal/Pull.mjs.map +1 -1
  720. package/_mjs/Stream/internal/SinkEndReason.mjs +14 -12
  721. package/_mjs/Stream/internal/SinkEndReason.mjs.map +1 -1
  722. package/_mjs/Stream/internal/Take.mjs +28 -20
  723. package/_mjs/Stream/internal/Take.mjs.map +1 -1
  724. package/_mjs/Stream/internal/util.mjs +3 -3
  725. package/_mjs/Stream/internal/util.mjs.map +1 -1
  726. package/_mjs/SubscriptionRef.mjs +45 -0
  727. package/_mjs/SubscriptionRef.mjs.map +1 -0
  728. package/_mjs/Supervisor/api.mjs +22 -18
  729. package/_mjs/Supervisor/api.mjs.map +1 -1
  730. package/_mjs/Supervisor/constructors.mjs +2 -2
  731. package/_mjs/Supervisor/constructors.mjs.map +1 -1
  732. package/_mjs/Supervisor/definition.mjs +1 -1
  733. package/_mjs/Supervisor/definition.mjs.map +1 -1
  734. package/_mjs/SupervisorPatch.mjs +15 -11
  735. package/_mjs/SupervisorPatch.mjs.map +1 -1
  736. package/_mjs/TExit/definition.mjs.map +1 -1
  737. package/_mjs/TFuture/api.mjs +17 -11
  738. package/_mjs/TFuture/api.mjs.map +1 -1
  739. package/_mjs/TFuture/constructors.mjs +1 -1
  740. package/_mjs/TFuture/constructors.mjs.map +1 -1
  741. package/_mjs/TFuture/definition.mjs.map +1 -1
  742. package/_mjs/TReentrantLock/api.mjs +32 -28
  743. package/_mjs/TReentrantLock/api.mjs.map +1 -1
  744. package/_mjs/TReentrantLock/definition.mjs +4 -4
  745. package/_mjs/TReentrantLock/definition.mjs.map +1 -1
  746. package/_mjs/TRef/api.mjs +218 -194
  747. package/_mjs/TRef/api.mjs.map +1 -1
  748. package/_mjs/TRef/definition.mjs +4 -4
  749. package/_mjs/TRef/definition.mjs.map +1 -1
  750. package/_mjs/TSemaphore/api.mjs +23 -19
  751. package/_mjs/TSemaphore/api.mjs.map +1 -1
  752. package/_mjs/TSemaphore/constructors.mjs +12 -2
  753. package/_mjs/TSemaphore/constructors.mjs.map +1 -1
  754. package/_mjs/collection/immutable/Conc/dropUntilIO.mjs +19 -17
  755. package/_mjs/collection/immutable/Conc/dropUntilIO.mjs.map +1 -1
  756. package/_mjs/collection/immutable/Conc/dropWhileIO.mjs +19 -17
  757. package/_mjs/collection/immutable/Conc/dropWhileIO.mjs.map +1 -1
  758. package/_mjs/collection/immutable/Conc/filterIO.mjs +14 -12
  759. package/_mjs/collection/immutable/Conc/filterIO.mjs.map +1 -1
  760. package/_mjs/collection/immutable/Conc/findIO.mjs +17 -15
  761. package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -1
  762. package/_mjs/collection/immutable/Conc/mapIO.mjs +10 -8
  763. package/_mjs/collection/immutable/Conc/mapIO.mjs.map +1 -1
  764. package/_mjs/collection/immutable/Conc/takeWhileIO.mjs +28 -26
  765. package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -1
  766. package/_mjs/data/Exit/foreachIO.mjs +5 -3
  767. package/_mjs/data/Exit/foreachIO.mjs.map +1 -1
  768. package/_mjs/internal/Hub.mjs +13 -11
  769. package/_mjs/internal/Hub.mjs.map +1 -1
  770. package/_mjs/internal/IsFatal.mjs +18 -16
  771. package/_mjs/internal/IsFatal.mjs.map +1 -1
  772. package/_mjs/internal/MutableQueue.mjs +10 -8
  773. package/_mjs/internal/MutableQueue.mjs.map +1 -1
  774. package/_mjs/internal/StackTraceBuilder.mjs.map +1 -1
  775. package/_src/Cached/api.ts +2 -2
  776. package/_src/Channel/ChildExecutorDecision/api.ts +14 -17
  777. package/_src/Channel/UpstreamPullRequest/api.ts +11 -13
  778. package/_src/Channel/api/interruptWhen.ts +18 -17
  779. package/_src/Channel/api/mapOutIOC.ts +58 -58
  780. package/_src/Channel/api/mergeAll.ts +15 -16
  781. package/_src/Channel/api/mergeAllUnboundedWith.ts +15 -27
  782. package/_src/Channel/api/mergeAllWith.ts +114 -126
  783. package/_src/Channel/api/mergeMap.ts +8 -18
  784. package/_src/Channel/api/mergeWith.ts +154 -158
  785. package/_src/Channel/api/toPull.ts +1 -1
  786. package/_src/Channel/api/zipC.ts +52 -88
  787. package/_src/Channel/api.ts +345 -405
  788. package/_src/Channel/core-api.ts +75 -122
  789. package/_src/Channel/definition.ts +49 -7
  790. package/_src/Channel/internal/ChannelExecutor.ts +1 -5
  791. package/_src/Channel/internal/SingleProducerAsyncInput.ts +1 -3
  792. package/_src/Fiber/FiberContext.ts +13 -33
  793. package/_src/Fiber/api/collectAll.ts +1 -2
  794. package/_src/Fiber/api/evalOn.ts +11 -14
  795. package/_src/Fiber/api/evalOnIO.ts +10 -13
  796. package/_src/Fiber/api/interruptAll.ts +1 -2
  797. package/_src/Fiber/api/interruptAs.ts +6 -4
  798. package/_src/Fiber/api/interruptAsFork.ts +6 -4
  799. package/_src/Fiber/api/interruptFork.ts +1 -1
  800. package/_src/Fiber/api/mapFiber.ts +5 -7
  801. package/_src/Fiber/api/mapIO.ts +21 -21
  802. package/_src/Fiber/api/zipWith.ts +14 -17
  803. package/_src/Fiber/definition.ts +1 -15
  804. package/_src/Fiber.ts +1 -1
  805. package/_src/FiberRef/api/locallyScoped.ts +8 -6
  806. package/_src/FiberRef/api/locallyScopedWith.ts +5 -7
  807. package/_src/FiberRef/api.ts +50 -39
  808. package/_src/FiberRef.ts +0 -1
  809. package/_src/FiberRefs/api.ts +14 -12
  810. package/_src/FiberRefs/join.ts +37 -46
  811. package/_src/FiberState/definition.ts +1 -2
  812. package/_src/Future/api.ts +67 -53
  813. package/_src/Hub/constructors.ts +80 -0
  814. package/_src/Hub/definition.ts +95 -89
  815. package/_src/Hub/internal.ts +115 -165
  816. package/_src/Hub.ts +1 -1
  817. package/_src/IO/api/acquireRelease.ts +1 -1
  818. package/_src/IO/api/acquireReleaseExit.ts +1 -1
  819. package/_src/IO/api/bracket.ts +1 -1
  820. package/_src/IO/api/bracketExit.ts +1 -1
  821. package/_src/IO/api/clockWith.ts +0 -1
  822. package/_src/IO/api/concurrency.ts +5 -7
  823. package/_src/IO/api/consoleWith.ts +0 -2
  824. package/_src/IO/api/core-scope.ts +36 -33
  825. package/_src/IO/api/ensuringChildren.ts +8 -7
  826. package/_src/IO/api/environment.ts +24 -42
  827. package/_src/IO/api/foreachC.ts +24 -12
  828. package/_src/IO/api/foreachExec.ts +1 -1
  829. package/_src/IO/api/forkIn.ts +7 -9
  830. package/_src/IO/api/fulfill.ts +5 -3
  831. package/_src/IO/api/interrupt.ts +37 -40
  832. package/_src/IO/api/onExit.ts +8 -10
  833. package/_src/IO/api/onTermination.ts +12 -14
  834. package/_src/IO/api/provideLayer.ts +8 -10
  835. package/_src/IO/api/provideSomeLayer.ts +5 -14
  836. package/_src/IO/api/race.ts +19 -21
  837. package/_src/IO/api/raceFirst.ts +5 -7
  838. package/_src/IO/api/repeat.ts +3 -5
  839. package/_src/IO/api/retry.ts +19 -21
  840. package/_src/IO/api/schedule.ts +20 -21
  841. package/_src/IO/api/scoped.ts +2 -2
  842. package/_src/IO/api/sequenceT.ts +7 -1
  843. package/_src/IO/api/stateful.ts +0 -2
  844. package/_src/IO/api/supervised.ts +5 -7
  845. package/_src/IO/api/timeout.ts +10 -16
  846. package/_src/IO/api/withFinalizer.ts +5 -7
  847. package/_src/IO/api/withFinalizerExit.ts +6 -5
  848. package/_src/IO/api/withRuntimeConfig.ts +12 -14
  849. package/_src/IO/api/zipC.ts +57 -62
  850. package/_src/IO/api.ts +512 -539
  851. package/_src/IO/definition.ts +21 -9
  852. package/_src/IO/runtime.ts +0 -12
  853. package/_src/IO.ts +0 -1
  854. package/_src/Layer/MemoMap.ts +61 -63
  855. package/_src/Layer/api.ts +95 -104
  856. package/_src/Layer/definition.ts +0 -1
  857. package/_src/LogLevel.ts +24 -16
  858. package/_src/LogSpan.ts +16 -16
  859. package/_src/Logger/api.ts +18 -17
  860. package/_src/Logger/constructors.ts +9 -15
  861. package/_src/Queue/constructors.ts +22 -6
  862. package/_src/Queue/definition.ts +230 -81
  863. package/_src/Queue/internal.ts +9 -180
  864. package/_src/Queue/strategy.ts +9 -23
  865. package/_src/Queue.ts +1 -3
  866. package/_src/Ref/Atomic.ts +37 -4
  867. package/_src/Ref/Synchronized.ts +107 -0
  868. package/_src/Ref/constructors.ts +15 -0
  869. package/_src/Ref/definition.ts +86 -85
  870. package/_src/Ref.ts +1 -9
  871. package/_src/Reloadable/constructors.ts +2 -2
  872. package/_src/RuntimeConfig.ts +0 -2
  873. package/_src/STM/api/core-api.ts +32 -35
  874. package/_src/STM/api.ts +210 -200
  875. package/_src/STM/internal/Entry.ts +0 -10
  876. package/_src/STM/internal/Journal.ts +23 -26
  877. package/_src/STM.ts +0 -1
  878. package/_src/Schedule/Decision.ts +10 -8
  879. package/_src/Schedule/api/driver.ts +0 -4
  880. package/_src/Schedule/api.ts +419 -444
  881. package/_src/Schedule/definition.ts +0 -1
  882. package/_src/Scope/ReleaseMap/api/releaseAll.ts +23 -26
  883. package/_src/Scope/ReleaseMap/api.ts +77 -74
  884. package/_src/Scope/api.ts +16 -18
  885. package/_src/ScopedRef/api.ts +0 -3
  886. package/_src/ScopedRef/definition.ts +1 -2
  887. package/_src/Sink/api.ts +326 -357
  888. package/_src/State/api.ts +12 -8
  889. package/_src/State/internal.ts +1 -1
  890. package/_src/Stream/api/zipAllWith.ts +6 -5
  891. package/_src/Stream/api/zipWith.ts +5 -8
  892. package/_src/Stream/api/zipWithChunks.ts +6 -5
  893. package/_src/Stream/api.ts +1049 -1176
  894. package/_src/Stream/definition.ts +0 -2
  895. package/_src/Stream/internal/DebounceState.ts +16 -17
  896. package/_src/Stream/internal/Handoff.ts +31 -35
  897. package/_src/Stream/internal/Pull.ts +1 -2
  898. package/_src/Stream/internal/SinkEndReason.ts +13 -14
  899. package/_src/Stream/internal/Take.ts +21 -21
  900. package/_src/Stream/internal/util.ts +0 -2
  901. package/_src/SubscriptionRef.ts +44 -0
  902. package/_src/Supervisor/api.ts +18 -14
  903. package/_src/Supervisor/definition.ts +0 -1
  904. package/_src/SupervisorPatch.ts +10 -6
  905. package/_src/TExit/definition.ts +0 -8
  906. package/_src/TFuture/api.ts +23 -17
  907. package/_src/TFuture/definition.ts +0 -1
  908. package/_src/TReentrantLock/api.ts +14 -10
  909. package/_src/TReentrantLock/definition.ts +0 -7
  910. package/_src/TRef/api.ts +207 -209
  911. package/_src/TRef/definition.ts +0 -12
  912. package/_src/TSemaphore/api.ts +19 -18
  913. package/_src/TSemaphore/constructors.ts +7 -0
  914. package/_src/collection/immutable/Conc/dropUntilIO.ts +19 -21
  915. package/_src/collection/immutable/Conc/dropWhileIO.ts +21 -23
  916. package/_src/collection/immutable/Conc/filterIO.ts +15 -17
  917. package/_src/collection/immutable/Conc/findIO.ts +17 -19
  918. package/_src/collection/immutable/Conc/mapIO.ts +12 -10
  919. package/_src/collection/immutable/Conc/takeWhileIO.ts +27 -29
  920. package/_src/data/Exit/foreachIO.ts +8 -10
  921. package/_src/global.ts +7 -3
  922. package/_src/index.ts +3 -0
  923. package/_src/internal/Hub.ts +17 -27
  924. package/_src/internal/IsFatal.ts +14 -12
  925. package/_src/internal/MutableQueue.ts +8 -8
  926. package/_src/internal/StackTraceBuilder.ts +1 -2
  927. package/collection/immutable/Conc/dropUntilIO.d.ts +3 -3
  928. package/collection/immutable/Conc/dropWhileIO.d.ts +3 -3
  929. package/collection/immutable/Conc/filterIO.d.ts +3 -3
  930. package/collection/immutable/Conc/findIO.d.ts +2 -2
  931. package/collection/immutable/Conc/mapIO.d.ts +3 -3
  932. package/collection/immutable/Conc/takeWhileIO.d.ts +3 -3
  933. package/data/Exit/foreachIO.d.ts +3 -3
  934. package/global.d.ts +7 -3
  935. package/index.d.ts +3 -0
  936. package/internal/Hub.d.ts +2 -2
  937. package/internal/IsFatal.d.ts +3 -3
  938. package/internal/MutableQueue.d.ts +3 -3
  939. package/package.json +3 -3
  940. package/Hub/api.d.ts +0 -190
  941. package/Queue/api/dimapIO.d.ts +0 -41
  942. package/Queue/api/filterInputIO.d.ts +0 -33
  943. package/Queue/api/filterOutputIO.d.ts +0 -31
  944. package/Queue/api/operations.d.ts +0 -82
  945. package/Queue/api/poll.d.ts +0 -9
  946. package/Queue/api/takeBetween.d.ts +0 -11
  947. package/Queue/api/zipWithIO.d.ts +0 -44
  948. package/Queue/api.d.ts +0 -7
  949. package/Ref/Atomic/Atomic.d.ts +0 -18
  950. package/Ref/Atomic/api.d.ts +0 -53
  951. package/Ref/Derived.d.ts +0 -14
  952. package/Ref/DerivedAll.d.ts +0 -14
  953. package/Ref/Synchronized/api.d.ts +0 -100
  954. package/Ref/Synchronized/constructors.d.ts +0 -8
  955. package/Ref/Synchronized/definition.d.ts +0 -42
  956. package/Ref/api/collect.d.ts +0 -11
  957. package/Ref/api/dimap.d.ts +0 -56
  958. package/Ref/api/filter.d.ts +0 -20
  959. package/Ref/api/get.d.ts +0 -9
  960. package/Ref/api/match.d.ts +0 -13
  961. package/Ref/api/matchAll.d.ts +0 -11
  962. package/Ref/api/modify.d.ts +0 -79
  963. package/Ref/api/set.d.ts +0 -10
  964. package/Ref/api.d.ts +0 -23
  965. package/_cjs/Hub/api.cjs +0 -456
  966. package/_cjs/Hub/api.cjs.map +0 -1
  967. package/_cjs/Queue/api/dimapIO.cjs +0 -120
  968. package/_cjs/Queue/api/dimapIO.cjs.map +0 -1
  969. package/_cjs/Queue/api/filterInputIO.cjs +0 -84
  970. package/_cjs/Queue/api/filterInputIO.cjs.map +0 -1
  971. package/_cjs/Queue/api/filterOutputIO.cjs +0 -89
  972. package/_cjs/Queue/api/filterOutputIO.cjs.map +0 -1
  973. package/_cjs/Queue/api/operations.cjs +0 -147
  974. package/_cjs/Queue/api/operations.cjs.map +0 -1
  975. package/_cjs/Queue/api/poll.cjs +0 -27
  976. package/_cjs/Queue/api/poll.cjs.map +0 -1
  977. package/_cjs/Queue/api/takeBetween.cjs +0 -57
  978. package/_cjs/Queue/api/takeBetween.cjs.map +0 -1
  979. package/_cjs/Queue/api/zipWithIO.cjs +0 -97
  980. package/_cjs/Queue/api/zipWithIO.cjs.map +0 -1
  981. package/_cjs/Queue/api.cjs +0 -97
  982. package/_cjs/Queue/api.cjs.map +0 -1
  983. package/_cjs/Ref/Atomic/Atomic.cjs +0 -64
  984. package/_cjs/Ref/Atomic/Atomic.cjs.map +0 -1
  985. package/_cjs/Ref/Atomic/api.cjs +0 -156
  986. package/_cjs/Ref/Atomic/api.cjs.map +0 -1
  987. package/_cjs/Ref/Derived.cjs +0 -55
  988. package/_cjs/Ref/Derived.cjs.map +0 -1
  989. package/_cjs/Ref/DerivedAll.cjs +0 -55
  990. package/_cjs/Ref/DerivedAll.cjs.map +0 -1
  991. package/_cjs/Ref/Synchronized/api.cjs +0 -196
  992. package/_cjs/Ref/Synchronized/api.cjs.map +0 -1
  993. package/_cjs/Ref/Synchronized/constructors.cjs +0 -32
  994. package/_cjs/Ref/Synchronized/constructors.cjs.map +0 -1
  995. package/_cjs/Ref/Synchronized/definition.cjs +0 -88
  996. package/_cjs/Ref/Synchronized/definition.cjs.map +0 -1
  997. package/_cjs/Ref/api/collect.cjs +0 -31
  998. package/_cjs/Ref/api/collect.cjs.map +0 -1
  999. package/_cjs/Ref/api/dimap.cjs +0 -110
  1000. package/_cjs/Ref/api/dimap.cjs.map +0 -1
  1001. package/_cjs/Ref/api/filter.cjs +0 -45
  1002. package/_cjs/Ref/api/filter.cjs.map +0 -1
  1003. package/_cjs/Ref/api/get.cjs +0 -20
  1004. package/_cjs/Ref/api/get.cjs.map +0 -1
  1005. package/_cjs/Ref/api/match.cjs +0 -26
  1006. package/_cjs/Ref/api/match.cjs.map +0 -1
  1007. package/_cjs/Ref/api/matchAll.cjs +0 -24
  1008. package/_cjs/Ref/api/matchAll.cjs.map +0 -1
  1009. package/_cjs/Ref/api/modify.cjs +0 -239
  1010. package/_cjs/Ref/api/modify.cjs.map +0 -1
  1011. package/_cjs/Ref/api/set.cjs +0 -21
  1012. package/_cjs/Ref/api/set.cjs.map +0 -1
  1013. package/_cjs/Ref/api.cjs +0 -158
  1014. package/_cjs/Ref/api.cjs.map +0 -1
  1015. package/_mjs/Hub/api.mjs +0 -384
  1016. package/_mjs/Hub/api.mjs.map +0 -1
  1017. package/_mjs/Queue/api/dimapIO.mjs +0 -97
  1018. package/_mjs/Queue/api/dimapIO.mjs.map +0 -1
  1019. package/_mjs/Queue/api/filterInputIO.mjs +0 -63
  1020. package/_mjs/Queue/api/filterInputIO.mjs.map +0 -1
  1021. package/_mjs/Queue/api/filterOutputIO.mjs +0 -68
  1022. package/_mjs/Queue/api/filterOutputIO.mjs.map +0 -1
  1023. package/_mjs/Queue/api/operations.mjs +0 -122
  1024. package/_mjs/Queue/api/operations.mjs.map +0 -1
  1025. package/_mjs/Queue/api/poll.mjs +0 -14
  1026. package/_mjs/Queue/api/poll.mjs.map +0 -1
  1027. package/_mjs/Queue/api/takeBetween.mjs +0 -43
  1028. package/_mjs/Queue/api/takeBetween.mjs.map +0 -1
  1029. package/_mjs/Queue/api/zipWithIO.mjs +0 -74
  1030. package/_mjs/Queue/api/zipWithIO.mjs.map +0 -1
  1031. package/_mjs/Queue/api.mjs +0 -9
  1032. package/_mjs/Queue/api.mjs.map +0 -1
  1033. package/_mjs/Ref/Atomic/Atomic.mjs +0 -47
  1034. package/_mjs/Ref/Atomic/Atomic.mjs.map +0 -1
  1035. package/_mjs/Ref/Atomic/api.mjs +0 -127
  1036. package/_mjs/Ref/Atomic/api.mjs.map +0 -1
  1037. package/_mjs/Ref/Derived.mjs +0 -35
  1038. package/_mjs/Ref/Derived.mjs.map +0 -1
  1039. package/_mjs/Ref/DerivedAll.mjs +0 -35
  1040. package/_mjs/Ref/DerivedAll.mjs.map +0 -1
  1041. package/_mjs/Ref/Synchronized/api.mjs +0 -154
  1042. package/_mjs/Ref/Synchronized/api.mjs.map +0 -1
  1043. package/_mjs/Ref/Synchronized/constructors.mjs +0 -15
  1044. package/_mjs/Ref/Synchronized/constructors.mjs.map +0 -1
  1045. package/_mjs/Ref/Synchronized/definition.mjs +0 -66
  1046. package/_mjs/Ref/Synchronized/definition.mjs.map +0 -1
  1047. package/_mjs/Ref/api/collect.mjs +0 -17
  1048. package/_mjs/Ref/api/collect.mjs.map +0 -1
  1049. package/_mjs/Ref/api/dimap.mjs +0 -84
  1050. package/_mjs/Ref/api/dimap.mjs.map +0 -1
  1051. package/_mjs/Ref/api/filter.mjs +0 -29
  1052. package/_mjs/Ref/api/filter.mjs.map +0 -1
  1053. package/_mjs/Ref/api/get.mjs +0 -13
  1054. package/_mjs/Ref/api/get.mjs.map +0 -1
  1055. package/_mjs/Ref/api/match.mjs +0 -18
  1056. package/_mjs/Ref/api/match.mjs.map +0 -1
  1057. package/_mjs/Ref/api/matchAll.mjs +0 -16
  1058. package/_mjs/Ref/api/matchAll.mjs.map +0 -1
  1059. package/_mjs/Ref/api/modify.mjs +0 -204
  1060. package/_mjs/Ref/api/modify.mjs.map +0 -1
  1061. package/_mjs/Ref/api/set.mjs +0 -14
  1062. package/_mjs/Ref/api/set.mjs.map +0 -1
  1063. package/_mjs/Ref/api.mjs +0 -34
  1064. package/_mjs/Ref/api.mjs.map +0 -1
  1065. package/_src/Hub/api.ts +0 -461
  1066. package/_src/Queue/api/dimapIO.ts +0 -130
  1067. package/_src/Queue/api/filterInputIO.ts +0 -75
  1068. package/_src/Queue/api/filterOutputIO.ts +0 -76
  1069. package/_src/Queue/api/operations.ts +0 -139
  1070. package/_src/Queue/api/poll.ts +0 -14
  1071. package/_src/Queue/api/takeBetween.ts +0 -45
  1072. package/_src/Queue/api/zipWithIO.ts +0 -99
  1073. package/_src/Queue/api.ts +0 -9
  1074. package/_src/Ref/Atomic/Atomic.ts +0 -56
  1075. package/_src/Ref/Atomic/api.ts +0 -124
  1076. package/_src/Ref/Derived.ts +0 -71
  1077. package/_src/Ref/DerivedAll.ts +0 -75
  1078. package/_src/Ref/Synchronized/api.ts +0 -249
  1079. package/_src/Ref/Synchronized/constructors.ts +0 -12
  1080. package/_src/Ref/Synchronized/definition.ts +0 -126
  1081. package/_src/Ref/api/collect.ts +0 -19
  1082. package/_src/Ref/api/dimap.ts +0 -115
  1083. package/_src/Ref/api/filter.ts +0 -35
  1084. package/_src/Ref/api/get.ts +0 -17
  1085. package/_src/Ref/api/match.ts +0 -24
  1086. package/_src/Ref/api/matchAll.ts +0 -23
  1087. package/_src/Ref/api/modify.ts +0 -237
  1088. package/_src/Ref/api/set.ts +0 -19
  1089. package/_src/Ref/api.ts +0 -39
package/IO/api.d.ts CHANGED
@@ -61,28 +61,28 @@ export declare function asyncInterrupt<R, E, A>(register: (cb: (resolve: IO<R, E
61
61
  /**
62
62
  * Attempts to convert defects into a failure, throwing away all information
63
63
  * about the cause of the failure.
64
- * @tsplus fluent fncts.io.IO absorbWith
64
+ * @tsplus pipeable fncts.io.IO absorbWith
65
65
  * @tsplus location "@fncts/io/IO/api"
66
66
  */
67
- export declare function absorbWith_<R, E, A>(ma: IO<R, E, A>, f: (e: E) => unknown, __tsplusTrace?: string): IO<R, unknown, A>;
67
+ export declare function absorbWith<R, E, A>(f: (e: E) => unknown, __tsplusTrace?: string): (ma: IO<R, E, A>) => IO<R, unknown, A>;
68
68
  /**
69
- * @tsplus fluent fncts.io.IO apFirst
70
- * @tsplus operator fncts.io.IO <
69
+ * @tsplus pipeable fncts.io.IO apFirst
70
+ * @tsplus pipeable-operator fncts.io.IO <
71
71
  * @tsplus location "@fncts/io/IO/api"
72
72
  */
73
- export declare function apFirst_<R, E, A, R1, E1, B>(self: IO<R, E, A>, fb: IO<R1, E1, B>, __tsplusTrace?: string): IO<R1 | R, E1 | E, A>;
73
+ export declare function apFirst<R1, E1, B>(fb: IO<R1, E1, B>, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) => IO<R1 | R, E1 | E, A>;
74
74
  /**
75
75
  * Combine two effectful actions, keeping only the result of the second
76
- * @tsplus fluent fncts.io.IO apSecond
77
- * @tsplus operator fncts.io.IO >
76
+ * @tsplus pipeable fncts.io.IO apSecond
77
+ * @tsplus pipeable-operator fncts.io.IO >
78
78
  * @tsplus location "@fncts/io/IO/api"
79
79
  */
80
- export declare function apSecond_<R, E, A, R1, E1, B>(self: IO<R, E, A>, fb: IO<R1, E1, B>, __tsplusTrace?: string): IO<R1 | R, E1 | E, B>;
80
+ export declare function apSecond<R1, E1, B>(fb: IO<R1, E1, B>, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) => IO<R1 | R, E1 | E, B>;
81
81
  /**
82
- * @tsplus fluent fncts.io.IO as
82
+ * @tsplus pipeable fncts.io.IO as
83
83
  * @tsplus location "@fncts/io/IO/api"
84
84
  */
85
- export declare function as_<R, E, A, B>(self: IO<R, E, A>, b: Lazy<B>, __tsplusTrace?: string): IO<R, E, B>;
85
+ export declare function as<B>(b: Lazy<B>, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) => IO<R, E, B>;
86
86
  /**
87
87
  * Maps the success value of this effect to an optional value.
88
88
  * @tsplus getter fncts.io.IO asJust
@@ -103,52 +103,50 @@ export declare function asUnit<R, E, A>(self: IO<R, E, A>, __tsplusTrace?: strin
103
103
  /**
104
104
  * Returns an IO whose failure and success channels have been mapped by
105
105
  * the specified pair of functions, `f` and `g`.
106
- * @tsplus fluent fncts.io.IO bimap
106
+ * @tsplus pipeable fncts.io.IO bimap
107
107
  * @tsplus location "@fncts/io/IO/api"
108
108
  */
109
- export declare function bimap_<R, E, A, E1, B>(self: IO<R, E, A>, f: (e: E) => E1, g: (a: A) => B, __tsplusTrace?: string): IO<R, E1, B>;
109
+ export declare function bimap<E, A, E1, B>(f: (e: E) => E1, g: (a: A) => B, __tsplusTrace?: string): <R>(self: IO<R, E, A>) => IO<R, E1, B>;
110
110
  /**
111
111
  * Returns an IO that effectfully "peeks" at the failure or success of
112
112
  * this effect.
113
- * @tsplus fluent fncts.io.IO bitap
113
+ * @tsplus pipeable fncts.io.IO bitap
114
114
  * @tsplus location "@fncts/io/IO/api"
115
115
  */
116
- export declare function bitap_<R, E, A, R1, E1, R2, E2>(self: IO<R, E, A>, onFailure: (e: E) => IO<R1, E1, any>, onSuccess: (a: A) => IO<R2, E2, any>, __tsplusTrace?: string): IO<R | R1 | R2, E | E1 | E2, A>;
116
+ export declare function bitap<E, A, R1, E1, R2, E2>(onFailure: (e: E) => IO<R1, E1, any>, onSuccess: (a: A) => IO<R2, E2, any>, __tsplusTrace?: string): <R>(self: IO<R, E, A>) => IO<R1 | R2 | R, E | E1 | E2, A>;
117
117
  /**
118
118
  * Recovers from the specified error
119
- * @tsplus fluent fncts.io.IO catch
119
+ * @tsplus pipeable fncts.io.IO catch
120
120
  * @tsplus location "@fncts/io/IO/api"
121
121
  */
122
- export declare function catch_<N extends keyof E, K extends E[N] & string, R, E, A, R1, E1, A1>(ma: IO<R, E, A>, tag: N, k: K, f: (e: Extract<E, {
122
+ export declare function catchTagWith<N extends keyof E, K extends E[N] & string, E, R1, E1, A1>(tag: N, k: K, f: (e: Extract<E, {
123
123
  [n in N]: K;
124
- }>) => IO<R1, E1, A1>, __tsplusTrace?: string): IO<R | R1, Exclude<E, {
125
- [n in N]: K;
126
- }> | E1, A | A1>;
124
+ }>) => IO<R1, E1, A1>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R1 | R, E1 | Exclude<E, { [n in N]: K; }>, A1 | A>;
127
125
  /**
128
126
  * Recovers from all errors
129
- * @tsplus fluent fncts.io.IO catchAll
127
+ * @tsplus pipeable fncts.io.IO catchAll
130
128
  * @tsplus location "@fncts/io/IO/api"
131
129
  */
132
- export declare function catchAll_<R, E, A, R1, E1, A1>(ma: IO<R, E, A>, f: (e: E) => IO<R1, E1, A1>, __tsplusTrace?: string): IO<R | R1, E1, A | A1>;
130
+ export declare function catchAll<E, R1, E1, A1>(f: (e: E) => IO<R1, E1, A1>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R1 | R, E1, A1 | A>;
133
131
  /**
134
132
  *
135
133
  * Recovers from all errors with provided cause.
136
- * @tsplus fluent fncts.io.IO catchAllCause
134
+ * @tsplus pipeable fncts.io.IO catchAllCause
137
135
  * @tsplus location "@fncts/io/IO/api"
138
136
  */
139
- export declare function catchAllCause_<R, E, A, R1, E1, A1>(ma: IO<R, E, A>, f: (_: Cause<E>) => IO<R1, E1, A1>, __tsplusTrace?: string): IO<R | R1, E1, A | A1>;
137
+ export declare function catchAllCause<R, E, A, R1, E1, A1>(f: (_: Cause<E>) => IO<R1, E1, A1>, __tsplusTrace?: string): (ma: IO<R, E, A>) => IO<R | R1, E1, A | A1>;
140
138
  /**
141
139
  * Recovers from some or all of the error cases.
142
- * @tsplus fluent fncts.io.IO catchJust
140
+ * @tsplus pipeable fncts.io.IO catchJust
143
141
  * @tsplus location "@fncts/io/IO/api"
144
142
  */
145
- export declare function catchJust_<R, E, A, R1, E1, A1>(ma: IO<R, E, A>, f: (e: E) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): IO<R | R1, E | E1, A | A1>;
143
+ export declare function catchJust<E, R1, E1, A1>(f: (e: E) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R1 | R, E | E1, A1 | A>;
146
144
  /**
147
145
  * Recovers from some or all of the error cases with provided cause.
148
- * @tsplus fluent fncts.io.IO catchJustCause
146
+ * @tsplus pipeable fncts.io.IO catchJustCause
149
147
  * @tsplus location "@fncts/io/IO/api"
150
148
  */
151
- export declare function catchJustCause_<R, E, A, R1, E1, A1>(ma: IO<R, E, A>, f: (_: Cause<E>) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): IO<R | R1, E | E1, A | A1>;
149
+ export declare function catchJustCause<E, R1, E1, A1>(f: (_: Cause<E>) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R1 | R, E | E1, A1 | A>;
152
150
  /**
153
151
  * Recovers from some or all of the defects with provided partial function.
154
152
  *
@@ -156,45 +154,45 @@ export declare function catchJustCause_<R, E, A, R1, E1, A1>(ma: IO<R, E, A>, f:
156
154
  * method should be used only at the boundary between IO and an external
157
155
  * system, to transmit information on a defect for diagnostic or explanatory
158
156
  * purposes.
159
- * @tsplus fluent fncts.io.IO catchJustDefect
157
+ * @tsplus pipeable fncts.io.IO catchJustDefect
160
158
  * @tsplus location "@fncts/io/IO/api"
161
159
  */
162
- export declare function catchJustDefect_<R, E, A, R1, E1, A1>(ma: IO<R, E, A>, f: (_: unknown) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): IO<R | R1, E | E1, A | A1>;
160
+ export declare function catchJustDefect<R1, E1, A1>(f: (_: unknown) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R1 | R, E1 | E, A1 | A>;
163
161
  /**
164
162
  * Recovers from the specified error
165
- * @tsplus fluent IO catchTag
163
+ * @tsplus pipeable IO catchTag
166
164
  * @tsplus location "@fncts/io/IO/api"
167
165
  */
168
- export declare function catchTag_<K extends E["_tag"] & string, R, E extends {
166
+ export declare function catchTag<K extends E["_tag"] & string, E extends {
169
167
  _tag: string;
170
- }, A, R1, E1, A1>(ma: IO<R, E, A>, k: K, f: (e: Extract<E, {
168
+ }, R1, E1, A1>(k: K, f: (e: Extract<E, {
171
169
  _tag: K;
172
- }>) => IO<R1, E1, A1>, __tsplusTrace?: string): IO<R | R1, Exclude<E, {
170
+ }>) => IO<R1, E1, A1>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R1 | R, E1 | Exclude<E, {
173
171
  _tag: K;
174
- }> | E1, A | A1>;
172
+ }>, A1 | A>;
175
173
  /**
176
174
  * @tsplus getter fncts.io.IO cause
177
175
  * @tsplus location "@fncts/io/IO/api"
178
176
  */
179
177
  export declare function cause<R, E, A>(ma: IO<R, E, A>, __tsplusTrace?: string): IO<R, never, Cause<E>>;
180
178
  /**
181
- * @tsplus fluent fncts.io.IO causeAsError
179
+ * @tsplus pipeable fncts.io.IO causeAsError
182
180
  * @tsplus location "@fncts/io/IO/api"
183
181
  */
184
- export declare function causeAsError<R, E, A>(ma: IO<R, E, A>, __tsplusTrace?: string): IO<R, Cause<E>, A>;
182
+ export declare function causeAsError(__tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R, import("@fncts/base/data/Cause.js").Cause<E>, A>;
185
183
  /**
186
184
  * Returns an IO that models the execution of this effect, followed by
187
185
  * the passing of its value to the specified continuation function `f`,
188
186
  * followed by the effect that it returns.
189
- * @tsplus fluent fncts.io.IO flatMap
187
+ * @tsplus pipeable fncts.io.IO flatMap
190
188
  * @tsplus location "@fncts/io/IO/api"
191
189
  */
192
- export declare function flatMap_<R, E, A, R1, E1, B>(ma: IO<R, E, A>, f: (a: A) => IO<R1, E1, B>, __tsplusTrace?: string): IO<R | R1, E | E1, B>;
190
+ export declare function flatMap<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R1 | R, E1 | E, B>;
193
191
  /**
194
- * @tsplus fluent fncts.io.IO flatMapError
192
+ * @tsplus pipeable fncts.io.IO flatMapError
195
193
  * @tsplus location "@fncts/io/IO/api"
196
194
  */
197
- export declare function flatMapError_<R, R1, E, E1, A>(ma: IO<R, E, A>, f: (e: E) => IO<R1, never, E1>, __tsplusTrace?: string): IO<R | R1, E1, A>;
195
+ export declare function flatMapError<R1, E, E1>(f: (e: E) => IO<R1, never, E1>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R1 | R, E1, A>;
198
196
  /**
199
197
  * Checks the interrupt status, and produces the IO returned by the
200
198
  * specified callback.
@@ -203,20 +201,20 @@ export declare function flatMapError_<R, R1, E, E1, A>(ma: IO<R, E, A>, f: (e: E
203
201
  */
204
202
  export declare function checkInterruptible<R, E, A>(f: (i: InterruptStatus) => IO<R, E, A>, __tsplusTrace?: string): IO<R, E, A>;
205
203
  /**
206
- * @tsplus fluent fncts.io.IO collect
204
+ * @tsplus pipeable fncts.io.IO collect
207
205
  * @tsplus location "@fncts/io/IO/api"
208
206
  */
209
- export declare function collect_<R, E, A, E1, A1>(ma: IO<R, E, A>, f: Lazy<E1>, pf: (a: A) => Maybe<A1>, __tsplusTrace?: string): IO<R, E | E1, A1>;
207
+ export declare function collect<A, E1, A1>(f: Lazy<E1>, pf: (a: A) => Maybe<A1>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R, E1 | E, A1>;
210
208
  /**
211
- * @tsplus fluent fncts.io.IO collectIO
209
+ * @tsplus pipeable fncts.io.IO collectIO
212
210
  * @tsplus location "@fncts/io/IO/api"
213
211
  */
214
- export declare function collectIO_<R, E, A, R1, E1, A1, E2>(ma: IO<R, E, A>, f: Lazy<E2>, pf: (a: A) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): IO<R | R1, E | E1 | E2, A1>;
212
+ export declare function collectIO<A, R1, E1, A1, E2>(f: Lazy<E2>, pf: (a: A) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R1 | R, E1 | E2 | E, A1>;
215
213
  /**
216
214
  * @tsplus static fncts.io.IOOps condIO
217
215
  * @tsplus location "@fncts/io/IO/api"
218
216
  */
219
- export declare function condIO_<R, R1, E, A>(b: boolean, onTrue: URIO<R, A>, onFalse: URIO<R1, E>, __tsplusTrace?: string): IO<R | R1, E, A>;
217
+ export declare function condIO<R, R1, E, A>(b: boolean, onTrue: URIO<R, A>, onFalse: URIO<R1, E>, __tsplusTrace?: string): IO<R | R1, E, A>;
220
218
  /**
221
219
  * Returns a lazily constructed effect, whose construction may itself require
222
220
  * effects. The effect must not throw any exceptions. When no environment is required (i.e., when R == unknown)
@@ -286,25 +284,25 @@ export declare function descriptorWith<R, E, A>(f: (d: FiberDescriptor) => IO<R,
286
284
  */
287
285
  export declare function either<R, E, A>(ma: IO<R, E, A>, __tsplusTrace?: string): URIO<R, Either<E, A>>;
288
286
  /**
289
- * @tsplus fluent fncts.io.IO ensuring
287
+ * @tsplus pipeable fncts.io.IO ensuring
290
288
  * @tsplus location "@fncts/io/IO/api"
291
289
  */
292
- export declare function ensuring_<R, E, A, R1>(self: IO<R, E, A>, finalizer: IO<R1, never, any>, __tsplusTrace?: string): IO<R | R1, E, A>;
290
+ export declare function ensuring<R1>(finalizer: IO<R1, never, any>, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) => IO<R1 | R, E, A>;
293
291
  /**
294
- * @tsplus fluent fncts.io.IO errorAsCause
292
+ * @tsplus pipeable fncts.io.IO errorAsCause
295
293
  * @tsplus location "@fncts/io/IO/api"
296
294
  */
297
- export declare function errorAsCause<R, E, A>(ma: IO<R, Cause<E>, A>, __tsplusTrace?: string): IO<R, E, A>;
295
+ export declare function errorAsCause(__tsplusTrace?: string): <R, E, A>(ma: IO<R, import("@fncts/base/data/Cause.js").Cause<E>, A>) => IO<R, E, A>;
298
296
  /**
299
297
  * @tsplus getter fncts.io.IO eventually
300
298
  * @tsplus location "@fncts/io/IO/api"
301
299
  */
302
300
  export declare function eventually<R, E, A>(ma: IO<R, E, A>, __tsplusTrace?: string): IO<R, never, A>;
303
301
  /**
304
- * @tsplus fluent fncts.io.IO extend
302
+ * @tsplus pipeable fncts.io.IO extend
305
303
  * @tsplus location "@fncts/io/IO/api"
306
304
  */
307
- export declare function extend_<R, E, A, B>(wa: IO<R, E, A>, f: (wa: IO<R, E, A>) => B, __tsplusTrace?: string): IO<R, E, B>;
305
+ export declare function extend<R, E, A, B>(f: (wa: IO<R, E, A>) => B, __tsplusTrace?: string): (wa: IO<R, E, A>) => IO<R, E, B>;
308
306
  /**
309
307
  * @tsplus static fncts.io.IOOps fail
310
308
  * @tsplus location "@fncts/io/IO/api"
@@ -338,38 +336,38 @@ export declare const fiberId: IO<never, never, FiberId>;
338
336
  * @tsplus static fncts.io.IOOps filter
339
337
  * @tsplus location "@fncts/io/IO/api"
340
338
  */
341
- export declare function filter_<A, R, E>(as: Iterable<A>, f: (a: A) => IO<R, E, boolean>, __tsplusTrace?: string): IO<R, E, Conc<A>>;
339
+ export declare function filter<A, R, E>(as: Iterable<A>, f: (a: A) => IO<R, E, boolean>, __tsplusTrace?: string): IO<R, E, Conc<A>>;
342
340
  /**
343
341
  * @tsplus static fncts.io.IOOps filterMap
344
342
  * @tsplus location "@fncts/io/IO/api"
345
343
  */
346
- export declare function filterMap_<A, R, E, B>(as: Iterable<A>, f: (a: A) => IO<R, E, Maybe<B>>, __tsplusTrace?: string): IO<R, E, Conc<B>>;
344
+ export declare function filterMap<A, R, E, B>(as: Iterable<A>, f: (a: A) => IO<R, E, Maybe<B>>, __tsplusTrace?: string): IO<R, E, Conc<B>>;
347
345
  /**
348
346
  * @tsplus static fncts.io.IOOps filterMapWithIndex
349
347
  * @tsplus location "@fncts/io/IO/api"
350
348
  */
351
- export declare function filterMapWithIndex_<A, R, E, B>(as: Iterable<A>, f: (i: number, a: A) => IO<R, E, Maybe<B>>, __tsplusTrace?: string): IO<R, E, Conc<B>>;
349
+ export declare function filterMapWithIndex<A, R, E, B>(as: Iterable<A>, f: (i: number, a: A) => IO<R, E, Maybe<B>>, __tsplusTrace?: string): IO<R, E, Conc<B>>;
352
350
  /**
353
351
  * Filters the collection using the specified effectual predicate, removing
354
352
  * all elements that satisfy the predicate.
355
353
  * @tsplus static fncts.io.IOOps filterNot
356
354
  * @tsplus location "@fncts/io/IO/api"
357
355
  */
358
- export declare function filterNot_<A, R, E>(as: Iterable<A>, f: (a: A) => IO<R, E, boolean>, __tsplusTrace?: string): IO<R, E, Conc<A>>;
356
+ export declare function filterNot<A, R, E>(as: Iterable<A>, f: (a: A) => IO<R, E, boolean>, __tsplusTrace?: string): IO<R, E, Conc<A>>;
359
357
  /**
360
358
  * Applies `or` if the predicate fails.
361
- * @tsplus fluent fncts.io.IO filterOrElse
359
+ * @tsplus pipeable fncts.io.IO filterOrElse
362
360
  * @tsplus location "@fncts/io/IO/api"
363
361
  */
364
- export declare function filterOrElse_<R, E, A, B extends A, R1, E1, A1>(fa: IO<R, E, A>, refinement: Refinement<A, B>, or: (a: Exclude<A, B>) => IO<R1, E1, A1>, __tsplusTrace?: string): IO<R | R1, E | E1, B | A1>;
365
- export declare function filterOrElse_<R, E, A, R1, E1, A1>(fa: IO<R, E, A>, predicate: Predicate<A>, or: (a: A) => IO<R1, E1, A1>, __tsplusTrace?: string): IO<R | R1, E | E1, A | A1>;
362
+ export declare function filterOrElse<A, B extends A, R1, E1, A1>(refinement: Refinement<A, B>, or: (a: Exclude<A, B>) => IO<R1, E1, A1>, __tsplusTrace?: string): <R, E>(fa: IO<R, E, A>) => IO<R | R1, E | E1, B | A1>;
363
+ export declare function filterOrElse<A, R1, E1, A1>(predicate: Predicate<A>, or: (a: A) => IO<R1, E1, A1>, __tsplusTrace?: string): <R, E>(fa: IO<R, E, A>) => IO<R | R1, E | E1, A | A1>;
366
364
  /**
367
365
  * Fails with `failWith` if the predicate fails.
368
- * @tsplus fluent fncts.io.IO filterOrFail
366
+ * @tsplus pipeable fncts.io.IO filterOrFail
369
367
  * @tsplus location "@fncts/io/IO/api"
370
368
  */
371
- export declare function filterOrFail_<R, E, A, B extends A, E1>(fa: IO<R, E, A>, refinement: Refinement<A, B>, failWith: (a: Exclude<A, B>) => E1): IO<R, E | E1, B>;
372
- export declare function filterOrFail_<R, E, A, E1>(fa: IO<R, E, A>, predicate: Predicate<A>, failWith: (a: A) => E1): IO<R, E | E1, A>;
369
+ export declare function filterOrFail<A, B extends A, E1>(refinement: Refinement<A, B>, failWith: (a: Exclude<A, B>) => E1): <R, E>(fa: IO<R, E, A>) => IO<R, E | E1, B>;
370
+ export declare function filterOrFail<A, E1>(predicate: Predicate<A>, failWith: (a: A) => E1): <R, E>(fa: IO<R, E, A>) => IO<R, E | E1, A>;
373
371
  /**
374
372
  * Returns an `IO` that yields the value of the first
375
373
  * `IO` to succeed.
@@ -379,11 +377,11 @@ export declare function filterOrFail_<R, E, A, E1>(fa: IO<R, E, A>, predicate: P
379
377
  export declare function firstSuccess<R, E, A>(mas: NonEmptyArray<IO<R, E, A>>, __tsplusTrace?: string): IO<R, E, A>;
380
378
  /**
381
379
  * Halts with specified `unknown` if the predicate fails.
382
- * @tsplus fluent fncts.io.IO filterOrHalt
380
+ * @tsplus pipeable fncts.io.IO filterOrHalt
383
381
  * @tsplus location "@fncts/io/IO/api"
384
382
  */
385
- export declare function filterOrHalt_<R, E, A, B extends A>(fa: IO<R, E, A>, refinement: Refinement<A, B>, haltWith: (a: Exclude<A, B>) => unknown, __tsplusTrace?: string): IO<R, E, A>;
386
- export declare function filterOrHalt_<R, E, A>(fa: IO<R, E, A>, predicate: Predicate<A>, haltWith: (a: A) => unknown, __tsplusTrace?: string): IO<R, E, A>;
383
+ export declare function filterOrHalt<A, B extends A>(refinement: Refinement<A, B>, haltWith: (a: Exclude<A, B>) => unknown, __tsplusTrace?: string): <R, E>(fa: IO<R, E, A>) => IO<R, E, A>;
384
+ export declare function filterOrHalt<A>(predicate: Predicate<A>, haltWith: (a: A) => unknown, __tsplusTrace?: string): <R, E>(fa: IO<R, E, A>) => IO<R, E, A>;
387
385
  /**
388
386
  * @tsplus getter fncts.io.IO flatten
389
387
  * @tsplus location "@fncts/io/IO/api"
@@ -394,20 +392,20 @@ export declare function flatten<R, E, R1, E1, A>(self: IO<R, E, IO<R1, E1, A>>,
394
392
  * @tsplus static fncts.io.IOOps foldLeft
395
393
  * @tsplus location "@fncts/io/IO/api"
396
394
  */
397
- export declare function foldLeft_<A, B, R, E>(as: Iterable<A>, b: B, f: (b: B, a: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, B>;
395
+ export declare function foldLeft<A, B, R, E>(as: Iterable<A>, b: B, f: (b: B, a: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, B>;
398
396
  /**
399
397
  * Combines an array of `IO`s using a `Monoid`
400
398
  * @tsplus static fncts.io.IOOps foldMap
401
399
  * @tsplus location "@fncts/io/IO/api"
402
400
  */
403
- export declare function foldMap_<R, E, A, M>(as: Iterable<IO<R, E, A>>, f: (a: A) => M,
401
+ export declare function foldMap<R, E, A, M>(as: Iterable<IO<R, E, A>>, f: (a: A) => M,
404
402
  /** @tsplus auto */ M: P.Monoid<M>): IO<R, E, M>;
405
403
  /**
406
404
  * Performs a right-associative fold of an `Iterable<A>`
407
405
  * @tsplus static fncts.io.IOOps foldRight
408
406
  * @tsplus location "@fncts/io/IO/api"
409
407
  */
410
- export declare function foldRight_<A, B, R, E>(as: Iterable<A>, b: UIO<B>, f: (a: A, b: IO<R, E, B>) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, B>;
408
+ export declare function foldRight<A, B, R, E>(as: Iterable<A>, b: UIO<B>, f: (a: A, b: IO<R, E, B>) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, B>;
411
409
  /**
412
410
  * Applies the function `f` to each element of the `Iterable<A>` and
413
411
  * returns the results in a new `Conc<B>`.
@@ -417,7 +415,7 @@ export declare function foldRight_<A, B, R, E>(as: Iterable<A>, b: UIO<B>, f: (a
417
415
  * @tsplus static fncts.io.IOOps foreach
418
416
  * @tsplus location "@fncts/io/IO/api"
419
417
  */
420
- export declare function foreach_<A, R, E, B>(as: Iterable<A>, f: (a: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, Conc<B>>;
418
+ export declare function foreach<A, R, E, B>(as: Iterable<A>, f: (a: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, Conc<B>>;
421
419
  /**
422
420
  * Applies the function `f` to each element of the `Iterable<A>` and
423
421
  * returns the results in a new `Conc<B>`.
@@ -427,19 +425,19 @@ export declare function foreach_<A, R, E, B>(as: Iterable<A>, f: (a: A) => IO<R,
427
425
  * @tsplus static fncts.io.IOOps foreachWithIndex
428
426
  * @tsplus location "@fncts/io/IO/api"
429
427
  */
430
- export declare function foreachWithIndex_<A, R, E, B>(as: Iterable<A>, f: (i: number, a: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, Conc<B>>;
428
+ export declare function foreachWithIndex<A, R, E, B>(as: Iterable<A>, f: (i: number, a: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, Conc<B>>;
431
429
  /**
432
430
  * @tsplus static fncts.io.IOOps foreachWithIndexDiscard
433
431
  * @tsplus location "@fncts/io/IO/api"
434
432
  */
435
- export declare function foreachWithIndexDiscard_<A, R, E, B>(as: Iterable<A>, f: (i: number, a: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, void>;
433
+ export declare function foreachWithIndexDiscard<A, R, E, B>(as: Iterable<A>, f: (i: number, a: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, void>;
436
434
  /**
437
435
  * Applies the function `f` to each element of the `Iterable<A>` and runs
438
436
  * produced IOs sequentially.
439
437
  * @tsplus static fncts.io.IOOps foreachDiscard
440
438
  * @tsplus location "@fncts/io/IO/api"
441
439
  */
442
- export declare function foreachDiscard_<A, R, E, B>(as: Iterable<A>, f: (a: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, void>;
440
+ export declare function foreachDiscard<A, R, E, B>(as: Iterable<A>, f: (a: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, void>;
443
441
  /**
444
442
  * Repeats this effect forever (until the first failure).
445
443
  * @tsplus getter fncts.io.IO forever
@@ -455,7 +453,7 @@ export declare function forever<R, E, A>(ma: IO<R, E, A>, __tsplusTrace?: string
455
453
  * new fiber, concurrently and without "blocking" the fiber executing other
456
454
  * IOs. Using fibers can be tricky, so instead of using this method
457
455
  * directly, consider other higher-level methods, such as `raceWith`,
458
- * `zipPar`, and so forth.
456
+ * `zipC`, and so forth.
459
457
  *
460
458
  * The fiber returned by this method has methods interrupt the fiber and to
461
459
  * wait for it to finish executing the IO. See `Fiber` for more
@@ -480,12 +478,14 @@ export declare function fromEither<E, A>(either: Lazy<Either<E, A>>, __tsplusTra
480
478
  /**
481
479
  * Lifts an `Either` into an `IO`
482
480
  * @tsplus static fncts.io.IOOps fromEitherNow
481
+ * @tsplus getter fncts.Either toIO
483
482
  * @tsplus location "@fncts/io/IO/api"
484
483
  */
485
484
  export declare function fromEitherNow<E, A>(either: Either<E, A>, __tsplusTrace?: string): IO<never, E, A>;
486
485
  /**
487
486
  * Lifts an `Eval` into an `IO`
488
487
  * @tsplus static fncts.io.IOOps fromEval
488
+ * @tsplus getter fncts.Eval toIO
489
489
  * @tsplus location "@fncts/io/IO/api"
490
490
  */
491
491
  export declare function fromEval<A>(computation: Eval<A>, __tsplusTrace?: string): IO<never, never, A>;
@@ -498,6 +498,7 @@ export declare function fromExit<E, A>(exit: Lazy<Exit<E, A>>, __tsplusTrace?: s
498
498
  /**
499
499
  * Creates a `IO` from an exit value
500
500
  * @tsplus static fncts.io.IOOps fromExitNow
501
+ * @tsplus getter fncts.Exit toIO
501
502
  * @tsplus location "@fncts/io/IO/api"
502
503
  */
503
504
  export declare function fromExitNow<E, A>(exit: Exit<E, A>, __tsplusTrace?: string): FIO<E, A>;
@@ -510,6 +511,7 @@ export declare function fromExitNow<E, A>(exit: Exit<E, A>, __tsplusTrace?: stri
510
511
  export declare function fromMaybe<A>(maybe: Lazy<Maybe<A>>, __tsplusTrace?: string): FIO<Maybe<never>, A>;
511
512
  /**
512
513
  * @tsplus static fncts.io.IOOps fromMaybeNow
514
+ * @tsplus getter fncts.Maybe toIO
513
515
  * @tsplus location "@fncts/io/IO/api"
514
516
  */
515
517
  export declare function fromMaybeNow<A = never>(maybe: Maybe<A>, __tsplusTrace?: string): IO<unknown, Maybe<never>, A>;
@@ -541,22 +543,22 @@ export declare function fromPromiseHalt<A>(promise: Lazy<Promise<A>>, __tsplusTr
541
543
  export declare function get<R, E, A>(ma: IO<R, E, Maybe<A>>, __tsplusTrace?: string): IO<R, Maybe<E>, A>;
542
544
  /**
543
545
  * Extracts the optional value, or returns the given 'orElse'.
544
- * @tsplus fluent fncts.io.IO getOrElse
546
+ * @tsplus pipeable fncts.io.IO getOrElse
545
547
  * @tsplus location "@fncts/io/IO/api"
546
548
  */
547
- export declare function getOrElse_<R, E, A, B>(ma: IO<R, E, Maybe<A>>, orElse: Lazy<B>, __tsplusTrace?: string): IO<R, E, A | B>;
549
+ export declare function getOrElse<B>(orElse: Lazy<B>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, import("@fncts/base/data/Maybe.js").Maybe<A>>) => IO<R, E, B | A>;
548
550
  /**
549
551
  * Extracts the optional value, or executes the effect 'orElse'.
550
- * @tsplus fluent fncts.io.IO getOrElseIO
552
+ * @tsplus pipeable fncts.io.IO getOrElseIO
551
553
  * @tsplus location "@fncts/io/IO/api"
552
554
  */
553
- export declare function getOrElseIO_<R, E, A, R1, E1, B>(ma: IO<R, E, Maybe<A>>, orElse: Lazy<IO<R1, E1, B>>, __tsplusTrace?: string): IO<R | R1, E | E1, A | B>;
555
+ export declare function getOrElseIO<R1, E1, B>(orElse: Lazy<IO<R1, E1, B>>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, import("@fncts/base/data/Maybe.js").Maybe<A>>) => IO<R1 | R, E1 | E, B | A>;
554
556
  /**
555
557
  * Lifts a Maybe into an IO. If the option is `Nothing`, fail with `onNothing`.
556
558
  * @tsplus static fncts.io.IOOps getOrFailWith
557
559
  * @tsplus location "@fncts/io/IO/api"
558
560
  */
559
- export declare function getOrFailWith_<E, A>(maybe: Maybe<A>, onNothing: Lazy<E>, __tsplusTrace?: string): FIO<E, A>;
561
+ export declare function getOrFailWith<E, A>(maybe: Maybe<A>, onNothing: Lazy<E>, __tsplusTrace?: string): FIO<E, A>;
560
562
  /**
561
563
  * Lifts a Maybe into a IO, if the Maybe is `Nothing` it fails with Unit.
562
564
  * @tsplus static fncts.io.IOOps getOrFailUnit
@@ -580,15 +582,15 @@ export declare function halt(e: Lazy<unknown>, __tsplusTrace?: string): UIO<neve
580
582
  */
581
583
  export declare function haltNow(e: unknown, __tsplusTrace?: string): UIO<never>;
582
584
  /**
583
- * @tsplus fluent fncts.io.IO ifIO
585
+ * @tsplus pipeable fncts.io.IO ifIO
584
586
  * @tsplus location "@fncts/io/IO/api"
585
587
  */
586
- export declare function ifIO_<R, E, R1, E1, B, R2, E2, C>(self: IO<R, E, boolean>, onFalse: Lazy<IO<R1, E1, B>>, onTrue: Lazy<IO<R2, E2, C>>, __tsplusTrace?: string): IO<R | R1 | R2, E | E1 | E2, B | C>;
588
+ export declare function ifIO<R1, E1, B, R2, E2, C>(onFalse: Lazy<IO<R1, E1, B>>, onTrue: Lazy<IO<R2, E2, C>>, __tsplusTrace?: string): <R, E>(self: IO<R, E, boolean>) => IO<R1 | R2 | R, E1 | E2 | E, B | C>;
587
589
  /**
588
590
  * @tsplus static fncts.io.IOOps if
589
591
  * @tsplus location "@fncts/io/IO/api"
590
592
  */
591
- export declare function if_<R, E, A, R1, E1, A1>(b: boolean, onTrue: Lazy<IO<R, E, A>>, onFalse: Lazy<IO<R1, E1, A1>>, __tsplusTrace?: string): IO<R | R1, E | E1, A | A1>;
593
+ export declare function cond<R, E, A, R1, E1, A1>(b: boolean, onTrue: Lazy<IO<R, E, A>>, onFalse: Lazy<IO<R1, E1, A1>>, __tsplusTrace?: string): IO<R | R1, E | E1, A | A1>;
592
594
  /**
593
595
  * @tsplus getter fncts.io.IO ignore
594
596
  * @tsplus location "@fncts/io/IO/api"
@@ -621,7 +623,7 @@ export declare function isSuccess<R, E, A>(ma: IO<R, E, A>, __tsplusTrace?: stri
621
623
  * @tsplus static fncts.io.IOOps iterate
622
624
  * @tsplus location "@fncts/io/IO/api"
623
625
  */
624
- export declare function iterate_<R, E, A>(initial: A, cont: (a: A) => boolean, body: (a: A) => IO<R, E, A>, __tsplusTrace?: string): IO<R, E, A>;
626
+ export declare function iterate<R, E, A>(initial: A, cont: (a: A) => boolean, body: (a: A) => IO<R, E, A>, __tsplusTrace?: string): IO<R, E, A>;
625
627
  /**
626
628
  * Returns an IO with the value on the left part.
627
629
  * @tsplus static fncts.io.IOOps left
@@ -651,7 +653,7 @@ export declare function log(message: Lazy<string>, __tsplusTrace?: string): UIO<
651
653
  * @tsplus static fncts.io.IOOps loop
652
654
  * @tsplus location "@fncts/io/IO/api"
653
655
  */
654
- export declare function loop_<A, R, E, B>(initial: A, cont: (a: A) => boolean, inc: (b: A) => A, body: (b: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, Conc<B>>;
656
+ export declare function loop<A, R, E, B>(initial: A, cont: (a: A) => boolean, inc: (b: A) => A, body: (b: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, E, Conc<B>>;
655
657
  /**
656
658
  * Loops with the specified effectual function purely for its effects. The
657
659
  * moral equivalent of:
@@ -667,67 +669,67 @@ export declare function loop_<A, R, E, B>(initial: A, cont: (a: A) => boolean, i
667
669
  * @tsplus static fncts.io.IOOps loopUnit
668
670
  * @tsplus location "@fncts/io/IO/api"
669
671
  */
670
- export declare function loopUnit_<A, R, E>(initial: A, cont: (a: A) => boolean, inc: (a: A) => A, body: (a: A) => IO<R, E, any>, __tsplusTrace?: string): IO<R, E, void>;
672
+ export declare function loopUnit<A, R, E>(initial: A, cont: (a: A) => boolean, inc: (a: A) => A, body: (a: A) => IO<R, E, any>, __tsplusTrace?: string): IO<R, E, void>;
671
673
  /**
672
674
  * Returns an `IO` whose success is mapped by the specified function `f`.
673
- * @tsplus fluent fncts.io.IO map
675
+ * @tsplus pipeable fncts.io.IO map
674
676
  * @tsplus location "@fncts/io/IO/api"
675
677
  */
676
- export declare function map_<R, E, A, B>(fa: IO<R, E, A>, f: (a: A) => B, __tsplusTrace?: string): IO<R, E, B>;
678
+ export declare function map<A, B>(f: (a: A) => B, __tsplusTrace?: string): <R, E>(fa: IO<R, E, A>) => IO<R, E, B>;
677
679
  /**
678
680
  * Map covariantly over the first argument.
679
681
  *
680
682
  * Returns an IO with its error channel mapped using the specified
681
683
  * function. This can be used to lift a "smaller" error into a "larger"
682
684
  * error.
683
- * @tsplus fluent fncts.io.IO mapError
685
+ * @tsplus pipeable fncts.io.IO mapError
684
686
  * @tsplus location "@fncts/io/IO/api"
685
687
  */
686
- export declare function mapError_<R, E, A, E1>(fea: IO<R, E, A>, f: (e: E) => E1, __tsplusTrace?: string): IO<R, E1, A>;
688
+ export declare function mapError<E, E1>(f: (e: E) => E1, __tsplusTrace?: string): <R, A>(fea: IO<R, E, A>) => IO<R, E1, A>;
687
689
  /**
688
690
  * @tsplus static fncts.io.IOOps mapTryCatch
689
691
  * @tsplus location "@fncts/io/IO/api"
690
692
  */
691
- export declare function mapTryCatch_<R, E, A, E1, B>(io: IO<R, E, A>, f: (a: A) => B, onThrow: (u: unknown) => E1, __tsplusTrace?: string): IO<R, E | E1, B>;
693
+ export declare function mapTryCatch<R, E, A, E1, B>(io: IO<R, E, A>, f: (a: A) => B, onThrow: (u: unknown) => E1, __tsplusTrace?: string): IO<R, E | E1, B>;
692
694
  /**
693
695
  * Returns an IO with its full cause of failure mapped using
694
696
  * the specified function. This can be used to transform errors
695
697
  * while preserving the original structure of Cause.
696
- * @tsplus fluent fncts.io.IO mapErrorCause
698
+ * @tsplus pipeable fncts.io.IO mapErrorCause
697
699
  * @tsplus location "@fncts/io/IO/api"
698
700
  */
699
- export declare function mapErrorCause_<R, E, A, E1>(ma: IO<R, E, A>, f: (cause: Cause<E>) => Cause<E1>, __tsplusTrace?: string): IO<R, E1, A>;
701
+ export declare function mapErrorCause<E, E1>(f: (cause: Cause<E>) => Cause<E1>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R, E1, A>;
700
702
  /**
701
703
  * A more powerful version of `match_` that allows recovering from any kind of failure except interruptions.
702
- * @tsplus fluent fncts.io.IO matchCause
704
+ * @tsplus pipeable fncts.io.IO matchCause
703
705
  * @tsplus location "@fncts/io/IO/api"
704
706
  */
705
- export declare function matchCause_<R, E, A, A1, A2>(self: IO<R, E, A>, onFailure: (cause: Cause<E>) => A1, onSuccess: (a: A) => A2, __tsplusTrace?: string): IO<R, never, A1 | A2>;
707
+ export declare function matchCause<E, A, A1, A2>(onFailure: (cause: Cause<E>) => A1, onSuccess: (a: A) => A2, __tsplusTrace?: string): <R>(self: IO<R, E, A>) => IO<R, never, A1 | A2>;
706
708
  /**
707
709
  * A more powerful version of `matchIO` that allows recovering from any kind of failure except interruptions.
708
- * @tsplus fluent fncts.io.IO matchCauseIO
710
+ * @tsplus pipeable fncts.io.IO matchCauseIO
709
711
  * @tsplus location "@fncts/io/IO/api"
710
712
  */
711
- export declare function matchCauseIO_<R, E, A, R1, E1, A1, R2, E2, A2>(self: IO<R, E, A>, onFailure: (cause: Cause<E>) => IO<R1, E1, A1>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): IO<R | R1 | R2, E1 | E2, A1 | A2>;
713
+ export declare function matchCauseIO<E, A, R1, E1, A1, R2, E2, A2>(onFailure: (cause: Cause<E>) => IO<R1, E1, A1>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): <R>(self: IO<R, E, A>) => IO<R1 | R2 | R, E1 | E2, A1 | A2>;
712
714
  /**
713
- * @tsplus fluent fncts.io.IO matchIO
715
+ * @tsplus pipeable fncts.io.IO matchIO
714
716
  * @tsplus location "@fncts/io/IO/api"
715
717
  */
716
- export declare function matchIO_<R, R1, R2, E, E1, E2, A, A1, A2>(self: IO<R, E, A>, onFailure: (e: E) => IO<R1, E1, A1>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): IO<R | R1 | R2, E1 | E2, A1 | A2>;
718
+ export declare function matchIO<R1, R2, E, E1, E2, A, A1, A2>(onFailure: (e: E) => IO<R1, E1, A1>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): <R>(self: IO<R, E, A>) => IO<R1 | R2 | R, E1 | E2, A1 | A2>;
717
719
  /**
718
720
  * Folds over the failure value or the success value to yield an IO that
719
721
  * does not fail, but succeeds with the value returned by the left or right
720
722
  * function passed to `match_`.
721
- * @tsplus fluent fncts.io.IO match
723
+ * @tsplus pipeable fncts.io.IO match
722
724
  * @tsplus location "@fncts/io/IO/api"
723
725
  */
724
- export declare function match_<R, E, A, B, C>(self: IO<R, E, A>, onFailure: (e: E) => B, onSuccess: (a: A) => C, __tsplusTrace?: string): IO<R, never, B | C>;
726
+ export declare function match<E, A, B, C>(onFailure: (e: E) => B, onSuccess: (a: A) => C, __tsplusTrace?: string): <R>(self: IO<R, E, A>) => IO<R, never, B | C>;
725
727
  /**
726
728
  * A version of `matchIO` that gives you the (optional) trace of the error.
727
- * @tsplus fluent fncts.io.IO matchTraceIO
729
+ * @tsplus pipeable fncts.io.IO matchTraceIO
728
730
  * @tsplus location "@fncts/io/IO/api"
729
731
  */
730
- export declare function matchTraceIO_<R, E, A, R1, E1, A1, R2, E2, A2>(ma: IO<R, E, A>, onFailure: (e: E, trace: Trace) => IO<R1, E1, A1>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): IO<R | R1 | R2, E1 | E2, A1 | A2>;
732
+ export declare function matchTraceIO<E, A, R1, E1, A1, R2, E2, A2>(onFailure: (e: E, trace: Trace) => IO<R1, E1, A1>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): <R>(ma: IO<R, E, A>) => IO<R1 | R2 | R, E1 | E2, A1 | A2>;
731
733
  /**
732
734
  * @tsplus getter fncts.io.IO maybe
733
735
  * @tsplus location "@fncts/io/IO/api"
@@ -743,7 +745,7 @@ export declare function merge<R, E, A>(io: IO<R, E, A>, __tsplusTrace?: string):
743
745
  * @tsplus static fncts.io.IOOps mergeAll
744
746
  * @tsplus location "@fncts/io/IO/api"
745
747
  */
746
- export declare function mergeAll_<R, E, A, B>(fas: Iterable<IO<R, E, A>>, b: B, f: (b: B, a: A) => B, __tsplusTrace?: string): IO<R, E, B>;
748
+ export declare function mergeAll<R, E, A, B>(fas: Iterable<IO<R, E, A>>, b: B, f: (b: B, a: A) => B, __tsplusTrace?: string): IO<R, E, B>;
747
749
  /**
748
750
  * Returns a `IO` that will never produce anything. The moral equivalent of
749
751
  * `while(true) {}`, only without the wasted CPU cycles.
@@ -762,35 +764,36 @@ export declare function optional<R, E, A>(ma: IO<R, Maybe<E>, A>, __tsplusTrace?
762
764
  * effect and the `Boolean` value returned by the specified effect. This
763
765
  * operator has "short circuiting" behavior so if the value returned by this
764
766
  * effect is true the specified effect will not be evaluated.
765
- * @tsplus fluent fncts.io.IO or
767
+ * @tsplus pipeable fncts.io.IO or
768
+ * @tsplus pipeable-operator fncts.io.IO ||
766
769
  * @tsplus location "@fncts/io/IO/api"
767
770
  */
768
- export declare function or_<R, E, R1, E1>(ma: IO<R, E, boolean>, mb: IO<R1, E1, boolean>, __tsplusTrace?: string): IO<R | R1, E | E1, boolean>;
771
+ export declare function or<R1, E1>(mb: IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, boolean>) => IO<R1 | R, E1 | E, boolean>;
769
772
  /**
770
- * @tsplus fluent fncts.io.IO orElse
773
+ * @tsplus pipeable fncts.io.IO orElse
771
774
  * @tsplus location "@fncts/io/IO/api"
772
775
  */
773
- export declare function orElse_<R, E, A, R1, E1, A1>(ma: IO<R, E, A>, that: Lazy<IO<R1, E1, A1>>, __tsplusTrace?: string): IO<R | R1, E1, A | A1>;
776
+ export declare function orElse<R1, E1, A1>(that: Lazy<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R1 | R, E1, A1 | A>;
774
777
  /**
775
- * @tsplus fluent fncts.io.IO orElseEither
778
+ * @tsplus pipeable fncts.io.IO orElseEither
776
779
  * @tsplus location "@fncts/io/IO/api"
777
780
  */
778
- export declare function orElseEither_<R, E, A, R1, E1, A1>(self: IO<R, E, A>, that: Lazy<IO<R1, E1, A1>>, __tsplusTrace?: string): IO<R | R1, E1, Either<A, A1>>;
781
+ export declare function orElseEither<R1, E1, A1>(that: Lazy<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) => IO<R1 | R, E1, import("@fncts/base/data/Either.js").Either<A, A1>>;
779
782
  /**
780
- * @tsplus fluent fncts.io.IO orElseFail
783
+ * @tsplus pipeable fncts.io.IO orElseFail
781
784
  * @tsplus location "@fncts/io/IO/api"
782
785
  */
783
- export declare function orElseFail_<R, E, A, E1>(ma: IO<R, E, A>, e: Lazy<E1>, __tsplusTrace?: string): IO<R, E1, A>;
786
+ export declare function orElseFail<E1>(e: Lazy<E1>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R, E1, A>;
784
787
  /**
785
- * @tsplus fluent fncts.io.IO orElseMaybe
788
+ * @tsplus pipeable fncts.io.IO orElseMaybe
786
789
  * @tsplus location "@fncts/io/IO/api"
787
790
  */
788
- export declare function orElseMaybe_<R, E, A, R1, E1, A1>(ma: IO<R, Maybe<E>, A>, that: Lazy<IO<R1, Maybe<E1>, A1>>, __tsplusTrace?: string): IO<R | R1, Maybe<E | E1>, A | A1>;
791
+ export declare function orElseMaybe<R1, E1, A1>(that: Lazy<IO<R1, Maybe<E1>, A1>>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, import("@fncts/base/data/Maybe.js").Maybe<E>, A>) => IO<R1 | R, import("@fncts/base/data/Maybe.js").Maybe<E1 | E>, A1 | A>;
789
792
  /**
790
- * @tsplus fluent fncts.io.IO orElseSucceed
793
+ * @tsplus pipeable fncts.io.IO orElseSucceed
791
794
  * @tsplus location "@fncts/io/IO/api"
792
795
  */
793
- export declare function orElseSucceed_<R, E, A, A1>(ma: IO<R, E, A>, a: Lazy<A1>, __tsplusTrace?: string): IO<R, E, A | A1>;
796
+ export declare function orElseSucceed<A1>(a: Lazy<A1>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R, E, A1 | A>;
794
797
  /**
795
798
  * @tsplus getter fncts.io.IO orHalt
796
799
  * @tsplus location "@fncts/io/IO/api"
@@ -802,91 +805,91 @@ export declare function orHalt<R, E, A>(ma: IO<R, E, A>, __tsplusTrace?: string)
802
805
  */
803
806
  export declare function orHaltKeep<R, E, A>(ma: IO<R, E, A>, __tsplusTrace?: string): IO<R, never, A>;
804
807
  /**
805
- * @tsplus fluent fncts.io.IO orHaltWith
808
+ * @tsplus pipeable fncts.io.IO orHaltWith
806
809
  * @tsplus location "@fncts/io/IO/api"
807
810
  */
808
- export declare function orHaltWith_<R, E, A>(ma: IO<R, E, A>, f: (e: E) => unknown, __tsplusTrace?: string): IO<R, never, A>;
811
+ export declare function orHaltWith<E>(f: (e: E) => unknown, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R, never, A>;
809
812
  /**
810
813
  * Exposes all parallel errors in a single call
811
- * @tsplus fluent fncts.io.IO parallelErrors
814
+ * @tsplus pipeable fncts.io.IO concurrentErrors
812
815
  * @tsplus location "@fncts/io/IO/api"
813
816
  */
814
- export declare function parallelErrors<R, E, A>(io: IO<R, E, A>, __tsplusTrace?: string): IO<R, List<E>, A>;
817
+ export declare function concurrentErrors(__tsplusTrace?: string): <R, E, A>(io: IO<R, E, A>) => IO<R, import("@fncts/base/collection/immutable/List.js").List<E>, A>;
815
818
  /**
816
819
  * Feeds elements of type `A` to a function `f` that returns an IO.
817
820
  * Collects all successes and failures in a separated fashion.
818
821
  * @tsplus static fncts.io.IOOps partition
819
822
  * @tsplus location "@fncts/io/IO/api"
820
823
  */
821
- export declare function partition_<R, E, A, B>(as: Iterable<A>, f: (a: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, never, readonly [Conc<E>, Conc<B>]>;
824
+ export declare function partition<R, E, A, B>(as: Iterable<A>, f: (a: A) => IO<R, E, B>, __tsplusTrace?: string): IO<R, never, readonly [Conc<E>, Conc<B>]>;
822
825
  /**
823
826
  * Keeps some of the errors, and terminates the fiber with the rest
824
- * @tsplus fluent fncts.io.IO refineOrHalt
827
+ * @tsplus pipeable fncts.io.IO refineOrHalt
825
828
  * @tsplus location "@fncts/io/IO/api"
826
829
  */
827
- export declare function refineOrHalt_<R, E, A, E1>(fa: IO<R, E, A>, pf: (e: E) => Maybe<E1>, __tsplusTrace?: string): IO<R, E1, A>;
830
+ export declare function refineOrHalt<E, E1>(pf: (e: E) => Maybe<E1>, __tsplusTrace?: string): <R, A>(fa: IO<R, E, A>) => IO<R, E1, A>;
828
831
  /**
829
832
  * Keeps some of the errors, and terminates the fiber with the rest, using
830
833
  * the specified function to convert the `E` into a `Throwable`.
831
- * @tsplus fluent fncts.io.IO refineOrHaltWith
834
+ * @tsplus pipeable fncts.io.IO refineOrHaltWith
832
835
  * @tsplus location "@fncts/io/IO/api"
833
836
  */
834
- export declare function refineOrHaltWith_<R, E, A, E1>(fa: IO<R, E, A>, pf: (e: E) => Maybe<E1>, f: (e: E) => unknown, __tsplusTrace?: string): IO<R, E1, A>;
837
+ export declare function refineOrHaltWith<E, E1>(pf: (e: E) => Maybe<E1>, f: (e: E) => unknown, __tsplusTrace?: string): <R, A>(fa: IO<R, E, A>) => IO<R, E1, A>;
835
838
  /**
836
839
  * Fail with the returned value if the partial function `pf` matches, otherwise
837
840
  * continue with the held value.
838
- * @tsplus fluent fncts.io.IO reject
841
+ * @tsplus pipeable fncts.io.IO reject
839
842
  * @tsplus location "@fncts/io/IO/api"
840
843
  */
841
- export declare function reject_<R, E, A, E1>(fa: IO<R, E, A>, pf: (a: A) => Maybe<E1>, __tsplusTrace?: string): IO<R, E | E1, A>;
844
+ export declare function reject<A, E1>(pf: (a: A) => Maybe<E1>, __tsplusTrace?: string): <R, E>(fa: IO<R, E, A>) => IO<R, E1 | E, A>;
842
845
  /**
843
846
  * Continue with the returned computation if the partial function `pf` matches,
844
847
  * translating the successful match into a failure, otherwise continue with
845
848
  * the held value.
846
- * @tsplus fluent fncts.io.IO rejectIO
849
+ * @tsplus pipeable fncts.io.IO rejectIO
847
850
  * @tsplus location "@fncts/io/IO/api"
848
851
  */
849
- export declare function rejectIO_<R, E, A, R1, E1>(fa: IO<R, E, A>, pf: (a: A) => Maybe<IO<R1, E1, E1>>, __tsplusTrace?: string): IO<R | R1, E | E1, A>;
852
+ export declare function rejectIO<A, R1, E1>(pf: (a: A) => Maybe<IO<R1, E1, E1>>, __tsplusTrace?: string): <R, E>(fa: IO<R, E, A>) => IO<R1 | R, E1 | E, A>;
850
853
  /**
851
854
  * Repeats this effect the specified number of times.
852
- * @tsplus fluent fncts.io.IO repeatN
855
+ * @tsplus pipeable fncts.io.IO repeatN
853
856
  * @tsplus location "@fncts/io/IO/api"
854
857
  */
855
- export declare function repeatN_<R, E, A>(ma: IO<R, E, A>, n: number, __tsplusTrace?: string): IO<R, E, A>;
858
+ export declare function repeatN_(n: number, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R, E, A>;
856
859
  /**
857
860
  * Repeats this effect until its result satisfies the specified predicate.
858
- * @tsplus fluent fncts.io.IO repeatUntil
861
+ * @tsplus pipeable fncts.io.IO repeatUntil
859
862
  * @tsplus location "@fncts/io/IO/api"
860
863
  */
861
- export declare function repeatUntil_<R, E, A>(ma: IO<R, E, A>, f: (a: A) => boolean, __tsplusTrace?: string): IO<R, E, A>;
864
+ export declare function repeatUntil<A>(f: (a: A) => boolean, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R, E, A>;
862
865
  /**
863
866
  * Repeats this effect until its error satisfies the specified effectful predicate.
864
- * @tsplus fluent fncts.io.IO repeatUntilIO
867
+ * @tsplus pipeable fncts.io.IO repeatUntilIO
865
868
  * @tsplus location "@fncts/io/IO/api"
866
869
  */
867
- export declare function repeatUntilIO_<R, E, A, R1, E1>(ma: IO<R, E, A>, f: (a: A) => IO<R1, E1, boolean>, __tsplusTrace?: string): IO<R | R1, E | E1, A>;
870
+ export declare function repeatUntilIO<A, R1, E1>(f: (a: A) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R1 | R, E1 | E, A>;
868
871
  /**
869
872
  * Repeats this effect while its error satisfies the specified predicate.
870
- * @tsplus fluent fncts.io.IO repeatWhile
873
+ * @tsplus pipeable fncts.io.IO repeatWhile
871
874
  * @tsplus location "@fncts/io/IO/api"
872
875
  */
873
- export declare function repeatWhile_<R, E, A>(ma: IO<R, E, A>, f: (a: A) => boolean, __tsplusTrace?: string): IO<R, E, A>;
876
+ export declare function repeatWhile<A>(f: (a: A) => boolean, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R, E, A>;
874
877
  /**
875
878
  * Repeats this effect while its error satisfies the specified effectful predicate.
876
- * @tsplus fluent fncts.io.IO repeatWhileIO
879
+ * @tsplus pipeable fncts.io.IO repeatWhileIO
877
880
  * @tsplus location "@fncts/io/IO/api"
878
881
  */
879
- export declare function repeatWhileIO_<R, E, A, R1, E1>(ma: IO<R, E, A>, f: (a: A) => IO<R1, E1, boolean>, __tsplusTrace?: string): IO<R | R1, E | E1, A>;
882
+ export declare function repeatWhileIO<A, R1, E1>(f: (a: A) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R1 | R, E1 | E, A>;
880
883
  /**
881
- * @tsplus fluent fncts.io.IO replicate
884
+ * @tsplus pipeable fncts.io.IO replicate
882
885
  * @tsplus location "@fncts/io/IO/api"
883
886
  */
884
- export declare function replicate_<R, E, A>(self: IO<R, E, A>, n: number, __tsplusTrace?: string): ImmutableArray<IO<R, E, A>>;
887
+ export declare function replicate(n: number, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) => import("@fncts/base/collection/immutable/ImmutableArray.js").ImmutableArray<IO<R, E, A>>;
885
888
  /**
886
- * @tsplus fluent fncts.io.IO require
889
+ * @tsplus pipeable fncts.io.IO require
887
890
  * @tsplus location "@fncts/io/IO/api"
888
891
  */
889
- export declare function require_<R, E, A>(ma: IO<R, E, Maybe<A>>, error: Lazy<E>, __tsplusTrace?: string): IO<R, E, A>;
892
+ export declare function require<E>(error: Lazy<E>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, import("@fncts/base/data/Maybe.js").Maybe<A>>) => IO<R, E, A>;
890
893
  /**
891
894
  * Returns an IO that semantically runs the IO on a fiber,
892
895
  * producing an `Exit` for the completion value of the fiber.
@@ -902,28 +905,28 @@ export declare function result<R, E, A>(ma: IO<R, E, A>, __tsplusTrace?: string)
902
905
  export declare function resurrect<R, E, A>(io: IO<R, E, A>, __tsplusTrace?: string): IO<R, unknown, A>;
903
906
  /**
904
907
  * Retries this effect until its error satisfies the specified predicate.
905
- * @tsplus fluent fncts.io.IO retryUntil
908
+ * @tsplus pipeable fncts.io.IO retryUntil
906
909
  * @tsplus location "@fncts/io/IO/api"
907
910
  */
908
- export declare function retryUntil_<R, E, A>(fa: IO<R, E, A>, f: (e: E) => boolean, __tsplusTrace?: string): IO<R, E, A>;
911
+ export declare function retryUntil<E>(f: (e: E) => boolean, __tsplusTrace?: string): <R, A>(fa: IO<R, E, A>) => IO<R, E, A>;
909
912
  /**
910
913
  * Retries this effect until its error satisfies the specified effectful predicate.
911
- * @tsplus fluent fncts.io.IO retryUntilIO
914
+ * @tsplus pipeable fncts.io.IO retryUntilIO
912
915
  * @tsplus location "@fncts/io/IO/api"
913
916
  */
914
- export declare function retryUntilIO_<R, E, A, R1, E1>(fa: IO<R, E, A>, f: (e: E) => IO<R1, E1, boolean>, __tsplusTrace?: string): IO<R | R1, E | E1, A>;
917
+ export declare function retryUntilIO<E, R1, E1>(f: (e: E) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, A>(fa: IO<R, E, A>) => IO<R1 | R, E | E1, A>;
915
918
  /**
916
919
  * Retries this effect while its error satisfies the specified predicate.
917
- * @tsplus fluent fncts.io.IO retryWhile
920
+ * @tsplus pipeable fncts.io.IO retryWhile
918
921
  * @tsplus location "@fncts/io/IO/api"
919
922
  */
920
- export declare function retryWhile_<R, E, A>(fa: IO<R, E, A>, f: (e: E) => boolean, __tsplusTrace?: string): IO<R, E, A>;
923
+ export declare function retryWhile<E>(f: (e: E) => boolean, __tsplusTrace?: string): <R, A>(fa: IO<R, E, A>) => IO<R, E, A>;
921
924
  /**
922
925
  * Retries this effect while its error satisfies the specified effectful predicate.
923
- * @tsplus fluent fncts.io.IO retryWhileIO
926
+ * @tsplus pipeable fncts.io.IO retryWhileIO
924
927
  * @tsplus location "@fncts/io/IO/api"
925
928
  */
926
- export declare function retryWhileIO_<R, E, A, R1, E1>(fa: IO<R, E, A>, f: (e: E) => IO<R1, E1, boolean>, __tsplusTrace?: string): IO<R | R1, E | E1, A>;
929
+ export declare function retryWhileIO<E, R1, E1>(f: (e: E) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, A>(fa: IO<R, E, A>) => IO<R1 | R, E | E1, A>;
927
930
  /**
928
931
  * Retrieves the runtimeConfig that this effect is running on.
929
932
  * @tsplus static fncts.io.IOOps runtimeConfig
@@ -937,10 +940,10 @@ export declare const runtimeConfig: UIO<RuntimeConfig>;
937
940
  */
938
941
  export declare function sandbox<R, E, A>(fa: IO<R, E, A>, __tsplusTrace?: string): IO<R, Cause<E>, A>;
939
942
  /**
940
- * @tsplus fluent fncts.io.IO sandboxWith
943
+ * @tsplus pipeable fncts.io.IO sandboxWith
941
944
  * @tsplus location "@fncts/io/IO/api"
942
945
  */
943
- export declare function sandboxWith_<R, E, A, E1>(ma: IO<R, E, A>, f: (_: IO<R, Cause<E>, A>) => IO<R, Cause<E1>, A>, __tsplusTrace?: string): IO<R, E1, A>;
946
+ export declare function sandboxWith<R, E, A, E1>(f: (_: IO<R, Cause<E>, A>) => IO<R, Cause<E1>, A>, __tsplusTrace?: string): (ma: IO<R, E, A>) => IO<R, E1, A>;
944
947
  /**
945
948
  * Sets the runtime configuration to the specified value.
946
949
  * @tsplus static fncts.io.IOOps setRuntimeConfig
@@ -973,10 +976,10 @@ export declare function succeedNow<A>(value: A, __tsplusTrace?: string): IO<neve
973
976
  */
974
977
  export declare function succeed<A>(effect: Lazy<A>, __tsplusTrace?: string): UIO<A>;
975
978
  /**
976
- * @tsplus fluent fncts.io.IO summarized
979
+ * @tsplus pipeable fncts.io.IO summarized
977
980
  * @tsplus location "@fncts/io/IO/api"
978
981
  */
979
- export declare function summarized_<R, E, A, R1, E1, B, C>(ma: IO<R, E, A>, summary: IO<R1, E1, B>, f: (start: B, end: B) => C, __tsplusTrace?: string): IO<R | R1, E | E1, readonly [C, A]>;
982
+ export declare function summarized<R1, E1, B, C>(summary: IO<R1, E1, B>, f: (start: B, end: B) => C, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R1 | R, E1 | E, readonly [C, A]>;
980
983
  /**
981
984
  * Swaps the positions of a Bifunctor's arguments
982
985
  * @tsplus getter fncts.io.IO swap
@@ -985,16 +988,16 @@ export declare function summarized_<R, E, A, R1, E1, B, C>(ma: IO<R, E, A>, summ
985
988
  export declare function swap<R, E, A>(pab: IO<R, E, A>, __tsplusTrace?: string): IO<R, A, E>;
986
989
  /**
987
990
  * Swaps the error/value parameters, applies the function `f` and flips the parameters back
988
- * @tsplus fluent fncts.io.IO swapWith
991
+ * @tsplus pipeable fncts.io.IO swapWith
989
992
  * @tsplus location "@fncts/io/IO/api"
990
993
  */
991
- export declare function swapWith_<R, E, A, R1, E1, A1>(fa: IO<R, E, A>, f: (ma: IO<R, A, E>) => IO<R1, A1, E1>, __tsplusTrace?: string): IO<R1, E1, A1>;
994
+ export declare function swapWith<R, E, A, R1, E1, A1>(f: (ma: IO<R, A, E>) => IO<R1, A1, E1>, __tsplusTrace?: string): (fa: IO<R, E, A>) => IO<R1, E1, A1>;
992
995
  /**
993
996
  * A more powerful variation of `timed` that allows specifying the clock.
994
- * @tsplus fluent fncts.io.IO timedWith
997
+ * @tsplus pipeable fncts.io.IO timedWith
995
998
  * @tsplus location "@fncts/io/IO/api"
996
999
  */
997
- export declare function timedWith_<R, E, A, R1, E1>(ma: IO<R, E, A>, msTime: IO<R1, E1, number>, __tsplusTrace?: string): IO<R | R1, E | E1, readonly [number, A]>;
1000
+ export declare function timedWith<R1, E1>(msTime: IO<R1, E1, number>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R1 | R, E1 | E, readonly [number, A]>;
998
1001
  /**
999
1002
  * Creates a `IO` that has succeeded with a pure value
1000
1003
  * @tsplus static fncts.io.IOOps tryCatch
@@ -1012,35 +1015,35 @@ export declare function absolve<R, E, E1, A>(ma: IO<R, E, Either<E1, A>>, __tspl
1012
1015
  * and keeping only the result of the first
1013
1016
  *
1014
1017
  * Returns an IO that effectfully "peeks" at the success of this effect.
1015
- * @tsplus fluent fncts.io.IO tap
1018
+ * @tsplus pipeable fncts.io.IO tap
1016
1019
  * @tsplus location "@fncts/io/IO/api"
1017
1020
  */
1018
- export declare function tap_<R, E, A, R1, E1, B>(self: IO<R, E, A>, f: (a: A) => IO<R1, E1, B>, __tsplusTrace?: string): IO<R1 | R, E1 | E, A>;
1021
+ export declare function tap<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>, __tsplusTrace?: string): <R, E>(self: IO<R, E, A>) => IO<R1 | R, E1 | E, A>;
1019
1022
  /**
1020
1023
  * Returns an IO that effectually "peeks" at the cause of the failure of
1021
1024
  * this IO.
1022
- * @tsplus fluent fncts.io.IO tapCause
1025
+ * @tsplus pipeable fncts.io.IO tapCause
1023
1026
  * @tsplus location "@fncts/io/IO/api"
1024
1027
  */
1025
- export declare function tapCause_<R2, A2, R, E, E2>(ma: IO<R2, E2, A2>, f: (e: Cause<E2>) => IO<R, E, any>, __tsplusTrace?: string): IO<R2 | R, E | E2, A2>;
1028
+ export declare function tapCause<R, E, E2>(f: (e: Cause<E2>) => IO<R, E, any>, __tsplusTrace?: string): <R2, A2>(ma: IO<R2, E2, A2>) => IO<R | R2, E | E2, A2>;
1026
1029
  /**
1027
1030
  * Returns an IO that effectfully "peeks" at the failure of this effect.
1028
- * @tsplus fluent fncts.io.IO tapError
1031
+ * @tsplus pipeable fncts.io.IO tapError
1029
1032
  * @tsplus location "@fncts/io/IO/api"
1030
1033
  */
1031
- export declare function tapError_<R, E, A, R1, E1>(self: IO<R, E, A>, f: (e: E) => IO<R1, E1, any>, __tsplusTrace?: string): IO<R | R1, E | E1, A>;
1034
+ export declare function tapError<E, R1, E1>(f: (e: E) => IO<R1, E1, any>, __tsplusTrace?: string): <R, A>(self: IO<R, E, A>) => IO<R1 | R, E | E1, A>;
1032
1035
  /**
1033
1036
  * Returns an effect that effectually "peeks" at the cause of the failure of
1034
1037
  * this effect.
1035
- * @tsplus fluent fncts.io.IO tapErrorCause
1038
+ * @tsplus pipeable fncts.io.IO tapErrorCause
1036
1039
  * @tsplus location "@fncts/io/IO/api"
1037
1040
  */
1038
- export declare function tapErrorCause_<R, E, A, R1, E1>(self: IO<R, E, A>, f: (e: Cause<E>) => IO<R1, E1, any>, __tsplusTrace?: string): IO<R | R1, E | E1, A>;
1041
+ export declare function tapErrorCause<E, R1, E1>(f: (e: Cause<E>) => IO<R1, E1, any>, __tsplusTrace?: string): <R, A>(self: IO<R, E, A>) => IO<R1 | R, E | E1, A>;
1039
1042
  /**
1040
- * @tsplus fluent fncts.io.IO tryOrElse
1043
+ * @tsplus pipeable fncts.io.IO tryOrElse
1041
1044
  * @tsplus location "@fncts/io/IO/api"
1042
1045
  */
1043
- export declare function tryOrElse_<R, E, A, R1, E1, A1, R2, E2, A2>(ma: IO<R, E, A>, that: Lazy<IO<R1, E1, A1>>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): IO<R | R1 | R2, E1 | E2, A1 | A2>;
1046
+ export declare function tryOrElse<A, R1, E1, A1, R2, E2, A2>(that: Lazy<IO<R1, E1, A1>>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R1 | R2 | R, E1 | E2, A1 | A2>;
1044
1047
  /**
1045
1048
  * @tsplus static fncts.io.IOOps unit
1046
1049
  * @tsplus location "@fncts/io/IO/api"
@@ -1055,10 +1058,10 @@ export declare function unjust<R, E, A>(self: IO<R, Maybe<E>, A>, __tsplusTrace?
1055
1058
  /**
1056
1059
  * Takes some fiber failures and converts them into errors, using the
1057
1060
  * specified function to convert the `E` into an `E1 | E2`.
1058
- * @tsplus fluent fncts.io.IO unrefineWith
1061
+ * @tsplus pipeable fncts.io.IO unrefineWith
1059
1062
  * @tsplus location "@fncts/io/IO/api"
1060
1063
  */
1061
- export declare function unrefineWith_<R, E, A, E1, E2>(fa: IO<R, E, A>, pf: (u: unknown) => Maybe<E1>, f: (e: E) => E2, __tsplusTrace?: string): IO<R, E1 | E2, A>;
1064
+ export declare function unrefineWith<E, E1, E2>(pf: (u: unknown) => Maybe<E1>, f: (e: E) => E2, __tsplusTrace?: string): <R, A>(fa: IO<R, E, A>) => IO<R, E1 | E2, A>;
1062
1065
  /**
1063
1066
  * The inverse operation `sandbox`
1064
1067
  * @tsplus getter fncts.io.IO unsandbox
@@ -1083,16 +1086,16 @@ export declare function withFiberContext<R, E, A>(onState: (fiber: FiberContext<
1083
1086
  */
1084
1087
  export declare const via: typeof pipe;
1085
1088
  /**
1086
- * @tsplus fluent fncts.io.IO when
1089
+ * @tsplus pipeable fncts.io.IO when
1087
1090
  * @tsplus location "@fncts/io/IO/api"
1088
1091
  */
1089
- export declare function when_<R, E, A>(ma: IO<R, E, A>, b: Lazy<boolean>, __tsplusTrace?: string): IO<R, E, void>;
1092
+ export declare function when(b: Lazy<boolean>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R, E, void>;
1090
1093
  /**
1091
1094
  * The moral equivalent of `if (p) exp` when `p` has side-effects
1092
- * @tsplus fluent fncts.io.IO whenIO
1095
+ * @tsplus pipeable fncts.io.IO whenIO
1093
1096
  * @tsplus location "@fncts/io/IO/api"
1094
1097
  */
1095
- export declare function whenIO_<R, E, A, R1, E1>(ma: IO<R, E, A>, mb: IO<R1, E1, boolean>, __tsplusTrace?: string): IO<R1 | R, E | E1, void>;
1098
+ export declare function whenIO<R1, E1>(mb: IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R1 | R, E1 | E, void>;
1096
1099
  /**
1097
1100
  * Returns an effect that yields to the runtime system, starting on a fresh
1098
1101
  * stack. Manual use of this method can improve fairness, at the cost of
@@ -1102,15 +1105,15 @@ export declare function whenIO_<R, E, A, R1, E1>(ma: IO<R, E, A>, mb: IO<R1, E1,
1102
1105
  */
1103
1106
  export declare const yieldNow: UIO<void>;
1104
1107
  /**
1105
- * @tsplus fluent fncts.io.IO zip
1108
+ * @tsplus pipeable fncts.io.IO zip
1106
1109
  * @tsplus location "@fncts/io/IO/api"
1107
1110
  */
1108
- export declare function zip_<R, E, A, R1, E1, B>(self: IO<R, E, A>, that: IO<R1, E1, B>, __tsplusTrace?: string): IO<R | R1, E | E1, readonly [A, B]>;
1111
+ export declare function zip<R1, E1, B>(that: IO<R1, E1, B>, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) => IO<R1 | R, E1 | E, readonly [A, B]>;
1109
1112
  /**
1110
- * @tsplus fluent fncts.io.IO zipWith
1113
+ * @tsplus pipeable fncts.io.IO zipWith
1111
1114
  * @tsplus location "@fncts/io/IO/api"
1112
1115
  */
1113
- export declare function zipWith_<R, E, A, R1, E1, B, C>(self: IO<R, E, A>, that: IO<R1, E1, B>, f: (a: A, b: B) => C, __tsplusTrace?: string): IO<R | R1, E | E1, C>;
1116
+ export declare function zipWith<A, R1, E1, B, C>(that: IO<R1, E1, B>, f: (a: A, b: B) => C, __tsplusTrace?: string): <R, E>(self: IO<R, E, A>) => IO<R1 | R, E1 | E, C>;
1114
1117
  export declare class GenIO<R, E, A> {
1115
1118
  readonly effect: IO<R, E, A>;
1116
1119
  readonly _trace?: string | undefined;