@fncts/io 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (909) hide show
  1. package/Cached/api.d.ts +2 -2
  2. package/Channel/UpstreamPullStrategy/definition.d.ts +1 -1
  3. package/Channel/api/mapOutIOC.d.ts +1 -1
  4. package/Channel/api/mergeAllWith.d.ts +2 -2
  5. package/Channel/api/mergeWith.d.ts +2 -2
  6. package/Channel/api/toPull.d.ts +1 -1
  7. package/Channel/api.d.ts +8 -8
  8. package/Channel/core-api.d.ts +2 -2
  9. package/Channel/definition.d.ts +24 -10
  10. package/Channel/internal/AsyncInputConsumer.d.ts +1 -1
  11. package/Channel/internal/AsyncInputProducer.d.ts +1 -1
  12. package/Channel/internal/ChannelExecutor.d.ts +5 -5
  13. package/Channel/internal/ChannelState.d.ts +1 -1
  14. package/Channel/internal/MergeDecision.d.ts +1 -1
  15. package/Channel/internal/MergeState.d.ts +2 -2
  16. package/Channel/internal/SingleProducerAsyncInput.d.ts +4 -4
  17. package/Clock/api.d.ts +2 -2
  18. package/Clock/definition.d.ts +2 -2
  19. package/Clock/live.d.ts +3 -3
  20. package/Console/api.d.ts +1 -1
  21. package/Fiber/FiberContext.d.ts +10 -10
  22. package/Fiber/api/await.d.ts +2 -2
  23. package/Fiber/api/awaitAll.d.ts +2 -2
  24. package/Fiber/api/children.d.ts +1 -1
  25. package/Fiber/api/collectAll.d.ts +3 -3
  26. package/Fiber/api/evalOn.d.ts +1 -1
  27. package/Fiber/api/evalOnIO.d.ts +1 -1
  28. package/Fiber/api/fromIO.d.ts +1 -1
  29. package/Fiber/api/id.d.ts +2 -2
  30. package/Fiber/api/inheritRefs.d.ts +1 -1
  31. package/Fiber/api/interrupt.d.ts +2 -2
  32. package/Fiber/api/interruptAll.d.ts +3 -3
  33. package/Fiber/api/interruptAs.d.ts +3 -3
  34. package/Fiber/api/join.d.ts +1 -1
  35. package/Fiber/api/joinAll.d.ts +1 -1
  36. package/Fiber/api/mapFiber.d.ts +1 -1
  37. package/Fiber/api/mapIO.d.ts +2 -2
  38. package/Fiber/api/poll.d.ts +3 -3
  39. package/Fiber/api/zipWith.d.ts +1 -1
  40. package/Fiber/constructors.d.ts +8 -8
  41. package/Fiber/definition.d.ts +3 -3
  42. package/FiberRef/api/locallyScoped.d.ts +1 -1
  43. package/FiberRef/api/locallyScopedWith.d.ts +1 -1
  44. package/FiberRef/api.d.ts +8 -8
  45. package/FiberRef/constructors.d.ts +2 -2
  46. package/FiberRef/unsafe.d.ts +5 -5
  47. package/FiberRefs/api.d.ts +4 -4
  48. package/FiberRefs/definition.d.ts +3 -3
  49. package/FiberRefs/join.d.ts +2 -2
  50. package/FiberScope/constructors.d.ts +1 -1
  51. package/FiberScope/definition.d.ts +1 -1
  52. package/FiberState/api.d.ts +1 -1
  53. package/FiberState/constructors.d.ts +3 -3
  54. package/FiberState/definition.d.ts +3 -3
  55. package/FiberStatus/constructors.d.ts +1 -1
  56. package/FiberStatus/definition.d.ts +1 -1
  57. package/Future/api.d.ts +18 -18
  58. package/Future/constructors.d.ts +3 -3
  59. package/Future/definition.d.ts +2 -2
  60. package/Hub/api.d.ts +22 -22
  61. package/Hub/internal.d.ts +1 -1
  62. package/IO/api/acquireRelease.d.ts +2 -2
  63. package/IO/api/acquireReleaseExit.d.ts +2 -2
  64. package/IO/api/acquireReleaseInterruptible.d.ts +1 -1
  65. package/IO/api/acquireReleaseInterruptibleExit.d.ts +2 -2
  66. package/IO/api/addFinalizer.d.ts +1 -1
  67. package/IO/api/addFinalizerExit.d.ts +2 -2
  68. package/IO/api/asyncIO.d.ts +1 -1
  69. package/IO/api/bracket.d.ts +2 -2
  70. package/IO/api/bracketExit.d.ts +3 -3
  71. package/IO/api/concurrency.d.ts +4 -4
  72. package/IO/api/concurrentFinalizers.d.ts +1 -1
  73. package/IO/api/consoleWith.d.ts +1 -1
  74. package/IO/api/core-scope.d.ts +3 -3
  75. package/IO/api/ensuringChildren.d.ts +1 -1
  76. package/IO/api/environment.d.ts +3 -3
  77. package/IO/api/foreachC.d.ts +2 -2
  78. package/IO/api/foreachExec.d.ts +1 -1
  79. package/IO/api/fulfill.d.ts +1 -1
  80. package/IO/api/interrupt.d.ts +7 -7
  81. package/IO/api/onExit.d.ts +2 -2
  82. package/IO/api/onTermination.d.ts +4 -4
  83. package/IO/api/provideLayer.d.ts +1 -1
  84. package/IO/api/race.d.ts +1 -1
  85. package/IO/api/raceFirst.d.ts +1 -1
  86. package/IO/api/randomWith.d.ts +1 -1
  87. package/IO/api/repeat.d.ts +6 -6
  88. package/IO/api/retry.d.ts +5 -5
  89. package/IO/api/schedule.d.ts +2 -2
  90. package/IO/api/scopeWith.d.ts +1 -1
  91. package/IO/api/scoped.d.ts +3 -3
  92. package/IO/api/sequenceT.d.ts +1 -1
  93. package/IO/api/sleep.d.ts +2 -2
  94. package/IO/api/stateful.d.ts +2 -2
  95. package/IO/api/timeout.d.ts +4 -4
  96. package/IO/api/withEarlyRelease.d.ts +1 -1
  97. package/IO/api/withFinalizer.d.ts +1 -1
  98. package/IO/api/withFinalizerExit.d.ts +2 -2
  99. package/IO/api/withRuntimeConfig.d.ts +2 -2
  100. package/IO/api/zipC.d.ts +4 -4
  101. package/IO/api.d.ts +53 -53
  102. package/IO/definition.d.ts +16 -10
  103. package/IO/runtime.d.ts +7 -7
  104. package/IOEnv/services.d.ts +1 -1
  105. package/IOSpec.d.ts +6 -6
  106. package/Layer/MemoMap.d.ts +8 -8
  107. package/Layer/api.d.ts +39 -39
  108. package/Layer/definition.d.ts +16 -9
  109. package/Logger/api.d.ts +2 -2
  110. package/Logger/definition.d.ts +4 -4
  111. package/Queue/api/dimapIO.d.ts +6 -6
  112. package/Queue/api/filterInputIO.d.ts +3 -3
  113. package/Queue/api/filterOutputIO.d.ts +3 -3
  114. package/Queue/api/operations.d.ts +10 -10
  115. package/Queue/api/poll.d.ts +2 -2
  116. package/Queue/api/takeBetween.d.ts +1 -1
  117. package/Queue/api/zipWithIO.d.ts +3 -3
  118. package/Queue/constructors.d.ts +4 -4
  119. package/Queue/definition.d.ts +3 -3
  120. package/Queue/strategy.d.ts +10 -10
  121. package/Random/api.d.ts +5 -5
  122. package/Random/definition.d.ts +5 -5
  123. package/Random/live.d.ts +4 -4
  124. package/Ref/Atomic/Atomic.d.ts +1 -1
  125. package/Ref/Atomic/api.d.ts +11 -11
  126. package/Ref/Derived.d.ts +1 -1
  127. package/Ref/DerivedAll.d.ts +1 -1
  128. package/Ref/Synchronized/api.d.ts +13 -13
  129. package/Ref/Synchronized/constructors.d.ts +2 -2
  130. package/Ref/Synchronized/definition.d.ts +1 -1
  131. package/Ref/api/collect.d.ts +2 -2
  132. package/Ref/api/dimap.d.ts +8 -8
  133. package/Ref/api/filter.d.ts +3 -3
  134. package/Ref/api/get.d.ts +1 -1
  135. package/Ref/api/match.d.ts +1 -1
  136. package/Ref/api/matchAll.d.ts +1 -1
  137. package/Ref/api/modify.d.ts +10 -10
  138. package/Ref/api/set.d.ts +1 -1
  139. package/Ref/constructors.d.ts +3 -3
  140. package/Ref/definition.d.ts +2 -2
  141. package/RuntimeConfig.d.ts +2 -2
  142. package/STM/api/core-api.d.ts +5 -5
  143. package/STM/api/core-constructors.d.ts +7 -7
  144. package/STM/api.d.ts +56 -56
  145. package/STM/definition.d.ts +2 -2
  146. package/STM/driver.d.ts +2 -2
  147. package/STM/internal/CommitState.d.ts +1 -1
  148. package/STM/internal/Journal.d.ts +3 -3
  149. package/STM/internal/TryCommit.d.ts +1 -1
  150. package/Schedule/Driver.d.ts +1 -1
  151. package/Schedule/api/driver.d.ts +1 -1
  152. package/Schedule/api.d.ts +73 -73
  153. package/Scope/Finalizer/definition.d.ts +1 -1
  154. package/Scope/ReleaseMap/api/releaseAll.d.ts +2 -2
  155. package/Scope/ReleaseMap/api.d.ts +7 -7
  156. package/Scope/ReleaseMap/definition.d.ts +2 -2
  157. package/Scope/api.d.ts +9 -9
  158. package/Scope/definition.d.ts +2 -2
  159. package/ScopedRef/api.d.ts +1 -1
  160. package/Sink/api.d.ts +18 -18
  161. package/State/api.d.ts +2 -2
  162. package/Stream/api/zipAllWith.d.ts +3 -3
  163. package/Stream/api/zipWith.d.ts +1 -1
  164. package/Stream/api/zipWithChunks.d.ts +4 -4
  165. package/Stream/api.d.ts +169 -162
  166. package/Stream/internal/Handoff.d.ts +2 -2
  167. package/Stream/internal/Pull.d.ts +2 -2
  168. package/Stream/internal/Take.d.ts +3 -3
  169. package/Stream/internal/util.d.ts +1 -1
  170. package/Supervisor/api.d.ts +3 -3
  171. package/Supervisor/constructors.d.ts +4 -4
  172. package/Supervisor/definition.d.ts +3 -3
  173. package/TExit/constructors.d.ts +1 -1
  174. package/TExit/definition.d.ts +1 -1
  175. package/TFuture/api.d.ts +7 -7
  176. package/TFuture/constructors.d.ts +4 -4
  177. package/TFuture/definition.d.ts +2 -2
  178. package/TReentrantLock/api.d.ts +16 -16
  179. package/TReentrantLock/definition.d.ts +2 -2
  180. package/TRef/api.d.ts +15 -15
  181. package/TRef/constructors.d.ts +5 -5
  182. package/TRef/definition.d.ts +2 -2
  183. package/TSemaphore/api.d.ts +7 -7
  184. package/TSemaphore/constructors.d.ts +1 -1
  185. package/_cjs/Cached/api.cjs +5 -5
  186. package/_cjs/Cached/api.cjs.map +1 -1
  187. package/_cjs/Channel/api/interruptWhen.cjs +1 -1
  188. package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
  189. package/_cjs/Channel/api/mapOutIOC.cjs +2 -2
  190. package/_cjs/Channel/api/mapOutIOC.cjs.map +1 -1
  191. package/_cjs/Channel/api/mergeAllWith.cjs +11 -11
  192. package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
  193. package/_cjs/Channel/api/mergeWith.cjs +5 -5
  194. package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
  195. package/_cjs/Channel/api/run.cjs +3 -1
  196. package/_cjs/Channel/api/run.cjs.map +1 -1
  197. package/_cjs/Channel/api.cjs +7 -7
  198. package/_cjs/Channel/api.cjs.map +1 -1
  199. package/_cjs/Channel/core-api.cjs.map +1 -1
  200. package/_cjs/Channel/internal/ChannelExecutor.cjs +6 -6
  201. package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
  202. package/_cjs/Channel/internal/ChannelState.cjs +2 -1
  203. package/_cjs/Channel/internal/ChannelState.cjs.map +1 -1
  204. package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +16 -16
  205. package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
  206. package/_cjs/Console/api.cjs +5 -3
  207. package/_cjs/Console/api.cjs.map +1 -1
  208. package/_cjs/Fiber/FiberContext.cjs +3 -3
  209. package/_cjs/Fiber/FiberContext.cjs.map +1 -1
  210. package/_cjs/Fiber/api/await.cjs +1 -1
  211. package/_cjs/Fiber/api/await.cjs.map +1 -1
  212. package/_cjs/Fiber/api/awaitAll.cjs +2 -4
  213. package/_cjs/Fiber/api/awaitAll.cjs.map +1 -1
  214. package/_cjs/Fiber/api/children.cjs +1 -1
  215. package/_cjs/Fiber/api/children.cjs.map +1 -1
  216. package/_cjs/Fiber/api/collectAll.cjs +2 -4
  217. package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
  218. package/_cjs/Fiber/api/evalOn.cjs +1 -1
  219. package/_cjs/Fiber/api/evalOn.cjs.map +1 -1
  220. package/_cjs/Fiber/api/evalOnIO.cjs +2 -4
  221. package/_cjs/Fiber/api/evalOnIO.cjs.map +1 -1
  222. package/_cjs/Fiber/api/fromIO.cjs +2 -4
  223. package/_cjs/Fiber/api/fromIO.cjs.map +1 -1
  224. package/_cjs/Fiber/api/id.cjs +1 -1
  225. package/_cjs/Fiber/api/id.cjs.map +1 -1
  226. package/_cjs/Fiber/api/inheritRefs.cjs +1 -1
  227. package/_cjs/Fiber/api/inheritRefs.cjs.map +1 -1
  228. package/_cjs/Fiber/api/interrupt.cjs +2 -4
  229. package/_cjs/Fiber/api/interrupt.cjs.map +1 -1
  230. package/_cjs/Fiber/api/interruptAll.cjs +4 -5
  231. package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
  232. package/_cjs/Fiber/api/interruptAs.cjs +1 -1
  233. package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
  234. package/_cjs/Fiber/api/interruptFork.cjs +1 -1
  235. package/_cjs/Fiber/api/interruptFork.cjs.map +1 -1
  236. package/_cjs/Fiber/api/join.cjs +2 -4
  237. package/_cjs/Fiber/api/join.cjs.map +1 -1
  238. package/_cjs/Fiber/api/joinAll.cjs +2 -4
  239. package/_cjs/Fiber/api/joinAll.cjs.map +1 -1
  240. package/_cjs/Fiber/api/mapFiber.cjs +2 -4
  241. package/_cjs/Fiber/api/mapFiber.cjs.map +1 -1
  242. package/_cjs/Fiber/api/mapIO.cjs +4 -5
  243. package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
  244. package/_cjs/Fiber/api/poll.cjs +1 -1
  245. package/_cjs/Fiber/api/poll.cjs.map +1 -1
  246. package/_cjs/Fiber/api/zipWith.cjs +2 -4
  247. package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
  248. package/_cjs/Fiber/constructors.cjs +10 -11
  249. package/_cjs/Fiber/constructors.cjs.map +1 -1
  250. package/_cjs/FiberRef/api/locallyScoped.cjs +2 -4
  251. package/_cjs/FiberRef/api/locallyScoped.cjs.map +1 -1
  252. package/_cjs/FiberRef/api/locallyScopedWith.cjs +2 -4
  253. package/_cjs/FiberRef/api/locallyScopedWith.cjs.map +1 -1
  254. package/_cjs/FiberRef/api.cjs +13 -14
  255. package/_cjs/FiberRef/api.cjs.map +1 -1
  256. package/_cjs/FiberRef/constructors.cjs +4 -6
  257. package/_cjs/FiberRef/constructors.cjs.map +1 -1
  258. package/_cjs/Future/api.cjs +30 -31
  259. package/_cjs/Future/api.cjs.map +1 -1
  260. package/_cjs/Future/constructors.cjs +4 -5
  261. package/_cjs/Future/constructors.cjs.map +1 -1
  262. package/_cjs/Hub/api.cjs +44 -44
  263. package/_cjs/Hub/api.cjs.map +1 -1
  264. package/_cjs/Hub/internal.cjs +14 -14
  265. package/_cjs/Hub/internal.cjs.map +1 -1
  266. package/_cjs/IO/api/acquireRelease.cjs +2 -4
  267. package/_cjs/IO/api/acquireRelease.cjs.map +1 -1
  268. package/_cjs/IO/api/acquireReleaseExit.cjs +1 -1
  269. package/_cjs/IO/api/acquireReleaseExit.cjs.map +1 -1
  270. package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +1 -1
  271. package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs.map +1 -1
  272. package/_cjs/IO/api/addFinalizer.cjs +1 -1
  273. package/_cjs/IO/api/addFinalizer.cjs.map +1 -1
  274. package/_cjs/IO/api/addFinalizerExit.cjs +2 -4
  275. package/_cjs/IO/api/addFinalizerExit.cjs.map +1 -1
  276. package/_cjs/IO/api/asyncIO.cjs +5 -7
  277. package/_cjs/IO/api/asyncIO.cjs.map +1 -1
  278. package/_cjs/IO/api/bracket.cjs +2 -2
  279. package/_cjs/IO/api/bracket.cjs.map +1 -1
  280. package/_cjs/IO/api/bracketExit.cjs +2 -4
  281. package/_cjs/IO/api/bracketExit.cjs.map +1 -1
  282. package/_cjs/IO/api/concurrency.cjs +7 -7
  283. package/_cjs/IO/api/concurrency.cjs.map +1 -1
  284. package/_cjs/IO/api/concurrentFinalizers.cjs +2 -4
  285. package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
  286. package/_cjs/IO/api/consoleWith.cjs +3 -3
  287. package/_cjs/IO/api/consoleWith.cjs.map +1 -1
  288. package/_cjs/IO/api/core-scope.cjs +4 -4
  289. package/_cjs/IO/api/core-scope.cjs.map +1 -1
  290. package/_cjs/IO/api/ensuringChildren.cjs +2 -4
  291. package/_cjs/IO/api/ensuringChildren.cjs.map +1 -1
  292. package/_cjs/IO/api/environment.cjs +5 -6
  293. package/_cjs/IO/api/environment.cjs.map +1 -1
  294. package/_cjs/IO/api/foreachC.cjs +25 -27
  295. package/_cjs/IO/api/foreachC.cjs.map +1 -1
  296. package/_cjs/IO/api/foreachExec.cjs +2 -4
  297. package/_cjs/IO/api/foreachExec.cjs.map +1 -1
  298. package/_cjs/IO/api/forkIn.cjs +1 -1
  299. package/_cjs/IO/api/forkIn.cjs.map +1 -1
  300. package/_cjs/IO/api/forkScoped.cjs +1 -1
  301. package/_cjs/IO/api/forkScoped.cjs.map +1 -1
  302. package/_cjs/IO/api/fulfill.cjs +2 -4
  303. package/_cjs/IO/api/fulfill.cjs.map +1 -1
  304. package/_cjs/IO/api/interrupt.cjs +12 -12
  305. package/_cjs/IO/api/interrupt.cjs.map +1 -1
  306. package/_cjs/IO/api/memoize.cjs +1 -1
  307. package/_cjs/IO/api/memoize.cjs.map +1 -1
  308. package/_cjs/IO/api/onExit.cjs +2 -2
  309. package/_cjs/IO/api/onExit.cjs.map +1 -1
  310. package/_cjs/IO/api/onTermination.cjs +2 -2
  311. package/_cjs/IO/api/onTermination.cjs.map +1 -1
  312. package/_cjs/IO/api/once.cjs +1 -1
  313. package/_cjs/IO/api/once.cjs.map +1 -1
  314. package/_cjs/IO/api/provideLayer.cjs +2 -4
  315. package/_cjs/IO/api/provideLayer.cjs.map +1 -1
  316. package/_cjs/IO/api/provideSomeLayer.cjs +1 -1
  317. package/_cjs/IO/api/provideSomeLayer.cjs.map +1 -1
  318. package/_cjs/IO/api/race.cjs +4 -6
  319. package/_cjs/IO/api/race.cjs.map +1 -1
  320. package/_cjs/IO/api/raceFirst.cjs +2 -4
  321. package/_cjs/IO/api/raceFirst.cjs.map +1 -1
  322. package/_cjs/IO/api/randomWith.cjs +3 -3
  323. package/_cjs/IO/api/randomWith.cjs.map +1 -1
  324. package/_cjs/IO/api/repeat.cjs +10 -11
  325. package/_cjs/IO/api/repeat.cjs.map +1 -1
  326. package/_cjs/IO/api/retry.cjs +8 -9
  327. package/_cjs/IO/api/retry.cjs.map +1 -1
  328. package/_cjs/IO/api/schedule.cjs +6 -7
  329. package/_cjs/IO/api/schedule.cjs.map +1 -1
  330. package/_cjs/IO/api/scopeWith.cjs +2 -4
  331. package/_cjs/IO/api/scopeWith.cjs.map +1 -1
  332. package/_cjs/IO/api/scoped.cjs +4 -5
  333. package/_cjs/IO/api/scoped.cjs.map +1 -1
  334. package/_cjs/IO/api/stateful.cjs +1 -1
  335. package/_cjs/IO/api/stateful.cjs.map +1 -1
  336. package/_cjs/IO/api/timeout.cjs +3 -4
  337. package/_cjs/IO/api/timeout.cjs.map +1 -1
  338. package/_cjs/IO/api/withEarlyRelease.cjs +2 -4
  339. package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
  340. package/_cjs/IO/api/withFinalizer.cjs +2 -2
  341. package/_cjs/IO/api/withFinalizer.cjs.map +1 -1
  342. package/_cjs/IO/api/withFinalizerExit.cjs +2 -4
  343. package/_cjs/IO/api/withFinalizerExit.cjs.map +1 -1
  344. package/_cjs/IO/api/withRuntimeConfig.cjs +2 -4
  345. package/_cjs/IO/api/withRuntimeConfig.cjs.map +1 -1
  346. package/_cjs/IO/api/zipC.cjs +5 -6
  347. package/_cjs/IO/api/zipC.cjs.map +1 -1
  348. package/_cjs/IO/api.cjs +112 -112
  349. package/_cjs/IO/api.cjs.map +1 -1
  350. package/_cjs/IOEnv/live.cjs +3 -1
  351. package/_cjs/IOEnv/live.cjs.map +1 -1
  352. package/_cjs/Layer/MemoMap.cjs +39 -40
  353. package/_cjs/Layer/MemoMap.cjs.map +1 -1
  354. package/_cjs/Layer/api.cjs +80 -81
  355. package/_cjs/Layer/api.cjs.map +1 -1
  356. package/_cjs/Layer/definition.cjs +14 -7
  357. package/_cjs/Layer/definition.cjs.map +1 -1
  358. package/_cjs/Queue/api/dimapIO.cjs +14 -14
  359. package/_cjs/Queue/api/dimapIO.cjs.map +1 -1
  360. package/_cjs/Queue/api/filterInputIO.cjs +6 -6
  361. package/_cjs/Queue/api/filterInputIO.cjs.map +1 -1
  362. package/_cjs/Queue/api/filterOutputIO.cjs +6 -6
  363. package/_cjs/Queue/api/filterOutputIO.cjs.map +1 -1
  364. package/_cjs/Queue/api/operations.cjs +13 -13
  365. package/_cjs/Queue/api/operations.cjs.map +1 -1
  366. package/_cjs/Queue/api/poll.cjs +2 -4
  367. package/_cjs/Queue/api/poll.cjs.map +1 -1
  368. package/_cjs/Queue/api/takeBetween.cjs +10 -12
  369. package/_cjs/Queue/api/takeBetween.cjs.map +1 -1
  370. package/_cjs/Queue/api/zipWithIO.cjs +12 -12
  371. package/_cjs/Queue/api/zipWithIO.cjs.map +1 -1
  372. package/_cjs/Queue/constructors.cjs +8 -10
  373. package/_cjs/Queue/constructors.cjs.map +1 -1
  374. package/_cjs/Queue/internal.cjs +15 -15
  375. package/_cjs/Queue/internal.cjs.map +1 -1
  376. package/_cjs/Queue/strategy.cjs +16 -16
  377. package/_cjs/Queue/strategy.cjs.map +1 -1
  378. package/_cjs/Random/api.cjs +15 -13
  379. package/_cjs/Random/api.cjs.map +1 -1
  380. package/_cjs/Random/live.cjs +4 -4
  381. package/_cjs/Random/live.cjs.map +1 -1
  382. package/_cjs/Ref/Atomic/api.cjs +19 -21
  383. package/_cjs/Ref/Atomic/api.cjs.map +1 -1
  384. package/_cjs/Ref/DerivedAll.cjs +1 -1
  385. package/_cjs/Ref/DerivedAll.cjs.map +1 -1
  386. package/_cjs/Ref/Synchronized/api.cjs +25 -26
  387. package/_cjs/Ref/Synchronized/api.cjs.map +1 -1
  388. package/_cjs/Ref/Synchronized/constructors.cjs +2 -4
  389. package/_cjs/Ref/Synchronized/constructors.cjs.map +1 -1
  390. package/_cjs/Ref/Synchronized/definition.cjs +1 -1
  391. package/_cjs/Ref/Synchronized/definition.cjs.map +1 -1
  392. package/_cjs/Ref/api/collect.cjs +1 -1
  393. package/_cjs/Ref/api/collect.cjs.map +1 -1
  394. package/_cjs/Ref/api/dimap.cjs +12 -12
  395. package/_cjs/Ref/api/dimap.cjs.map +1 -1
  396. package/_cjs/Ref/api/filter.cjs +2 -2
  397. package/_cjs/Ref/api/filter.cjs.map +1 -1
  398. package/_cjs/Ref/api/get.cjs +1 -1
  399. package/_cjs/Ref/api/get.cjs.map +1 -1
  400. package/_cjs/Ref/api/modify.cjs +29 -30
  401. package/_cjs/Ref/api/modify.cjs.map +1 -1
  402. package/_cjs/Ref/api/set.cjs +1 -1
  403. package/_cjs/Ref/api/set.cjs.map +1 -1
  404. package/_cjs/Ref/constructors.cjs +3 -4
  405. package/_cjs/Ref/constructors.cjs.map +1 -1
  406. package/_cjs/STM/api/core-api.cjs +8 -8
  407. package/_cjs/STM/api/core-api.cjs.map +1 -1
  408. package/_cjs/STM/api/core-constructors.cjs +6 -6
  409. package/_cjs/STM/api/core-constructors.cjs.map +1 -1
  410. package/_cjs/STM/api.cjs +110 -110
  411. package/_cjs/STM/api.cjs.map +1 -1
  412. package/_cjs/STM/driver.cjs +3 -1
  413. package/_cjs/STM/driver.cjs.map +1 -1
  414. package/_cjs/Schedule/api/driver.cjs +5 -9
  415. package/_cjs/Schedule/api/driver.cjs.map +1 -1
  416. package/_cjs/Schedule/api.cjs +156 -156
  417. package/_cjs/Schedule/api.cjs.map +1 -1
  418. package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +3 -5
  419. package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
  420. package/_cjs/Scope/ReleaseMap/api.cjs +14 -15
  421. package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
  422. package/_cjs/Scope/ReleaseMap/constructors.cjs +1 -1
  423. package/_cjs/Scope/ReleaseMap/constructors.cjs.map +1 -1
  424. package/_cjs/Scope/api.cjs +20 -20
  425. package/_cjs/Scope/api.cjs.map +1 -1
  426. package/_cjs/ScopedRef/api.cjs +5 -5
  427. package/_cjs/ScopedRef/api.cjs.map +1 -1
  428. package/_cjs/Sink/api.cjs +92 -88
  429. package/_cjs/Sink/api.cjs.map +1 -1
  430. package/_cjs/State/api.cjs +5 -7
  431. package/_cjs/State/api.cjs.map +1 -1
  432. package/_cjs/Stream/api/zipAllWith.cjs +22 -24
  433. package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
  434. package/_cjs/Stream/api/zipWith.cjs +2 -2
  435. package/_cjs/Stream/api/zipWith.cjs.map +1 -1
  436. package/_cjs/Stream/api/zipWithChunks.cjs +20 -22
  437. package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
  438. package/_cjs/Stream/api.cjs +436 -419
  439. package/_cjs/Stream/api.cjs.map +1 -1
  440. package/_cjs/Stream/internal/Handoff.cjs +12 -12
  441. package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
  442. package/_cjs/Stream/internal/Pull.cjs +1 -1
  443. package/_cjs/Stream/internal/Pull.cjs.map +1 -1
  444. package/_cjs/Stream/internal/Take.cjs +1 -1
  445. package/_cjs/Stream/internal/Take.cjs.map +1 -1
  446. package/_cjs/Supervisor/api.cjs +3 -1
  447. package/_cjs/Supervisor/api.cjs.map +1 -1
  448. package/_cjs/TFuture/api.cjs +10 -10
  449. package/_cjs/TFuture/api.cjs.map +1 -1
  450. package/_cjs/TFuture/constructors.cjs +4 -4
  451. package/_cjs/TFuture/constructors.cjs.map +1 -1
  452. package/_cjs/TReentrantLock/api.cjs +41 -42
  453. package/_cjs/TReentrantLock/api.cjs.map +1 -1
  454. package/_cjs/TRef/api.cjs +40 -40
  455. package/_cjs/TRef/api.cjs.map +1 -1
  456. package/_cjs/TRef/constructors.cjs +6 -6
  457. package/_cjs/TRef/constructors.cjs.map +1 -1
  458. package/_cjs/TSemaphore/api.cjs +16 -17
  459. package/_cjs/TSemaphore/api.cjs.map +1 -1
  460. package/_cjs/TSemaphore/constructors.cjs +2 -2
  461. package/_cjs/TSemaphore/constructors.cjs.map +1 -1
  462. package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +1 -1
  463. package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
  464. package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +1 -1
  465. package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
  466. package/_cjs/collection/immutable/Conc/filterIO.cjs +5 -7
  467. package/_cjs/collection/immutable/Conc/filterIO.cjs.map +1 -1
  468. package/_cjs/collection/immutable/Conc/findIO.cjs +7 -9
  469. package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
  470. package/_cjs/collection/immutable/Conc/mapIO.cjs +3 -5
  471. package/_cjs/collection/immutable/Conc/mapIO.cjs.map +1 -1
  472. package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +7 -9
  473. package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
  474. package/_cjs/collection/immutable/Conc.cjs +26 -0
  475. package/_cjs/collection/immutable/Conc.cjs.map +1 -1
  476. package/_cjs/data/Exit/foreachIO.cjs +2 -4
  477. package/_cjs/data/Exit/foreachIO.cjs.map +1 -1
  478. package/_cjs/global.cjs +6 -0
  479. package/_cjs/global.cjs.map +1 -0
  480. package/_cjs/index.cjs +6 -0
  481. package/_cjs/index.cjs.map +1 -0
  482. package/_mjs/Cached/api.mjs +5 -5
  483. package/_mjs/Cached/api.mjs.map +1 -1
  484. package/_mjs/Channel/api/interruptWhen.mjs +1 -1
  485. package/_mjs/Channel/api/interruptWhen.mjs.map +1 -1
  486. package/_mjs/Channel/api/mapOutIOC.mjs +2 -2
  487. package/_mjs/Channel/api/mapOutIOC.mjs.map +1 -1
  488. package/_mjs/Channel/api/mergeAllWith.mjs +11 -11
  489. package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -1
  490. package/_mjs/Channel/api/mergeWith.mjs +6 -5
  491. package/_mjs/Channel/api/mergeWith.mjs.map +1 -1
  492. package/_mjs/Channel/api/run.mjs +2 -1
  493. package/_mjs/Channel/api/run.mjs.map +1 -1
  494. package/_mjs/Channel/api.mjs +7 -7
  495. package/_mjs/Channel/api.mjs.map +1 -1
  496. package/_mjs/Channel/core-api.mjs.map +1 -1
  497. package/_mjs/Channel/internal/ChannelExecutor.mjs +6 -6
  498. package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
  499. package/_mjs/Channel/internal/ChannelState.mjs +2 -1
  500. package/_mjs/Channel/internal/ChannelState.mjs.map +1 -1
  501. package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +16 -16
  502. package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -1
  503. package/_mjs/Console/api.mjs +4 -3
  504. package/_mjs/Console/api.mjs.map +1 -1
  505. package/_mjs/Fiber/FiberContext.mjs +4 -3
  506. package/_mjs/Fiber/FiberContext.mjs.map +1 -1
  507. package/_mjs/Fiber/api/await.mjs +1 -1
  508. package/_mjs/Fiber/api/await.mjs.map +1 -1
  509. package/_mjs/Fiber/api/awaitAll.mjs +2 -3
  510. package/_mjs/Fiber/api/awaitAll.mjs.map +1 -1
  511. package/_mjs/Fiber/api/children.mjs +1 -1
  512. package/_mjs/Fiber/api/children.mjs.map +1 -1
  513. package/_mjs/Fiber/api/collectAll.mjs +2 -3
  514. package/_mjs/Fiber/api/collectAll.mjs.map +1 -1
  515. package/_mjs/Fiber/api/evalOn.mjs +1 -1
  516. package/_mjs/Fiber/api/evalOn.mjs.map +1 -1
  517. package/_mjs/Fiber/api/evalOnIO.mjs +2 -3
  518. package/_mjs/Fiber/api/evalOnIO.mjs.map +1 -1
  519. package/_mjs/Fiber/api/fromIO.mjs +2 -3
  520. package/_mjs/Fiber/api/fromIO.mjs.map +1 -1
  521. package/_mjs/Fiber/api/id.mjs +1 -1
  522. package/_mjs/Fiber/api/id.mjs.map +1 -1
  523. package/_mjs/Fiber/api/inheritRefs.mjs +1 -1
  524. package/_mjs/Fiber/api/inheritRefs.mjs.map +1 -1
  525. package/_mjs/Fiber/api/interrupt.mjs +2 -3
  526. package/_mjs/Fiber/api/interrupt.mjs.map +1 -1
  527. package/_mjs/Fiber/api/interruptAll.mjs +4 -5
  528. package/_mjs/Fiber/api/interruptAll.mjs.map +1 -1
  529. package/_mjs/Fiber/api/interruptAs.mjs +1 -1
  530. package/_mjs/Fiber/api/interruptAs.mjs.map +1 -1
  531. package/_mjs/Fiber/api/interruptFork.mjs +1 -1
  532. package/_mjs/Fiber/api/interruptFork.mjs.map +1 -1
  533. package/_mjs/Fiber/api/join.mjs +2 -3
  534. package/_mjs/Fiber/api/join.mjs.map +1 -1
  535. package/_mjs/Fiber/api/joinAll.mjs +2 -3
  536. package/_mjs/Fiber/api/joinAll.mjs.map +1 -1
  537. package/_mjs/Fiber/api/mapFiber.mjs +2 -3
  538. package/_mjs/Fiber/api/mapFiber.mjs.map +1 -1
  539. package/_mjs/Fiber/api/mapIO.mjs +4 -5
  540. package/_mjs/Fiber/api/mapIO.mjs.map +1 -1
  541. package/_mjs/Fiber/api/poll.mjs +1 -1
  542. package/_mjs/Fiber/api/poll.mjs.map +1 -1
  543. package/_mjs/Fiber/api/zipWith.mjs +2 -3
  544. package/_mjs/Fiber/api/zipWith.mjs.map +1 -1
  545. package/_mjs/Fiber/constructors.mjs +10 -11
  546. package/_mjs/Fiber/constructors.mjs.map +1 -1
  547. package/_mjs/FiberRef/api/locallyScoped.mjs +2 -3
  548. package/_mjs/FiberRef/api/locallyScoped.mjs.map +1 -1
  549. package/_mjs/FiberRef/api/locallyScopedWith.mjs +2 -3
  550. package/_mjs/FiberRef/api/locallyScopedWith.mjs.map +1 -1
  551. package/_mjs/FiberRef/api.mjs +13 -14
  552. package/_mjs/FiberRef/api.mjs.map +1 -1
  553. package/_mjs/FiberRef/constructors.mjs +4 -5
  554. package/_mjs/FiberRef/constructors.mjs.map +1 -1
  555. package/_mjs/Future/api.mjs +30 -31
  556. package/_mjs/Future/api.mjs.map +1 -1
  557. package/_mjs/Future/constructors.mjs +4 -5
  558. package/_mjs/Future/constructors.mjs.map +1 -1
  559. package/_mjs/Hub/api.mjs +44 -44
  560. package/_mjs/Hub/api.mjs.map +1 -1
  561. package/_mjs/Hub/internal.mjs +14 -14
  562. package/_mjs/Hub/internal.mjs.map +1 -1
  563. package/_mjs/IO/api/acquireRelease.mjs +2 -3
  564. package/_mjs/IO/api/acquireRelease.mjs.map +1 -1
  565. package/_mjs/IO/api/acquireReleaseExit.mjs +1 -1
  566. package/_mjs/IO/api/acquireReleaseExit.mjs.map +1 -1
  567. package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs +1 -1
  568. package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs.map +1 -1
  569. package/_mjs/IO/api/addFinalizer.mjs +1 -1
  570. package/_mjs/IO/api/addFinalizer.mjs.map +1 -1
  571. package/_mjs/IO/api/addFinalizerExit.mjs +2 -3
  572. package/_mjs/IO/api/addFinalizerExit.mjs.map +1 -1
  573. package/_mjs/IO/api/asyncIO.mjs +5 -6
  574. package/_mjs/IO/api/asyncIO.mjs.map +1 -1
  575. package/_mjs/IO/api/bracket.mjs +2 -2
  576. package/_mjs/IO/api/bracket.mjs.map +1 -1
  577. package/_mjs/IO/api/bracketExit.mjs +2 -3
  578. package/_mjs/IO/api/bracketExit.mjs.map +1 -1
  579. package/_mjs/IO/api/concurrency.mjs +7 -7
  580. package/_mjs/IO/api/concurrency.mjs.map +1 -1
  581. package/_mjs/IO/api/concurrentFinalizers.mjs +2 -3
  582. package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -1
  583. package/_mjs/IO/api/consoleWith.mjs +3 -3
  584. package/_mjs/IO/api/consoleWith.mjs.map +1 -1
  585. package/_mjs/IO/api/core-scope.mjs +4 -4
  586. package/_mjs/IO/api/core-scope.mjs.map +1 -1
  587. package/_mjs/IO/api/ensuringChildren.mjs +2 -3
  588. package/_mjs/IO/api/ensuringChildren.mjs.map +1 -1
  589. package/_mjs/IO/api/environment.mjs +5 -6
  590. package/_mjs/IO/api/environment.mjs.map +1 -1
  591. package/_mjs/IO/api/foreachC.mjs +25 -26
  592. package/_mjs/IO/api/foreachC.mjs.map +1 -1
  593. package/_mjs/IO/api/foreachExec.mjs +2 -3
  594. package/_mjs/IO/api/foreachExec.mjs.map +1 -1
  595. package/_mjs/IO/api/forkIn.mjs +1 -1
  596. package/_mjs/IO/api/forkIn.mjs.map +1 -1
  597. package/_mjs/IO/api/forkScoped.mjs +1 -1
  598. package/_mjs/IO/api/forkScoped.mjs.map +1 -1
  599. package/_mjs/IO/api/fulfill.mjs +2 -3
  600. package/_mjs/IO/api/fulfill.mjs.map +1 -1
  601. package/_mjs/IO/api/interrupt.mjs +12 -12
  602. package/_mjs/IO/api/interrupt.mjs.map +1 -1
  603. package/_mjs/IO/api/memoize.mjs +1 -1
  604. package/_mjs/IO/api/memoize.mjs.map +1 -1
  605. package/_mjs/IO/api/onExit.mjs +2 -2
  606. package/_mjs/IO/api/onExit.mjs.map +1 -1
  607. package/_mjs/IO/api/onTermination.mjs +2 -2
  608. package/_mjs/IO/api/onTermination.mjs.map +1 -1
  609. package/_mjs/IO/api/once.mjs +1 -1
  610. package/_mjs/IO/api/once.mjs.map +1 -1
  611. package/_mjs/IO/api/provideLayer.mjs +2 -3
  612. package/_mjs/IO/api/provideLayer.mjs.map +1 -1
  613. package/_mjs/IO/api/provideSomeLayer.mjs +1 -1
  614. package/_mjs/IO/api/provideSomeLayer.mjs.map +1 -1
  615. package/_mjs/IO/api/race.mjs +4 -5
  616. package/_mjs/IO/api/race.mjs.map +1 -1
  617. package/_mjs/IO/api/raceFirst.mjs +2 -3
  618. package/_mjs/IO/api/raceFirst.mjs.map +1 -1
  619. package/_mjs/IO/api/randomWith.mjs +3 -3
  620. package/_mjs/IO/api/randomWith.mjs.map +1 -1
  621. package/_mjs/IO/api/repeat.mjs +10 -11
  622. package/_mjs/IO/api/repeat.mjs.map +1 -1
  623. package/_mjs/IO/api/retry.mjs +8 -9
  624. package/_mjs/IO/api/retry.mjs.map +1 -1
  625. package/_mjs/IO/api/schedule.mjs +6 -7
  626. package/_mjs/IO/api/schedule.mjs.map +1 -1
  627. package/_mjs/IO/api/scopeWith.mjs +2 -3
  628. package/_mjs/IO/api/scopeWith.mjs.map +1 -1
  629. package/_mjs/IO/api/scoped.mjs +4 -5
  630. package/_mjs/IO/api/scoped.mjs.map +1 -1
  631. package/_mjs/IO/api/stateful.mjs +1 -1
  632. package/_mjs/IO/api/stateful.mjs.map +1 -1
  633. package/_mjs/IO/api/timeout.mjs +3 -4
  634. package/_mjs/IO/api/timeout.mjs.map +1 -1
  635. package/_mjs/IO/api/withEarlyRelease.mjs +2 -3
  636. package/_mjs/IO/api/withEarlyRelease.mjs.map +1 -1
  637. package/_mjs/IO/api/withFinalizer.mjs +2 -2
  638. package/_mjs/IO/api/withFinalizer.mjs.map +1 -1
  639. package/_mjs/IO/api/withFinalizerExit.mjs +2 -3
  640. package/_mjs/IO/api/withFinalizerExit.mjs.map +1 -1
  641. package/_mjs/IO/api/withRuntimeConfig.mjs +2 -3
  642. package/_mjs/IO/api/withRuntimeConfig.mjs.map +1 -1
  643. package/_mjs/IO/api/zipC.mjs +5 -6
  644. package/_mjs/IO/api/zipC.mjs.map +1 -1
  645. package/_mjs/IO/api.mjs +112 -112
  646. package/_mjs/IO/api.mjs.map +1 -1
  647. package/_mjs/IOEnv/live.mjs +2 -1
  648. package/_mjs/IOEnv/live.mjs.map +1 -1
  649. package/_mjs/Layer/MemoMap.mjs +37 -38
  650. package/_mjs/Layer/MemoMap.mjs.map +1 -1
  651. package/_mjs/Layer/api.mjs +81 -82
  652. package/_mjs/Layer/api.mjs.map +1 -1
  653. package/_mjs/Layer/definition.mjs +14 -7
  654. package/_mjs/Layer/definition.mjs.map +1 -1
  655. package/_mjs/Queue/api/dimapIO.mjs +14 -14
  656. package/_mjs/Queue/api/dimapIO.mjs.map +1 -1
  657. package/_mjs/Queue/api/filterInputIO.mjs +6 -6
  658. package/_mjs/Queue/api/filterInputIO.mjs.map +1 -1
  659. package/_mjs/Queue/api/filterOutputIO.mjs +6 -6
  660. package/_mjs/Queue/api/filterOutputIO.mjs.map +1 -1
  661. package/_mjs/Queue/api/operations.mjs +13 -13
  662. package/_mjs/Queue/api/operations.mjs.map +1 -1
  663. package/_mjs/Queue/api/poll.mjs +2 -3
  664. package/_mjs/Queue/api/poll.mjs.map +1 -1
  665. package/_mjs/Queue/api/takeBetween.mjs +10 -11
  666. package/_mjs/Queue/api/takeBetween.mjs.map +1 -1
  667. package/_mjs/Queue/api/zipWithIO.mjs +12 -12
  668. package/_mjs/Queue/api/zipWithIO.mjs.map +1 -1
  669. package/_mjs/Queue/constructors.mjs +8 -9
  670. package/_mjs/Queue/constructors.mjs.map +1 -1
  671. package/_mjs/Queue/internal.mjs +15 -15
  672. package/_mjs/Queue/internal.mjs.map +1 -1
  673. package/_mjs/Queue/strategy.mjs +16 -16
  674. package/_mjs/Queue/strategy.mjs.map +1 -1
  675. package/_mjs/Random/api.mjs +14 -13
  676. package/_mjs/Random/api.mjs.map +1 -1
  677. package/_mjs/Random/live.mjs +4 -4
  678. package/_mjs/Random/live.mjs.map +1 -1
  679. package/_mjs/Ref/Atomic/api.mjs +19 -20
  680. package/_mjs/Ref/Atomic/api.mjs.map +1 -1
  681. package/_mjs/Ref/DerivedAll.mjs +1 -1
  682. package/_mjs/Ref/DerivedAll.mjs.map +1 -1
  683. package/_mjs/Ref/Synchronized/api.mjs +25 -26
  684. package/_mjs/Ref/Synchronized/api.mjs.map +1 -1
  685. package/_mjs/Ref/Synchronized/constructors.mjs +2 -3
  686. package/_mjs/Ref/Synchronized/constructors.mjs.map +1 -1
  687. package/_mjs/Ref/Synchronized/definition.mjs +1 -1
  688. package/_mjs/Ref/Synchronized/definition.mjs.map +1 -1
  689. package/_mjs/Ref/api/collect.mjs +1 -1
  690. package/_mjs/Ref/api/collect.mjs.map +1 -1
  691. package/_mjs/Ref/api/dimap.mjs +12 -12
  692. package/_mjs/Ref/api/dimap.mjs.map +1 -1
  693. package/_mjs/Ref/api/filter.mjs +2 -2
  694. package/_mjs/Ref/api/filter.mjs.map +1 -1
  695. package/_mjs/Ref/api/get.mjs +1 -1
  696. package/_mjs/Ref/api/get.mjs.map +1 -1
  697. package/_mjs/Ref/api/modify.mjs +29 -30
  698. package/_mjs/Ref/api/modify.mjs.map +1 -1
  699. package/_mjs/Ref/api/set.mjs +1 -1
  700. package/_mjs/Ref/api/set.mjs.map +1 -1
  701. package/_mjs/Ref/constructors.mjs +3 -4
  702. package/_mjs/Ref/constructors.mjs.map +1 -1
  703. package/_mjs/STM/api/core-api.mjs +8 -8
  704. package/_mjs/STM/api/core-api.mjs.map +1 -1
  705. package/_mjs/STM/api/core-constructors.mjs +6 -6
  706. package/_mjs/STM/api/core-constructors.mjs.map +1 -1
  707. package/_mjs/STM/api.mjs +110 -110
  708. package/_mjs/STM/api.mjs.map +1 -1
  709. package/_mjs/STM/driver.mjs +3 -1
  710. package/_mjs/STM/driver.mjs.map +1 -1
  711. package/_mjs/Schedule/api/driver.mjs +6 -9
  712. package/_mjs/Schedule/api/driver.mjs.map +1 -1
  713. package/_mjs/Schedule/api.mjs +156 -156
  714. package/_mjs/Schedule/api.mjs.map +1 -1
  715. package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs +3 -4
  716. package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -1
  717. package/_mjs/Scope/ReleaseMap/api.mjs +14 -15
  718. package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -1
  719. package/_mjs/Scope/ReleaseMap/constructors.mjs +1 -1
  720. package/_mjs/Scope/ReleaseMap/constructors.mjs.map +1 -1
  721. package/_mjs/Scope/api.mjs +20 -20
  722. package/_mjs/Scope/api.mjs.map +1 -1
  723. package/_mjs/ScopedRef/api.mjs +5 -5
  724. package/_mjs/ScopedRef/api.mjs.map +1 -1
  725. package/_mjs/Sink/api.mjs +92 -88
  726. package/_mjs/Sink/api.mjs.map +1 -1
  727. package/_mjs/State/api.mjs +5 -6
  728. package/_mjs/State/api.mjs.map +1 -1
  729. package/_mjs/Stream/api/zipAllWith.mjs +22 -23
  730. package/_mjs/Stream/api/zipAllWith.mjs.map +1 -1
  731. package/_mjs/Stream/api/zipWith.mjs +2 -2
  732. package/_mjs/Stream/api/zipWith.mjs.map +1 -1
  733. package/_mjs/Stream/api/zipWithChunks.mjs +20 -21
  734. package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -1
  735. package/_mjs/Stream/api.mjs +430 -417
  736. package/_mjs/Stream/api.mjs.map +1 -1
  737. package/_mjs/Stream/internal/Handoff.mjs +12 -12
  738. package/_mjs/Stream/internal/Handoff.mjs.map +1 -1
  739. package/_mjs/Stream/internal/Pull.mjs +1 -1
  740. package/_mjs/Stream/internal/Pull.mjs.map +1 -1
  741. package/_mjs/Stream/internal/Take.mjs +1 -1
  742. package/_mjs/Stream/internal/Take.mjs.map +1 -1
  743. package/_mjs/Supervisor/api.mjs +2 -1
  744. package/_mjs/Supervisor/api.mjs.map +1 -1
  745. package/_mjs/TFuture/api.mjs +10 -10
  746. package/_mjs/TFuture/api.mjs.map +1 -1
  747. package/_mjs/TFuture/constructors.mjs +4 -4
  748. package/_mjs/TFuture/constructors.mjs.map +1 -1
  749. package/_mjs/TReentrantLock/api.mjs +41 -42
  750. package/_mjs/TReentrantLock/api.mjs.map +1 -1
  751. package/_mjs/TRef/api.mjs +40 -40
  752. package/_mjs/TRef/api.mjs.map +1 -1
  753. package/_mjs/TRef/constructors.mjs +6 -6
  754. package/_mjs/TRef/constructors.mjs.map +1 -1
  755. package/_mjs/TSemaphore/api.mjs +16 -17
  756. package/_mjs/TSemaphore/api.mjs.map +1 -1
  757. package/_mjs/TSemaphore/constructors.mjs +2 -2
  758. package/_mjs/TSemaphore/constructors.mjs.map +1 -1
  759. package/_mjs/collection/immutable/Conc/dropUntilIO.mjs +1 -1
  760. package/_mjs/collection/immutable/Conc/dropUntilIO.mjs.map +1 -1
  761. package/_mjs/collection/immutable/Conc/dropWhileIO.mjs +1 -1
  762. package/_mjs/collection/immutable/Conc/dropWhileIO.mjs.map +1 -1
  763. package/_mjs/collection/immutable/Conc/filterIO.mjs +5 -6
  764. package/_mjs/collection/immutable/Conc/filterIO.mjs.map +1 -1
  765. package/_mjs/collection/immutable/Conc/findIO.mjs +7 -8
  766. package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -1
  767. package/_mjs/collection/immutable/Conc/mapIO.mjs +3 -4
  768. package/_mjs/collection/immutable/Conc/mapIO.mjs.map +1 -1
  769. package/_mjs/collection/immutable/Conc/takeWhileIO.mjs +7 -8
  770. package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -1
  771. package/_mjs/collection/immutable/Conc.mjs +2 -0
  772. package/_mjs/collection/immutable/Conc.mjs.map +1 -1
  773. package/_mjs/data/Exit/foreachIO.mjs +2 -3
  774. package/_mjs/data/Exit/foreachIO.mjs.map +1 -1
  775. package/_mjs/global.mjs +2 -0
  776. package/_mjs/global.mjs.map +1 -0
  777. package/_mjs/index.mjs +2 -0
  778. package/_mjs/index.mjs.map +1 -0
  779. package/_src/Cached/api.ts +1 -0
  780. package/_src/Channel/api.ts +4 -4
  781. package/_src/Channel/core-api.ts +1 -3
  782. package/_src/Channel/definition.ts +7 -7
  783. package/_src/Console/api.ts +1 -1
  784. package/_src/Fiber/api/await.ts +1 -1
  785. package/_src/Fiber/api/awaitAll.ts +1 -1
  786. package/_src/Fiber/api/children.ts +1 -1
  787. package/_src/Fiber/api/collectAll.ts +4 -1
  788. package/_src/Fiber/api/evalOn.ts +6 -1
  789. package/_src/Fiber/api/evalOnIO.ts +1 -0
  790. package/_src/Fiber/api/fromIO.ts +1 -1
  791. package/_src/Fiber/api/id.ts +1 -1
  792. package/_src/Fiber/api/inheritRefs.ts +1 -1
  793. package/_src/Fiber/api/interrupt.ts +1 -1
  794. package/_src/Fiber/api/interruptAll.ts +2 -2
  795. package/_src/Fiber/api/interruptAs.ts +1 -1
  796. package/_src/Fiber/api/join.ts +1 -1
  797. package/_src/Fiber/api/joinAll.ts +1 -1
  798. package/_src/Fiber/api/mapFiber.ts +5 -1
  799. package/_src/Fiber/api/mapIO.ts +6 -2
  800. package/_src/Fiber/api/poll.ts +1 -1
  801. package/_src/Fiber/api/zipWith.ts +1 -0
  802. package/_src/Fiber/constructors.ts +5 -5
  803. package/_src/FiberRef/api/locallyScoped.ts +1 -1
  804. package/_src/FiberRef/api/locallyScopedWith.ts +5 -1
  805. package/_src/FiberRef/api.ts +7 -7
  806. package/_src/FiberRef/constructors.ts +2 -0
  807. package/_src/Future/api.ts +23 -15
  808. package/_src/Future/constructors.ts +2 -2
  809. package/_src/Hub/api.ts +39 -12
  810. package/_src/IO/api/acquireRelease.ts +1 -0
  811. package/_src/IO/api/addFinalizer.ts +1 -4
  812. package/_src/IO/api/addFinalizerExit.ts +4 -1
  813. package/_src/IO/api/asyncIO.ts +4 -1
  814. package/_src/IO/api/bracket.ts +1 -0
  815. package/_src/IO/api/bracketExit.ts +1 -0
  816. package/_src/IO/api/concurrency.ts +6 -3
  817. package/_src/IO/api/concurrentFinalizers.ts +1 -1
  818. package/_src/IO/api/consoleWith.ts +1 -1
  819. package/_src/IO/api/ensuringChildren.ts +1 -0
  820. package/_src/IO/api/environment.ts +1 -1
  821. package/_src/IO/api/foreachC.ts +33 -6
  822. package/_src/IO/api/foreachExec.ts +1 -0
  823. package/_src/IO/api/fulfill.ts +1 -1
  824. package/_src/IO/api/interrupt.ts +10 -2
  825. package/_src/IO/api/onExit.ts +1 -0
  826. package/_src/IO/api/onTermination.ts +1 -1
  827. package/_src/IO/api/provideLayer.ts +1 -0
  828. package/_src/IO/api/provideSomeLayer.ts +1 -2
  829. package/_src/IO/api/race.ts +6 -2
  830. package/_src/IO/api/raceFirst.ts +6 -2
  831. package/_src/IO/api/randomWith.ts +1 -1
  832. package/_src/IO/api/repeat.ts +3 -3
  833. package/_src/IO/api/retry.ts +3 -3
  834. package/_src/IO/api/schedule.ts +1 -0
  835. package/_src/IO/api/scopeWith.ts +1 -1
  836. package/_src/IO/api/scoped.ts +2 -2
  837. package/_src/IO/api/timeout.ts +5 -1
  838. package/_src/IO/api/withEarlyRelease.ts +4 -1
  839. package/_src/IO/api/withFinalizer.ts +1 -0
  840. package/_src/IO/api/withFinalizerExit.ts +1 -0
  841. package/_src/IO/api/withRuntimeConfig.ts +5 -1
  842. package/_src/IO/api/zipC.ts +6 -1
  843. package/_src/IO/api.ts +82 -32
  844. package/_src/IO/definition.ts +3 -3
  845. package/_src/Layer/MemoMap.ts +25 -18
  846. package/_src/Layer/api.ts +60 -27
  847. package/_src/Layer/definition.ts +7 -4
  848. package/_src/Queue/api/dimapIO.ts +11 -1
  849. package/_src/Queue/api/filterInputIO.ts +2 -0
  850. package/_src/Queue/api/filterOutputIO.ts +2 -0
  851. package/_src/Queue/api/operations.ts +28 -10
  852. package/_src/Queue/api/poll.ts +4 -1
  853. package/_src/Queue/api/takeBetween.ts +6 -1
  854. package/_src/Queue/api/zipWithIO.ts +3 -0
  855. package/_src/Queue/constructors.ts +4 -4
  856. package/_src/Queue/definition.ts +3 -3
  857. package/_src/Queue/internal.ts +3 -3
  858. package/_src/Queue/strategy.ts +14 -6
  859. package/_src/Random/api.ts +5 -5
  860. package/_src/Random/definition.ts +5 -5
  861. package/_src/Random/live.ts +4 -4
  862. package/_src/Ref/Atomic/api.ts +10 -10
  863. package/_src/Ref/Synchronized/api.ts +18 -3
  864. package/_src/Ref/Synchronized/constructors.ts +1 -1
  865. package/_src/Ref/api/collect.ts +1 -0
  866. package/_src/Ref/api/dimap.ts +7 -0
  867. package/_src/Ref/api/filter.ts +2 -0
  868. package/_src/Ref/api/get.ts +4 -1
  869. package/_src/Ref/api/modify.ts +13 -1
  870. package/_src/Ref/api/set.ts +5 -1
  871. package/_src/Ref/constructors.ts +2 -2
  872. package/_src/Ref/definition.ts +1 -1
  873. package/_src/STM/api/core-api.ts +17 -4
  874. package/_src/STM/api/core-constructors.ts +5 -5
  875. package/_src/STM/api.ts +106 -41
  876. package/_src/Schedule/api.ts +98 -18
  877. package/_src/Scope/ReleaseMap/api/releaseAll.ts +6 -1
  878. package/_src/Scope/ReleaseMap/api.ts +15 -5
  879. package/_src/Scope/api.ts +15 -7
  880. package/_src/Sink/api.ts +39 -10
  881. package/_src/State/api.ts +1 -1
  882. package/_src/Stream/api/zipAllWith.ts +3 -0
  883. package/_src/Stream/api/zipWith.ts +1 -0
  884. package/_src/Stream/api/zipWithChunks.ts +3 -0
  885. package/_src/Stream/api.ts +363 -96
  886. package/_src/TFuture/api.ts +5 -5
  887. package/_src/TFuture/constructors.ts +2 -2
  888. package/_src/TReentrantLock/api.ts +16 -16
  889. package/_src/TRef/api.ts +35 -13
  890. package/_src/TRef/constructors.ts +4 -4
  891. package/_src/TSemaphore/api.ts +7 -7
  892. package/_src/TSemaphore/constructors.ts +1 -1
  893. package/_src/collection/immutable/Conc/filterIO.ts +5 -1
  894. package/_src/collection/immutable/Conc/findIO.ts +6 -1
  895. package/_src/collection/immutable/Conc/mapIO.ts +1 -1
  896. package/_src/collection/immutable/Conc/takeWhileIO.ts +5 -1
  897. package/_src/collection/immutable/Conc.ts +2 -0
  898. package/_src/data/Exit/foreachIO.ts +1 -0
  899. package/_src/global.ts +149 -0
  900. package/_src/index.ts +42 -0
  901. package/collection/immutable/Conc/filterIO.d.ts +1 -1
  902. package/collection/immutable/Conc/findIO.d.ts +2 -2
  903. package/collection/immutable/Conc/mapIO.d.ts +1 -1
  904. package/collection/immutable/Conc/takeWhileIO.d.ts +1 -1
  905. package/collection/immutable/Conc.d.ts +2 -0
  906. package/data/Exit/foreachIO.d.ts +2 -2
  907. package/global.d.ts +149 -0
  908. package/index.d.ts +40 -0
  909. package/package.json +2 -2
package/_cjs/IO/api.cjs CHANGED
@@ -395,8 +395,8 @@ function apSecond_1(self, fb, __tsplusTrace) {
395
395
  */
396
396
 
397
397
 
398
- function as_1(self, b) {
399
- return map_1(self, () => b(), fileName_1 + ":135:18");
398
+ function as_1(self, b, __tsplusTrace) {
399
+ return map_1(self, () => b(), __tsplusTrace);
400
400
  }
401
401
  /**
402
402
  * Maps the success value of this effect to an optional value.
@@ -423,8 +423,8 @@ function asJustError(ma, __tsplusTrace) {
423
423
  */
424
424
 
425
425
 
426
- function asUnit_1(self) {
427
- return as_1(self, () => undefined);
426
+ function asUnit_1(self, __tsplusTrace) {
427
+ return as_1(self, () => undefined, __tsplusTrace);
428
428
  }
429
429
  /**
430
430
  * Returns an IO whose failure and success channels have been mapped by
@@ -502,8 +502,8 @@ function catchJust_(ma, f, __tsplusTrace) {
502
502
  */
503
503
 
504
504
 
505
- function catchJustCause_(ma, f) {
506
- return matchCauseIO_1(ma, cause => tsplus_module_7.getOrElse_(f(cause), () => failCauseNow_1(cause, fileName_1 + ":275:71")), succeedNow_1, fileName_1 + ":275:25");
505
+ function catchJustCause_(ma, f, __tsplusTrace) {
506
+ return matchCauseIO_1(ma, cause => tsplus_module_7.getOrElse_(f(cause), () => failCauseNow_1(cause, __tsplusTrace)), succeedNow_1, __tsplusTrace);
507
507
  }
508
508
  /**
509
509
  * Recovers from some or all of the defects with provided partial function.
@@ -518,7 +518,7 @@ function catchJustCause_(ma, f) {
518
518
 
519
519
 
520
520
  function catchJustDefect_(ma, f, __tsplusTrace) {
521
- return catchAll_1(unrefineWith_1(ma, f, failNow_1, __tsplusTrace), _function.identity, __tsplusTrace);
521
+ return catchAll_1(unrefineWith_1(ma, f, failNow_1, __tsplusTrace), a => a, __tsplusTrace);
522
522
  }
523
523
  /**
524
524
  * Recovers from the specified error
@@ -563,8 +563,8 @@ function flatMap_1(ma, f, __tsplusTrace) {
563
563
  */
564
564
 
565
565
 
566
- function flatMapError_(ma, f) {
567
- return swapWith_1(ma, effect => flatMap_1(effect, f, fileName_1 + ":343:48"));
566
+ function flatMapError_(ma, f, __tsplusTrace) {
567
+ return swapWith_1(ma, effect => flatMap_1(effect, f, __tsplusTrace), __tsplusTrace);
568
568
  }
569
569
  /**
570
570
  * Checks the interrupt status, and produces the IO returned by the
@@ -598,8 +598,8 @@ function collectIO_1(ma, f, pf, __tsplusTrace) {
598
598
  */
599
599
 
600
600
 
601
- function condIO_(b, onTrue, onFalse) {
602
- return b ? onTrue : flatMap_1(onFalse, failNow_1, fileName_1 + ":387:38");
601
+ function condIO_(b, onTrue, onFalse, __tsplusTrace) {
602
+ return b ? onTrue : flatMap_1(onFalse, failNow_1, __tsplusTrace);
603
603
  }
604
604
  /**
605
605
  * Returns a lazily constructed effect, whose construction may itself require
@@ -652,14 +652,14 @@ function deferTry(io, __tsplusTrace) {
652
652
  */
653
653
 
654
654
 
655
- function deferTryWith(io) {
655
+ function deferTryWith(io, __tsplusTrace) {
656
656
  return deferWith_1((runtimeConfig, id) => {
657
657
  try {
658
658
  return io(runtimeConfig, id);
659
659
  } catch (u) {
660
660
  throw new _definition2.IOError(tsplus_module_8.fail(u));
661
661
  }
662
- }, fileName_1 + ":442:22");
662
+ }, __tsplusTrace);
663
663
  }
664
664
  /**
665
665
  * Returns a lazily constructed effect, whose construction may itself require effects,
@@ -671,14 +671,14 @@ function deferTryWith(io) {
671
671
  */
672
672
 
673
673
 
674
- function deferTryCatch(io, onThrow) {
674
+ function deferTryCatch(io, onThrow, __tsplusTrace) {
675
675
  return defer_1(() => {
676
676
  try {
677
677
  return io();
678
678
  } catch (u) {
679
679
  throw new _definition2.IOError(tsplus_module_8.fail(onThrow(u)));
680
680
  }
681
- }, fileName_1 + ":460:18");
681
+ }, __tsplusTrace);
682
682
  }
683
683
  /**
684
684
  * Returns a lazily constructed effect, whose construction may itself require effects,
@@ -690,21 +690,21 @@ function deferTryCatch(io, onThrow) {
690
690
  */
691
691
 
692
692
 
693
- function deferTryCatchWith(io, onThrow) {
693
+ function deferTryCatchWith(io, onThrow, __tsplusTrace) {
694
694
  return deferWith_1((runtimeConfig, id) => {
695
695
  try {
696
696
  return io(runtimeConfig, id);
697
697
  } catch (u) {
698
698
  throw new _definition2.IOError(tsplus_module_8.fail(onThrow(u)));
699
699
  }
700
- }, fileName_1 + ":481:22");
700
+ }, __tsplusTrace);
701
701
  }
702
702
  /**
703
703
  * @tsplus static fncts.io.IOOps descriptor
704
704
  */
705
705
 
706
706
 
707
- const descriptor = /*#__PURE__*/descriptorWith_1(succeedNow_1, fileName_1 + ":493:41");
707
+ const descriptor = /*#__PURE__*/descriptorWith_1(succeedNow_1, fileName_1 + ":509:41");
708
708
  /**
709
709
  * Constructs an IO based on information about the current fiber, such as
710
710
  * its identity.
@@ -802,7 +802,7 @@ function failCause_1(cause, __tsplusTrace) {
802
802
  */
803
803
 
804
804
 
805
- const fiberId = /*#__PURE__*/descriptorWith_1(d => succeedNow_1(d.id, fileName_1 + ":583:89"), fileName_1 + ":583:68");
805
+ const fiberId = /*#__PURE__*/descriptorWith_1(d => succeedNow_1(d.id, fileName_1 + ":599:89"), fileName_1 + ":599:68");
806
806
  /**
807
807
  * Filters the collection using the specified effectual predicate.
808
808
  *
@@ -818,7 +818,7 @@ function filter_1(as, f, __tsplusTrace) {
818
818
  }
819
819
 
820
820
  return builder;
821
- })), b => b.result(), __tsplusTrace);
821
+ }, __tsplusTrace)), b => b.result(), __tsplusTrace);
822
822
  }
823
823
  /**
824
824
  * @tsplus static fncts.io.IOOps filterMap
@@ -840,7 +840,7 @@ function filterMapWithIndex_1(as, f, __tsplusTrace) {
840
840
  if (tsplus_module_12.isJust(b)) {
841
841
  bs.push(b.value);
842
842
  }
843
- }, __tsplusTrace)), () => tsplus_module_11.from(bs));
843
+ }, __tsplusTrace), __tsplusTrace), () => tsplus_module_11.from(bs), __tsplusTrace);
844
844
  }, __tsplusTrace);
845
845
  }
846
846
  /**
@@ -859,8 +859,8 @@ function filterOrElse_1(fa, predicate, or, __tsplusTrace) {
859
859
  return flatMap_1(fa, a => predicate(a) ? succeedNow_1(a, __tsplusTrace) : defer_1(() => or(a), __tsplusTrace), __tsplusTrace);
860
860
  }
861
861
 
862
- function filterOrFail_(fa, predicate, failWith) {
863
- return filterOrElse_1(fa, predicate, a => failNow_1(failWith(a), fileName_1 + ":701:56"), fileName_1 + ":701:23");
862
+ function filterOrFail_(fa, predicate, failWith, __tsplusTrace) {
863
+ return filterOrElse_1(fa, predicate, a => failNow_1(failWith(a), __tsplusTrace), __tsplusTrace);
864
864
  }
865
865
  /**
866
866
  * Returns an `IO` that yields the value of the first
@@ -870,8 +870,8 @@ function filterOrFail_(fa, predicate, failWith) {
870
870
  */
871
871
 
872
872
 
873
- function firstSuccess(mas) {
874
- return mas.reduce((b, a) => orElse_1(b, () => a, fileName_1 + ":711:39"));
873
+ function firstSuccess(mas, __tsplusTrace) {
874
+ return mas.reduce((b, a) => orElse_1(b, () => a, __tsplusTrace));
875
875
  }
876
876
 
877
877
  function filterOrHalt_(fa, predicate, haltWith, __tsplusTrace) {
@@ -882,8 +882,8 @@ function filterOrHalt_(fa, predicate, haltWith, __tsplusTrace) {
882
882
  */
883
883
 
884
884
 
885
- function flatten(self) {
886
- return flatMap_1(self, _function.identity, fileName_1 + ":744:22");
885
+ function flatten(self, __tsplusTrace) {
886
+ return flatMap_1(self, _function.identity, __tsplusTrace);
887
887
  }
888
888
  /**
889
889
  * Folds an `Iterable<A>` using an effectful function f, working sequentially from left to right.
@@ -905,12 +905,12 @@ function foldLeft_1(as, b, f, __tsplusTrace) {
905
905
  function foldMap_(as, f,
906
906
  /** @tsplus auto */
907
907
  M) {
908
- return foldLeft_1(as, M.nat, (m, a) => map_1(a, a => M.combine(m, f(a)), fileName_1 + ":771:48"), fileName_1 + ":771:21");
908
+ return foldLeft_1(as, M.nat, (m, a) => map_1(a, a => M.combine(m, f(a)), fileName_1 + ":788:48"), fileName_1 + ":788:21");
909
909
  }
910
910
 
911
- function foldRightLoop(iterator, b, f) {
911
+ function foldRightLoop(iterator, b, f, __tsplusTrace) {
912
912
  const next = iterator.next();
913
- return next.done ? b : f(next.value, foldRightLoop(iterator, b, f));
913
+ return next.done ? b : f(next.value, foldRightLoop(iterator, b, f, __tsplusTrace));
914
914
  }
915
915
  /**
916
916
  * Performs a right-associative fold of an `Iterable<A>`
@@ -919,13 +919,13 @@ function foldRightLoop(iterator, b, f) {
919
919
  */
920
920
 
921
921
 
922
- function foldRight_(as, b, f) {
923
- return foldRightLoop(as[Symbol.iterator](), b, f);
922
+ function foldRight_(as, b, f, __tsplusTrace) {
923
+ return foldRightLoop(as[Symbol.iterator](), b, f, __tsplusTrace);
924
924
  }
925
925
 
926
- function foreachWithIndexDiscardLoop(iterator, f, i = 0) {
926
+ function foreachWithIndexDiscardLoop(iterator, f, i = 0, __tsplusTrace) {
927
927
  const next = iterator.next();
928
- return next.done ? unit_1 : flatMap_1(f(i, next.value), () => foreachWithIndexDiscardLoop(iterator, f, i + 1), fileName_1 + ":802:56");
928
+ return next.done ? unit_1 : flatMap_1(f(i, next.value), () => foreachWithIndexDiscardLoop(iterator, f, i + 1, __tsplusTrace), __tsplusTrace);
929
929
  }
930
930
  /**
931
931
  * Applies the function `f` to each element of the `Iterable<A>` and
@@ -944,7 +944,7 @@ function foreach_1(as, f, __tsplusTrace) {
944
944
  return as_1(foreachWithIndexDiscard_1(as, (_, a) => flatMap_1(f(a), b => {
945
945
  acc.push(b);
946
946
  return unit_1;
947
- }, __tsplusTrace)), () => tsplus_module_11.from(acc));
947
+ }, __tsplusTrace), __tsplusTrace), () => tsplus_module_11.from(acc), __tsplusTrace);
948
948
  }, __tsplusTrace);
949
949
  }
950
950
  /**
@@ -958,22 +958,22 @@ function foreach_1(as, f, __tsplusTrace) {
958
958
  */
959
959
 
960
960
 
961
- function foreachWithIndex_(as, f) {
961
+ function foreachWithIndex_(as, f, __tsplusTrace) {
962
962
  return defer_1(() => {
963
963
  const acc = [];
964
964
  return as_1(foreachWithIndexDiscard_1(as, (i, a) => flatMap_1(f(i, a), b => {
965
965
  acc.push(b);
966
966
  return unit_1;
967
- }, fileName_1 + ":843:22")), () => tsplus_module_11.from(acc));
968
- }, fileName_1 + ":840:18");
967
+ }, __tsplusTrace), __tsplusTrace), () => tsplus_module_11.from(acc), __tsplusTrace);
968
+ }, __tsplusTrace);
969
969
  }
970
970
  /**
971
971
  * @tsplus static fncts.io.IOOps foreachWithIndexDiscard
972
972
  */
973
973
 
974
974
 
975
- function foreachWithIndexDiscard_1(as, f) {
976
- return defer_1(() => foreachWithIndexDiscardLoop(as[Symbol.iterator](), f), fileName_1 + ":858:18");
975
+ function foreachWithIndexDiscard_1(as, f, __tsplusTrace) {
976
+ return defer_1(() => foreachWithIndexDiscardLoop(as[Symbol.iterator](), f), __tsplusTrace);
977
977
  }
978
978
  /**
979
979
  * Applies the function `f` to each element of the `Iterable<A>` and runs
@@ -983,8 +983,8 @@ function foreachWithIndexDiscard_1(as, f) {
983
983
  */
984
984
 
985
985
 
986
- function foreachDiscard_1(as, f) {
987
- return defer_1(() => foreachWithIndexDiscardLoop(as[Symbol.iterator](), (_, a) => f(a)), fileName_1 + ":868:18");
986
+ function foreachDiscard_1(as, f, __tsplusTrace) {
987
+ return defer_1(() => foreachWithIndexDiscardLoop(as[Symbol.iterator](), (_, a) => f(a)), __tsplusTrace);
988
988
  }
989
989
  /**
990
990
  * Repeats this effect forever (until the first failure).
@@ -993,8 +993,8 @@ function foreachDiscard_1(as, f) {
993
993
  */
994
994
 
995
995
 
996
- function forever_1(ma) {
997
- return flatMap_1(apSecond_1(ma, yieldNow_1, fileName_1 + ":877:21"), () => forever_1(ma), fileName_1 + ":877:42");
996
+ function forever_1(ma, __tsplusTrace) {
997
+ return flatMap_1(apSecond_1(ma, yieldNow_1, __tsplusTrace), () => forever_1(ma, __tsplusTrace), __tsplusTrace);
998
998
  }
999
999
  /**
1000
1000
  * Returns an IO that forks this IO into its own separate fiber,
@@ -1137,8 +1137,8 @@ function fromPromiseHalt(promise, __tsplusTrace) {
1137
1137
  */
1138
1138
 
1139
1139
 
1140
- function get(ma) {
1141
- return matchCauseIO_1(ma, cause => failCauseNow_1(tsplus_module_5.map_(cause, tsplus_module_2.just), fileName_1 + ":1018:31"), ma => tsplus_module_4.match_(ma, () => failNow_1(tsplus_module_2.nothing(), fileName_1 + ":1019:38"), succeedNow_1), fileName_1 + ":1017:25");
1140
+ function get(ma, __tsplusTrace) {
1141
+ return matchCauseIO_1(ma, cause => failCauseNow_1(tsplus_module_5.map_(cause, tsplus_module_2.just), __tsplusTrace), ma => tsplus_module_4.match_(ma, () => failNow_1(tsplus_module_2.nothing(), __tsplusTrace), succeedNow_1), __tsplusTrace);
1142
1142
  }
1143
1143
  /**
1144
1144
  * Extracts the optional value, or returns the given 'orElse'.
@@ -1147,8 +1147,8 @@ function get(ma) {
1147
1147
  */
1148
1148
 
1149
1149
 
1150
- function getOrElse_(ma, orElse) {
1151
- return map_1(ma, ma => tsplus_module_7.getOrElse_(ma, orElse), fileName_1 + ":1029:16");
1150
+ function getOrElse_(ma, orElse, __tsplusTrace) {
1151
+ return map_1(ma, ma => tsplus_module_7.getOrElse_(ma, orElse), __tsplusTrace);
1152
1152
  }
1153
1153
  /**
1154
1154
  * Extracts the optional value, or executes the effect 'orElse'.
@@ -1157,8 +1157,8 @@ function getOrElse_(ma, orElse) {
1157
1157
  */
1158
1158
 
1159
1159
 
1160
- function getOrElseIO_(ma, orElse) {
1161
- return flatMap_1(ma, mab => tsplus_module_7.getOrElse_(tsplus_module_7.map_(mab, succeedNow_1), orElse), fileName_1 + ":1041:48");
1160
+ function getOrElseIO_(ma, orElse, __tsplusTrace) {
1161
+ return flatMap_1(ma, mab => tsplus_module_7.getOrElse_(tsplus_module_7.map_(mab, succeedNow_1), orElse), __tsplusTrace);
1162
1162
  }
1163
1163
  /**
1164
1164
  * Lifts a Maybe into an IO. If the option is `Nothing`, fail with `onNothing`.
@@ -1167,8 +1167,8 @@ function getOrElseIO_(ma, orElse) {
1167
1167
  */
1168
1168
 
1169
1169
 
1170
- function getOrFailWith_1(maybe, onNothing) {
1171
- return defer_1(() => tsplus_module_4.match_(maybe, () => fail_1(onNothing, fileName_1 + ":1050:44"), succeedNow_1), fileName_1 + ":1050:18");
1170
+ function getOrFailWith_1(maybe, onNothing, __tsplusTrace) {
1171
+ return defer_1(() => tsplus_module_4.match_(maybe, () => fail_1(onNothing, __tsplusTrace), succeedNow_1), __tsplusTrace);
1172
1172
  }
1173
1173
  /**
1174
1174
  * Lifts a Maybe into a IO, if the Maybe is `Nothing` it fails with Unit.
@@ -1177,8 +1177,8 @@ function getOrFailWith_1(maybe, onNothing) {
1177
1177
  */
1178
1178
 
1179
1179
 
1180
- function getOrFailUnit(option) {
1181
- return getOrFailWith_1(option, () => undefined);
1180
+ function getOrFailUnit(option, __tsplusTrace) {
1181
+ return getOrFailWith_1(option, () => undefined, __tsplusTrace);
1182
1182
  }
1183
1183
  /**
1184
1184
  * Creates an `IO` that halts with the specified lazily-evaluated defect.
@@ -1209,8 +1209,8 @@ function haltNow_1(e, __tsplusTrace) {
1209
1209
  */
1210
1210
 
1211
1211
 
1212
- function ifIO_1(self, onFalse, onTrue) {
1213
- return flatMap_1(self, b => b ? onTrue() : onFalse(), fileName_1 + ":1092:22");
1212
+ function ifIO_1(self, onFalse, onTrue, __tsplusTrace) {
1213
+ return flatMap_1(self, b => b ? onTrue() : onFalse(), __tsplusTrace);
1214
1214
  }
1215
1215
  /**
1216
1216
  * @tsplus static fncts.io.IOOps if
@@ -1218,15 +1218,15 @@ function ifIO_1(self, onFalse, onTrue) {
1218
1218
 
1219
1219
 
1220
1220
  function if_(b, onTrue, onFalse, __tsplusTrace) {
1221
- return ifIO_1(succeedNow_1(b, __tsplusTrace), onTrue, onFalse);
1221
+ return ifIO_1(succeedNow_1(b, __tsplusTrace), onTrue, onFalse, __tsplusTrace);
1222
1222
  }
1223
1223
  /**
1224
1224
  * @tsplus getter fncts.io.IO ignore
1225
1225
  */
1226
1226
 
1227
1227
 
1228
- function ignore(fa) {
1229
- return match_1(fa, () => undefined, () => undefined, fileName_1 + ":1111:18");
1228
+ function ignore(fa, __tsplusTrace) {
1229
+ return match_1(fa, () => undefined, () => undefined, __tsplusTrace);
1230
1230
  }
1231
1231
  /**
1232
1232
  * Folds a `IO` to a boolean describing whether or not it is a failure
@@ -1235,8 +1235,8 @@ function ignore(fa) {
1235
1235
  */
1236
1236
 
1237
1237
 
1238
- function isFailure(ma) {
1239
- return match_1(ma, () => true, () => false, fileName_1 + ":1123:18");
1238
+ function isFailure(ma, __tsplusTrace) {
1239
+ return match_1(ma, () => true, () => false, __tsplusTrace);
1240
1240
  }
1241
1241
  /**
1242
1242
  * Folds a `IO` to a boolean describing whether or not it is a success
@@ -1245,8 +1245,8 @@ function isFailure(ma) {
1245
1245
  */
1246
1246
 
1247
1247
 
1248
- function isSuccess(ma) {
1249
- return match_1(ma, () => false, () => true, fileName_1 + ":1135:18");
1248
+ function isSuccess(ma, __tsplusTrace) {
1249
+ return match_1(ma, () => false, () => true, __tsplusTrace);
1250
1250
  }
1251
1251
  /**
1252
1252
  * Iterates with the specified effectual function. The moral equivalent of:
@@ -1275,8 +1275,8 @@ function iterate_1(initial, cont, body, __tsplusTrace) {
1275
1275
  */
1276
1276
 
1277
1277
 
1278
- function left(a) {
1279
- return flatMap_1(succeed_1(a, fileName_1 + ":1170:20"), a => succeedNow_1(tsplus_module_3.left(a), fileName_1 + ":1170:52"), fileName_1 + ":1170:31");
1278
+ function left(a, __tsplusTrace) {
1279
+ return flatMap_1(succeed_1(a, __tsplusTrace), a => succeedNow_1(tsplus_module_3.left(a), __tsplusTrace), __tsplusTrace);
1280
1280
  }
1281
1281
  /**
1282
1282
  * @tsplus static fncts.io.IOOps log
@@ -1332,7 +1332,7 @@ function loop_1(initial, cont, inc, body, __tsplusTrace) {
1332
1332
 
1333
1333
  function loopUnit_(initial, cont, inc, body, __tsplusTrace) {
1334
1334
  if (cont(initial)) {
1335
- return asUnit_1(flatMap_1(body(initial), () => loop_1(inc(initial), cont, inc, body, __tsplusTrace), __tsplusTrace));
1335
+ return asUnit_1(flatMap_1(body(initial), () => loop_1(inc(initial), cont, inc, body, __tsplusTrace), __tsplusTrace), __tsplusTrace);
1336
1336
  } else {
1337
1337
  return unit_1;
1338
1338
  }
@@ -1455,7 +1455,7 @@ function merge(io, __tsplusTrace) {
1455
1455
 
1456
1456
 
1457
1457
  function mergeAll_(fas, b, f, __tsplusTrace) {
1458
- return tsplus_module_10.foldLeft_(fas, succeed_1(() => b, __tsplusTrace), (b, a) => zipWith_1(b, a, f));
1458
+ return tsplus_module_10.foldLeft_(fas, succeed_1(() => b, __tsplusTrace), (b, a) => zipWith_1(b, a, f, __tsplusTrace));
1459
1459
  }
1460
1460
  /**
1461
1461
  * Returns a `IO` that will never produce anything. The moral equivalent of
@@ -1470,8 +1470,8 @@ const never = /*#__PURE__*/defer_1(() => asyncInterrupt_1(() => {
1470
1470
  }, 60000);
1471
1471
  return tsplus_module_3.left(succeed_1(() => {
1472
1472
  clearInterval(interval);
1473
- }, fileName_1 + ":1409:17"));
1474
- }), fileName_1 + ":1403:39");
1473
+ }, fileName_1 + ":1444:17"));
1474
+ }), fileName_1 + ":1438:39");
1475
1475
  /**
1476
1476
  * Converts an option on errors into an option on values.
1477
1477
  *
@@ -1480,8 +1480,8 @@ const never = /*#__PURE__*/defer_1(() => asyncInterrupt_1(() => {
1480
1480
 
1481
1481
  exports.never = never;
1482
1482
 
1483
- function optional(ma) {
1484
- return matchIO_1(ma, me => tsplus_module_4.match_(me, () => succeedNow_1(tsplus_module_2.nothing(), fileName_1 + ":1423:41"), failNow_1), a => succeedNow_1(tsplus_module_2.just(a), fileName_1 + ":1424:25"), fileName_1 + ":1422:20");
1483
+ function optional(ma, __tsplusTrace) {
1484
+ return matchIO_1(ma, me => tsplus_module_4.match_(me, () => succeedNow_1(tsplus_module_2.nothing(), __tsplusTrace), failNow_1), a => succeedNow_1(tsplus_module_2.just(a), __tsplusTrace), __tsplusTrace);
1485
1485
  }
1486
1486
  /**
1487
1487
  * Returns the logical disjunction of the `Boolean` value returned by this
@@ -1517,8 +1517,8 @@ function orElseEither_(self, that, __tsplusTrace) {
1517
1517
  */
1518
1518
 
1519
1519
 
1520
- function orElseFail_(ma, e) {
1521
- return orElse_1(ma, () => fail_1(e, fileName_1 + ":1470:27"), fileName_1 + ":1470:19");
1520
+ function orElseFail_(ma, e, __tsplusTrace) {
1521
+ return orElse_1(ma, () => fail_1(e, __tsplusTrace), __tsplusTrace);
1522
1522
  }
1523
1523
  /**
1524
1524
  * @tsplus fluent fncts.io.IO orElseMaybe
@@ -1549,8 +1549,8 @@ function orHalt(ma, __tsplusTrace) {
1549
1549
  */
1550
1550
 
1551
1551
 
1552
- function orHaltKeep(ma) {
1553
- return matchCauseIO_1(ma, cause => failCauseNow_1(tsplus_module_5.flatMap_(cause, tsplus_module_5.halt), fileName_1 + ":1502:52"), succeedNow_1, fileName_1 + ":1502:25");
1552
+ function orHaltKeep(ma, __tsplusTrace) {
1553
+ return matchCauseIO_1(ma, cause => failCauseNow_1(tsplus_module_5.flatMap_(cause, tsplus_module_5.halt), __tsplusTrace), succeedNow_1, __tsplusTrace);
1554
1554
  }
1555
1555
  /**
1556
1556
  * @tsplus fluent fncts.io.IO orHaltWith
@@ -1567,16 +1567,16 @@ function orHaltWith_1(ma, f, __tsplusTrace) {
1567
1567
  */
1568
1568
 
1569
1569
 
1570
- function parallelErrors(io) {
1570
+ function parallelErrors(io, __tsplusTrace) {
1571
1571
  return matchCauseIO_1(io, cause => {
1572
1572
  const f = tsplus_module_5.failures(cause);
1573
1573
 
1574
1574
  if (tsplus_module_17.length(f) === 0) {
1575
- return failCauseNow_1(cause, fileName_1 + ":1521:29");
1575
+ return failCauseNow_1(cause, __tsplusTrace);
1576
1576
  } else {
1577
- return failNow_1(f, fileName_1 + ":1523:24");
1577
+ return failNow_1(f, __tsplusTrace);
1578
1578
  }
1579
- }, succeedNow_1, fileName_1 + ":1518:25");
1579
+ }, succeedNow_1, __tsplusTrace);
1580
1580
  }
1581
1581
  /**
1582
1582
  * Feeds elements of type `A` to a function `f` that returns an IO.
@@ -1597,7 +1597,7 @@ function partition_(as, f, __tsplusTrace) {
1597
1597
 
1598
1598
 
1599
1599
  function refineOrHalt_(fa, pf, __tsplusTrace) {
1600
- return refineOrHaltWith_1(fa, pf, _function.identity);
1600
+ return refineOrHaltWith_1(fa, pf, _function.identity, __tsplusTrace);
1601
1601
  }
1602
1602
  /**
1603
1603
  * Keeps some of the errors, and terminates the fiber with the rest, using
@@ -1607,8 +1607,8 @@ function refineOrHalt_(fa, pf, __tsplusTrace) {
1607
1607
  */
1608
1608
 
1609
1609
 
1610
- function refineOrHaltWith_1(fa, pf, f) {
1611
- return catchAll_1(fa, e => tsplus_module_4.match_(pf(e), () => haltNow_1(f(e), fileName_1 + ":1566:57"), failNow_1), fileName_1 + ":1566:21");
1610
+ function refineOrHaltWith_1(fa, pf, f, __tsplusTrace) {
1611
+ return catchAll_1(fa, e => tsplus_module_4.match_(pf(e), () => haltNow_1(f(e), __tsplusTrace), failNow_1), __tsplusTrace);
1612
1612
  }
1613
1613
  /**
1614
1614
  * Fail with the returned value if the partial function `pf` matches, otherwise
@@ -1670,8 +1670,8 @@ function repeatUntilIO_1(ma, f, __tsplusTrace) {
1670
1670
  */
1671
1671
 
1672
1672
 
1673
- function repeatWhile_(ma, f) {
1674
- return repeatWhileIO_1(ma, a => succeedNow_1(f(a), fileName_1 + ":1640:47"), fileName_1 + ":1640:26");
1673
+ function repeatWhile_(ma, f, __tsplusTrace) {
1674
+ return repeatWhileIO_1(ma, a => succeedNow_1(f(a), __tsplusTrace), __tsplusTrace);
1675
1675
  }
1676
1676
  /**
1677
1677
  * Repeats this effect while its error satisfies the specified effectful predicate.
@@ -1717,8 +1717,8 @@ function result(ma, __tsplusTrace) {
1717
1717
  */
1718
1718
 
1719
1719
 
1720
- function resurrect(io) {
1721
- return unrefineWith_1(io, tsplus_module_2.just, _function.identity, fileName_1 + ":1689:25");
1720
+ function resurrect(io, __tsplusTrace) {
1721
+ return unrefineWith_1(io, tsplus_module_2.just, _function.identity, __tsplusTrace);
1722
1722
  }
1723
1723
  /**
1724
1724
  * Retries this effect until its error satisfies the specified predicate.
@@ -1767,7 +1767,7 @@ function retryWhileIO_1(fa, f, __tsplusTrace) {
1767
1767
  */
1768
1768
 
1769
1769
 
1770
- const runtimeConfig = /*#__PURE__*/deferWith_1(runtimeConfig => succeedNow_1(runtimeConfig, fileName_1 + ":1741:95"), fileName_1 + ":1741:62");
1770
+ const runtimeConfig = /*#__PURE__*/deferWith_1(runtimeConfig => succeedNow_1(runtimeConfig, fileName_1 + ":1777:95"), fileName_1 + ":1777:62");
1771
1771
  /**
1772
1772
  * Exposes the full cause of failure of this effect.
1773
1773
  *
@@ -1785,7 +1785,7 @@ function sandbox_1(fa, __tsplusTrace) {
1785
1785
 
1786
1786
 
1787
1787
  function sandboxWith_(ma, f, __tsplusTrace) {
1788
- return unsandbox_1(f(sandbox_1(ma, __tsplusTrace)));
1788
+ return unsandbox_1(f(sandbox_1(ma, __tsplusTrace)), __tsplusTrace);
1789
1789
  }
1790
1790
  /**
1791
1791
  * Sets the runtime configuration to the specified value.
@@ -1801,8 +1801,8 @@ function setRuntimeConfig(runtimeConfig, __tsplusTrace) {
1801
1801
  */
1802
1802
 
1803
1803
 
1804
- function sequenceIterable(as) {
1805
- return foreach_1(as, _function.identity, fileName_1 + ":1775:20");
1804
+ function sequenceIterable(as, __tsplusTrace) {
1805
+ return foreach_1(as, _function.identity, __tsplusTrace);
1806
1806
  }
1807
1807
  /**
1808
1808
  * @tsplus static fncts.io.IOOps sequenceIterableDiscard
@@ -1810,7 +1810,7 @@ function sequenceIterable(as) {
1810
1810
 
1811
1811
 
1812
1812
  function sequenceIterableDiscard(as, __tsplusTrace) {
1813
- return foreachDiscard_1(as, _function.identity);
1813
+ return foreachDiscard_1(as, _function.identity, __tsplusTrace);
1814
1814
  }
1815
1815
  /**
1816
1816
  * Creates a `IO` that has succeeded with a pure value
@@ -1858,7 +1858,7 @@ function summarized_1(ma, summary, f, __tsplusTrace) {
1858
1858
  const value = yield* _(ma, __tsplusTrace);
1859
1859
  const end = yield* _(summary, __tsplusTrace);
1860
1860
  return (0, _function.tuple)(f(start, end), value);
1861
- });
1861
+ }, __tsplusTrace);
1862
1862
  }
1863
1863
  /**
1864
1864
  * Swaps the positions of a Bifunctor's arguments
@@ -1867,8 +1867,8 @@ function summarized_1(ma, summary, f, __tsplusTrace) {
1867
1867
  */
1868
1868
 
1869
1869
 
1870
- function swap_1(pab) {
1871
- return matchIO_1(pab, succeedNow_1, failNow_1, fileName_1 + ":1844:21");
1870
+ function swap_1(pab, __tsplusTrace) {
1871
+ return matchIO_1(pab, succeedNow_1, failNow_1, __tsplusTrace);
1872
1872
  }
1873
1873
  /**
1874
1874
  * Swaps the error/value parameters, applies the function `f` and flips the parameters back
@@ -1877,8 +1877,8 @@ function swap_1(pab) {
1877
1877
  */
1878
1878
 
1879
1879
 
1880
- function swapWith_1(fa, f) {
1881
- return swap_1(f(swap_1(fa)));
1880
+ function swapWith_1(fa, f, __tsplusTrace) {
1881
+ return swap_1(f(swap_1(fa, __tsplusTrace)), __tsplusTrace);
1882
1882
  }
1883
1883
  /**
1884
1884
  * A more powerful variation of `timed` that allows specifying the clock.
@@ -1974,7 +1974,7 @@ function tryOrElse_1(ma, that, onSuccess, __tsplusTrace) {
1974
1974
  */
1975
1975
 
1976
1976
 
1977
- const unit_1 = /*#__PURE__*/succeedNow_1(undefined, fileName_1 + ":1964:45");
1977
+ const unit_1 = /*#__PURE__*/succeedNow_1(undefined, fileName_1 + ":2004:45");
1978
1978
  const unit = unit_1;
1979
1979
  /**
1980
1980
  * Converts an option on errors into an option on values.
@@ -1984,8 +1984,8 @@ const unit = unit_1;
1984
1984
 
1985
1985
  exports.unit = unit;
1986
1986
 
1987
- function unjust(self) {
1988
- return matchIO_1(self, e => tsplus_module_4.match_(e, () => succeedNow_1(tsplus_module_2.nothing(), fileName_1 + ":1973:39"), failNow_1), a => succeedNow_1(tsplus_module_2.just(a), fileName_1 + ":1974:25"), fileName_1 + ":1972:22");
1987
+ function unjust(self, __tsplusTrace) {
1988
+ return matchIO_1(self, e => tsplus_module_4.match_(e, () => succeedNow_1(tsplus_module_2.nothing(), __tsplusTrace), failNow_1), a => succeedNow_1(tsplus_module_2.just(a), __tsplusTrace), __tsplusTrace);
1989
1989
  }
1990
1990
  /**
1991
1991
  * Takes some fiber failures and converts them into errors, using the
@@ -2005,8 +2005,8 @@ function unrefineWith_1(fa, pf, f, __tsplusTrace) {
2005
2005
  */
2006
2006
 
2007
2007
 
2008
- function unsandbox_1(ma) {
2009
- return mapErrorCause_1(ma, cause => tsplus_module_5.flatten(cause), fileName_1 + ":2001:26");
2008
+ function unsandbox_1(ma, __tsplusTrace) {
2009
+ return mapErrorCause_1(ma, cause => tsplus_module_5.flatten(cause), __tsplusTrace);
2010
2010
  }
2011
2011
  /**
2012
2012
  * Updates the `FiberRef` values for the fiber running this effect using the
@@ -2032,7 +2032,7 @@ const via = _function.pipe;
2032
2032
  exports.via = via;
2033
2033
 
2034
2034
  function when_(ma, b, __tsplusTrace) {
2035
- return whenIO_1(ma, succeed_1(b, __tsplusTrace));
2035
+ return whenIO_1(ma, succeed_1(b, __tsplusTrace), __tsplusTrace);
2036
2036
  }
2037
2037
  /**
2038
2038
  * The moral equivalent of `if (p) exp` when `p` has side-effects
@@ -2041,8 +2041,8 @@ function when_(ma, b, __tsplusTrace) {
2041
2041
  */
2042
2042
 
2043
2043
 
2044
- function whenIO_1(ma, mb) {
2045
- return flatMap_1(mb, b => b ? asUnit_1(ma) : unit_1, fileName_1 + ":2035:20");
2044
+ function whenIO_1(ma, mb, __tsplusTrace) {
2045
+ return flatMap_1(mb, b => b ? asUnit_1(ma, __tsplusTrace) : unit_1, __tsplusTrace);
2046
2046
  }
2047
2047
  /**
2048
2048
  * Returns an effect that yields to the runtime system, starting on a fresh
@@ -2061,16 +2061,16 @@ const yieldNow = yieldNow_1;
2061
2061
 
2062
2062
  exports.yieldNow = yieldNow;
2063
2063
 
2064
- function zip_(self, that) {
2065
- return zipWith_1(self, that, _function.tuple);
2064
+ function zip_(self, that, __tsplusTrace) {
2065
+ return zipWith_1(self, that, _function.tuple, __tsplusTrace);
2066
2066
  }
2067
2067
  /**
2068
2068
  * @tsplus fluent fncts.io.IO zipWith
2069
2069
  */
2070
2070
 
2071
2071
 
2072
- function zipWith_1(self, that, f) {
2073
- return flatMap_1(self, a => map_1(that, b => f(a, b), fileName_1 + ":2062:38"), fileName_1 + ":2062:22");
2072
+ function zipWith_1(self, that, f, __tsplusTrace) {
2073
+ return flatMap_1(self, a => map_1(that, b => f(a, b), __tsplusTrace), __tsplusTrace);
2074
2074
  }
2075
2075
 
2076
2076
  class GenIO {
@@ -2122,14 +2122,14 @@ const adapter = (_, __tsplusTrace) => {
2122
2122
  */
2123
2123
 
2124
2124
 
2125
- function gen_1(f) {
2125
+ function gen_1(f, __tsplusTrace) {
2126
2126
  return defer_1(() => {
2127
2127
  const iterator = f(adapter);
2128
2128
  const state = iterator.next();
2129
2129
 
2130
2130
  const run = state => {
2131
2131
  if (state.done) {
2132
- return succeed_1(() => state.value, fileName_1 + ":2117:26");
2132
+ return succeed_1(() => state.value, __tsplusTrace);
2133
2133
  }
2134
2134
 
2135
2135
  const f = val => {
@@ -2137,10 +2137,10 @@ function gen_1(f) {
2137
2137
  return run(next);
2138
2138
  };
2139
2139
 
2140
- return flatMap_1(state.value.effect, f, fileName_1 + ":2123:40");
2140
+ return flatMap_1(state.value.effect, f, __tsplusTrace);
2141
2141
  };
2142
2142
 
2143
2143
  return run(state);
2144
- }, fileName_1 + ":2111:18");
2144
+ }, __tsplusTrace);
2145
2145
  }
2146
2146
  //# sourceMappingURL=api.cjs.map