@fncts/io 0.0.39 → 0.0.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1046) hide show
  1. package/Cached.d.ts +2 -2
  2. package/Channel/ChildExecutorDecision.d.ts +1 -1
  3. package/Channel/UpstreamPullRequest.d.ts +1 -1
  4. package/Channel/api/interruptWhen.d.ts +2 -2
  5. package/Channel/api/mapOutConcurrentIO.d.ts +1 -1
  6. package/Channel/api/mergeAll.d.ts +1 -1
  7. package/Channel/api/mergeAllUnboundedWith.d.ts +1 -1
  8. package/Channel/api/mergeAllWith.d.ts +1 -1
  9. package/Channel/api/mergeMap.d.ts +1 -1
  10. package/Channel/api/mergeWith.d.ts +1 -1
  11. package/Channel/api/zipConcurrent.d.ts +3 -3
  12. package/Channel/api.d.ts +14 -14
  13. package/Channel/core-api.d.ts +5 -5
  14. package/Channel.d.ts +2 -2
  15. package/Clock/definition.d.ts +1 -1
  16. package/Clock.d.ts +2 -2
  17. package/Console/definition.d.ts +1 -1
  18. package/Console.d.ts +2 -2
  19. package/Fiber/api/mapFiber.d.ts +1 -1
  20. package/Fiber/api/mapIO.d.ts +2 -2
  21. package/Fiber/api/zipWith.d.ts +1 -1
  22. package/Fiber.d.ts +19 -19
  23. package/FiberRef/api.d.ts +1 -1
  24. package/FiberRef/operations.d.ts +2 -2
  25. package/FiberRef.d.ts +5 -5
  26. package/FiberRefs/Patch.d.ts +62 -0
  27. package/FiberRefs.d.ts +2 -1
  28. package/FiberScope.d.ts +1 -1
  29. package/FiberStatus.d.ts +1 -1
  30. package/Future/api.d.ts +5 -5
  31. package/Future.d.ts +2 -2
  32. package/Hub/api.d.ts +11 -11
  33. package/Hub.d.ts +1 -1
  34. package/IO/api/concurrency.d.ts +1 -1
  35. package/IO/api/concurrentFinalizers.d.ts +11 -2
  36. package/IO/api/delay.d.ts +1 -1
  37. package/IO/api/ensuringChildren.d.ts +1 -1
  38. package/IO/api/environment.d.ts +5 -5
  39. package/IO/api/fork.d.ts +1 -1
  40. package/IO/api/forkIn.d.ts +1 -1
  41. package/IO/api/fulfill.d.ts +1 -1
  42. package/IO/api/interrupt.d.ts +4 -4
  43. package/IO/api/onTermination.d.ts +1 -1
  44. package/IO/api/patchFiberRefs.d.ts +7 -0
  45. package/IO/api/provideLayer.d.ts +1 -1
  46. package/IO/api/provideScope.d.ts +1 -1
  47. package/IO/api/provideSomeLayer.d.ts +1 -1
  48. package/IO/api/provideSomeRuntime.d.ts +7 -0
  49. package/IO/api/race.d.ts +2 -2
  50. package/IO/api/raceFirst.d.ts +1 -1
  51. package/IO/api/repeat.d.ts +3 -3
  52. package/IO/api/retry.d.ts +3 -3
  53. package/IO/api/schedule.d.ts +2 -2
  54. package/IO/api/timeout.d.ts +2 -2
  55. package/IO/api/whenFiberRef.d.ts +1 -1
  56. package/IO/api/whenRef.d.ts +1 -1
  57. package/IO/api/withFinalizer.d.ts +1 -1
  58. package/IO/api/withFinalizerExit.d.ts +1 -1
  59. package/IO/api/zipConcurrent.d.ts +2 -2
  60. package/IO/api.d.ts +40 -40
  61. package/IO/definition.d.ts +6 -1
  62. package/IO/runtime.d.ts +6 -6
  63. package/IO.d.ts +62 -60
  64. package/IOEnv.d.ts +2 -2
  65. package/InterruptStatus.d.ts +1 -1
  66. package/Layer/MemoMap.d.ts +3 -3
  67. package/Layer/api.d.ts +15 -9
  68. package/Layer.d.ts +1 -1
  69. package/Logger/api.d.ts +2 -2
  70. package/Logger.d.ts +2 -2
  71. package/MVar.d.ts +1 -1
  72. package/Push/api.d.ts +18 -18
  73. package/Push.d.ts +2 -2
  74. package/Queue/api/dimapIO.d.ts +6 -6
  75. package/Queue/api/filterInputIO.d.ts +3 -3
  76. package/Queue/api/filterOutputIO.d.ts +3 -3
  77. package/Queue/api/operations.d.ts +3 -3
  78. package/Queue/api/takeBetween.d.ts +1 -1
  79. package/Queue/api/takeN.d.ts +8 -0
  80. package/Queue/api/zipWithIO.d.ts +3 -3
  81. package/Queue/api.d.ts +7 -6
  82. package/Queue.d.ts +4 -4
  83. package/Random/definition.d.ts +1 -1
  84. package/Random.d.ts +2 -2
  85. package/Ref/Synchronized/api.d.ts +14 -14
  86. package/Ref/Synchronized.d.ts +2 -2
  87. package/Ref/api/collect.d.ts +1 -1
  88. package/Ref/api/filter.d.ts +1 -1
  89. package/Ref/api/modify.d.ts +8 -8
  90. package/Ref/api/set.d.ts +1 -1
  91. package/Ref/api.d.ts +7 -7
  92. package/Ref.d.ts +7 -7
  93. package/RefSubject/api.d.ts +9 -9
  94. package/RefSubject/definition.d.ts +2 -0
  95. package/RefSubject.d.ts +1 -1
  96. package/Reloadable.d.ts +2 -2
  97. package/RuntimeFlags.d.ts +1 -1
  98. package/STM/api/core-api.d.ts +5 -5
  99. package/STM/api.d.ts +13 -13
  100. package/STM.d.ts +4 -4
  101. package/Schedule/api.d.ts +46 -46
  102. package/Schedule.d.ts +2 -2
  103. package/Scope/ReleaseMap.d.ts +2 -2
  104. package/Scope/api.d.ts +6 -1
  105. package/Scope/definition.d.ts +4 -2
  106. package/Scope.d.ts +1 -1
  107. package/ScopedRef.d.ts +1 -1
  108. package/Semaphore.d.ts +1 -1
  109. package/Sink/api.d.ts +34 -34
  110. package/Sink.d.ts +1 -1
  111. package/State.d.ts +1 -1
  112. package/Stream/api/zipAllWith.d.ts +1 -1
  113. package/Stream/api/zipWith.d.ts +1 -1
  114. package/Stream/api/zipWithChunks.d.ts +1 -1
  115. package/Stream/api.d.ts +80 -80
  116. package/Stream.d.ts +1 -1
  117. package/Subject.d.ts +1 -1
  118. package/Supervisor/api.d.ts +1 -1
  119. package/Supervisor.d.ts +2 -2
  120. package/TExit.d.ts +1 -1
  121. package/TFuture/api.d.ts +2 -2
  122. package/TFuture.d.ts +2 -2
  123. package/TReentrantLock.d.ts +1 -1
  124. package/TRef/api.d.ts +10 -10
  125. package/TRef.d.ts +2 -2
  126. package/TSemaphore/api.d.ts +2 -2
  127. package/TSemaphore.d.ts +2 -2
  128. package/_cjs/Cached/api.cjs +6 -8
  129. package/_cjs/Cached/api.cjs.map +1 -1
  130. package/_cjs/Cached/internal.cjs +4 -6
  131. package/_cjs/Cached/internal.cjs.map +1 -1
  132. package/_cjs/Cached.cjs +8 -8
  133. package/_cjs/Cached.cjs.map +1 -1
  134. package/_cjs/CancellerState.cjs +3 -6
  135. package/_cjs/CancellerState.cjs.map +1 -1
  136. package/_cjs/Channel/ChildExecutorDecision/api.cjs.map +1 -1
  137. package/_cjs/Channel/ChildExecutorDecision/definition.cjs +3 -6
  138. package/_cjs/Channel/ChildExecutorDecision/definition.cjs.map +1 -1
  139. package/_cjs/Channel/ChildExecutorDecision.cjs +8 -8
  140. package/_cjs/Channel/ChildExecutorDecision.cjs.map +1 -1
  141. package/_cjs/Channel/UpstreamPullRequest/api.cjs.map +1 -1
  142. package/_cjs/Channel/UpstreamPullRequest/definition.cjs +1 -2
  143. package/_cjs/Channel/UpstreamPullRequest/definition.cjs.map +1 -1
  144. package/_cjs/Channel/UpstreamPullRequest.cjs +8 -8
  145. package/_cjs/Channel/UpstreamPullRequest.cjs.map +1 -1
  146. package/_cjs/Channel/UpstreamPullStrategy/definition.cjs +1 -2
  147. package/_cjs/Channel/UpstreamPullStrategy/definition.cjs.map +1 -1
  148. package/_cjs/Channel/UpstreamPullStrategy.cjs.map +1 -1
  149. package/_cjs/Channel/api/interruptWhen.cjs +3 -4
  150. package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
  151. package/_cjs/Channel/api/mapOutConcurrentIO.cjs +2 -2
  152. package/_cjs/Channel/api/mergeAll.cjs +2 -2
  153. package/_cjs/Channel/api/mergeAllUnboundedWith.cjs +2 -2
  154. package/_cjs/Channel/api/mergeAllWith.cjs +2 -2
  155. package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
  156. package/_cjs/Channel/api/mergeMap.cjs +2 -2
  157. package/_cjs/Channel/api/mergeWith.cjs +4 -3
  158. package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
  159. package/_cjs/Channel/api/run.cjs +2 -2
  160. package/_cjs/Channel/api/runCollect.cjs +2 -2
  161. package/_cjs/Channel/api/runDrain.cjs +2 -2
  162. package/_cjs/Channel/api/runScoped.cjs +3 -3
  163. package/_cjs/Channel/api/runScoped.cjs.map +1 -1
  164. package/_cjs/Channel/api/toPull.cjs +2 -2
  165. package/_cjs/Channel/api/toPull.cjs.map +1 -1
  166. package/_cjs/Channel/api/zipConcurrent.cjs +3 -4
  167. package/_cjs/Channel/api/zipConcurrent.cjs.map +1 -1
  168. package/_cjs/Channel/api.cjs +39 -76
  169. package/_cjs/Channel/api.cjs.map +1 -1
  170. package/_cjs/Channel/core-api.cjs +6 -12
  171. package/_cjs/Channel/core-api.cjs.map +1 -1
  172. package/_cjs/Channel/definition.cjs +2 -4
  173. package/_cjs/Channel/definition.cjs.map +1 -1
  174. package/_cjs/Channel/internal/ChannelExecutor.cjs +50 -54
  175. package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
  176. package/_cjs/Channel/internal/ChannelState.cjs +5 -12
  177. package/_cjs/Channel/internal/ChannelState.cjs.map +1 -1
  178. package/_cjs/Channel/internal/MergeDecision.cjs +2 -4
  179. package/_cjs/Channel/internal/MergeDecision.cjs.map +1 -1
  180. package/_cjs/Channel/internal/MergeState.cjs +1 -2
  181. package/_cjs/Channel/internal/MergeState.cjs.map +1 -1
  182. package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +2 -2
  183. package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
  184. package/_cjs/Channel.cjs +8 -8
  185. package/_cjs/Channel.cjs.map +1 -1
  186. package/_cjs/Clock/api.cjs +3 -4
  187. package/_cjs/Clock/api.cjs.map +1 -1
  188. package/_cjs/Clock/definition.cjs +3 -4
  189. package/_cjs/Clock/definition.cjs.map +1 -1
  190. package/_cjs/Clock/live.cjs +3 -4
  191. package/_cjs/Clock/live.cjs.map +1 -1
  192. package/_cjs/Clock.cjs +8 -8
  193. package/_cjs/Clock.cjs.map +1 -1
  194. package/_cjs/Console/api.cjs +2 -2
  195. package/_cjs/Console/definition.cjs +3 -4
  196. package/_cjs/Console/definition.cjs.map +1 -1
  197. package/_cjs/Console/live.cjs +3 -4
  198. package/_cjs/Console/live.cjs.map +1 -1
  199. package/_cjs/Console.cjs +8 -8
  200. package/_cjs/Console.cjs.map +1 -1
  201. package/_cjs/CountdownLatch.cjs +9 -10
  202. package/_cjs/CountdownLatch.cjs.map +1 -1
  203. package/_cjs/Differ/api.cjs +2 -2
  204. package/_cjs/Differ/api.cjs.map +1 -1
  205. package/_cjs/Differ/definition.cjs +1 -2
  206. package/_cjs/Differ/definition.cjs.map +1 -1
  207. package/_cjs/Fiber/FiberMessage.cjs +2 -4
  208. package/_cjs/Fiber/FiberMessage.cjs.map +1 -1
  209. package/_cjs/Fiber/FiberRuntime.cjs +71 -70
  210. package/_cjs/Fiber/FiberRuntime.cjs.map +1 -1
  211. package/_cjs/Fiber/api/awaitAll.cjs +2 -2
  212. package/_cjs/Fiber/api/collectAll.cjs +2 -2
  213. package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
  214. package/_cjs/Fiber/api/fromIO.cjs +2 -2
  215. package/_cjs/Fiber/api/interrupt.cjs +2 -2
  216. package/_cjs/Fiber/api/interruptAll.cjs +3 -4
  217. package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
  218. package/_cjs/Fiber/api/interruptAs.cjs +3 -4
  219. package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
  220. package/_cjs/Fiber/api/interruptFork.cjs +2 -2
  221. package/_cjs/Fiber/api/join.cjs +2 -2
  222. package/_cjs/Fiber/api/joinAll.cjs +2 -2
  223. package/_cjs/Fiber/api/mapFiber.cjs +2 -2
  224. package/_cjs/Fiber/api/mapIO.cjs +3 -4
  225. package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
  226. package/_cjs/Fiber/api/zipWith.cjs +2 -2
  227. package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
  228. package/_cjs/Fiber/constructors.cjs +5 -8
  229. package/_cjs/Fiber/constructors.cjs.map +1 -1
  230. package/_cjs/Fiber/definition.cjs +6 -10
  231. package/_cjs/Fiber/definition.cjs.map +1 -1
  232. package/_cjs/Fiber.cjs +83 -83
  233. package/_cjs/Fiber.cjs.map +1 -1
  234. package/_cjs/FiberDescriptor.cjs.map +1 -1
  235. package/_cjs/FiberRef/api/locallyScoped.cjs +2 -2
  236. package/_cjs/FiberRef/api/locallyScopedWith.cjs +2 -2
  237. package/_cjs/FiberRef/constructors.cjs +2 -2
  238. package/_cjs/FiberRef/constructors.cjs.map +1 -1
  239. package/_cjs/FiberRef/definition.cjs +4 -6
  240. package/_cjs/FiberRef/definition.cjs.map +1 -1
  241. package/_cjs/FiberRef/operations.cjs +6 -10
  242. package/_cjs/FiberRef/operations.cjs.map +1 -1
  243. package/_cjs/FiberRef/unsafe.cjs +18 -34
  244. package/_cjs/FiberRef/unsafe.cjs.map +1 -1
  245. package/_cjs/FiberRef.cjs +24 -24
  246. package/_cjs/FiberRef.cjs.map +1 -1
  247. package/_cjs/FiberRefs/Patch.cjs +172 -0
  248. package/_cjs/FiberRefs/Patch.cjs.map +1 -0
  249. package/_cjs/FiberRefs/api.cjs +2 -2
  250. package/_cjs/FiberRefs/api.cjs.map +1 -1
  251. package/_cjs/FiberRefs/definition.cjs +3 -4
  252. package/_cjs/FiberRefs/definition.cjs.map +1 -1
  253. package/_cjs/FiberRefs.cjs +15 -4
  254. package/_cjs/FiberRefs.cjs.map +1 -1
  255. package/_cjs/FiberScope/constructors.cjs +1 -2
  256. package/_cjs/FiberScope/constructors.cjs.map +1 -1
  257. package/_cjs/FiberScope/definition.cjs +2 -2
  258. package/_cjs/FiberScope/definition.cjs.map +1 -1
  259. package/_cjs/FiberScope.cjs +8 -8
  260. package/_cjs/FiberScope.cjs.map +1 -1
  261. package/_cjs/FiberStatus/constructors.cjs +1 -2
  262. package/_cjs/FiberStatus/constructors.cjs.map +1 -1
  263. package/_cjs/FiberStatus/definition.cjs +3 -4
  264. package/_cjs/FiberStatus/definition.cjs.map +1 -1
  265. package/_cjs/FiberStatus.cjs +8 -8
  266. package/_cjs/FiberStatus.cjs.map +1 -1
  267. package/_cjs/Future/api.cjs +5 -8
  268. package/_cjs/Future/api.cjs.map +1 -1
  269. package/_cjs/Future/constructors.cjs +4 -6
  270. package/_cjs/Future/constructors.cjs.map +1 -1
  271. package/_cjs/Future/definition.cjs +2 -4
  272. package/_cjs/Future/definition.cjs.map +1 -1
  273. package/_cjs/Future.cjs +8 -8
  274. package/_cjs/Future.cjs.map +1 -1
  275. package/_cjs/Hub/api.cjs +14 -18
  276. package/_cjs/Hub/api.cjs.map +1 -1
  277. package/_cjs/Hub/definition.cjs +3 -6
  278. package/_cjs/Hub/definition.cjs.map +1 -1
  279. package/_cjs/Hub/internal.cjs +2 -2
  280. package/_cjs/Hub/internal.cjs.map +1 -1
  281. package/_cjs/Hub.cjs +8 -8
  282. package/_cjs/Hub.cjs.map +1 -1
  283. package/_cjs/IO/api/acquireRelease.cjs +2 -2
  284. package/_cjs/IO/api/acquireReleaseExit.cjs +2 -2
  285. package/_cjs/IO/api/acquireReleaseInterruptible.cjs +2 -2
  286. package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +2 -2
  287. package/_cjs/IO/api/addFinalizer.cjs +2 -2
  288. package/_cjs/IO/api/addFinalizerExit.cjs +2 -2
  289. package/_cjs/IO/api/all.cjs +2 -2
  290. package/_cjs/IO/api/all.cjs.map +1 -1
  291. package/_cjs/IO/api/asyncIO.cjs +2 -2
  292. package/_cjs/IO/api/asyncInterrupt.cjs +4 -6
  293. package/_cjs/IO/api/asyncInterrupt.cjs.map +1 -1
  294. package/_cjs/IO/api/blocking.cjs +2 -2
  295. package/_cjs/IO/api/blocking.cjs.map +1 -1
  296. package/_cjs/IO/api/bracket.cjs +2 -2
  297. package/_cjs/IO/api/bracketExit.cjs +2 -2
  298. package/_cjs/IO/api/clockWith.cjs +4 -6
  299. package/_cjs/IO/api/clockWith.cjs.map +1 -1
  300. package/_cjs/IO/api/concurrency.cjs +6 -10
  301. package/_cjs/IO/api/concurrency.cjs.map +1 -1
  302. package/_cjs/IO/api/concurrentFinalizers.cjs +57 -9
  303. package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
  304. package/_cjs/IO/api/consoleWith.cjs +4 -6
  305. package/_cjs/IO/api/consoleWith.cjs.map +1 -1
  306. package/_cjs/IO/api/daemonChildren.cjs +2 -2
  307. package/_cjs/IO/api/delay.cjs +2 -2
  308. package/_cjs/IO/api/descriptor.cjs +4 -6
  309. package/_cjs/IO/api/descriptor.cjs.map +1 -1
  310. package/_cjs/IO/api/disconnect.cjs +2 -2
  311. package/_cjs/IO/api/ensuringChildren.cjs +2 -2
  312. package/_cjs/IO/api/environment.cjs +7 -12
  313. package/_cjs/IO/api/environment.cjs.map +1 -1
  314. package/_cjs/IO/api/foreachConcurrent.cjs +22 -21
  315. package/_cjs/IO/api/foreachConcurrent.cjs.map +1 -1
  316. package/_cjs/IO/api/foreachExec.cjs +2 -2
  317. package/_cjs/IO/api/fork.cjs +3 -4
  318. package/_cjs/IO/api/fork.cjs.map +1 -1
  319. package/_cjs/IO/api/forkAll.cjs +2 -2
  320. package/_cjs/IO/api/forkDaemon.cjs +2 -2
  321. package/_cjs/IO/api/forkIn.cjs +2 -2
  322. package/_cjs/IO/api/forkScoped.cjs +2 -2
  323. package/_cjs/IO/api/fulfill.cjs +2 -2
  324. package/_cjs/IO/api/interrupt.cjs +8 -14
  325. package/_cjs/IO/api/interrupt.cjs.map +1 -1
  326. package/_cjs/IO/api/memoize.cjs +2 -2
  327. package/_cjs/IO/api/onTermination.cjs +2 -2
  328. package/_cjs/IO/api/once.cjs +2 -2
  329. package/_cjs/IO/api/patchFiberRefs.cjs +18 -0
  330. package/_cjs/IO/api/patchFiberRefs.cjs.map +1 -0
  331. package/_cjs/IO/api/provideLayer.cjs +2 -2
  332. package/_cjs/IO/api/provideScope.cjs +2 -2
  333. package/_cjs/IO/api/provideSomeLayer.cjs +2 -2
  334. package/_cjs/IO/api/provideSomeRuntime.cjs +29 -0
  335. package/_cjs/IO/api/provideSomeRuntime.cjs.map +1 -0
  336. package/_cjs/IO/api/race.cjs +3 -4
  337. package/_cjs/IO/api/race.cjs.map +1 -1
  338. package/_cjs/IO/api/raceFirst.cjs +2 -2
  339. package/_cjs/IO/api/raceWith.cjs +3 -4
  340. package/_cjs/IO/api/raceWith.cjs.map +1 -1
  341. package/_cjs/IO/api/randomWith.cjs +4 -6
  342. package/_cjs/IO/api/randomWith.cjs.map +1 -1
  343. package/_cjs/IO/api/repeat.cjs +4 -6
  344. package/_cjs/IO/api/repeat.cjs.map +1 -1
  345. package/_cjs/IO/api/retry.cjs +4 -6
  346. package/_cjs/IO/api/retry.cjs.map +1 -1
  347. package/_cjs/IO/api/schedule.cjs +3 -4
  348. package/_cjs/IO/api/schedule.cjs.map +1 -1
  349. package/_cjs/IO/api/scope.cjs +3 -4
  350. package/_cjs/IO/api/scope.cjs.map +1 -1
  351. package/_cjs/IO/api/scopeWith.cjs +2 -2
  352. package/_cjs/IO/api/scoped.cjs +3 -4
  353. package/_cjs/IO/api/scoped.cjs.map +1 -1
  354. package/_cjs/IO/api/sequenceT.cjs +2 -2
  355. package/_cjs/IO/api/sequenceT.cjs.map +1 -1
  356. package/_cjs/IO/api/sleep.cjs +2 -2
  357. package/_cjs/IO/api/stateful.cjs +2 -2
  358. package/_cjs/IO/api/supervised.cjs +2 -2
  359. package/_cjs/IO/api/timeout.cjs +3 -4
  360. package/_cjs/IO/api/timeout.cjs.map +1 -1
  361. package/_cjs/IO/api/transplant.cjs +2 -2
  362. package/_cjs/IO/api/whenFiberRef.cjs +2 -2
  363. package/_cjs/IO/api/whenRef.cjs +2 -2
  364. package/_cjs/IO/api/withChildren.cjs +2 -2
  365. package/_cjs/IO/api/withEarlyRelease.cjs +3 -3
  366. package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
  367. package/_cjs/IO/api/withFinalizer.cjs +2 -2
  368. package/_cjs/IO/api/withFinalizerExit.cjs +2 -2
  369. package/_cjs/IO/api/zipConcurrent.cjs +3 -4
  370. package/_cjs/IO/api/zipConcurrent.cjs.map +1 -1
  371. package/_cjs/IO/api.cjs +76 -143
  372. package/_cjs/IO/api.cjs.map +1 -1
  373. package/_cjs/IO/definition.cjs +5 -8
  374. package/_cjs/IO/definition.cjs.map +1 -1
  375. package/_cjs/IO/runtime.cjs +8 -14
  376. package/_cjs/IO/runtime.cjs.map +1 -1
  377. package/_cjs/IO.cjs +266 -244
  378. package/_cjs/IO.cjs.map +1 -1
  379. package/_cjs/IOEnv/definition.cjs +4 -6
  380. package/_cjs/IOEnv/definition.cjs.map +1 -1
  381. package/_cjs/IOEnv/live.cjs +3 -4
  382. package/_cjs/IOEnv/live.cjs.map +1 -1
  383. package/_cjs/IOEnv/services.cjs +3 -4
  384. package/_cjs/IOEnv/services.cjs.map +1 -1
  385. package/_cjs/IOEnv.cjs +8 -8
  386. package/_cjs/IOEnv.cjs.map +1 -1
  387. package/_cjs/InterruptStatus/constructors.cjs +2 -4
  388. package/_cjs/InterruptStatus/constructors.cjs.map +1 -1
  389. package/_cjs/InterruptStatus.cjs +8 -8
  390. package/_cjs/InterruptStatus.cjs.map +1 -1
  391. package/_cjs/Layer/MemoMap.cjs +11 -13
  392. package/_cjs/Layer/MemoMap.cjs.map +1 -1
  393. package/_cjs/Layer/api.cjs +28 -34
  394. package/_cjs/Layer/api.cjs.map +1 -1
  395. package/_cjs/Layer/definition.cjs +2 -4
  396. package/_cjs/Layer/definition.cjs.map +1 -1
  397. package/_cjs/Layer.cjs +8 -8
  398. package/_cjs/Layer.cjs.map +1 -1
  399. package/_cjs/LogLevel.cjs +8 -16
  400. package/_cjs/LogLevel.cjs.map +1 -1
  401. package/_cjs/LogSpan.cjs.map +1 -1
  402. package/_cjs/Logger/api.cjs +2 -2
  403. package/_cjs/Logger/api.cjs.map +1 -1
  404. package/_cjs/Logger/constructors.cjs +4 -6
  405. package/_cjs/Logger/constructors.cjs.map +1 -1
  406. package/_cjs/Logger/definition.cjs +1 -2
  407. package/_cjs/Logger/definition.cjs.map +1 -1
  408. package/_cjs/Logger.cjs +8 -8
  409. package/_cjs/Logger.cjs.map +1 -1
  410. package/_cjs/MVar/api.cjs +2 -2
  411. package/_cjs/MVar/api.cjs.map +1 -1
  412. package/_cjs/MVar/definition.cjs +2 -4
  413. package/_cjs/MVar/definition.cjs.map +1 -1
  414. package/_cjs/MVar.cjs +8 -8
  415. package/_cjs/MVar.cjs.map +1 -1
  416. package/_cjs/Push/api.cjs +21 -40
  417. package/_cjs/Push/api.cjs.map +1 -1
  418. package/_cjs/Push/definition.cjs +2 -4
  419. package/_cjs/Push/definition.cjs.map +1 -1
  420. package/_cjs/Push/internal.cjs +2 -2
  421. package/_cjs/Push.cjs +8 -8
  422. package/_cjs/Push.cjs.map +1 -1
  423. package/_cjs/Queue/api/dimapIO.cjs +10 -13
  424. package/_cjs/Queue/api/dimapIO.cjs.map +1 -1
  425. package/_cjs/Queue/api/filterInputIO.cjs +12 -13
  426. package/_cjs/Queue/api/filterInputIO.cjs.map +1 -1
  427. package/_cjs/Queue/api/filterOutputIO.cjs +19 -20
  428. package/_cjs/Queue/api/filterOutputIO.cjs.map +1 -1
  429. package/_cjs/Queue/api/operations.cjs +3 -3
  430. package/_cjs/Queue/api/operations.cjs.map +1 -1
  431. package/_cjs/Queue/api/poll.cjs +2 -2
  432. package/_cjs/Queue/api/poll.cjs.map +1 -1
  433. package/_cjs/Queue/api/takeBetween.cjs +16 -21
  434. package/_cjs/Queue/api/takeBetween.cjs.map +1 -1
  435. package/_cjs/Queue/api/takeN.cjs +18 -0
  436. package/_cjs/Queue/api/takeN.cjs.map +1 -0
  437. package/_cjs/Queue/api/zipWithIO.cjs +4 -6
  438. package/_cjs/Queue/api/zipWithIO.cjs.map +1 -1
  439. package/_cjs/Queue/api.cjs +35 -24
  440. package/_cjs/Queue/api.cjs.map +1 -1
  441. package/_cjs/Queue/constructors.cjs +2 -2
  442. package/_cjs/Queue/constructors.cjs.map +1 -1
  443. package/_cjs/Queue/definition.cjs +5 -10
  444. package/_cjs/Queue/definition.cjs.map +1 -1
  445. package/_cjs/Queue/internal.cjs +4 -4
  446. package/_cjs/Queue/internal.cjs.map +1 -1
  447. package/_cjs/Queue/strategy.cjs +2 -2
  448. package/_cjs/Queue/strategy.cjs.map +1 -1
  449. package/_cjs/Queue.cjs +16 -16
  450. package/_cjs/Queue.cjs.map +1 -1
  451. package/_cjs/Random/api.cjs +5 -8
  452. package/_cjs/Random/api.cjs.map +1 -1
  453. package/_cjs/Random/definition.cjs +3 -4
  454. package/_cjs/Random/definition.cjs.map +1 -1
  455. package/_cjs/Random/live.cjs +3 -4
  456. package/_cjs/Random/live.cjs.map +1 -1
  457. package/_cjs/Random.cjs +8 -8
  458. package/_cjs/Random.cjs.map +1 -1
  459. package/_cjs/Ref/Atomic.cjs +3 -4
  460. package/_cjs/Ref/Atomic.cjs.map +1 -1
  461. package/_cjs/Ref/Derived.cjs +3 -4
  462. package/_cjs/Ref/Derived.cjs.map +1 -1
  463. package/_cjs/Ref/DerivedAll.cjs +3 -4
  464. package/_cjs/Ref/DerivedAll.cjs.map +1 -1
  465. package/_cjs/Ref/Synchronized/api.cjs +5 -8
  466. package/_cjs/Ref/Synchronized/api.cjs.map +1 -1
  467. package/_cjs/Ref/Synchronized/constructors.cjs +2 -2
  468. package/_cjs/Ref/Synchronized/constructors.cjs.map +1 -1
  469. package/_cjs/Ref/Synchronized/definition.cjs +4 -6
  470. package/_cjs/Ref/Synchronized/definition.cjs.map +1 -1
  471. package/_cjs/Ref/Synchronized.cjs +8 -8
  472. package/_cjs/Ref/Synchronized.cjs.map +1 -1
  473. package/_cjs/Ref/api/collect.cjs +2 -2
  474. package/_cjs/Ref/api/collect.cjs.map +1 -1
  475. package/_cjs/Ref/api/dimap.cjs +5 -8
  476. package/_cjs/Ref/api/dimap.cjs.map +1 -1
  477. package/_cjs/Ref/api/filter.cjs +2 -2
  478. package/_cjs/Ref/api/filter.cjs.map +1 -1
  479. package/_cjs/Ref/api/modify.cjs +3 -4
  480. package/_cjs/Ref/api/modify.cjs.map +1 -1
  481. package/_cjs/Ref/api.cjs +36 -35
  482. package/_cjs/Ref/api.cjs.map +1 -1
  483. package/_cjs/Ref/constructors.cjs +3 -4
  484. package/_cjs/Ref/constructors.cjs.map +1 -1
  485. package/_cjs/Ref/definition.cjs +3 -6
  486. package/_cjs/Ref/definition.cjs.map +1 -1
  487. package/_cjs/Ref.cjs +35 -35
  488. package/_cjs/Ref.cjs.map +1 -1
  489. package/_cjs/RefSubject/Atomic.cjs +5 -5
  490. package/_cjs/RefSubject/Atomic.cjs.map +1 -1
  491. package/_cjs/RefSubject/Synchronized/api.cjs +2 -2
  492. package/_cjs/RefSubject/Synchronized/api.cjs.map +1 -1
  493. package/_cjs/RefSubject/Synchronized/definition.cjs +11 -13
  494. package/_cjs/RefSubject/Synchronized/definition.cjs.map +1 -1
  495. package/_cjs/RefSubject/api.cjs +8 -11
  496. package/_cjs/RefSubject/api.cjs.map +1 -1
  497. package/_cjs/RefSubject/definition.cjs +2 -2
  498. package/_cjs/RefSubject/definition.cjs.map +1 -1
  499. package/_cjs/RefSubject.cjs +11 -11
  500. package/_cjs/RefSubject.cjs.map +1 -1
  501. package/_cjs/Reloadable/api.cjs +2 -2
  502. package/_cjs/Reloadable/constructors.cjs +4 -6
  503. package/_cjs/Reloadable/constructors.cjs.map +1 -1
  504. package/_cjs/Reloadable/definition.cjs +4 -5
  505. package/_cjs/Reloadable/definition.cjs.map +1 -1
  506. package/_cjs/Reloadable.cjs +8 -8
  507. package/_cjs/Reloadable.cjs.map +1 -1
  508. package/_cjs/RuntimeFlags/Patch.cjs +5 -8
  509. package/_cjs/RuntimeFlags/Patch.cjs.map +1 -1
  510. package/_cjs/RuntimeFlags/RuntimeFlags.cjs +9 -16
  511. package/_cjs/RuntimeFlags/RuntimeFlags.cjs.map +1 -1
  512. package/_cjs/RuntimeFlags.cjs +8 -8
  513. package/_cjs/RuntimeFlags.cjs.map +1 -1
  514. package/_cjs/STM/api/atomically.cjs +2 -2
  515. package/_cjs/STM/api/atomically.cjs.map +1 -1
  516. package/_cjs/STM/api/core-api.cjs +6 -10
  517. package/_cjs/STM/api/core-api.cjs.map +1 -1
  518. package/_cjs/STM/api/core-constructors.cjs +3 -6
  519. package/_cjs/STM/api/core-constructors.cjs.map +1 -1
  520. package/_cjs/STM/api.cjs +24 -46
  521. package/_cjs/STM/api.cjs.map +1 -1
  522. package/_cjs/STM/definition.cjs +8 -16
  523. package/_cjs/STM/definition.cjs.map +1 -1
  524. package/_cjs/STM/driver.cjs +5 -4
  525. package/_cjs/STM/driver.cjs.map +1 -1
  526. package/_cjs/STM/internal/CommitState.cjs +6 -10
  527. package/_cjs/STM/internal/CommitState.cjs.map +1 -1
  528. package/_cjs/STM/internal/Entry.cjs +2 -4
  529. package/_cjs/STM/internal/Entry.cjs.map +1 -1
  530. package/_cjs/STM/internal/Journal.cjs +12 -22
  531. package/_cjs/STM/internal/Journal.cjs.map +1 -1
  532. package/_cjs/STM/internal/TryCommit.cjs +1 -2
  533. package/_cjs/STM/internal/TryCommit.cjs.map +1 -1
  534. package/_cjs/STM/internal/Versioned.cjs +1 -2
  535. package/_cjs/STM/internal/Versioned.cjs.map +1 -1
  536. package/_cjs/STM.cjs +16 -16
  537. package/_cjs/STM.cjs.map +1 -1
  538. package/_cjs/Schedule/Decision.cjs +4 -6
  539. package/_cjs/Schedule/Decision.cjs.map +1 -1
  540. package/_cjs/Schedule/api/driver.cjs +4 -3
  541. package/_cjs/Schedule/api/driver.cjs.map +1 -1
  542. package/_cjs/Schedule/api.cjs +40 -76
  543. package/_cjs/Schedule/api.cjs.map +1 -1
  544. package/_cjs/Schedule/definition.cjs +1 -2
  545. package/_cjs/Schedule/definition.cjs.map +1 -1
  546. package/_cjs/Schedule.cjs +16 -16
  547. package/_cjs/Schedule.cjs.map +1 -1
  548. package/_cjs/Scope/Finalizer/definition.cjs +4 -6
  549. package/_cjs/Scope/Finalizer/definition.cjs.map +1 -1
  550. package/_cjs/Scope/Finalizer.cjs.map +1 -1
  551. package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +2 -2
  552. package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
  553. package/_cjs/Scope/ReleaseMap/api.cjs +4 -6
  554. package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
  555. package/_cjs/Scope/ReleaseMap/constructors.cjs +4 -6
  556. package/_cjs/Scope/ReleaseMap/constructors.cjs.map +1 -1
  557. package/_cjs/Scope/ReleaseMap/definition.cjs +3 -4
  558. package/_cjs/Scope/ReleaseMap/definition.cjs.map +1 -1
  559. package/_cjs/Scope/ReleaseMap.cjs +8 -8
  560. package/_cjs/Scope/ReleaseMap.cjs.map +1 -1
  561. package/_cjs/Scope/api.cjs +41 -34
  562. package/_cjs/Scope/api.cjs.map +1 -1
  563. package/_cjs/Scope/definition.cjs +7 -7
  564. package/_cjs/Scope/definition.cjs.map +1 -1
  565. package/_cjs/Scope.cjs +8 -8
  566. package/_cjs/Scope.cjs.map +1 -1
  567. package/_cjs/ScopedRef/api.cjs +2 -2
  568. package/_cjs/ScopedRef/definition.cjs +1 -2
  569. package/_cjs/ScopedRef/definition.cjs.map +1 -1
  570. package/_cjs/ScopedRef.cjs +8 -8
  571. package/_cjs/ScopedRef.cjs.map +1 -1
  572. package/_cjs/Semaphore.cjs +3 -4
  573. package/_cjs/Semaphore.cjs.map +1 -1
  574. package/_cjs/Sink/api.cjs +44 -80
  575. package/_cjs/Sink/api.cjs.map +1 -1
  576. package/_cjs/Sink.cjs +8 -8
  577. package/_cjs/Sink.cjs.map +1 -1
  578. package/_cjs/State/api.cjs +2 -2
  579. package/_cjs/State/api.cjs.map +1 -1
  580. package/_cjs/State/internal.cjs +2 -4
  581. package/_cjs/State/internal.cjs.map +1 -1
  582. package/_cjs/State.cjs +8 -8
  583. package/_cjs/State.cjs.map +1 -1
  584. package/_cjs/Stream/api/zipAllWith.cjs +2 -2
  585. package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
  586. package/_cjs/Stream/api/zipWith.cjs +2 -2
  587. package/_cjs/Stream/api/zipWith.cjs.map +1 -1
  588. package/_cjs/Stream/api/zipWithChunks.cjs +2 -2
  589. package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
  590. package/_cjs/Stream/api.cjs +82 -162
  591. package/_cjs/Stream/api.cjs.map +1 -1
  592. package/_cjs/Stream/definition.cjs +3 -6
  593. package/_cjs/Stream/definition.cjs.map +1 -1
  594. package/_cjs/Stream/internal/DebounceState.cjs +5 -10
  595. package/_cjs/Stream/internal/DebounceState.cjs.map +1 -1
  596. package/_cjs/Stream/internal/Handoff.cjs +19 -26
  597. package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
  598. package/_cjs/Stream/internal/Pull.cjs +4 -6
  599. package/_cjs/Stream/internal/Pull.cjs.map +1 -1
  600. package/_cjs/Stream/internal/SinkEndReason.cjs +1 -2
  601. package/_cjs/Stream/internal/SinkEndReason.cjs.map +1 -1
  602. package/_cjs/Stream/internal/Take.cjs +6 -10
  603. package/_cjs/Stream/internal/Take.cjs.map +1 -1
  604. package/_cjs/Stream/internal/util.cjs +2 -2
  605. package/_cjs/Stream/internal/util.cjs.map +1 -1
  606. package/_cjs/Stream.cjs +8 -8
  607. package/_cjs/Stream.cjs.map +1 -1
  608. package/_cjs/Subject/Atomic.cjs +2 -2
  609. package/_cjs/Subject/Atomic.cjs.map +1 -1
  610. package/_cjs/Subject/api.cjs +3 -4
  611. package/_cjs/Subject/api.cjs.map +1 -1
  612. package/_cjs/Subject/definition.cjs +2 -4
  613. package/_cjs/Subject/definition.cjs.map +1 -1
  614. package/_cjs/Subject.cjs +11 -11
  615. package/_cjs/Subject.cjs.map +1 -1
  616. package/_cjs/SubscriptionRef.cjs +9 -11
  617. package/_cjs/SubscriptionRef.cjs.map +1 -1
  618. package/_cjs/Supervisor/api.cjs +5 -8
  619. package/_cjs/Supervisor/api.cjs.map +1 -1
  620. package/_cjs/Supervisor/constructors.cjs +4 -6
  621. package/_cjs/Supervisor/constructors.cjs.map +1 -1
  622. package/_cjs/Supervisor/definition.cjs +3 -5
  623. package/_cjs/Supervisor/definition.cjs.map +1 -1
  624. package/_cjs/Supervisor.cjs +8 -8
  625. package/_cjs/Supervisor.cjs.map +1 -1
  626. package/_cjs/SupervisorPatch.cjs +5 -8
  627. package/_cjs/SupervisorPatch.cjs.map +1 -1
  628. package/_cjs/TExit/constructors.cjs +2 -4
  629. package/_cjs/TExit/constructors.cjs.map +1 -1
  630. package/_cjs/TExit/definition.cjs +11 -29
  631. package/_cjs/TExit/definition.cjs.map +1 -1
  632. package/_cjs/TExit.cjs +8 -8
  633. package/_cjs/TExit.cjs.map +1 -1
  634. package/_cjs/TFuture/api.cjs +3 -4
  635. package/_cjs/TFuture/api.cjs.map +1 -1
  636. package/_cjs/TFuture/constructors.cjs +3 -4
  637. package/_cjs/TFuture/constructors.cjs.map +1 -1
  638. package/_cjs/TFuture/definition.cjs +3 -4
  639. package/_cjs/TFuture/definition.cjs.map +1 -1
  640. package/_cjs/TFuture.cjs +8 -8
  641. package/_cjs/TFuture.cjs.map +1 -1
  642. package/_cjs/TReentrantLock/api.cjs +9 -16
  643. package/_cjs/TReentrantLock/api.cjs.map +1 -1
  644. package/_cjs/TReentrantLock/definition.cjs +2 -3
  645. package/_cjs/TReentrantLock/definition.cjs.map +1 -1
  646. package/_cjs/TReentrantLock.cjs +8 -8
  647. package/_cjs/TReentrantLock.cjs.map +1 -1
  648. package/_cjs/TRef/api.cjs +5 -8
  649. package/_cjs/TRef/api.cjs.map +1 -1
  650. package/_cjs/TRef/constructors.cjs +4 -6
  651. package/_cjs/TRef/constructors.cjs.map +1 -1
  652. package/_cjs/TRef/definition.cjs +38 -41
  653. package/_cjs/TRef/definition.cjs.map +1 -1
  654. package/_cjs/TRef.cjs +8 -8
  655. package/_cjs/TRef.cjs.map +1 -1
  656. package/_cjs/TSemaphore/api.cjs +5 -8
  657. package/_cjs/TSemaphore/api.cjs.map +1 -1
  658. package/_cjs/TSemaphore/constructors.cjs +3 -4
  659. package/_cjs/TSemaphore/constructors.cjs.map +1 -1
  660. package/_cjs/TSemaphore/definition.cjs +3 -4
  661. package/_cjs/TSemaphore/definition.cjs.map +1 -1
  662. package/_cjs/TSemaphore.cjs +8 -8
  663. package/_cjs/TSemaphore.cjs.map +1 -1
  664. package/_cjs/TxnId.cjs +1 -2
  665. package/_cjs/TxnId.cjs.map +1 -1
  666. package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +2 -2
  667. package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
  668. package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +2 -2
  669. package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
  670. package/_cjs/collection/immutable/Conc/filterIO.cjs +2 -2
  671. package/_cjs/collection/immutable/Conc/findIO.cjs +2 -2
  672. package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
  673. package/_cjs/collection/immutable/Conc/mapIO.cjs +2 -2
  674. package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +2 -2
  675. package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
  676. package/_cjs/collection/immutable/Conc.cjs +24 -24
  677. package/_cjs/collection/immutable/Conc.cjs.map +1 -1
  678. package/_cjs/data/Exit/foreachIO.cjs +2 -2
  679. package/_cjs/internal/BackgroundScheduler.cjs +1 -2
  680. package/_cjs/internal/BackgroundScheduler.cjs.map +1 -1
  681. package/_cjs/internal/HashedPair.cjs +2 -2
  682. package/_cjs/internal/HashedPair.cjs.map +1 -1
  683. package/_cjs/internal/Hub.cjs +2 -2
  684. package/_cjs/internal/Hub.cjs.map +1 -1
  685. package/_cjs/internal/IsFatal.cjs +2 -4
  686. package/_cjs/internal/IsFatal.cjs.map +1 -1
  687. package/_cjs/internal/MutableQueue.cjs +3 -4
  688. package/_cjs/internal/MutableQueue.cjs.map +1 -1
  689. package/_cjs/internal/Scheduler.cjs +3 -4
  690. package/_cjs/internal/Scheduler.cjs.map +1 -1
  691. package/_cjs/internal/StackTraceBuilder.cjs +2 -2
  692. package/_cjs/internal/StackTraceBuilder.cjs.map +1 -1
  693. package/_mjs/Cached/api.mjs +2 -2
  694. package/_mjs/Cached/api.mjs.map +1 -1
  695. package/_mjs/Cached.mjs +3 -2
  696. package/_mjs/Cached.mjs.map +1 -1
  697. package/_mjs/CancellerState.mjs +0 -3
  698. package/_mjs/CancellerState.mjs.map +1 -1
  699. package/_mjs/Channel/ChildExecutorDecision/api.mjs.map +1 -1
  700. package/_mjs/Channel/ChildExecutorDecision.mjs +2 -1
  701. package/_mjs/Channel/ChildExecutorDecision.mjs.map +1 -1
  702. package/_mjs/Channel/UpstreamPullRequest/api.mjs.map +1 -1
  703. package/_mjs/Channel/UpstreamPullRequest.mjs +2 -1
  704. package/_mjs/Channel/UpstreamPullRequest.mjs.map +1 -1
  705. package/_mjs/Channel/UpstreamPullStrategy.mjs +1 -0
  706. package/_mjs/Channel/UpstreamPullStrategy.mjs.map +1 -1
  707. package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -1
  708. package/_mjs/Channel/api/mergeWith.mjs.map +1 -1
  709. package/_mjs/Channel/api/runScoped.mjs +1 -1
  710. package/_mjs/Channel/api/runScoped.mjs.map +1 -1
  711. package/_mjs/Channel/api/toPull.mjs.map +1 -1
  712. package/_mjs/Channel/api.mjs.map +1 -1
  713. package/_mjs/Channel/internal/ChannelExecutor.mjs +48 -52
  714. package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
  715. package/_mjs/Channel/internal/ChannelState.mjs +0 -4
  716. package/_mjs/Channel/internal/ChannelState.mjs.map +1 -1
  717. package/_mjs/Channel/internal/MergeDecision.mjs +0 -1
  718. package/_mjs/Channel/internal/MergeDecision.mjs.map +1 -1
  719. package/_mjs/Channel/internal/MergeState.mjs +0 -3
  720. package/_mjs/Channel/internal/MergeState.mjs.map +1 -1
  721. package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +0 -3
  722. package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -1
  723. package/_mjs/Channel.mjs +4 -3
  724. package/_mjs/Channel.mjs.map +1 -1
  725. package/_mjs/Clock.mjs +3 -2
  726. package/_mjs/Clock.mjs.map +1 -1
  727. package/_mjs/Console.mjs +3 -2
  728. package/_mjs/Console.mjs.map +1 -1
  729. package/_mjs/CountdownLatch.mjs +6 -6
  730. package/_mjs/CountdownLatch.mjs.map +1 -1
  731. package/_mjs/Differ/api.mjs.map +1 -1
  732. package/_mjs/Fiber/FiberRuntime.mjs +66 -67
  733. package/_mjs/Fiber/FiberRuntime.mjs.map +1 -1
  734. package/_mjs/Fiber.mjs +21 -19
  735. package/_mjs/Fiber.mjs.map +1 -1
  736. package/_mjs/FiberDescriptor.mjs.map +1 -1
  737. package/_mjs/FiberRef.mjs +7 -5
  738. package/_mjs/FiberRef.mjs.map +1 -1
  739. package/_mjs/FiberRefs/Patch.mjs +154 -0
  740. package/_mjs/FiberRefs/Patch.mjs.map +1 -0
  741. package/_mjs/FiberRefs/api.mjs.map +1 -1
  742. package/_mjs/FiberRefs.mjs +3 -1
  743. package/_mjs/FiberRefs.mjs.map +1 -1
  744. package/_mjs/FiberScope/definition.mjs.map +1 -1
  745. package/_mjs/FiberScope.mjs +2 -1
  746. package/_mjs/FiberScope.mjs.map +1 -1
  747. package/_mjs/FiberStatus/definition.mjs.map +1 -1
  748. package/_mjs/FiberStatus.mjs +2 -1
  749. package/_mjs/FiberStatus.mjs.map +1 -1
  750. package/_mjs/Future/api.mjs.map +1 -1
  751. package/_mjs/Future/definition.mjs +0 -1
  752. package/_mjs/Future/definition.mjs.map +1 -1
  753. package/_mjs/Future.mjs +3 -2
  754. package/_mjs/Future.mjs.map +1 -1
  755. package/_mjs/Hub/api.mjs +8 -8
  756. package/_mjs/Hub/api.mjs.map +1 -1
  757. package/_mjs/Hub/internal.mjs.map +1 -1
  758. package/_mjs/Hub.mjs +3 -2
  759. package/_mjs/Hub.mjs.map +1 -1
  760. package/_mjs/IO/api/all.mjs.map +1 -1
  761. package/_mjs/IO/api/concurrentFinalizers.mjs +52 -6
  762. package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -1
  763. package/_mjs/IO/api/foreachConcurrent.mjs +20 -19
  764. package/_mjs/IO/api/foreachConcurrent.mjs.map +1 -1
  765. package/_mjs/IO/api/fork.mjs.map +1 -1
  766. package/_mjs/IO/api/interrupt.mjs.map +1 -1
  767. package/_mjs/IO/api/patchFiberRefs.mjs +10 -0
  768. package/_mjs/IO/api/patchFiberRefs.mjs.map +1 -0
  769. package/_mjs/IO/api/provideSomeRuntime.mjs +21 -0
  770. package/_mjs/IO/api/provideSomeRuntime.mjs.map +1 -0
  771. package/_mjs/IO/api/raceWith.mjs.map +1 -1
  772. package/_mjs/IO/api/withEarlyRelease.mjs +1 -1
  773. package/_mjs/IO/api/withEarlyRelease.mjs.map +1 -1
  774. package/_mjs/IO/api/zipConcurrent.mjs.map +1 -1
  775. package/_mjs/IO/api.mjs.map +1 -1
  776. package/_mjs/IO/definition.mjs.map +1 -1
  777. package/_mjs/IO/runtime.mjs.map +1 -1
  778. package/_mjs/IO.mjs +64 -60
  779. package/_mjs/IO.mjs.map +1 -1
  780. package/_mjs/IOEnv.mjs +3 -2
  781. package/_mjs/IOEnv.mjs.map +1 -1
  782. package/_mjs/InterruptStatus.mjs +2 -1
  783. package/_mjs/InterruptStatus.mjs.map +1 -1
  784. package/_mjs/Layer/MemoMap.mjs +2 -2
  785. package/_mjs/Layer/MemoMap.mjs.map +1 -1
  786. package/_mjs/Layer/api.mjs +9 -0
  787. package/_mjs/Layer/api.mjs.map +1 -1
  788. package/_mjs/Layer/definition.mjs +0 -6
  789. package/_mjs/Layer/definition.mjs.map +1 -1
  790. package/_mjs/Layer.mjs +2 -1
  791. package/_mjs/Layer.mjs.map +1 -1
  792. package/_mjs/LogLevel.mjs.map +1 -1
  793. package/_mjs/LogSpan.mjs.map +1 -1
  794. package/_mjs/Logger/api.mjs.map +1 -1
  795. package/_mjs/Logger/constructors.mjs.map +1 -1
  796. package/_mjs/Logger.mjs +3 -2
  797. package/_mjs/Logger.mjs.map +1 -1
  798. package/_mjs/MVar.mjs +2 -1
  799. package/_mjs/MVar.mjs.map +1 -1
  800. package/_mjs/Push/api.mjs.map +1 -1
  801. package/_mjs/Push.mjs +3 -2
  802. package/_mjs/Push.mjs.map +1 -1
  803. package/_mjs/Queue/api/dimapIO.mjs +5 -5
  804. package/_mjs/Queue/api/dimapIO.mjs.map +1 -1
  805. package/_mjs/Queue/api/filterInputIO.mjs +9 -9
  806. package/_mjs/Queue/api/filterInputIO.mjs.map +1 -1
  807. package/_mjs/Queue/api/filterOutputIO.mjs +16 -16
  808. package/_mjs/Queue/api/filterOutputIO.mjs.map +1 -1
  809. package/_mjs/Queue/api/operations.mjs +2 -2
  810. package/_mjs/Queue/api/operations.mjs.map +1 -1
  811. package/_mjs/Queue/api/takeBetween.mjs +14 -19
  812. package/_mjs/Queue/api/takeBetween.mjs.map +1 -1
  813. package/_mjs/Queue/api/takeN.mjs +10 -0
  814. package/_mjs/Queue/api/takeN.mjs.map +1 -0
  815. package/_mjs/Queue/api.mjs +8 -6
  816. package/_mjs/Queue/api.mjs.map +1 -1
  817. package/_mjs/Queue/internal.mjs +2 -2
  818. package/_mjs/Queue/internal.mjs.map +1 -1
  819. package/_mjs/Queue/strategy.mjs.map +1 -1
  820. package/_mjs/Queue.mjs +5 -4
  821. package/_mjs/Queue.mjs.map +1 -1
  822. package/_mjs/Random.mjs +3 -2
  823. package/_mjs/Random.mjs.map +1 -1
  824. package/_mjs/Ref/Synchronized.mjs +3 -2
  825. package/_mjs/Ref/Synchronized.mjs.map +1 -1
  826. package/_mjs/Ref/api.mjs +9 -8
  827. package/_mjs/Ref/api.mjs.map +1 -1
  828. package/_mjs/Ref.mjs +9 -7
  829. package/_mjs/Ref.mjs.map +1 -1
  830. package/_mjs/RefSubject/Atomic.mjs +3 -3
  831. package/_mjs/RefSubject/Atomic.mjs.map +1 -1
  832. package/_mjs/RefSubject/Synchronized/api.mjs.map +1 -1
  833. package/_mjs/RefSubject/Synchronized/definition.mjs +7 -7
  834. package/_mjs/RefSubject/Synchronized/definition.mjs.map +1 -1
  835. package/_mjs/RefSubject/api.mjs +3 -3
  836. package/_mjs/RefSubject/api.mjs.map +1 -1
  837. package/_mjs/RefSubject/definition.mjs +1 -0
  838. package/_mjs/RefSubject/definition.mjs.map +1 -1
  839. package/_mjs/RefSubject.mjs +2 -1
  840. package/_mjs/RefSubject.mjs.map +1 -1
  841. package/_mjs/Reloadable/definition.mjs +1 -1
  842. package/_mjs/Reloadable/definition.mjs.map +1 -1
  843. package/_mjs/Reloadable.mjs +3 -2
  844. package/_mjs/Reloadable.mjs.map +1 -1
  845. package/_mjs/RuntimeFlags.mjs +2 -1
  846. package/_mjs/RuntimeFlags.mjs.map +1 -1
  847. package/_mjs/STM/api/atomically.mjs.map +1 -1
  848. package/_mjs/STM/api.mjs.map +1 -1
  849. package/_mjs/STM/definition.mjs +0 -7
  850. package/_mjs/STM/definition.mjs.map +1 -1
  851. package/_mjs/STM/driver.mjs +1 -1
  852. package/_mjs/STM/driver.mjs.map +1 -1
  853. package/_mjs/STM/internal/CommitState.mjs.map +1 -1
  854. package/_mjs/STM/internal/Journal.mjs.map +1 -1
  855. package/_mjs/STM/internal/TryCommit.mjs +0 -2
  856. package/_mjs/STM/internal/TryCommit.mjs.map +1 -1
  857. package/_mjs/STM.mjs +6 -4
  858. package/_mjs/STM.mjs.map +1 -1
  859. package/_mjs/Schedule/Decision.mjs +0 -2
  860. package/_mjs/Schedule/Decision.mjs.map +1 -1
  861. package/_mjs/Schedule/api.mjs +2 -2
  862. package/_mjs/Schedule/api.mjs.map +1 -1
  863. package/_mjs/Schedule.mjs +3 -2
  864. package/_mjs/Schedule.mjs.map +1 -1
  865. package/_mjs/Scope/Finalizer.mjs +1 -0
  866. package/_mjs/Scope/Finalizer.mjs.map +1 -1
  867. package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -1
  868. package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -1
  869. package/_mjs/Scope/ReleaseMap/definition.mjs.map +1 -1
  870. package/_mjs/Scope/ReleaseMap.mjs +3 -2
  871. package/_mjs/Scope/ReleaseMap.mjs.map +1 -1
  872. package/_mjs/Scope/api.mjs +31 -19
  873. package/_mjs/Scope/api.mjs.map +1 -1
  874. package/_mjs/Scope/definition.mjs +4 -2
  875. package/_mjs/Scope/definition.mjs.map +1 -1
  876. package/_mjs/Scope.mjs +3 -2
  877. package/_mjs/Scope.mjs.map +1 -1
  878. package/_mjs/ScopedRef.mjs +2 -1
  879. package/_mjs/ScopedRef.mjs.map +1 -1
  880. package/_mjs/Semaphore.mjs.map +1 -1
  881. package/_mjs/Sink/api.mjs +4 -4
  882. package/_mjs/Sink/api.mjs.map +1 -1
  883. package/_mjs/Sink.mjs +2 -1
  884. package/_mjs/Sink.mjs.map +1 -1
  885. package/_mjs/State/api.mjs.map +1 -1
  886. package/_mjs/State.mjs +3 -2
  887. package/_mjs/State.mjs.map +1 -1
  888. package/_mjs/Stream/api/zipAllWith.mjs.map +1 -1
  889. package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -1
  890. package/_mjs/Stream/api.mjs.map +1 -1
  891. package/_mjs/Stream/internal/DebounceState.mjs +0 -3
  892. package/_mjs/Stream/internal/DebounceState.mjs.map +1 -1
  893. package/_mjs/Stream/internal/Handoff.mjs +10 -15
  894. package/_mjs/Stream/internal/Handoff.mjs.map +1 -1
  895. package/_mjs/Stream/internal/SinkEndReason.mjs +0 -2
  896. package/_mjs/Stream/internal/SinkEndReason.mjs.map +1 -1
  897. package/_mjs/Stream/internal/util.mjs.map +1 -1
  898. package/_mjs/Stream.mjs +3 -2
  899. package/_mjs/Stream.mjs.map +1 -1
  900. package/_mjs/Subject.mjs +2 -1
  901. package/_mjs/Subject.mjs.map +1 -1
  902. package/_mjs/SubscriptionRef.mjs +5 -5
  903. package/_mjs/SubscriptionRef.mjs.map +1 -1
  904. package/_mjs/Supervisor/api.mjs.map +1 -1
  905. package/_mjs/Supervisor/constructors.mjs.map +1 -1
  906. package/_mjs/Supervisor/definition.mjs +1 -3
  907. package/_mjs/Supervisor/definition.mjs.map +1 -1
  908. package/_mjs/Supervisor.mjs +3 -2
  909. package/_mjs/Supervisor.mjs.map +1 -1
  910. package/_mjs/SupervisorPatch.mjs +0 -3
  911. package/_mjs/SupervisorPatch.mjs.map +1 -1
  912. package/_mjs/TExit/definition.mjs +0 -9
  913. package/_mjs/TExit/definition.mjs.map +1 -1
  914. package/_mjs/TExit.mjs +2 -1
  915. package/_mjs/TExit.mjs.map +1 -1
  916. package/_mjs/TFuture.mjs +3 -2
  917. package/_mjs/TFuture.mjs.map +1 -1
  918. package/_mjs/TReentrantLock/api.mjs.map +1 -1
  919. package/_mjs/TReentrantLock/definition.mjs +0 -1
  920. package/_mjs/TReentrantLock/definition.mjs.map +1 -1
  921. package/_mjs/TReentrantLock.mjs +2 -1
  922. package/_mjs/TReentrantLock.mjs.map +1 -1
  923. package/_mjs/TRef/definition.mjs +33 -33
  924. package/_mjs/TRef/definition.mjs.map +1 -1
  925. package/_mjs/TRef.mjs +3 -2
  926. package/_mjs/TRef.mjs.map +1 -1
  927. package/_mjs/TSemaphore.mjs +3 -2
  928. package/_mjs/TSemaphore.mjs.map +1 -1
  929. package/_mjs/collection/immutable/Conc/dropUntilIO.mjs.map +1 -1
  930. package/_mjs/collection/immutable/Conc/dropWhileIO.mjs.map +1 -1
  931. package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -1
  932. package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -1
  933. package/_mjs/collection/immutable/Conc.mjs +6 -5
  934. package/_mjs/collection/immutable/Conc.mjs.map +1 -1
  935. package/_mjs/internal/BackgroundScheduler.mjs.map +1 -1
  936. package/_mjs/internal/HashedPair.mjs.map +1 -1
  937. package/_mjs/internal/Hub.mjs.map +1 -1
  938. package/_mjs/internal/IsFatal.mjs +0 -3
  939. package/_mjs/internal/IsFatal.mjs.map +1 -1
  940. package/_mjs/internal/MutableQueue.mjs.map +1 -1
  941. package/_mjs/internal/Scheduler.mjs.map +1 -1
  942. package/_mjs/internal/StackTraceBuilder.mjs.map +1 -1
  943. package/_src/Cached/api.ts +4 -1
  944. package/_src/Cached.ts +3 -2
  945. package/_src/Channel/ChildExecutorDecision.ts +2 -1
  946. package/_src/Channel/UpstreamPullRequest.ts +2 -1
  947. package/_src/Channel/UpstreamPullStrategy.ts +1 -0
  948. package/_src/Channel/internal/ChannelExecutor.ts +4 -1
  949. package/_src/Channel/internal/MergeState.ts +4 -1
  950. package/_src/Channel.ts +4 -3
  951. package/_src/Clock.ts +3 -2
  952. package/_src/Console.ts +3 -2
  953. package/_src/CountdownLatch.ts +4 -1
  954. package/_src/Fiber/FiberRuntime.ts +12 -2
  955. package/_src/Fiber.ts +21 -19
  956. package/_src/FiberDescriptor.ts +5 -1
  957. package/_src/FiberRef.ts +7 -5
  958. package/_src/FiberRefs/Patch.ts +145 -0
  959. package/_src/FiberRefs.ts +3 -1
  960. package/_src/FiberScope/definition.ts +4 -1
  961. package/_src/FiberScope.ts +2 -1
  962. package/_src/FiberStatus/definition.ts +9 -2
  963. package/_src/FiberStatus.ts +2 -1
  964. package/_src/Future/definition.ts +4 -1
  965. package/_src/Future.ts +3 -2
  966. package/_src/Hub/api.ts +8 -2
  967. package/_src/Hub.ts +3 -2
  968. package/_src/IO/api/concurrentFinalizers.ts +74 -7
  969. package/_src/IO/api/foreachConcurrent.ts +16 -14
  970. package/_src/IO/api/interrupt.ts +1 -1
  971. package/_src/IO/api/patchFiberRefs.ts +8 -0
  972. package/_src/IO/api/provideSomeRuntime.ts +22 -0
  973. package/_src/IO/api.ts +4 -1
  974. package/_src/IO/definition.ts +6 -1
  975. package/_src/IO.ts +64 -60
  976. package/_src/IOEnv.ts +3 -2
  977. package/_src/InterruptStatus.ts +2 -1
  978. package/_src/Layer/MemoMap.ts +11 -3
  979. package/_src/Layer/api.ts +10 -0
  980. package/_src/Layer/definition.ts +17 -4
  981. package/_src/Layer.ts +2 -1
  982. package/_src/LogLevel.ts +5 -1
  983. package/_src/LogSpan.ts +4 -1
  984. package/_src/Logger.ts +3 -2
  985. package/_src/MVar.ts +2 -1
  986. package/_src/Push.ts +3 -2
  987. package/_src/Queue/api/dimapIO.ts +8 -2
  988. package/_src/Queue/api/filterInputIO.ts +8 -2
  989. package/_src/Queue/api/filterOutputIO.ts +8 -2
  990. package/_src/Queue/api/operations.ts +2 -2
  991. package/_src/Queue/api/takeBetween.ts +18 -20
  992. package/_src/Queue/api/takeN.ts +10 -0
  993. package/_src/Queue/api.ts +8 -6
  994. package/_src/Queue/internal.ts +4 -1
  995. package/_src/Queue.ts +5 -4
  996. package/_src/Random.ts +3 -2
  997. package/_src/Ref/Synchronized.ts +3 -2
  998. package/_src/Ref/api.ts +8 -7
  999. package/_src/Ref.ts +9 -7
  1000. package/_src/RefSubject/Atomic.ts +14 -3
  1001. package/_src/RefSubject/Synchronized/definition.ts +4 -1
  1002. package/_src/RefSubject/api.ts +5 -1
  1003. package/_src/RefSubject/definition.ts +1 -0
  1004. package/_src/RefSubject.ts +2 -1
  1005. package/_src/Reloadable/definition.ts +4 -1
  1006. package/_src/Reloadable.ts +3 -2
  1007. package/_src/RuntimeFlags.ts +2 -1
  1008. package/_src/STM/definition.ts +16 -4
  1009. package/_src/STM/driver.ts +6 -1
  1010. package/_src/STM.ts +6 -4
  1011. package/_src/Schedule.ts +3 -2
  1012. package/_src/Scope/Finalizer.ts +1 -0
  1013. package/_src/Scope/ReleaseMap/definition.ts +5 -1
  1014. package/_src/Scope/ReleaseMap.ts +3 -2
  1015. package/_src/Scope/api.ts +36 -26
  1016. package/_src/Scope/definition.ts +2 -1
  1017. package/_src/Scope.ts +3 -2
  1018. package/_src/ScopedRef.ts +2 -1
  1019. package/_src/Sink/api.ts +4 -4
  1020. package/_src/Sink.ts +2 -1
  1021. package/_src/State.ts +3 -2
  1022. package/_src/Stream/internal/Handoff.ts +4 -1
  1023. package/_src/Stream.ts +3 -2
  1024. package/_src/Subject/definition.ts +1 -1
  1025. package/_src/Subject.ts +2 -1
  1026. package/_src/SubscriptionRef.ts +5 -1
  1027. package/_src/Supervisor/definition.ts +8 -2
  1028. package/_src/Supervisor.ts +3 -2
  1029. package/_src/SupervisorPatch.ts +4 -1
  1030. package/_src/TExit.ts +2 -1
  1031. package/_src/TFuture.ts +3 -2
  1032. package/_src/TReentrantLock/definition.ts +5 -1
  1033. package/_src/TReentrantLock.ts +2 -1
  1034. package/_src/TRef/definition.ts +4 -1
  1035. package/_src/TRef.ts +3 -2
  1036. package/_src/TSemaphore.ts +3 -2
  1037. package/_src/collection/immutable/Conc.ts +6 -5
  1038. package/_src/index.ts +47 -46
  1039. package/_src/internal/HashedPair.ts +4 -1
  1040. package/_src/internal/Hub.ts +20 -4
  1041. package/_src/internal/IsFatal.ts +4 -1
  1042. package/collection/immutable/Conc.d.ts +5 -5
  1043. package/data/Exit/foreachIO.d.ts +1 -1
  1044. package/index.d.ts +46 -46
  1045. package/internal/Hub.d.ts +1 -1
  1046. package/package.json +4 -4
package/Layer.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./Layer/api.js";
2
1
  export * from "./Layer/definition.js";
2
+ export * from "./Layer/api.js";
3
3
  export * from "./Layer/MemoMap.js";
package/Logger/api.d.ts CHANGED
@@ -6,9 +6,9 @@ import { Maybe } from "@fncts/base/data/Maybe/definition";
6
6
  * @tsplus pipeable fncts.io.Logger filterLogLevel
7
7
  * @tsplus location "@fncts/io/Logger/api"
8
8
  */
9
- export declare function filterLogLevel(p: Predicate<LogLevel>): <Message, Output>(self: import("./definition").Logger<Message, Output>) => import("./definition").Logger<Message, import("@fncts/base/data/Maybe").Maybe<Output>>;
9
+ export declare function filterLogLevel(p: Predicate<LogLevel>): <Message, Output>(self: Logger<Message, Output>) => Logger<Message, Maybe<Output>>;
10
10
  /**
11
11
  * @tsplus pipeable fncts.io.Logger map
12
12
  * @tsplus location "@fncts/io/Logger/api"
13
13
  */
14
- export declare function map<Output, B>(f: (_: Output) => B): <Message>(self: import("./definition").Logger<Message, Output>) => import("./definition").Logger<Message, B>;
14
+ export declare function map<Output, B>(f: (_: Output) => B): <Message>(self: Logger<Message, Output>) => Logger<Message, B>;
package/Logger.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./Logger/api.js";
2
- export * from "./Logger/constructors.js";
3
1
  export * from "./Logger/definition.js";
2
+ export * from "./Logger/constructors.js";
3
+ export * from "./Logger/api.js";
package/MVar.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./MVar/api.js";
2
1
  export * from "./MVar/definition.js";
2
+ export * from "./MVar/api.js";
package/Push/api.d.ts CHANGED
@@ -45,7 +45,7 @@ export declare function combineLatest<R, E, A>(streams: Iterable<Push<R, E, A>>)
45
45
  * @tsplus pipeable fncts.io.PushOps combineLatestWith
46
46
  * @tsplus location "@fncts/io/Push/api"
47
47
  */
48
- export declare function combineLatestWith<A, R1, E1, B, C>(that: Push<R1, E1, B>, f: (a: A, b: B) => C): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, C>;
48
+ export declare function combineLatestWith<A, R1, E1, B, C>(that: Push<R1, E1, B>, f: (a: A, b: B) => C): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, C>;
49
49
  /**
50
50
  * @tsplus pipeable fncts.io.Push debounce
51
51
  * @tsplus location "@fncts/io/Push/api"
@@ -60,22 +60,22 @@ export declare function defer<R, E, A>(self: Lazy<Push<R, E, A>>): Push<R, E, A>
60
60
  * @tsplus pipeable fncts.io.Push exhaustMap
61
61
  * @tsplus location "@fncts/io/Push/api"
62
62
  */
63
- export declare function exhaustMap<A, R1, E1, B>(f: (a: A) => Push<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, B>;
63
+ export declare function exhaustMap<A, R1, E1, B>(f: (a: A) => Push<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, B>;
64
64
  /**
65
65
  * @tsplus pipeable fncts.io.Push exhaustMapIO
66
66
  * @tsplus location "@fncts/io/Push/api"
67
67
  */
68
- export declare function exhaustMapIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, B>;
68
+ export declare function exhaustMapIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, B>;
69
69
  /**
70
70
  * @tsplus pipeable fncts.io.Push filterIO
71
71
  * @tsplus location "@fncts/io/Push/api"
72
72
  */
73
- export declare function filterIO<A, R1, E1>(predicate: (a: A) => IO<R1, E1, boolean>): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, A>;
73
+ export declare function filterIO<A, R1, E1>(predicate: (a: A) => IO<R1, E1, boolean>): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, A>;
74
74
  /**
75
75
  * @tsplus pipeable fncts.io.Push filterMapIO
76
76
  * @tsplus location "@fncts/io/Push/api"
77
77
  */
78
- export declare function filterMapIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, Maybe<B>>): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, B>;
78
+ export declare function filterMapIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, Maybe<B>>): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, B>;
79
79
  /**
80
80
  * @tsplus pipeable fncts.io.Push filter
81
81
  * @tsplus location "@fncts/io/Push/api"
@@ -91,22 +91,22 @@ export declare function filterMap<A, B>(f: (a: A) => Maybe<B>): <R, E>(self: Pus
91
91
  * @tsplus pipeable fncts.io.Push flatMapConcurrentBounded
92
92
  * @tsplus location "@fncts/io/Push/api"
93
93
  */
94
- export declare function flatMapConcurrentBounded<A, R1, E1, B>(f: (a: A) => Push<R1, E1, B>, concurrency: number): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, B>;
94
+ export declare function flatMapConcurrentBounded<A, R1, E1, B>(f: (a: A) => Push<R1, E1, B>, concurrency: number): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, B>;
95
95
  /**
96
96
  * @tsplus pipeable fncts.io.Push flatMapConcurrentUnbounded
97
97
  * @tsplus location "@fncts/io/Push/api"
98
98
  */
99
- export declare function flatMapConcurrentUnbounded<A, R1, E1, B>(f: (a: A) => Push<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, B>;
99
+ export declare function flatMapConcurrentUnbounded<A, R1, E1, B>(f: (a: A) => Push<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, B>;
100
100
  /**
101
101
  * @tsplus pipeable fncts.io.Push flatMapConcurrent
102
102
  * @tsplus location "@fncts/io/Push/api"
103
103
  */
104
- export declare function flatMapConcurrent<A, R1, E1, B>(f: (a: A) => Push<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, B>;
104
+ export declare function flatMapConcurrent<A, R1, E1, B>(f: (a: A) => Push<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, B>;
105
105
  /**
106
106
  * @tsplus pipeable fncts.io.Push flatMap
107
107
  * @tsplus location "@fncts/io/Push/api"
108
108
  */
109
- export declare function flatMap<A, R1, E1, B>(f: (a: A) => Push<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, B>;
109
+ export declare function flatMap<A, R1, E1, B>(f: (a: A) => Push<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, B>;
110
110
  /**
111
111
  * @tsplus getter fncts.io.Push flatten
112
112
  * @tsplus location "@fncts/io/Push/api"
@@ -185,12 +185,12 @@ export declare function mapErrorCause<E, E1>(f: (cause: Cause<E>) => Cause<E1>):
185
185
  * @tsplus pipeable fncts.io.Push mapIO
186
186
  * @tsplus location "@fncts/io/Push/api"
187
187
  */
188
- export declare function mapIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, B>;
188
+ export declare function mapIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, B>;
189
189
  /**
190
190
  * @tsplus pipeable fncts.io.Push merge
191
191
  * @tsplus location "@fncts/io/Push/api"
192
192
  */
193
- export declare function merge<R1, E1, B>(that: Push<R1, E1, B>): <R, E, A>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, B | A>;
193
+ export declare function merge<R1, E1, B>(that: Push<R1, E1, B>): <R, E, A>(self: Push<R, E, A>) => Push<R | R1, E | E1, A | B>;
194
194
  /**
195
195
  * @tsplus static fncts.io.PushOps mergeAll
196
196
  * @tsplus location "@fncts/io/Push/api"
@@ -201,7 +201,7 @@ export declare function mergeAll<R, E, A>(streams: Iterable<Push<R, E, A>>): Pus
201
201
  * @tsplus pipeable fncts.io.Push observe
202
202
  * @tsplus location "@fncts/io/Push/api"
203
203
  */
204
- export declare function observe<A, R1, E1>(f: (a: A) => IO<R1, E1, void>, __tsplusTrace?: string): <R, E>(self: Push<R, E, A>) => IO<import("../Scope.js").Scope | R1 | R, E1 | E, void>;
204
+ export declare function observe<A, R1, E1>(f: (a: A) => IO<R1, E1, void>, __tsplusTrace?: string): <R, E>(self: Push<R, E, A>) => IO<R | R1 | Scope, E | E1, void>;
205
205
  /**
206
206
  * @tsplus static fncts.io.PushOps repeatIOMaybe
207
207
  * @tsplus location "@fncts/io/Push/api"
@@ -231,22 +231,22 @@ export declare function succeed<A>(value: Lazy<A>): Push<never, never, A>;
231
231
  * @tsplus pipeable fncts.io.Push switchMap
232
232
  * @tsplus location "@fncts/io/Push/api"
233
233
  */
234
- export declare function switchMap<A, R1, E1, B>(f: (a: A) => Push<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, B>;
234
+ export declare function switchMap<A, R1, E1, B>(f: (a: A) => Push<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, B>;
235
235
  /**
236
236
  * @tsplus pipeable fncts.io.Push switchMapIO
237
237
  * @tsplus location "@fncts/io/Push/api"
238
238
  */
239
- export declare function switchMapIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, B>;
239
+ export declare function switchMapIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, B>;
240
240
  /**
241
241
  * @tsplus pipeable fncts.io.Push tap
242
242
  * @tsplus location "@fncts/io/Push/api"
243
243
  */
244
- export declare function tap<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, A>;
244
+ export declare function tap<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>): <R, E>(self: Push<R, E, A>) => Push<R | R1, E | E1, A>;
245
245
  /**
246
246
  * @tsplus pipeable fncts.io.Push transform
247
247
  * @tsplus location "@fncts/io/Push/api"
248
248
  */
249
- export declare function transform<R1 = never>(f: <R, E, A>(io: IO<R, E, A>) => IO<R | R1, E, A>): <R, E, A>(self: Push<R, E, A>) => Push<R1 | R, E, A>;
249
+ export declare function transform<R1 = never>(f: <R, E, A>(io: IO<R, E, A>) => IO<R | R1, E, A>): <R, E, A>(self: Push<R, E, A>) => Push<R | R1, E, A>;
250
250
  /**
251
251
  * @tsplus static fncts.io.PushOps unfold
252
252
  * @tsplus location "@fncts/io/Push/api"
@@ -261,12 +261,12 @@ export declare function unfoldIO<S, R, E, A>(s: S, f: (s: S) => IO<R, E, Maybe<r
261
261
  * @tsplus pipeable fncts.io.Push untilFuture
262
262
  * @tsplus location "@fncts/io/Push/api"
263
263
  */
264
- export declare function untilFuture<E1, B>(future: Future<E1, B>): <R, E, A>(self: Push<R, E, A>) => Push<R, E1 | E, A>;
264
+ export declare function untilFuture<E1, B>(future: Future<E1, B>): <R, E, A>(self: Push<R, E, A>) => Push<R, E | E1, A>;
265
265
  /**
266
266
  * @tsplus pipeable fncts.io.Push untilPush
267
267
  * @tsplus location "@fncts/io/Push/api"
268
268
  */
269
- export declare function untilPush<R1, E1, B>(signal: Push<R1, E1, B>): <R, E, A>(self: Push<R, E, A>) => Push<R1 | R, E1 | E, A>;
269
+ export declare function untilPush<R1, E1, B>(signal: Push<R1, E1, B>): <R, E, A>(self: Push<R, E, A>) => Push<R | R1, E | E1, A>;
270
270
  /**
271
271
  * @tsplus static fncts.io.PushOps unwrap
272
272
  * @tsplus location "@fncts/io/Push/api"
package/Push.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./Push/api.js";
2
- export * from "./Push/definition.js";
3
1
  export * from "./Push/internal.js";
2
+ export * from "./Push/definition.js";
3
+ export * from "./Push/api.js";
@@ -10,38 +10,38 @@ import { DequeueTypeId, EnqueueTypeId, QueueTypeId, QueueVariance } from "@fncts
10
10
  * @tsplus pipeable fncts.io.Queue dimap
11
11
  * @tsplus location "@fncts/io/Queue/api/dimapIO"
12
12
  */
13
- export declare function dimap<A, B, C, D>(f: (c: C) => A, g: (b: B) => D, __tsplusTrace?: string): <RA, RB, EA, EB>(self: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, C, D>;
13
+ export declare function dimap<A, B, C, D>(f: (c: C) => A, g: (b: B) => D, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, C, D>;
14
14
  /**
15
15
  * Transforms elements enqueued into and dequeued from this queue with the
16
16
  * specified effectual functions.
17
17
  * @tsplus pipeable fncts.io.Queue dimapIO
18
18
  * @tsplus location "@fncts/io/Queue/api/dimapIO"
19
19
  */
20
- export declare function dimapIO_<A, B, RC, EC, C, RD, ED, D>(f: (c: C) => IO<RC, EC, A>, g: (b: B) => IO<RD, ED, D>, __tsplusTrace?: string): <RA, RB, EA, EB>(queue: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RC | RA, RD | RB, EC | EA, ED | EB, C, D>;
20
+ export declare function dimapIO_<A, B, RC, EC, C, RD, ED, D>(f: (c: C) => IO<RC, EC, A>, g: (b: B) => IO<RD, ED, D>, __tsplusTrace?: string): <RA, RB, EA, EB>(queue: PQueue<RA, RB, EA, EB, A, B>) => PQueue<RC | RA, RD | RB, EC | EA, ED | EB, C, D>;
21
21
  /**
22
22
  * Transforms elements enqueued into this queue with an effectful function.
23
23
  * @tsplus pipeable fncts.io.Queue contramapIO
24
24
  * @tsplus location "@fncts/io/Queue/api/dimapIO"
25
25
  */
26
- export declare function contramapInputIO<A, RC, EC, C>(f: (c: C) => IO<RC, EC, A>, __tsplusTrace?: string): <RA, RB, EA, EB, B>(self: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RC | RA, RB, EC | EA, EB, C, B>;
26
+ export declare function contramapInputIO<A, RC, EC, C>(f: (c: C) => IO<RC, EC, A>, __tsplusTrace?: string): <RA, RB, EA, EB, B>(self: PQueue<RA, RB, EA, EB, A, B>) => PQueue<RA | RC, RB, EA | EC, EB, C, B>;
27
27
  /**
28
28
  * Transforms elements enqueued into this queue with an effectful function.
29
29
  * @tsplus pipeable fncts.io.Queue contramap
30
30
  * @tsplus location "@fncts/io/Queue/api/dimapIO"
31
31
  */
32
- export declare function contramapInput<A, C>(f: (c: C) => A, __tsplusTrace?: string): <RA, RB, EA, EB, B>(queue: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, C, B>;
32
+ export declare function contramapInput<A, C>(f: (c: C) => A, __tsplusTrace?: string): <RA, RB, EA, EB, B>(queue: PQueue<RA, RB, EA, EB, A, B>) => PQueue<RA, RB, EA, EB, C, B>;
33
33
  /**
34
34
  * Transforms elements dequeued from this queue with an effectful function.
35
35
  * @tsplus pipeable fncts.io.Queue mapIO
36
36
  * @tsplus location "@fncts/io/Queue/api/dimapIO"
37
37
  */
38
- export declare function mapIO<B, R2, E2, C>(f: (b: B) => IO<R2, E2, C>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(queue: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RA, R2 | RB, EA, E2 | EB, A, C>;
38
+ export declare function mapIO<B, R2, E2, C>(f: (b: B) => IO<R2, E2, C>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(queue: PQueue<RA, RB, EA, EB, A, B>) => PQueue<RA, R2 | RB, EA, EB | E2, A, C>;
39
39
  /**
40
40
  * Transforms elements dequeued from this queue with a function.
41
41
  * @tsplus pipeable fncts.io.Queue map
42
42
  * @tsplus location "@fncts/io/Queue/api/dimapIO"
43
43
  */
44
- export declare function map<B, C>(f: (b: B) => C, __tsplusTrace?: string): <RA, RB, EA, EB, A>(queue: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, C>;
44
+ export declare function map<B, C>(f: (b: B) => C, __tsplusTrace?: string): <RA, RB, EA, EB, A>(queue: PQueue<RA, RB, EA, EB, A, B>) => PQueue<RA, RB, EA, EB, A, C>;
45
45
  declare class ContramapIO<RA, RB, EA, EB, A, B, RC, EC, C> implements PEnqueueInternal<RA | RC, RB, EA | EC, EB, C, B> {
46
46
  readonly queue: PEnqueueInternal<RA, RB, EA, EB, A, B>;
47
47
  readonly f: (c: C) => IO<RC, EC, A>;
@@ -9,17 +9,17 @@ import type { PEnqueue } from "@fncts/io/Queue/definition";
9
9
  * @tsplus pipeable fncts.io.Queue filterInputIO
10
10
  * @tsplus location "@fncts/io/Queue/api/filterInputIO"
11
11
  */
12
- export declare function filterInputIO<A, A1 extends A, R2, E2>(f: (_: A1) => IO<R2, E2, boolean>, __tsplusTrace?: string): <RA, RB, EA, EB, B>(queue: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<R2 | RA, RB, E2 | EA, EB, A1, B>;
12
+ export declare function filterInputIO<A, A1 extends A, R2, E2>(f: (_: A1) => IO<R2, E2, boolean>, __tsplusTrace?: string): <RA, RB, EA, EB, B>(queue: PQueue<RA, RB, EA, EB, A, B>) => PQueue<RA | R2, RB, EA | E2, EB, A1, B>;
13
13
  /**
14
14
  * Applies a filter to elements enqueued into this queue. Elements that do not
15
15
  * pass the filter will be immediately dropped.
16
16
  * @tsplus pipeable fncts.io.Queue filterInput
17
17
  * @tsplus location "@fncts/io/Queue/api/filterInputIO"
18
18
  */
19
- export declare function filterInput<A, A1 extends A>(f: Predicate<A1>, __tsplusTrace?: string): <RA, RB, EA, EB, B>(queue: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A1, B>;
19
+ export declare function filterInput<A, A1 extends A>(f: Predicate<A1>, __tsplusTrace?: string): <RA, RB, EA, EB, B>(queue: PQueue<RA, RB, EA, EB, A, B>) => PQueue<RA, RB, EA, EB, A1, B>;
20
20
  /**
21
21
  * Like `filterInput`, but uses an effectful function to filter the elements.
22
22
  * @tsplus pipeable fncts.io.Queue.Enqueue filterInputIO
23
23
  * @tsplus location "@fncts/io/Queue/api/filterInputIO"
24
24
  */
25
- export declare function filterInputEnqueueIO<A, A1 extends A, R2, E2>(f: (_: A1) => IO<R2, E2, boolean>, __tsplusTrace?: string): <RA, RB, EA, EB, B>(queue: PEnqueue<RA, RB, EA, EB, A, B>) => PEnqueue<R2 | RA, RB, E2 | EA, EB, A1, B>;
25
+ export declare function filterInputEnqueueIO<A, A1 extends A, R2, E2>(f: (_: A1) => IO<R2, E2, boolean>, __tsplusTrace?: string): <RA, RB, EA, EB, B>(queue: PEnqueue<RA, RB, EA, EB, A, B>) => PEnqueue<RA | R2, RB, EA | E2, EB, A1, B>;
@@ -7,14 +7,14 @@ import type { PDequeue } from "@fncts/io/Queue/definition";
7
7
  * @tsplus pipeable fncts.io.Queue filterOutputIO
8
8
  * @tsplus location "@fncts/io/Queue/api/filterOutputIO"
9
9
  */
10
- export declare function filterOutputIO<B, RB1, EB1>(f: (b: B) => IO<RB1, EB1, boolean>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(queue: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RA, RB1 | RB, EA, EB1 | EB, A, B>;
10
+ export declare function filterOutputIO<B, RB1, EB1>(f: (b: B) => IO<RB1, EB1, boolean>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(queue: PQueue<RA, RB, EA, EB, A, B>) => PQueue<RA, RB | RB1, EA, EB | EB1, A, B>;
11
11
  /**
12
12
  * @tsplus pipeable fncts.io.Queue filterOutput
13
13
  * @tsplus location "@fncts/io/Queue/api/filterOutputIO"
14
14
  */
15
- export declare function filterOutput<B>(p: Predicate<B>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(queue: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>;
15
+ export declare function filterOutput<B>(p: Predicate<B>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(queue: PQueue<RA, RB, EA, EB, A, B>) => PQueue<RA, RB, EA, EB, A, B>;
16
16
  /**
17
17
  * @tsplus pipeable fncts.io.Queue.Dequeue filterOutputIO
18
18
  * @tsplus location "@fncts/io/Queue/api/filterOutputIO"
19
19
  */
20
- export declare function filterOutputDequeueIO<B, RB1, EB1>(f: (b: B) => IO<RB1, EB1, boolean>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(queue: PDequeue<RA, RB, EA, EB, A, B>) => PDequeue<RA, RB1 | RB, EA, EB1 | EB, A, B>;
20
+ export declare function filterOutputDequeueIO<B, RB1, EB1>(f: (b: B) => IO<RB1, EB1, boolean>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(queue: PDequeue<RA, RB, EA, EB, A, B>) => PDequeue<RA, RB | RB1, EA, EB | EB1, A, B>;
@@ -26,7 +26,7 @@ export declare function isShutdown<RA, RB, EA, EB, A, B>(queue: PQueueCommon<RA,
26
26
  * @tsplus pipeable fncts.io.Queue offer
27
27
  * @tsplus location "@fncts/io/Queue/api/operations"
28
28
  */
29
- export declare function offer<A>(a: A, __tsplusTrace?: string): <RA, RB, EA, EB, B>(queue: PEnqueue<RA, RB, EA, EB, A, B>) => import("../../IO").IO<RA, EA, boolean>;
29
+ export declare function offer<A>(a: A, __tsplusTrace?: string): <RA, RB, EA, EB, B>(queue: PEnqueue<RA, RB, EA, EB, A, B>) => IO<RA, EA, boolean>;
30
30
  /**
31
31
  * For Bounded Queue: uses the `BackPressure` Strategy, places the values in the queue and always returns true.
32
32
  * If the queue has reached capacity, then
@@ -77,7 +77,7 @@ export declare function take<RA, RB, EA, EB, A, B>(queue: PDequeue<RA, RB, EA, E
77
77
  export declare function takeAll<RA, RB, EA, EB, A, B>(queue: PDequeue<RA, RB, EA, EB, A, B>, __tsplusTrace?: string): import("../../IO").IO<RB, EB, import("@fncts/base/collection/immutable/Conc").Conc<B>>;
78
78
  /**
79
79
  * Takes up to max number of values in the queue.
80
- * @tsplus pipeable fncts.io.Queue takeAllUpTo
80
+ * @tsplus pipeable fncts.io.Queue takeUpTo
81
81
  * @tsplus location "@fncts/io/Queue/api/operations"
82
82
  */
83
- export declare function takeAllUpTo(n: number, __tsplusTrace?: string): <RA, RB, EA, EB, A, B>(queue: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("../../IO").IO<RB, EB, import("@fncts/base/collection/immutable/Conc").Conc<B>>;
83
+ export declare function takeUpTo(n: number, __tsplusTrace?: string): <RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>) => import("../../IO").IO<RB, EB, import("@fncts/base/collection/immutable/Conc").Conc<B>>;
@@ -8,4 +8,4 @@ import type { PDequeue } from "@fncts/io/Queue/definition";
8
8
  * @tsplus pipeable fncts.io.Queue takeBetween
9
9
  * @tsplus location "@fncts/io/Queue/api/takeBetween"
10
10
  */
11
- export declare function takeBetween(min: number, max: number, __tsplusTrace?: string): <RA, RB, EA, EB, A, B>(queue: PDequeue<RA, RB, EA, EB, A, B>) => import("../../IO").IO<RB, EB, import("@fncts/base/collection/immutable/Conc").Conc<B>>;
11
+ export declare function takeBetween(min: number, max: number, __tsplusTrace?: string): <RA, RB, EA, EB, A, B>(queue: PDequeue<RA, RB, EA, EB, A, B>) => IO<RB, EB, Conc<B>>;
@@ -0,0 +1,8 @@
1
+ import { IO } from "@fncts/io/IO/definition";
2
+ import { Conc } from "@fncts/base/collection/immutable/Conc";
3
+ import type { PDequeue } from "@fncts/io/Queue";
4
+ /**
5
+ * @tsplus pipeable fncts.io.Queue takeN
6
+ * @tsplus location "@fncts/io/Queue/api/takeN"
7
+ */
8
+ export declare function takeN(n: number, __tsplusTrace?: string): <RA, RB, EA, EB, A, B>(queue: PDequeue<RA, RB, EA, EB, A, B>) => IO<RB, EB, Conc<B>>;
@@ -12,16 +12,16 @@ import { PQueue } from "@fncts/io/Queue/definition";
12
12
  * @tsplus pipeable fncts.io.Queue zipWithIO
13
13
  * @tsplus location "@fncts/io/Queue/api/zipWithIO"
14
14
  */
15
- export declare function zipWithIO<A, B, RA1, RB1, EA1, EB1, A1 extends A, B1, R3, E3, D>(fb: PQueue<RA1, RB1, EA1, EB1, A1, B1>, f: (b: B, c: B1) => IO<R3, E3, D>, __tsplusTrace?: string): <RA, RB, EA, EB>(fa: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RA1 | RA, RB1 | R3 | RB, EA1 | EA, EB1 | E3 | EB, A1, D>;
15
+ export declare function zipWithIO<A, B, RA1, RB1, EA1, EB1, A1 extends A, B1, R3, E3, D>(fb: PQueue<RA1, RB1, EA1, EB1, A1, B1>, f: (b: B, c: B1) => IO<R3, E3, D>, __tsplusTrace?: string): <RA, RB, EA, EB>(fa: PQueue<RA, RB, EA, EB, A, B>) => PQueue<RA | RA1, RB | RB1 | R3, EA | EA1, E3 | EB | EB1, A1, D>;
16
16
  /**
17
17
  * Like `zipWithIO`, but uses a pure function.
18
18
  * @tsplus pipeable fncts.io.Queue zipWith
19
19
  * @tsplus location "@fncts/io/Queue/api/zipWithIO"
20
20
  */
21
- export declare function zipWith<A, B, RA1, RB1, EA1, EB1, A1 extends A, B1, C>(that: PQueue<RA1, RB1, EA1, EB1, A1, B1>, f: (a: B, b: B1) => C, __tsplusTrace?: string): <RA, RB, EA, EB>(queue: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RA1 | RA, RB1 | RB, EA1 | EA, EB1 | EB, A1, C>;
21
+ export declare function zipWith<A, B, RA1, RB1, EA1, EB1, A1 extends A, B1, C>(that: PQueue<RA1, RB1, EA1, EB1, A1, B1>, f: (a: B, b: B1) => C, __tsplusTrace?: string): <RA, RB, EA, EB>(queue: PQueue<RA, RB, EA, EB, A, B>) => PQueue<RA | RA1, RB | RB1, EA | EA1, EB | EB1, A1, C>;
22
22
  /**
23
23
  * Like `zipWith`, but tuples the elements instead of applying a function.
24
24
  * @tsplus pipeable fncts.io.Queue zip
25
25
  * @tsplus location "@fncts/io/Queue/api/zipWithIO"
26
26
  */
27
- export declare function zip<A, B, RA1, RB1, EA1, EB1, A1 extends A, B1>(that: PQueue<RA1, RB1, EA1, EB1, A1, B1>, __tsplusTrace?: string): <RA, RB, EA, EB>(queue: import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, A, B>) => import("@fncts/io/Queue/definition").PQueue<RA1 | RA, RB1 | RB, EA1 | EA, EB1 | EB, A1, readonly [B, B1]>;
27
+ export declare function zip<A, B, RA1, RB1, EA1, EB1, A1 extends A, B1>(that: PQueue<RA1, RB1, EA1, EB1, A1, B1>, __tsplusTrace?: string): <RA, RB, EA, EB>(queue: PQueue<RA, RB, EA, EB, A, B>) => PQueue<RA | RA1, RB | RB1, EA | EA1, EB | EB1, A1, readonly [B, B1]>;
package/Queue/api.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- export * from "./api/dimapIO.js";
2
- export * from "./api/filterInputIO.js";
3
- export * from "./api/filterOutputIO.js";
4
- export * from "./api/operations.js";
5
- export * from "./api/poll.js";
6
- export * from "./api/takeBetween.js";
7
1
  export * from "./api/zipWithIO.js";
2
+ export * from "./api/takeN.js";
3
+ export * from "./api/takeBetween.js";
4
+ export * from "./api/poll.js";
5
+ export * from "./api/operations.js";
6
+ export * from "./api/filterOutputIO.js";
7
+ export * from "./api/filterInputIO.js";
8
+ export * from "./api/dimapIO.js";
package/Queue.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * from "./Queue/api.js";
2
- export * from "./Queue/constructors.js";
3
- export * from "./Queue/definition.js";
4
- export * from "./Queue/internal.js";
5
1
  export * from "./Queue/strategy.js";
2
+ export * from "./Queue/internal.js";
3
+ export * from "./Queue/definition.js";
4
+ export * from "./Queue/constructors.js";
5
+ export * from "./Queue/api.js";
@@ -4,7 +4,7 @@ import type { ArrayInt } from "@fncts/base/util/rand";
4
4
  * @tsplus static fncts.io.RandomOps Tag
5
5
  * @tsplus location "@fncts/io/Random/definition"
6
6
  */
7
- export declare const RandomTag: import("@fncts/base/data/Tag").Tag<Random>;
7
+ export declare const RandomTag: import("@fncts/base/data/Tag").Tag<Random, Random>;
8
8
  /**
9
9
  * @tsplus type fncts.io.Random
10
10
  * @tsplus companion fncts.io.RandomOps
package/Random.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./Random/api.js";
2
- export * from "./Random/definition.js";
3
1
  export * from "./Random/live.js";
2
+ export * from "./Random/definition.js";
3
+ export * from "./Random/api.js";
@@ -9,21 +9,21 @@ import type { PRef } from "../definition.js";
9
9
  * @tsplus pipeable fncts.io.Ref.Synchronized collectIO
10
10
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
11
11
  */
12
- export declare function collectIO<B, RC, EC, C>(f: (b: B) => Maybe<IO<RC, EC, C>>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(ref: PRef.Synchronized<RA, RB, EA, EB, A, B>) => PRef.Synchronized<RA, RC | RB, EA, import("@fncts/base/data/Maybe.js").Maybe<EC | EB>, A, C>;
12
+ export declare function collectIO<B, RC, EC, C>(f: (b: B) => Maybe<IO<RC, EC, C>>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(ref: PRef.Synchronized<RA, RB, EA, EB, A, B>) => PRef.Synchronized<RA, RB | RC, EA, Maybe<EB | EC>, A, C>;
13
13
  /**
14
14
  * Transforms the `set` value of the `SRef` with the specified effectual
15
15
  * function.
16
16
  * @tsplus pipeable fncts.io.Ref.Synchronized contramapIO
17
17
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
18
18
  */
19
- export declare function contramapIO<A, RC, EC, C>(f: (c: C) => IO<RC, EC, A>, __tsplusTrace?: string): <RA, RB, EA, EB, B>(ref: PRef.Synchronized<RA, RB, EA, EB, A, B>) => PRef.Synchronized<RC | RA, RB, EC | EA, EB, C, B>;
19
+ export declare function contramapIO<A, RC, EC, C>(f: (c: C) => IO<RC, EC, A>, __tsplusTrace?: string): <RA, RB, EA, EB, B>(ref: PRef.Synchronized<RA, RB, EA, EB, A, B>) => PRef.Synchronized<RA | RC, RB, EC | EA, EB, C, B>;
20
20
  /**
21
21
  * Transforms both the `set` and `get` values of the `Synchronized` with the
22
22
  * specified effectual functions.
23
23
  * @tsplus pipeable fncts.io.Ref.Synchronized dimapIO
24
24
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
25
25
  */
26
- export declare function dimapIO<A, B, RC, EC, RD, ED, C = A, D = B>(f: (c: C) => IO<RC, EC, A>, g: (b: B) => IO<RD, ED, D>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, B>) => PRef.Synchronized<RC | RA, RD | RB, EC | EA, ED | EB, C, D>;
26
+ export declare function dimapIO<A, B, RC, EC, RD, ED, C = A, D = B>(f: (c: C) => IO<RC, EC, A>, g: (b: B) => IO<RD, ED, D>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, B>) => PRef.Synchronized<RA | RC, RB | RD, EA | EC, EB | ED, C, D>;
27
27
  /**
28
28
  * Filters the `set` value of the `SRef` with the specified effectual
29
29
  * predicate, returning a `SRef` with a `set` value that succeeds if the
@@ -39,34 +39,34 @@ export declare function filterInputIO<RA, RB, EA, EB, B, A, RC, EC, A1 extends A
39
39
  * @tsplus pipeable fncts.io.Ref.Synchronized filterOutputIO
40
40
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
41
41
  */
42
- export declare function filterOutputIO<B, RC, EC>(f: (b: B) => IO<RC, EC, boolean>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(ref: PRef.Synchronized<RA, RB, EA, EB, A, B>) => PRef.Synchronized<RA, RC | RB, EA, import("@fncts/base/data/Maybe.js").Maybe<EC | EB>, A, B>;
42
+ export declare function filterOutputIO<B, RC, EC>(f: (b: B) => IO<RC, EC, boolean>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(ref: PRef.Synchronized<RA, RB, EA, EB, A, B>) => PRef.Synchronized<RA, RB | RC, EA, Maybe<EC | EB>, A, B>;
43
43
  /**
44
44
  * Atomically modifies the `Synchronized` with the specified function, returning the
45
45
  * value immediately before modification.
46
46
  * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdateIO
47
47
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
48
48
  */
49
- export declare function getAndUpdateIO<A, R1, E1>(f: (a: A) => IO<R1, E1, A>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<R1 | RA | RB, E1 | EA | EB, A>;
49
+ export declare function getAndUpdateIO<A, R1, E1>(f: (a: A) => IO<R1, E1, A>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => IO<RA | RB | R1, EA | EB | E1, A>;
50
50
  /**
51
51
  * Atomically modifies the `Synchronized` with the specified function, returning the
52
52
  * value immediately before modification.
53
53
  */
54
- export declare function getAndUpdateJustIO<A, R1, E1>(f: (a: A) => Maybe<IO<R1, E1, A>>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<R1 | RA | RB, E1 | EA | EB, A>;
54
+ export declare function getAndUpdateJustIO<A, R1, E1>(f: (a: A) => Maybe<IO<R1, E1, A>>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => IO<RA | RB | R1, EA | EB | E1, A>;
55
55
  /**
56
56
  * @tsplus pipeable fncts.io.Ref.Synchronized matchIO
57
57
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
58
58
  */
59
- export declare function matchIO<EA, EB, A, B, RC, RD, EC, ED, C, D>(ea: (_: EA) => EC, eb: (_: EB) => ED, ca: (_: C) => IO<RC, EC, A>, bd: (_: B) => IO<RD, ED, D>, __tsplusTrace?: string): <RA, RB>(self: PRef.Synchronized<RA, RB, EA, EB, A, B>) => PRef.Synchronized<RC | RA, RD | RB, EC, ED, C, D>;
59
+ export declare function matchIO<EA, EB, A, B, RC, RD, EC, ED, C, D>(ea: (_: EA) => EC, eb: (_: EB) => ED, ca: (_: C) => IO<RC, EC, A>, bd: (_: B) => IO<RD, ED, D>, __tsplusTrace?: string): <RA, RB>(self: PRef.Synchronized<RA, RB, EA, EB, A, B>) => PRef.Synchronized<RA | RC, RB | RD, EC, ED, C, D>;
60
60
  /**
61
61
  * @tsplus pipeable fncts.io.Ref.Synchronized matchAllIO
62
62
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
63
63
  */
64
- export declare function matchAllIO<EA, EB, A, B, RC, RD, EC, ED, C, D>(ea: (_: EA) => EC, eb: (_: EB) => ED, ec: (_: EB) => EC, ca: (_: C) => (_: B) => IO<RC, EC, A>, bd: (_: B) => IO<RD, ED, D>, __tsplusTrace?: string): <RA, RB>(self: PRef.Synchronized<RA, RB, EA, EB, A, B>) => PRef.Synchronized<RC | RA | RB, RD | RB, EC, ED, C, D>;
64
+ export declare function matchAllIO<EA, EB, A, B, RC, RD, EC, ED, C, D>(ea: (_: EA) => EC, eb: (_: EB) => ED, ec: (_: EB) => EC, ca: (_: C) => (_: B) => IO<RC, EC, A>, bd: (_: B) => IO<RD, ED, D>, __tsplusTrace?: string): <RA, RB>(self: PRef.Synchronized<RA, RB, EA, EB, A, B>) => PRef.Synchronized<RA | RB | RC, RB | RD, EC, ED, C, D>;
65
65
  /**
66
66
  * @tsplus pipeable fncts.io.Ref.Synchronized modifyIO
67
67
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
68
68
  */
69
- export declare function modifyIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, readonly [B, A]>, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef.Synchronized<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<R1 | RA | RB, E1 | EA | EB, B>;
69
+ export declare function modifyIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, readonly [B, A]>, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef.Synchronized<RA, RB, EA, EB, A, A>) => IO<RA | RB | R1, EA | EB | E1, B>;
70
70
  /**
71
71
  * Atomically modifies the `Synchronized` with the specified function, which computes
72
72
  * a return value for the modification if the function is defined in the current value
@@ -75,28 +75,28 @@ export declare function modifyIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, readonly
75
75
  * @tsplus pipeable fncts.io.Ref.Synchronized modifyJustIO
76
76
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
77
77
  */
78
- export declare function modifyJustIO<A, R1, E1, B>(def: B, f: (a: A) => Maybe<IO<R1, E1, readonly [B, A]>>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<R1 | RA | RB, E1 | EA | EB, B>;
78
+ export declare function modifyJustIO<A, R1, E1, B>(def: B, f: (a: A) => Maybe<IO<R1, E1, readonly [B, A]>>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => IO<RA | RB | R1, EA | EB | E1, B>;
79
79
  /**
80
80
  * Atomically modifies the `SRef` with the specified function.
81
81
  * @tsplus pipeable fncts.io.Ref.Synchronized updateAndGetIO
82
82
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
83
83
  */
84
- export declare function updateAndGetIO<A, R1, E1>(f: (a: A) => IO<R1, E1, A>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<R1 | RA | RB, E1 | EA | EB, void>;
84
+ export declare function updateAndGetIO<A, R1, E1>(f: (a: A) => IO<R1, E1, A>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => IO<RA | RB | R1, E1 | EA | EB, void>;
85
85
  /**
86
86
  * Atomically modifies the `Synchronized` with the specified function.
87
87
  * @tsplus pipeable fncts.io.Ref.Synchronized updateIO
88
88
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
89
89
  */
90
- export declare function updateIO<A, R1, E1>(f: (a: A) => IO<R1, E1, A>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<R1 | RA | RB, E1 | EA | EB, void>;
90
+ export declare function updateIO<A, R1, E1>(f: (a: A) => IO<R1, E1, A>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => IO<RA | RB | R1, E1 | EA | EB, void>;
91
91
  /**
92
92
  * Atomically modifies the `SRef` with the specified function.
93
93
  * @tsplus pipeable fncts.io.Ref.Synchronized updateJustAndGetIO
94
94
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
95
95
  */
96
- export declare function updateJustAndGetIO<A, R1, E1>(f: (a: A) => Maybe<IO<R1, E1, A>>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<R1 | RA | RB, E1 | EA | EB, A>;
96
+ export declare function updateJustAndGetIO<A, R1, E1>(f: (a: A) => Maybe<IO<R1, E1, A>>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => IO<RA | RB | R1, E1 | EA | EB, A>;
97
97
  /**
98
98
  * Atomically modifies the `SRef` with the specified function.
99
99
  * @tsplus pipeable fncts.io.Ref.Synchronized updateJustIO
100
100
  * @tsplus location "@fncts/io/Ref/Synchronized/api"
101
101
  */
102
- export declare function updateJustIO<A, R1, E1>(f: (a: A) => Maybe<IO<R1, E1, A>>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<R1 | RA | RB, E1 | EA | EB, void>;
102
+ export declare function updateJustIO<A, R1, E1>(f: (a: A) => Maybe<IO<R1, E1, A>>, __tsplusTrace?: string): <RA, RB, EA, EB>(ref: PRef.Synchronized<RA, RB, EA, EB, A, A>) => IO<RA | RB | R1, E1 | EA | EB, void>;
@@ -1,3 +1,3 @@
1
- export * from "./Synchronized/api.js";
2
- export * from "./Synchronized/constructors.js";
3
1
  export * from "./Synchronized/definition.js";
2
+ export * from "./Synchronized/constructors.js";
3
+ export * from "./Synchronized/api.js";
@@ -8,4 +8,4 @@ import type { PRef } from "../definition.js";
8
8
  * @tsplus pipeable fncts.io.Ref.Synchronized collect
9
9
  * @tsplus location "@fncts/io/Ref/api/collect"
10
10
  */
11
- export declare function collect<B, C>(pf: (_: B) => Maybe<C>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(ref: PRef<RA, RB, EA, EB, A, B>) => PRef<RA, RB, EA, import("@fncts/base/data/Maybe.js").Maybe<EB>, A, C>;
11
+ export declare function collect<B, C>(pf: (_: B) => Maybe<C>, __tsplusTrace?: string): <RA, RB, EA, EB, A>(ref: PRef<RA, RB, EA, EB, A, B>) => PRef<RA, RB, EA, Maybe<EB>, A, C>;
@@ -9,7 +9,7 @@ import type { PRef } from "../definition.js";
9
9
  * @tsplus pipeable fncts.io.Ref.Synchronized filterInput
10
10
  * @tsplus location "@fncts/io/Ref/api/filter"
11
11
  */
12
- export declare function filterInput<A, A1 extends A>(p: Predicate<A1>, __tsplusTrace?: string): <RA, RB, EA, EB, B>(self: PRef<RA, RB, EA, EB, A, B>) => PRef<RA, RB, import("@fncts/base/data/Maybe.js").Maybe<EA>, EB, A1, B>;
12
+ export declare function filterInput<A, A1 extends A>(p: Predicate<A1>, __tsplusTrace?: string): <RA, RB, EA, EB, B>(self: PRef<RA, RB, EA, EB, A, B>) => PRef<RA, RB, Maybe<EA>, EB, A1, B>;
13
13
  /**
14
14
  * Filters the `get` value of the `Ref` with the specified predicate,
15
15
  * returning a `Ref` with a `get` value that succeeds if the predicate is
@@ -9,7 +9,7 @@ import type { PRef } from "../definition.js";
9
9
  * @tsplus pipeable fncts.io.Ref.Synchronized modify
10
10
  * @tsplus location "@fncts/io/Ref/api/modify"
11
11
  */
12
- export declare function modify<B, A>(f: (a: A) => readonly [B, A], __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<RA | RB, EA | EB, B>;
12
+ export declare function modify<B, A>(f: (a: A) => readonly [B, A], __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => IO<RA | RB, EA | EB, B>;
13
13
  /**
14
14
  * Atomically modifies the `Ref` with the specified partial function,
15
15
  * which computes a return value for the modification if the function is
@@ -19,7 +19,7 @@ export declare function modify<B, A>(f: (a: A) => readonly [B, A], __tsplusTrace
19
19
  * @tsplus pipeable fncts.io.Ref.Synchronized modifyJust
20
20
  * @tsplus location "@fncts/io/Ref/api/modify"
21
21
  */
22
- export declare function modifyJust<A, B>(def: B, f: (a: A) => Maybe<readonly [B, A]>, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<RA | RB, EA | EB, B>;
22
+ export declare function modifyJust<A, B>(def: B, f: (a: A) => Maybe<readonly [B, A]>, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => IO<RA | RB, EA | EB, B>;
23
23
  /**
24
24
  * Atomically writes the specified value to the `Ref`, returning the value
25
25
  * immediately before modification.
@@ -27,7 +27,7 @@ export declare function modifyJust<A, B>(def: B, f: (a: A) => Maybe<readonly [B,
27
27
  * @tsplus pipeable fncts.io.Ref.Synchronized getAndSet
28
28
  * @tsplus location "@fncts/io/Ref/api/modify"
29
29
  */
30
- export declare function getAndSet<A>(a: A, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<RA | RB, EA | EB, A>;
30
+ export declare function getAndSet<A>(a: A, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => IO<RA | RB, EA | EB, A>;
31
31
  /**
32
32
  * Atomically modifies the `Ref` with the specified function, returning
33
33
  * the value immediately before modification.
@@ -35,7 +35,7 @@ export declare function getAndSet<A>(a: A, __tsplusTrace?: string): <RA, RB, EA,
35
35
  * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdate
36
36
  * @tsplus location "@fncts/io/Ref/api/modify"
37
37
  */
38
- export declare function getAndUpdate<A>(f: (a: A) => A, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<RA | RB, EA | EB, A>;
38
+ export declare function getAndUpdate<A>(f: (a: A) => A, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => IO<RA | RB, EA | EB, A>;
39
39
  /**
40
40
  * Atomically modifies the `Ref` with the specified partial function,
41
41
  * returning the value immediately before modification. If the function is
@@ -44,14 +44,14 @@ export declare function getAndUpdate<A>(f: (a: A) => A, __tsplusTrace?: string):
44
44
  * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdateJust
45
45
  * @tsplus location "@fncts/io/Ref/api/modify"
46
46
  */
47
- export declare function getAndUpdateJust<A>(f: (a: A) => Maybe<A>, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<RA | RB, EA | EB, A>;
47
+ export declare function getAndUpdateJust<A>(f: (a: A) => Maybe<A>, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => IO<RA | RB, EA | EB, A>;
48
48
  /**
49
49
  * Atomically modifies the `Ref` with the specified function.
50
50
  * @tsplus pipeable fncts.io.Ref update
51
51
  * @tsplus pipeable fncts.io.Ref.Synchronized update
52
52
  * @tsplus location "@fncts/io/Ref/api/modify"
53
53
  */
54
- export declare function update<A>(f: (a: A) => A, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<RA | RB, EA | EB, void>;
54
+ export declare function update<A>(f: (a: A) => A, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => IO<RA | RB, EA | EB, void>;
55
55
  /**
56
56
  * Atomically modifies the `Ref` with the specified function and returns
57
57
  * the updated value.
@@ -67,7 +67,7 @@ export declare function updateAndGet<A>(f: (a: A) => A, __tsplusTrace?: string):
67
67
  * @tsplus pipeable fncts.io.Ref.Synchronized updateJust
68
68
  * @tsplus location "@fncts/io/Ref/api/modify"
69
69
  */
70
- export declare function updateJust<A>(f: (a: A) => Maybe<A>, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<RA | RB, EA | EB, void>;
70
+ export declare function updateJust<A>(f: (a: A) => Maybe<A>, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => IO<RA | RB, EA | EB, void>;
71
71
  /**
72
72
  * Atomically modifies the `Ref` with the specified partial function. If
73
73
  * the function is undefined on the current value it returns the old value
@@ -76,4 +76,4 @@ export declare function updateJust<A>(f: (a: A) => Maybe<A>, __tsplusTrace?: str
76
76
  * @tsplus pipeable fncts.io.Ref.Synchronized updateJustAndGet
77
77
  * @tsplus location "@fncts/io/Ref/api/modify"
78
78
  */
79
- export declare function updateJustAndGet<A>(f: (a: A) => Maybe<A>, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => import("../../IO.js").IO<RA | RB, EA | EB, A>;
79
+ export declare function updateJustAndGet<A>(f: (a: A) => Maybe<A>, __tsplusTrace?: string): <RA, RB, EA, EB>(self: PRef<RA, RB, EA, EB, A, A>) => IO<RA | RB, EA | EB, A>;
package/Ref/api/set.d.ts CHANGED
@@ -7,4 +7,4 @@ import type { PRef } from "../definition.js";
7
7
  * @tsplus pipeable fncts.io.Ref.Synchronized set
8
8
  * @tsplus location "@fncts/io/Ref/api/set"
9
9
  */
10
- export declare function set<A>(a: A, __tsplusTrace?: string): <RA, RB, EA, EB, B>(self: PRef<RA, RB, EA, EB, A, B>) => import("../../IO.js").IO<RA, EA, void>;
10
+ export declare function set<A>(a: A, __tsplusTrace?: string): <RA, RB, EA, EB, B>(self: PRef<RA, RB, EA, EB, A, B>) => IO<RA, EA, void>;
package/Ref/api.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import type { PRef } from "./definition.js";
2
- export * from "./api/collect.js";
3
- export * from "./api/dimap.js";
4
- export * from "./api/filter.js";
5
- export * from "./api/get.js";
6
- export * from "./api/match.js";
7
- export * from "./api/matchAll.js";
8
- export * from "./api/modify.js";
9
2
  export * from "./api/set.js";
3
+ export * from "./api/modify.js";
4
+ export * from "./api/matchAll.js";
5
+ export * from "./api/match.js";
6
+ export * from "./api/get.js";
7
+ export * from "./api/filter.js";
8
+ export * from "./api/dimap.js";
9
+ export * from "./api/collect.js";
10
10
  /**
11
11
  * Returns a read only view of the `Ref`.
12
12
  * @tsplus getter fncts.io.Ref readOnly