@fncts/io 0.0.52 → 0.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1230) hide show
  1. package/IO/api/asyncIterable.d.ts +27 -0
  2. package/IO.d.ts +1 -0
  3. package/_cjs/Cached/api.cjs +11 -12
  4. package/_cjs/Cached/api.cjs.map +1 -1
  5. package/_cjs/Cached/definition.cjs +1 -3
  6. package/_cjs/Cached/definition.cjs.map +1 -1
  7. package/_cjs/Cached/internal.cjs +3 -4
  8. package/_cjs/Cached/internal.cjs.map +1 -1
  9. package/_cjs/CancellerState.cjs +1 -2
  10. package/_cjs/CancellerState.cjs.map +1 -1
  11. package/_cjs/Channel/ChildExecutorDecision/api.cjs +1 -2
  12. package/_cjs/Channel/ChildExecutorDecision/api.cjs.map +1 -1
  13. package/_cjs/Channel/ChildExecutorDecision/definition.cjs +1 -2
  14. package/_cjs/Channel/ChildExecutorDecision/definition.cjs.map +1 -1
  15. package/_cjs/Channel/UpstreamPullRequest/api.cjs +1 -3
  16. package/_cjs/Channel/UpstreamPullRequest/api.cjs.map +1 -1
  17. package/_cjs/Channel/UpstreamPullRequest/definition.cjs +1 -2
  18. package/_cjs/Channel/UpstreamPullRequest/definition.cjs.map +1 -1
  19. package/_cjs/Channel/UpstreamPullStrategy/definition.cjs +1 -2
  20. package/_cjs/Channel/UpstreamPullStrategy/definition.cjs.map +1 -1
  21. package/_cjs/Channel/api/interruptWhen.cjs +7 -8
  22. package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
  23. package/_cjs/Channel/api/mapOutConcurrentIO.cjs +21 -22
  24. package/_cjs/Channel/api/mapOutConcurrentIO.cjs.map +1 -1
  25. package/_cjs/Channel/api/mergeAll.cjs +3 -4
  26. package/_cjs/Channel/api/mergeAll.cjs.map +1 -1
  27. package/_cjs/Channel/api/mergeAllUnboundedWith.cjs +3 -4
  28. package/_cjs/Channel/api/mergeAllUnboundedWith.cjs.map +1 -1
  29. package/_cjs/Channel/api/mergeAllWith.cjs +28 -29
  30. package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
  31. package/_cjs/Channel/api/mergeMap.cjs +4 -5
  32. package/_cjs/Channel/api/mergeMap.cjs.map +1 -1
  33. package/_cjs/Channel/api/mergeWith.cjs +16 -17
  34. package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
  35. package/_cjs/Channel/api/run.cjs +5 -7
  36. package/_cjs/Channel/api/run.cjs.map +1 -1
  37. package/_cjs/Channel/api/runCollect.cjs +4 -5
  38. package/_cjs/Channel/api/runCollect.cjs.map +1 -1
  39. package/_cjs/Channel/api/runDrain.cjs +4 -5
  40. package/_cjs/Channel/api/runDrain.cjs.map +1 -1
  41. package/_cjs/Channel/api/runScoped.cjs +12 -13
  42. package/_cjs/Channel/api/runScoped.cjs.map +1 -1
  43. package/_cjs/Channel/api/toPull.cjs +6 -7
  44. package/_cjs/Channel/api/toPull.cjs.map +1 -1
  45. package/_cjs/Channel/api/zipConcurrent.cjs +7 -8
  46. package/_cjs/Channel/api/zipConcurrent.cjs.map +1 -1
  47. package/_cjs/Channel/api.cjs +28 -29
  48. package/_cjs/Channel/api.cjs.map +1 -1
  49. package/_cjs/Channel/core-api.cjs +1 -3
  50. package/_cjs/Channel/core-api.cjs.map +1 -1
  51. package/_cjs/Channel/definition.cjs +1 -2
  52. package/_cjs/Channel/definition.cjs.map +1 -1
  53. package/_cjs/Channel/internal/ChannelExecutor.cjs +47 -43
  54. package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
  55. package/_cjs/Channel/internal/ChannelState.cjs +3 -4
  56. package/_cjs/Channel/internal/ChannelState.cjs.map +1 -1
  57. package/_cjs/Channel/internal/MergeDecision.cjs +1 -2
  58. package/_cjs/Channel/internal/MergeDecision.cjs.map +1 -1
  59. package/_cjs/Channel/internal/MergeState.cjs +1 -2
  60. package/_cjs/Channel/internal/MergeState.cjs.map +1 -1
  61. package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +15 -16
  62. package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
  63. package/_cjs/Clock/api.cjs +3 -3
  64. package/_cjs/Clock/api.cjs.map +1 -1
  65. package/_cjs/Clock/definition.cjs +3 -4
  66. package/_cjs/Clock/definition.cjs.map +1 -1
  67. package/_cjs/Clock/live.cjs +6 -7
  68. package/_cjs/Clock/live.cjs.map +1 -1
  69. package/_cjs/Console/api.cjs +4 -6
  70. package/_cjs/Console/api.cjs.map +1 -1
  71. package/_cjs/Console/definition.cjs +3 -4
  72. package/_cjs/Console/definition.cjs.map +1 -1
  73. package/_cjs/Console/live.cjs +3 -4
  74. package/_cjs/Console/live.cjs.map +1 -1
  75. package/_cjs/CountdownLatch.cjs +8 -9
  76. package/_cjs/CountdownLatch.cjs.map +1 -1
  77. package/_cjs/Differ/api.cjs +5 -6
  78. package/_cjs/Differ/api.cjs.map +1 -1
  79. package/_cjs/Differ/definition.cjs +1 -2
  80. package/_cjs/Differ/definition.cjs.map +1 -1
  81. package/_cjs/Fiber/FiberMessage.cjs +1 -2
  82. package/_cjs/Fiber/FiberMessage.cjs.map +1 -1
  83. package/_cjs/Fiber/FiberRuntime.cjs +57 -70
  84. package/_cjs/Fiber/FiberRuntime.cjs.map +1 -1
  85. package/_cjs/Fiber/api/await.cjs +1 -2
  86. package/_cjs/Fiber/api/await.cjs.map +1 -1
  87. package/_cjs/Fiber/api/awaitAll.cjs +5 -6
  88. package/_cjs/Fiber/api/awaitAll.cjs.map +1 -1
  89. package/_cjs/Fiber/api/children.cjs +1 -2
  90. package/_cjs/Fiber/api/children.cjs.map +1 -1
  91. package/_cjs/Fiber/api/collectAll.cjs +20 -21
  92. package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
  93. package/_cjs/Fiber/api/fromIO.cjs +4 -5
  94. package/_cjs/Fiber/api/fromIO.cjs.map +1 -1
  95. package/_cjs/Fiber/api/id.cjs +1 -2
  96. package/_cjs/Fiber/api/id.cjs.map +1 -1
  97. package/_cjs/Fiber/api/inheritRefs.cjs +1 -2
  98. package/_cjs/Fiber/api/inheritRefs.cjs.map +1 -1
  99. package/_cjs/Fiber/api/interrupt.cjs +4 -5
  100. package/_cjs/Fiber/api/interrupt.cjs.map +1 -1
  101. package/_cjs/Fiber/api/interruptAll.cjs +5 -6
  102. package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
  103. package/_cjs/Fiber/api/interruptAs.cjs +1 -2
  104. package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
  105. package/_cjs/Fiber/api/interruptFork.cjs +4 -5
  106. package/_cjs/Fiber/api/interruptFork.cjs.map +1 -1
  107. package/_cjs/Fiber/api/join.cjs +4 -5
  108. package/_cjs/Fiber/api/join.cjs.map +1 -1
  109. package/_cjs/Fiber/api/joinAll.cjs +5 -6
  110. package/_cjs/Fiber/api/joinAll.cjs.map +1 -1
  111. package/_cjs/Fiber/api/location.cjs +1 -2
  112. package/_cjs/Fiber/api/location.cjs.map +1 -1
  113. package/_cjs/Fiber/api/mapFiber.cjs +6 -7
  114. package/_cjs/Fiber/api/mapFiber.cjs.map +1 -1
  115. package/_cjs/Fiber/api/mapIO.cjs +12 -13
  116. package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
  117. package/_cjs/Fiber/api/poll.cjs +1 -2
  118. package/_cjs/Fiber/api/poll.cjs.map +1 -1
  119. package/_cjs/Fiber/api/zipWith.cjs +14 -15
  120. package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
  121. package/_cjs/Fiber/constructors.cjs +8 -10
  122. package/_cjs/Fiber/constructors.cjs.map +1 -1
  123. package/_cjs/Fiber/definition.cjs +5 -7
  124. package/_cjs/Fiber/definition.cjs.map +1 -1
  125. package/_cjs/FiberDescriptor.cjs +1 -2
  126. package/_cjs/FiberDescriptor.cjs.map +1 -1
  127. package/_cjs/FiberRef/api/locallyScoped.cjs +5 -6
  128. package/_cjs/FiberRef/api/locallyScoped.cjs.map +1 -1
  129. package/_cjs/FiberRef/api/locallyScopedWith.cjs +4 -5
  130. package/_cjs/FiberRef/api/locallyScopedWith.cjs.map +1 -1
  131. package/_cjs/FiberRef/api.cjs +1 -2
  132. package/_cjs/FiberRef/api.cjs.map +1 -1
  133. package/_cjs/FiberRef/constructors.cjs +6 -7
  134. package/_cjs/FiberRef/constructors.cjs.map +1 -1
  135. package/_cjs/FiberRef/definition.cjs +6 -7
  136. package/_cjs/FiberRef/definition.cjs.map +1 -1
  137. package/_cjs/FiberRef/operations.cjs +5 -6
  138. package/_cjs/FiberRef/operations.cjs.map +1 -1
  139. package/_cjs/FiberRef/unsafe.cjs +13 -14
  140. package/_cjs/FiberRef/unsafe.cjs.map +1 -1
  141. package/_cjs/FiberRefs/Patch.cjs +8 -11
  142. package/_cjs/FiberRefs/Patch.cjs.map +1 -1
  143. package/_cjs/FiberRefs/api.cjs +10 -11
  144. package/_cjs/FiberRefs/api.cjs.map +1 -1
  145. package/_cjs/FiberRefs/definition.cjs +3 -4
  146. package/_cjs/FiberRefs/definition.cjs.map +1 -1
  147. package/_cjs/FiberScope/constructors.cjs +1 -3
  148. package/_cjs/FiberScope/constructors.cjs.map +1 -1
  149. package/_cjs/FiberScope/definition.cjs +15 -14
  150. package/_cjs/FiberScope/definition.cjs.map +1 -1
  151. package/_cjs/FiberSet.cjs +11 -12
  152. package/_cjs/FiberSet.cjs.map +1 -1
  153. package/_cjs/FiberStatus/constructors.cjs +1 -2
  154. package/_cjs/FiberStatus/constructors.cjs.map +1 -1
  155. package/_cjs/FiberStatus/definition.cjs +3 -4
  156. package/_cjs/FiberStatus/definition.cjs.map +1 -1
  157. package/_cjs/Future/State.cjs +5 -5
  158. package/_cjs/Future/State.cjs.map +1 -1
  159. package/_cjs/Future/api.cjs +9 -14
  160. package/_cjs/Future/api.cjs.map +1 -1
  161. package/_cjs/Future/constructors.cjs +4 -5
  162. package/_cjs/Future/constructors.cjs.map +1 -1
  163. package/_cjs/Future/definition.cjs +1 -2
  164. package/_cjs/Future/definition.cjs.map +1 -1
  165. package/_cjs/Hub/api.cjs +12 -13
  166. package/_cjs/Hub/api.cjs.map +1 -1
  167. package/_cjs/Hub/definition.cjs +1 -3
  168. package/_cjs/Hub/definition.cjs.map +1 -1
  169. package/_cjs/Hub/internal.cjs +17 -18
  170. package/_cjs/Hub/internal.cjs.map +1 -1
  171. package/_cjs/IO/api/acquireRelease.cjs +3 -4
  172. package/_cjs/IO/api/acquireRelease.cjs.map +1 -1
  173. package/_cjs/IO/api/acquireReleaseExit.cjs +5 -6
  174. package/_cjs/IO/api/acquireReleaseExit.cjs.map +1 -1
  175. package/_cjs/IO/api/acquireReleaseInterruptible.cjs +3 -4
  176. package/_cjs/IO/api/acquireReleaseInterruptible.cjs.map +1 -1
  177. package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +5 -6
  178. package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs.map +1 -1
  179. package/_cjs/IO/api/addFinalizer.cjs +3 -4
  180. package/_cjs/IO/api/addFinalizer.cjs.map +1 -1
  181. package/_cjs/IO/api/addFinalizerExit.cjs +6 -7
  182. package/_cjs/IO/api/addFinalizerExit.cjs.map +1 -1
  183. package/_cjs/IO/api/all.cjs +6 -7
  184. package/_cjs/IO/api/all.cjs.map +1 -1
  185. package/_cjs/IO/api/array.cjs +4 -5
  186. package/_cjs/IO/api/array.cjs.map +1 -1
  187. package/_cjs/IO/api/asyncIO.cjs +9 -10
  188. package/_cjs/IO/api/asyncIO.cjs.map +1 -1
  189. package/_cjs/IO/api/asyncInterrupt.cjs +8 -9
  190. package/_cjs/IO/api/asyncInterrupt.cjs.map +1 -1
  191. package/_cjs/IO/api/asyncIterable.cjs +84 -0
  192. package/_cjs/IO/api/asyncIterable.cjs.map +1 -0
  193. package/_cjs/IO/api/awaitAllChildren.cjs +5 -7
  194. package/_cjs/IO/api/awaitAllChildren.cjs.map +1 -1
  195. package/_cjs/IO/api/blocking.cjs +5 -6
  196. package/_cjs/IO/api/blocking.cjs.map +1 -1
  197. package/_cjs/IO/api/bracket.cjs +3 -4
  198. package/_cjs/IO/api/bracket.cjs.map +1 -1
  199. package/_cjs/IO/api/bracketExit.cjs +6 -7
  200. package/_cjs/IO/api/bracketExit.cjs.map +1 -1
  201. package/_cjs/IO/api/cachedInvalidate.cjs +15 -16
  202. package/_cjs/IO/api/cachedInvalidate.cjs.map +1 -1
  203. package/_cjs/IO/api/clockWith.cjs +8 -10
  204. package/_cjs/IO/api/clockWith.cjs.map +1 -1
  205. package/_cjs/IO/api/concurrency.cjs +7 -8
  206. package/_cjs/IO/api/concurrency.cjs.map +1 -1
  207. package/_cjs/IO/api/concurrentFinalizers.cjs +10 -11
  208. package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
  209. package/_cjs/IO/api/consoleWith.cjs +8 -10
  210. package/_cjs/IO/api/consoleWith.cjs.map +1 -1
  211. package/_cjs/IO/api/daemonChildren.cjs +6 -7
  212. package/_cjs/IO/api/daemonChildren.cjs.map +1 -1
  213. package/_cjs/IO/api/delay.cjs +4 -5
  214. package/_cjs/IO/api/delay.cjs.map +1 -1
  215. package/_cjs/IO/api/descriptor.cjs +6 -7
  216. package/_cjs/IO/api/descriptor.cjs.map +1 -1
  217. package/_cjs/IO/api/diffFiberRefs.cjs +4 -5
  218. package/_cjs/IO/api/diffFiberRefs.cjs.map +1 -1
  219. package/_cjs/IO/api/disconnect.cjs +6 -7
  220. package/_cjs/IO/api/disconnect.cjs.map +1 -1
  221. package/_cjs/IO/api/ensuringChildren.cjs +6 -7
  222. package/_cjs/IO/api/ensuringChildren.cjs.map +1 -1
  223. package/_cjs/IO/api/environment.cjs +6 -7
  224. package/_cjs/IO/api/environment.cjs.map +1 -1
  225. package/_cjs/IO/api/foreachConcurrent.cjs +20 -21
  226. package/_cjs/IO/api/foreachConcurrent.cjs.map +1 -1
  227. package/_cjs/IO/api/foreachExec.cjs +7 -8
  228. package/_cjs/IO/api/foreachExec.cjs.map +1 -1
  229. package/_cjs/IO/api/fork.cjs +10 -12
  230. package/_cjs/IO/api/fork.cjs.map +1 -1
  231. package/_cjs/IO/api/forkAll.cjs +5 -6
  232. package/_cjs/IO/api/forkAll.cjs.map +1 -1
  233. package/_cjs/IO/api/forkDaemon.cjs +4 -5
  234. package/_cjs/IO/api/forkDaemon.cjs.map +1 -1
  235. package/_cjs/IO/api/forkIn.cjs +7 -8
  236. package/_cjs/IO/api/forkIn.cjs.map +1 -1
  237. package/_cjs/IO/api/forkScoped.cjs +7 -8
  238. package/_cjs/IO/api/forkScoped.cjs.map +1 -1
  239. package/_cjs/IO/api/fulfill.cjs +5 -6
  240. package/_cjs/IO/api/fulfill.cjs.map +1 -1
  241. package/_cjs/IO/api/interrupt.cjs +8 -9
  242. package/_cjs/IO/api/interrupt.cjs.map +1 -1
  243. package/_cjs/IO/api/memoize.cjs +9 -10
  244. package/_cjs/IO/api/memoize.cjs.map +1 -1
  245. package/_cjs/IO/api/onTermination.cjs +6 -7
  246. package/_cjs/IO/api/onTermination.cjs.map +1 -1
  247. package/_cjs/IO/api/once.cjs +5 -6
  248. package/_cjs/IO/api/once.cjs.map +1 -1
  249. package/_cjs/IO/api/patchFiberRefs.cjs +5 -7
  250. package/_cjs/IO/api/patchFiberRefs.cjs.map +1 -1
  251. package/_cjs/IO/api/provideLayer.cjs +7 -8
  252. package/_cjs/IO/api/provideLayer.cjs.map +1 -1
  253. package/_cjs/IO/api/provideScope.cjs +5 -7
  254. package/_cjs/IO/api/provideScope.cjs.map +1 -1
  255. package/_cjs/IO/api/provideSomeLayer.cjs +4 -5
  256. package/_cjs/IO/api/provideSomeLayer.cjs.map +1 -1
  257. package/_cjs/IO/api/provideSomeRuntime.cjs +8 -9
  258. package/_cjs/IO/api/provideSomeRuntime.cjs.map +1 -1
  259. package/_cjs/IO/api/race.cjs +10 -11
  260. package/_cjs/IO/api/race.cjs.map +1 -1
  261. package/_cjs/IO/api/raceFirst.cjs +4 -5
  262. package/_cjs/IO/api/raceFirst.cjs.map +1 -1
  263. package/_cjs/IO/api/raceWith.cjs +5 -6
  264. package/_cjs/IO/api/raceWith.cjs.map +1 -1
  265. package/_cjs/IO/api/randomWith.cjs +8 -10
  266. package/_cjs/IO/api/randomWith.cjs.map +1 -1
  267. package/_cjs/IO/api/repeat.cjs +7 -8
  268. package/_cjs/IO/api/repeat.cjs.map +1 -1
  269. package/_cjs/IO/api/retry.cjs +6 -7
  270. package/_cjs/IO/api/retry.cjs.map +1 -1
  271. package/_cjs/IO/api/schedule.cjs +4 -5
  272. package/_cjs/IO/api/schedule.cjs.map +1 -1
  273. package/_cjs/IO/api/scope.cjs +4 -4
  274. package/_cjs/IO/api/scope.cjs.map +1 -1
  275. package/_cjs/IO/api/scopeWith.cjs +4 -5
  276. package/_cjs/IO/api/scopeWith.cjs.map +1 -1
  277. package/_cjs/IO/api/scoped.cjs +4 -5
  278. package/_cjs/IO/api/scoped.cjs.map +1 -1
  279. package/_cjs/IO/api/sleep.cjs +3 -4
  280. package/_cjs/IO/api/sleep.cjs.map +1 -1
  281. package/_cjs/IO/api/stateful.cjs +5 -6
  282. package/_cjs/IO/api/stateful.cjs.map +1 -1
  283. package/_cjs/IO/api/supervised.cjs +5 -6
  284. package/_cjs/IO/api/supervised.cjs.map +1 -1
  285. package/_cjs/IO/api/timeout.cjs +9 -10
  286. package/_cjs/IO/api/timeout.cjs.map +1 -1
  287. package/_cjs/IO/api/transplant.cjs +8 -9
  288. package/_cjs/IO/api/transplant.cjs.map +1 -1
  289. package/_cjs/IO/api/whenFiberRef.cjs +4 -5
  290. package/_cjs/IO/api/whenFiberRef.cjs.map +1 -1
  291. package/_cjs/IO/api/whenRef.cjs +4 -5
  292. package/_cjs/IO/api/whenRef.cjs.map +1 -1
  293. package/_cjs/IO/api/withChildren.cjs +6 -7
  294. package/_cjs/IO/api/withChildren.cjs.map +1 -1
  295. package/_cjs/IO/api/withEarlyRelease.cjs +6 -7
  296. package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
  297. package/_cjs/IO/api/withFinalizer.cjs +3 -4
  298. package/_cjs/IO/api/withFinalizer.cjs.map +1 -1
  299. package/_cjs/IO/api/withFinalizerExit.cjs +3 -4
  300. package/_cjs/IO/api/withFinalizerExit.cjs.map +1 -1
  301. package/_cjs/IO/api/zipConcurrent.cjs +15 -16
  302. package/_cjs/IO/api/zipConcurrent.cjs.map +1 -1
  303. package/_cjs/IO/api.cjs +28 -27
  304. package/_cjs/IO/api.cjs.map +1 -1
  305. package/_cjs/IO/definition.cjs +3 -4
  306. package/_cjs/IO/definition.cjs.map +1 -1
  307. package/_cjs/IO/runtime.cjs +21 -20
  308. package/_cjs/IO/runtime.cjs.map +1 -1
  309. package/_cjs/IO.cjs +6 -0
  310. package/_cjs/IOEnv/definition.cjs +9 -10
  311. package/_cjs/IOEnv/definition.cjs.map +1 -1
  312. package/_cjs/IOEnv/live.cjs +9 -10
  313. package/_cjs/IOEnv/live.cjs.map +1 -1
  314. package/_cjs/IOEnv/services.cjs +3 -4
  315. package/_cjs/IOEnv/services.cjs.map +1 -1
  316. package/_cjs/InterruptStatus/constructors.cjs +1 -2
  317. package/_cjs/InterruptStatus/constructors.cjs.map +1 -1
  318. package/_cjs/InterruptStatus/definition.cjs +1 -2
  319. package/_cjs/InterruptStatus/definition.cjs.map +1 -1
  320. package/_cjs/Layer/MemoMap.cjs +23 -24
  321. package/_cjs/Layer/MemoMap.cjs.map +1 -1
  322. package/_cjs/Layer/api.cjs +16 -17
  323. package/_cjs/Layer/api.cjs.map +1 -1
  324. package/_cjs/Layer/definition.cjs +1 -2
  325. package/_cjs/Layer/definition.cjs.map +1 -1
  326. package/_cjs/LogLevel.cjs +1 -2
  327. package/_cjs/LogLevel.cjs.map +1 -1
  328. package/_cjs/LogSpan.cjs +1 -2
  329. package/_cjs/LogSpan.cjs.map +1 -1
  330. package/_cjs/Logger/api.cjs +4 -5
  331. package/_cjs/Logger/api.cjs.map +1 -1
  332. package/_cjs/Logger/constructors.cjs +7 -8
  333. package/_cjs/Logger/constructors.cjs.map +1 -1
  334. package/_cjs/Logger/definition.cjs +1 -2
  335. package/_cjs/Logger/definition.cjs.map +1 -1
  336. package/_cjs/MVar/api.cjs +13 -14
  337. package/_cjs/MVar/api.cjs.map +1 -1
  338. package/_cjs/MVar/definition.cjs +1 -2
  339. package/_cjs/MVar/definition.cjs.map +1 -1
  340. package/_cjs/Push/FlattenStrategy.cjs +20 -21
  341. package/_cjs/Push/FlattenStrategy.cjs.map +1 -1
  342. package/_cjs/Push/IndexedBuffer.cjs +6 -7
  343. package/_cjs/Push/IndexedBuffer.cjs.map +1 -1
  344. package/_cjs/Push/MergeStrategy.cjs +6 -7
  345. package/_cjs/Push/MergeStrategy.cjs.map +1 -1
  346. package/_cjs/Push/Operator/IOLoopOperator.cjs +9 -10
  347. package/_cjs/Push/Operator/IOLoopOperator.cjs.map +1 -1
  348. package/_cjs/Push/Operator/IOOperator.cjs +6 -7
  349. package/_cjs/Push/Operator/IOOperator.cjs.map +1 -1
  350. package/_cjs/Push/Operator/LoopOperator.cjs +6 -7
  351. package/_cjs/Push/Operator/LoopOperator.cjs.map +1 -1
  352. package/_cjs/Push/Operator/SyncOperator.cjs +6 -7
  353. package/_cjs/Push/Operator/SyncOperator.cjs.map +1 -1
  354. package/_cjs/Push/Producer/IOProducer.cjs +6 -7
  355. package/_cjs/Push/Producer/IOProducer.cjs.map +1 -1
  356. package/_cjs/Push/Producer/SyncProducer.cjs +6 -7
  357. package/_cjs/Push/Producer/SyncProducer.cjs.map +1 -1
  358. package/_cjs/Push/Sink.cjs +7 -8
  359. package/_cjs/Push/Sink.cjs.map +1 -1
  360. package/_cjs/Push/api.cjs +17 -18
  361. package/_cjs/Push/api.cjs.map +1 -1
  362. package/_cjs/Push/definition.cjs +7 -8
  363. package/_cjs/Push/definition.cjs.map +1 -1
  364. package/_cjs/Push/internal.cjs +18 -19
  365. package/_cjs/Push/internal.cjs.map +1 -1
  366. package/_cjs/Queue/api/dimapIO.cjs +3 -4
  367. package/_cjs/Queue/api/dimapIO.cjs.map +1 -1
  368. package/_cjs/Queue/api/filterInputIO.cjs +9 -10
  369. package/_cjs/Queue/api/filterInputIO.cjs.map +1 -1
  370. package/_cjs/Queue/api/filterOutputIO.cjs +12 -13
  371. package/_cjs/Queue/api/filterOutputIO.cjs.map +1 -1
  372. package/_cjs/Queue/api/operations.cjs +1 -3
  373. package/_cjs/Queue/api/operations.cjs.map +1 -1
  374. package/_cjs/Queue/api/poll.cjs +4 -5
  375. package/_cjs/Queue/api/poll.cjs.map +1 -1
  376. package/_cjs/Queue/api/takeBetween.cjs +5 -6
  377. package/_cjs/Queue/api/takeBetween.cjs.map +1 -1
  378. package/_cjs/Queue/api/takeN.cjs +3 -4
  379. package/_cjs/Queue/api/takeN.cjs.map +1 -1
  380. package/_cjs/Queue/api/zipWithIO.cjs +6 -7
  381. package/_cjs/Queue/api/zipWithIO.cjs.map +1 -1
  382. package/_cjs/Queue/constructors.cjs +3 -4
  383. package/_cjs/Queue/constructors.cjs.map +1 -1
  384. package/_cjs/Queue/definition.cjs +1 -2
  385. package/_cjs/Queue/definition.cjs.map +1 -1
  386. package/_cjs/Queue/internal.cjs +11 -12
  387. package/_cjs/Queue/internal.cjs.map +1 -1
  388. package/_cjs/Queue/strategy.cjs +8 -9
  389. package/_cjs/Queue/strategy.cjs.map +1 -1
  390. package/_cjs/Random/api.cjs +3 -4
  391. package/_cjs/Random/api.cjs.map +1 -1
  392. package/_cjs/Random/definition.cjs +3 -4
  393. package/_cjs/Random/definition.cjs.map +1 -1
  394. package/_cjs/Random/live.cjs +3 -4
  395. package/_cjs/Random/live.cjs.map +1 -1
  396. package/_cjs/Ref/Atomic.cjs +3 -4
  397. package/_cjs/Ref/Atomic.cjs.map +1 -1
  398. package/_cjs/Ref/Derived.cjs +6 -7
  399. package/_cjs/Ref/Derived.cjs.map +1 -1
  400. package/_cjs/Ref/DerivedAll.cjs +6 -7
  401. package/_cjs/Ref/DerivedAll.cjs.map +1 -1
  402. package/_cjs/Ref/Synchronized/api.cjs +5 -6
  403. package/_cjs/Ref/Synchronized/api.cjs.map +1 -1
  404. package/_cjs/Ref/Synchronized/constructors.cjs +9 -9
  405. package/_cjs/Ref/Synchronized/constructors.cjs.map +1 -1
  406. package/_cjs/Ref/Synchronized/definition.cjs +3 -4
  407. package/_cjs/Ref/Synchronized/definition.cjs.map +1 -1
  408. package/_cjs/Ref/api/collect.cjs +5 -6
  409. package/_cjs/Ref/api/collect.cjs.map +1 -1
  410. package/_cjs/Ref/api/dimap.cjs +4 -5
  411. package/_cjs/Ref/api/dimap.cjs.map +1 -1
  412. package/_cjs/Ref/api/filter.cjs +5 -6
  413. package/_cjs/Ref/api/filter.cjs.map +1 -1
  414. package/_cjs/Ref/api/get.cjs +1 -2
  415. package/_cjs/Ref/api/get.cjs.map +1 -1
  416. package/_cjs/Ref/api/match.cjs +1 -2
  417. package/_cjs/Ref/api/match.cjs.map +1 -1
  418. package/_cjs/Ref/api/matchAll.cjs +1 -2
  419. package/_cjs/Ref/api/matchAll.cjs.map +1 -1
  420. package/_cjs/Ref/api/modify.cjs +3 -4
  421. package/_cjs/Ref/api/modify.cjs.map +1 -1
  422. package/_cjs/Ref/api/set.cjs +1 -2
  423. package/_cjs/Ref/api/set.cjs.map +1 -1
  424. package/_cjs/Ref/api.cjs +5 -7
  425. package/_cjs/Ref/api.cjs.map +1 -1
  426. package/_cjs/Ref/constructors.cjs +3 -4
  427. package/_cjs/Ref/constructors.cjs.map +1 -1
  428. package/_cjs/Ref/definition.cjs +1 -2
  429. package/_cjs/Ref/definition.cjs.map +1 -1
  430. package/_cjs/Reloadable/api.cjs +3 -4
  431. package/_cjs/Reloadable/api.cjs.map +1 -1
  432. package/_cjs/Reloadable/constructors.cjs +14 -14
  433. package/_cjs/Reloadable/constructors.cjs.map +1 -1
  434. package/_cjs/Reloadable/definition.cjs +5 -6
  435. package/_cjs/Reloadable/definition.cjs.map +1 -1
  436. package/_cjs/RuntimeFlags/Patch.cjs +3 -4
  437. package/_cjs/RuntimeFlags/Patch.cjs.map +1 -1
  438. package/_cjs/RuntimeFlags/RuntimeFlags.cjs +3 -4
  439. package/_cjs/RuntimeFlags/RuntimeFlags.cjs.map +1 -1
  440. package/_cjs/STM/api/atomically.cjs +9 -10
  441. package/_cjs/STM/api/atomically.cjs.map +1 -1
  442. package/_cjs/STM/api/core-api.cjs +5 -6
  443. package/_cjs/STM/api/core-api.cjs.map +1 -1
  444. package/_cjs/STM/api/core-constructors.cjs +1 -2
  445. package/_cjs/STM/api/core-constructors.cjs.map +1 -1
  446. package/_cjs/STM/api.cjs +12 -13
  447. package/_cjs/STM/api.cjs.map +1 -1
  448. package/_cjs/STM/definition.cjs +3 -4
  449. package/_cjs/STM/definition.cjs.map +1 -1
  450. package/_cjs/STM/driver.cjs +7 -8
  451. package/_cjs/STM/driver.cjs.map +1 -1
  452. package/_cjs/STM/internal/CommitState.cjs +3 -4
  453. package/_cjs/STM/internal/CommitState.cjs.map +1 -1
  454. package/_cjs/STM/internal/Entry.cjs +1 -2
  455. package/_cjs/STM/internal/Entry.cjs.map +1 -1
  456. package/_cjs/STM/internal/Journal.cjs +16 -17
  457. package/_cjs/STM/internal/Journal.cjs.map +1 -1
  458. package/_cjs/STM/internal/TryCommit.cjs +1 -2
  459. package/_cjs/STM/internal/TryCommit.cjs.map +1 -1
  460. package/_cjs/STM/internal/Versioned.cjs +1 -2
  461. package/_cjs/STM/internal/Versioned.cjs.map +1 -1
  462. package/_cjs/Schedule/Decision.cjs +4 -5
  463. package/_cjs/Schedule/Decision.cjs.map +1 -1
  464. package/_cjs/Schedule/Driver.cjs +1 -2
  465. package/_cjs/Schedule/Driver.cjs.map +1 -1
  466. package/_cjs/Schedule/api/driver.cjs +14 -15
  467. package/_cjs/Schedule/api/driver.cjs.map +1 -1
  468. package/_cjs/Schedule/api.cjs +20 -21
  469. package/_cjs/Schedule/api.cjs.map +1 -1
  470. package/_cjs/Schedule/definition.cjs +1 -2
  471. package/_cjs/Schedule/definition.cjs.map +1 -1
  472. package/_cjs/Scope/Finalizer/definition.cjs +4 -5
  473. package/_cjs/Scope/Finalizer/definition.cjs.map +1 -1
  474. package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +10 -11
  475. package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
  476. package/_cjs/Scope/ReleaseMap/api.cjs +8 -9
  477. package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
  478. package/_cjs/Scope/ReleaseMap/constructors.cjs +5 -6
  479. package/_cjs/Scope/ReleaseMap/constructors.cjs.map +1 -1
  480. package/_cjs/Scope/ReleaseMap/definition.cjs +3 -4
  481. package/_cjs/Scope/ReleaseMap/definition.cjs.map +1 -1
  482. package/_cjs/Scope/api.cjs +13 -14
  483. package/_cjs/Scope/api.cjs.map +1 -1
  484. package/_cjs/Scope/definition.cjs +4 -5
  485. package/_cjs/Scope/definition.cjs.map +1 -1
  486. package/_cjs/ScopedRef/api.cjs +14 -15
  487. package/_cjs/ScopedRef/api.cjs.map +1 -1
  488. package/_cjs/ScopedRef/definition.cjs +1 -2
  489. package/_cjs/ScopedRef/definition.cjs.map +1 -1
  490. package/_cjs/Semaphore/Reservation.cjs +3 -4
  491. package/_cjs/Semaphore/Reservation.cjs.map +1 -1
  492. package/_cjs/Semaphore/constructors.cjs +4 -5
  493. package/_cjs/Semaphore/constructors.cjs.map +1 -1
  494. package/_cjs/Semaphore/definition.cjs +19 -20
  495. package/_cjs/Semaphore/definition.cjs.map +1 -1
  496. package/_cjs/Sink/api.cjs +35 -36
  497. package/_cjs/Sink/api.cjs.map +1 -1
  498. package/_cjs/Sink/definition.cjs +1 -2
  499. package/_cjs/Sink/definition.cjs.map +1 -1
  500. package/_cjs/State/api.cjs +6 -7
  501. package/_cjs/State/api.cjs.map +1 -1
  502. package/_cjs/State/definition.cjs +1 -2
  503. package/_cjs/State/definition.cjs.map +1 -1
  504. package/_cjs/State/internal.cjs +1 -2
  505. package/_cjs/State/internal.cjs.map +1 -1
  506. package/_cjs/Stream/api/zipAllWith.cjs +10 -11
  507. package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
  508. package/_cjs/Stream/api/zipWith.cjs +3 -4
  509. package/_cjs/Stream/api/zipWith.cjs.map +1 -1
  510. package/_cjs/Stream/api/zipWithChunks.cjs +8 -9
  511. package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
  512. package/_cjs/Stream/api.cjs +73 -73
  513. package/_cjs/Stream/api.cjs.map +1 -1
  514. package/_cjs/Stream/definition.cjs +1 -2
  515. package/_cjs/Stream/definition.cjs.map +1 -1
  516. package/_cjs/Stream/internal/DebounceState.cjs +1 -2
  517. package/_cjs/Stream/internal/DebounceState.cjs.map +1 -1
  518. package/_cjs/Stream/internal/Handoff.cjs +8 -9
  519. package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
  520. package/_cjs/Stream/internal/Pull.cjs +8 -9
  521. package/_cjs/Stream/internal/Pull.cjs.map +1 -1
  522. package/_cjs/Stream/internal/SinkEndReason.cjs +1 -2
  523. package/_cjs/Stream/internal/SinkEndReason.cjs.map +1 -1
  524. package/_cjs/Stream/internal/Take.cjs +12 -13
  525. package/_cjs/Stream/internal/Take.cjs.map +1 -1
  526. package/_cjs/Stream/internal/util.cjs +5 -6
  527. package/_cjs/Stream/internal/util.cjs.map +1 -1
  528. package/_cjs/Subject/Atomic.cjs +7 -8
  529. package/_cjs/Subject/Atomic.cjs.map +1 -1
  530. package/_cjs/Subject/DeferredRef.cjs +10 -11
  531. package/_cjs/Subject/DeferredRef.cjs.map +1 -1
  532. package/_cjs/Subject/Hold.cjs +8 -9
  533. package/_cjs/Subject/Hold.cjs.map +1 -1
  534. package/_cjs/Subject/RefSubject/Atomic.cjs +33 -38
  535. package/_cjs/Subject/RefSubject/Atomic.cjs.map +1 -1
  536. package/_cjs/Subject/RefSubject/Derived.cjs +5 -6
  537. package/_cjs/Subject/RefSubject/Derived.cjs.map +1 -1
  538. package/_cjs/Subject/RefSubject/RefSubject.cjs +1 -2
  539. package/_cjs/Subject/RefSubject/RefSubject.cjs.map +1 -1
  540. package/_cjs/Subject/RefSubject/constructors.cjs +9 -10
  541. package/_cjs/Subject/RefSubject/constructors.cjs.map +1 -1
  542. package/_cjs/Subject/api.cjs +4 -6
  543. package/_cjs/Subject/api.cjs.map +1 -1
  544. package/_cjs/Subject/definition.cjs +1 -2
  545. package/_cjs/Subject/definition.cjs.map +1 -1
  546. package/_cjs/SubscriptionRef.cjs +9 -10
  547. package/_cjs/SubscriptionRef.cjs.map +1 -1
  548. package/_cjs/Supervisor/api.cjs +4 -5
  549. package/_cjs/Supervisor/api.cjs.map +1 -1
  550. package/_cjs/Supervisor/constructors.cjs +6 -7
  551. package/_cjs/Supervisor/constructors.cjs.map +1 -1
  552. package/_cjs/Supervisor/definition.cjs +4 -6
  553. package/_cjs/Supervisor/definition.cjs.map +1 -1
  554. package/_cjs/SupervisorPatch.cjs +6 -7
  555. package/_cjs/SupervisorPatch.cjs.map +1 -1
  556. package/_cjs/TExit/constructors.cjs +1 -2
  557. package/_cjs/TExit/constructors.cjs.map +1 -1
  558. package/_cjs/TExit/definition.cjs +7 -8
  559. package/_cjs/TExit/definition.cjs.map +1 -1
  560. package/_cjs/TFuture/api.cjs +11 -12
  561. package/_cjs/TFuture/api.cjs.map +1 -1
  562. package/_cjs/TFuture/constructors.cjs +7 -8
  563. package/_cjs/TFuture/constructors.cjs.map +1 -1
  564. package/_cjs/TFuture/definition.cjs +3 -4
  565. package/_cjs/TFuture/definition.cjs.map +1 -1
  566. package/_cjs/TReentrantLock/api.cjs +13 -14
  567. package/_cjs/TReentrantLock/api.cjs.map +1 -1
  568. package/_cjs/TReentrantLock/definition.cjs +7 -8
  569. package/_cjs/TReentrantLock/definition.cjs.map +1 -1
  570. package/_cjs/TRef/api.cjs +4 -5
  571. package/_cjs/TRef/api.cjs.map +1 -1
  572. package/_cjs/TRef/constructors.cjs +15 -9
  573. package/_cjs/TRef/constructors.cjs.map +1 -1
  574. package/_cjs/TRef/definition.cjs +9 -10
  575. package/_cjs/TRef/definition.cjs.map +1 -1
  576. package/_cjs/TSemaphore/api.cjs +7 -8
  577. package/_cjs/TSemaphore/api.cjs.map +1 -1
  578. package/_cjs/TSemaphore/constructors.cjs +6 -7
  579. package/_cjs/TSemaphore/constructors.cjs.map +1 -1
  580. package/_cjs/TSemaphore/definition.cjs +3 -4
  581. package/_cjs/TSemaphore/definition.cjs.map +1 -1
  582. package/_cjs/TxnId.cjs +1 -3
  583. package/_cjs/TxnId.cjs.map +1 -1
  584. package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +5 -6
  585. package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
  586. package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +5 -6
  587. package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
  588. package/_cjs/collection/immutable/Conc/filterIO.cjs +3 -4
  589. package/_cjs/collection/immutable/Conc/filterIO.cjs.map +1 -1
  590. package/_cjs/collection/immutable/Conc/findIO.cjs +4 -5
  591. package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
  592. package/_cjs/collection/immutable/Conc/mapIO.cjs +3 -4
  593. package/_cjs/collection/immutable/Conc/mapIO.cjs.map +1 -1
  594. package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +5 -6
  595. package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
  596. package/_cjs/data/Exit/foreachIO.cjs +5 -6
  597. package/_cjs/data/Exit/foreachIO.cjs.map +1 -1
  598. package/_cjs/internal/BackgroundScheduler.cjs +1 -2
  599. package/_cjs/internal/BackgroundScheduler.cjs.map +1 -1
  600. package/_cjs/internal/HashedPair.cjs +6 -7
  601. package/_cjs/internal/HashedPair.cjs.map +1 -1
  602. package/_cjs/internal/Hub.cjs +6 -7
  603. package/_cjs/internal/Hub.cjs.map +1 -1
  604. package/_cjs/internal/IsFatal.cjs +1 -6
  605. package/_cjs/internal/IsFatal.cjs.map +1 -1
  606. package/_cjs/internal/MutableQueue.cjs +4 -5
  607. package/_cjs/internal/MutableQueue.cjs.map +1 -1
  608. package/_cjs/internal/Scheduler.cjs +3 -4
  609. package/_cjs/internal/Scheduler.cjs.map +1 -1
  610. package/_cjs/internal/StackTraceBuilder.cjs +4 -5
  611. package/_cjs/internal/StackTraceBuilder.cjs.map +1 -1
  612. package/_cjs/{chunk.cjs → rolldown-runtime.cjs} +2 -3
  613. package/_mjs/Cached/api.mjs +1 -2
  614. package/_mjs/Cached/api.mjs.map +1 -1
  615. package/_mjs/Cached/definition.mjs +1 -2
  616. package/_mjs/Cached/definition.mjs.map +1 -1
  617. package/_mjs/Cached/internal.mjs +1 -2
  618. package/_mjs/Cached/internal.mjs.map +1 -1
  619. package/_mjs/CancellerState.mjs +1 -2
  620. package/_mjs/CancellerState.mjs.map +1 -1
  621. package/_mjs/Channel/ChildExecutorDecision/api.mjs +1 -2
  622. package/_mjs/Channel/ChildExecutorDecision/api.mjs.map +1 -1
  623. package/_mjs/Channel/ChildExecutorDecision/definition.mjs +1 -2
  624. package/_mjs/Channel/ChildExecutorDecision/definition.mjs.map +1 -1
  625. package/_mjs/Channel/UpstreamPullRequest/api.mjs +1 -2
  626. package/_mjs/Channel/UpstreamPullRequest/api.mjs.map +1 -1
  627. package/_mjs/Channel/UpstreamPullRequest/definition.mjs +1 -2
  628. package/_mjs/Channel/UpstreamPullRequest/definition.mjs.map +1 -1
  629. package/_mjs/Channel/UpstreamPullStrategy/definition.mjs +1 -2
  630. package/_mjs/Channel/UpstreamPullStrategy/definition.mjs.map +1 -1
  631. package/_mjs/Channel/UpstreamPullStrategy.mjs +1 -2
  632. package/_mjs/Channel/api/interruptWhen.mjs +1 -2
  633. package/_mjs/Channel/api/interruptWhen.mjs.map +1 -1
  634. package/_mjs/Channel/api/mapOutConcurrentIO.mjs +1 -2
  635. package/_mjs/Channel/api/mapOutConcurrentIO.mjs.map +1 -1
  636. package/_mjs/Channel/api/mergeAll.mjs +1 -2
  637. package/_mjs/Channel/api/mergeAll.mjs.map +1 -1
  638. package/_mjs/Channel/api/mergeAllUnboundedWith.mjs +1 -2
  639. package/_mjs/Channel/api/mergeAllUnboundedWith.mjs.map +1 -1
  640. package/_mjs/Channel/api/mergeAllWith.mjs +1 -2
  641. package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -1
  642. package/_mjs/Channel/api/mergeMap.mjs +1 -2
  643. package/_mjs/Channel/api/mergeMap.mjs.map +1 -1
  644. package/_mjs/Channel/api/mergeWith.mjs +1 -2
  645. package/_mjs/Channel/api/mergeWith.mjs.map +1 -1
  646. package/_mjs/Channel/api/run.mjs +2 -4
  647. package/_mjs/Channel/api/run.mjs.map +1 -1
  648. package/_mjs/Channel/api/runCollect.mjs +1 -2
  649. package/_mjs/Channel/api/runCollect.mjs.map +1 -1
  650. package/_mjs/Channel/api/runDrain.mjs +1 -2
  651. package/_mjs/Channel/api/runDrain.mjs.map +1 -1
  652. package/_mjs/Channel/api/runScoped.mjs +1 -2
  653. package/_mjs/Channel/api/runScoped.mjs.map +1 -1
  654. package/_mjs/Channel/api/toPull.mjs +1 -2
  655. package/_mjs/Channel/api/toPull.mjs.map +1 -1
  656. package/_mjs/Channel/api/zipConcurrent.mjs +1 -2
  657. package/_mjs/Channel/api/zipConcurrent.mjs.map +1 -1
  658. package/_mjs/Channel/api.mjs +1 -2
  659. package/_mjs/Channel/api.mjs.map +1 -1
  660. package/_mjs/Channel/core-api.mjs +1 -2
  661. package/_mjs/Channel/core-api.mjs.map +1 -1
  662. package/_mjs/Channel/definition.mjs +1 -2
  663. package/_mjs/Channel/definition.mjs.map +1 -1
  664. package/_mjs/Channel/internal/ChannelExecutor.mjs +21 -17
  665. package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
  666. package/_mjs/Channel/internal/ChannelState.mjs +1 -2
  667. package/_mjs/Channel/internal/ChannelState.mjs.map +1 -1
  668. package/_mjs/Channel/internal/MergeDecision.mjs +1 -2
  669. package/_mjs/Channel/internal/MergeDecision.mjs.map +1 -1
  670. package/_mjs/Channel/internal/MergeState.mjs +1 -2
  671. package/_mjs/Channel/internal/MergeState.mjs.map +1 -1
  672. package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +1 -2
  673. package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -1
  674. package/_mjs/Clock/api.mjs +1 -1
  675. package/_mjs/Clock/api.mjs.map +1 -1
  676. package/_mjs/Clock/definition.mjs +1 -2
  677. package/_mjs/Clock/definition.mjs.map +1 -1
  678. package/_mjs/Clock/live.mjs +1 -2
  679. package/_mjs/Clock/live.mjs.map +1 -1
  680. package/_mjs/Console/api.mjs +2 -4
  681. package/_mjs/Console/api.mjs.map +1 -1
  682. package/_mjs/Console/definition.mjs +1 -2
  683. package/_mjs/Console/definition.mjs.map +1 -1
  684. package/_mjs/Console/live.mjs +1 -2
  685. package/_mjs/Console/live.mjs.map +1 -1
  686. package/_mjs/CountdownLatch.mjs +1 -2
  687. package/_mjs/CountdownLatch.mjs.map +1 -1
  688. package/_mjs/Differ/api.mjs +1 -2
  689. package/_mjs/Differ/api.mjs.map +1 -1
  690. package/_mjs/Differ/definition.mjs +1 -2
  691. package/_mjs/Differ/definition.mjs.map +1 -1
  692. package/_mjs/Fiber/FiberMessage.mjs +1 -2
  693. package/_mjs/Fiber/FiberMessage.mjs.map +1 -1
  694. package/_mjs/Fiber/FiberRuntime.mjs +23 -36
  695. package/_mjs/Fiber/FiberRuntime.mjs.map +1 -1
  696. package/_mjs/Fiber/api/await.mjs +1 -2
  697. package/_mjs/Fiber/api/await.mjs.map +1 -1
  698. package/_mjs/Fiber/api/awaitAll.mjs +1 -2
  699. package/_mjs/Fiber/api/awaitAll.mjs.map +1 -1
  700. package/_mjs/Fiber/api/children.mjs +1 -2
  701. package/_mjs/Fiber/api/children.mjs.map +1 -1
  702. package/_mjs/Fiber/api/collectAll.mjs +1 -2
  703. package/_mjs/Fiber/api/collectAll.mjs.map +1 -1
  704. package/_mjs/Fiber/api/fromIO.mjs +1 -2
  705. package/_mjs/Fiber/api/fromIO.mjs.map +1 -1
  706. package/_mjs/Fiber/api/id.mjs +1 -2
  707. package/_mjs/Fiber/api/id.mjs.map +1 -1
  708. package/_mjs/Fiber/api/inheritRefs.mjs +1 -2
  709. package/_mjs/Fiber/api/inheritRefs.mjs.map +1 -1
  710. package/_mjs/Fiber/api/interrupt.mjs +1 -2
  711. package/_mjs/Fiber/api/interrupt.mjs.map +1 -1
  712. package/_mjs/Fiber/api/interruptAll.mjs +1 -2
  713. package/_mjs/Fiber/api/interruptAll.mjs.map +1 -1
  714. package/_mjs/Fiber/api/interruptAs.mjs +1 -2
  715. package/_mjs/Fiber/api/interruptAs.mjs.map +1 -1
  716. package/_mjs/Fiber/api/interruptFork.mjs +1 -2
  717. package/_mjs/Fiber/api/interruptFork.mjs.map +1 -1
  718. package/_mjs/Fiber/api/join.mjs +1 -2
  719. package/_mjs/Fiber/api/join.mjs.map +1 -1
  720. package/_mjs/Fiber/api/joinAll.mjs +1 -2
  721. package/_mjs/Fiber/api/joinAll.mjs.map +1 -1
  722. package/_mjs/Fiber/api/location.mjs +1 -2
  723. package/_mjs/Fiber/api/location.mjs.map +1 -1
  724. package/_mjs/Fiber/api/mapFiber.mjs +1 -2
  725. package/_mjs/Fiber/api/mapFiber.mjs.map +1 -1
  726. package/_mjs/Fiber/api/mapIO.mjs +1 -2
  727. package/_mjs/Fiber/api/mapIO.mjs.map +1 -1
  728. package/_mjs/Fiber/api/poll.mjs +1 -2
  729. package/_mjs/Fiber/api/poll.mjs.map +1 -1
  730. package/_mjs/Fiber/api/zipWith.mjs +1 -2
  731. package/_mjs/Fiber/api/zipWith.mjs.map +1 -1
  732. package/_mjs/Fiber/constructors.mjs +2 -4
  733. package/_mjs/Fiber/constructors.mjs.map +1 -1
  734. package/_mjs/Fiber/definition.mjs +2 -4
  735. package/_mjs/Fiber/definition.mjs.map +1 -1
  736. package/_mjs/FiberDescriptor.mjs +1 -2
  737. package/_mjs/FiberDescriptor.mjs.map +1 -1
  738. package/_mjs/FiberRef/api/locallyScoped.mjs +1 -2
  739. package/_mjs/FiberRef/api/locallyScoped.mjs.map +1 -1
  740. package/_mjs/FiberRef/api/locallyScopedWith.mjs +1 -2
  741. package/_mjs/FiberRef/api/locallyScopedWith.mjs.map +1 -1
  742. package/_mjs/FiberRef/api.mjs +1 -2
  743. package/_mjs/FiberRef/api.mjs.map +1 -1
  744. package/_mjs/FiberRef/constructors.mjs +1 -2
  745. package/_mjs/FiberRef/constructors.mjs.map +1 -1
  746. package/_mjs/FiberRef/definition.mjs +1 -2
  747. package/_mjs/FiberRef/definition.mjs.map +1 -1
  748. package/_mjs/FiberRef/operations.mjs +1 -2
  749. package/_mjs/FiberRef/operations.mjs.map +1 -1
  750. package/_mjs/FiberRef/unsafe.mjs +1 -2
  751. package/_mjs/FiberRef/unsafe.mjs.map +1 -1
  752. package/_mjs/FiberRefs/Patch.mjs +1 -4
  753. package/_mjs/FiberRefs/Patch.mjs.map +1 -1
  754. package/_mjs/FiberRefs/api.mjs +1 -2
  755. package/_mjs/FiberRefs/api.mjs.map +1 -1
  756. package/_mjs/FiberRefs/definition.mjs +1 -2
  757. package/_mjs/FiberRefs/definition.mjs.map +1 -1
  758. package/_mjs/FiberScope/constructors.mjs +1 -2
  759. package/_mjs/FiberScope/constructors.mjs.map +1 -1
  760. package/_mjs/FiberScope/definition.mjs +9 -8
  761. package/_mjs/FiberScope/definition.mjs.map +1 -1
  762. package/_mjs/FiberSet.mjs +1 -2
  763. package/_mjs/FiberSet.mjs.map +1 -1
  764. package/_mjs/FiberStatus/constructors.mjs +1 -2
  765. package/_mjs/FiberStatus/constructors.mjs.map +1 -1
  766. package/_mjs/FiberStatus/definition.mjs +1 -2
  767. package/_mjs/FiberStatus/definition.mjs.map +1 -1
  768. package/_mjs/Future/State.mjs +5 -5
  769. package/_mjs/Future/State.mjs.map +1 -1
  770. package/_mjs/Future/api.mjs +3 -8
  771. package/_mjs/Future/api.mjs.map +1 -1
  772. package/_mjs/Future/constructors.mjs +1 -2
  773. package/_mjs/Future/constructors.mjs.map +1 -1
  774. package/_mjs/Future/definition.mjs +1 -2
  775. package/_mjs/Future/definition.mjs.map +1 -1
  776. package/_mjs/Hub/api.mjs +1 -2
  777. package/_mjs/Hub/api.mjs.map +1 -1
  778. package/_mjs/Hub/definition.mjs +1 -2
  779. package/_mjs/Hub/definition.mjs.map +1 -1
  780. package/_mjs/Hub/internal.mjs +1 -2
  781. package/_mjs/Hub/internal.mjs.map +1 -1
  782. package/_mjs/IO/api/acquireRelease.mjs +1 -2
  783. package/_mjs/IO/api/acquireRelease.mjs.map +1 -1
  784. package/_mjs/IO/api/acquireReleaseExit.mjs +1 -2
  785. package/_mjs/IO/api/acquireReleaseExit.mjs.map +1 -1
  786. package/_mjs/IO/api/acquireReleaseInterruptible.mjs +1 -2
  787. package/_mjs/IO/api/acquireReleaseInterruptible.mjs.map +1 -1
  788. package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs +1 -2
  789. package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs.map +1 -1
  790. package/_mjs/IO/api/addFinalizer.mjs +1 -2
  791. package/_mjs/IO/api/addFinalizer.mjs.map +1 -1
  792. package/_mjs/IO/api/addFinalizerExit.mjs +1 -2
  793. package/_mjs/IO/api/addFinalizerExit.mjs.map +1 -1
  794. package/_mjs/IO/api/all.mjs +1 -2
  795. package/_mjs/IO/api/all.mjs.map +1 -1
  796. package/_mjs/IO/api/array.mjs +1 -2
  797. package/_mjs/IO/api/array.mjs.map +1 -1
  798. package/_mjs/IO/api/asyncIO.mjs +1 -2
  799. package/_mjs/IO/api/asyncIO.mjs.map +1 -1
  800. package/_mjs/IO/api/asyncInterrupt.mjs +1 -2
  801. package/_mjs/IO/api/asyncInterrupt.mjs.map +1 -1
  802. package/_mjs/IO/api/asyncIterable.mjs +74 -0
  803. package/_mjs/IO/api/asyncIterable.mjs.map +1 -0
  804. package/_mjs/IO/api/awaitAllChildren.mjs +2 -4
  805. package/_mjs/IO/api/awaitAllChildren.mjs.map +1 -1
  806. package/_mjs/IO/api/blocking.mjs +1 -2
  807. package/_mjs/IO/api/blocking.mjs.map +1 -1
  808. package/_mjs/IO/api/bracket.mjs +1 -2
  809. package/_mjs/IO/api/bracket.mjs.map +1 -1
  810. package/_mjs/IO/api/bracketExit.mjs +1 -2
  811. package/_mjs/IO/api/bracketExit.mjs.map +1 -1
  812. package/_mjs/IO/api/cachedInvalidate.mjs +1 -2
  813. package/_mjs/IO/api/cachedInvalidate.mjs.map +1 -1
  814. package/_mjs/IO/api/clockWith.mjs +2 -4
  815. package/_mjs/IO/api/clockWith.mjs.map +1 -1
  816. package/_mjs/IO/api/concurrency.mjs +1 -2
  817. package/_mjs/IO/api/concurrency.mjs.map +1 -1
  818. package/_mjs/IO/api/concurrentFinalizers.mjs +1 -2
  819. package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -1
  820. package/_mjs/IO/api/consoleWith.mjs +2 -4
  821. package/_mjs/IO/api/consoleWith.mjs.map +1 -1
  822. package/_mjs/IO/api/daemonChildren.mjs +1 -2
  823. package/_mjs/IO/api/daemonChildren.mjs.map +1 -1
  824. package/_mjs/IO/api/delay.mjs +1 -2
  825. package/_mjs/IO/api/delay.mjs.map +1 -1
  826. package/_mjs/IO/api/descriptor.mjs +1 -2
  827. package/_mjs/IO/api/descriptor.mjs.map +1 -1
  828. package/_mjs/IO/api/diffFiberRefs.mjs +1 -2
  829. package/_mjs/IO/api/diffFiberRefs.mjs.map +1 -1
  830. package/_mjs/IO/api/disconnect.mjs +1 -2
  831. package/_mjs/IO/api/disconnect.mjs.map +1 -1
  832. package/_mjs/IO/api/ensuringChildren.mjs +1 -2
  833. package/_mjs/IO/api/ensuringChildren.mjs.map +1 -1
  834. package/_mjs/IO/api/environment.mjs +1 -2
  835. package/_mjs/IO/api/environment.mjs.map +1 -1
  836. package/_mjs/IO/api/foreachConcurrent.mjs +1 -2
  837. package/_mjs/IO/api/foreachConcurrent.mjs.map +1 -1
  838. package/_mjs/IO/api/foreachExec.mjs +1 -2
  839. package/_mjs/IO/api/foreachExec.mjs.map +1 -1
  840. package/_mjs/IO/api/fork.mjs +2 -4
  841. package/_mjs/IO/api/fork.mjs.map +1 -1
  842. package/_mjs/IO/api/forkAll.mjs +1 -2
  843. package/_mjs/IO/api/forkAll.mjs.map +1 -1
  844. package/_mjs/IO/api/forkDaemon.mjs +1 -2
  845. package/_mjs/IO/api/forkDaemon.mjs.map +1 -1
  846. package/_mjs/IO/api/forkIn.mjs +1 -2
  847. package/_mjs/IO/api/forkIn.mjs.map +1 -1
  848. package/_mjs/IO/api/forkScoped.mjs +1 -2
  849. package/_mjs/IO/api/forkScoped.mjs.map +1 -1
  850. package/_mjs/IO/api/fulfill.mjs +1 -2
  851. package/_mjs/IO/api/fulfill.mjs.map +1 -1
  852. package/_mjs/IO/api/interrupt.mjs +1 -2
  853. package/_mjs/IO/api/interrupt.mjs.map +1 -1
  854. package/_mjs/IO/api/memoize.mjs +1 -2
  855. package/_mjs/IO/api/memoize.mjs.map +1 -1
  856. package/_mjs/IO/api/onTermination.mjs +1 -2
  857. package/_mjs/IO/api/onTermination.mjs.map +1 -1
  858. package/_mjs/IO/api/once.mjs +1 -2
  859. package/_mjs/IO/api/once.mjs.map +1 -1
  860. package/_mjs/IO/api/patchFiberRefs.mjs +2 -4
  861. package/_mjs/IO/api/patchFiberRefs.mjs.map +1 -1
  862. package/_mjs/IO/api/provideLayer.mjs +1 -2
  863. package/_mjs/IO/api/provideLayer.mjs.map +1 -1
  864. package/_mjs/IO/api/provideScope.mjs +2 -4
  865. package/_mjs/IO/api/provideScope.mjs.map +1 -1
  866. package/_mjs/IO/api/provideSomeLayer.mjs +1 -2
  867. package/_mjs/IO/api/provideSomeLayer.mjs.map +1 -1
  868. package/_mjs/IO/api/provideSomeRuntime.mjs +1 -2
  869. package/_mjs/IO/api/provideSomeRuntime.mjs.map +1 -1
  870. package/_mjs/IO/api/race.mjs +1 -2
  871. package/_mjs/IO/api/race.mjs.map +1 -1
  872. package/_mjs/IO/api/raceFirst.mjs +1 -2
  873. package/_mjs/IO/api/raceFirst.mjs.map +1 -1
  874. package/_mjs/IO/api/raceWith.mjs +1 -2
  875. package/_mjs/IO/api/raceWith.mjs.map +1 -1
  876. package/_mjs/IO/api/randomWith.mjs +2 -4
  877. package/_mjs/IO/api/randomWith.mjs.map +1 -1
  878. package/_mjs/IO/api/repeat.mjs +1 -2
  879. package/_mjs/IO/api/repeat.mjs.map +1 -1
  880. package/_mjs/IO/api/retry.mjs +1 -2
  881. package/_mjs/IO/api/retry.mjs.map +1 -1
  882. package/_mjs/IO/api/schedule.mjs +1 -2
  883. package/_mjs/IO/api/schedule.mjs.map +1 -1
  884. package/_mjs/IO/api/scope.mjs +1 -1
  885. package/_mjs/IO/api/scope.mjs.map +1 -1
  886. package/_mjs/IO/api/scopeWith.mjs +1 -2
  887. package/_mjs/IO/api/scopeWith.mjs.map +1 -1
  888. package/_mjs/IO/api/scoped.mjs +1 -2
  889. package/_mjs/IO/api/scoped.mjs.map +1 -1
  890. package/_mjs/IO/api/sleep.mjs +1 -2
  891. package/_mjs/IO/api/sleep.mjs.map +1 -1
  892. package/_mjs/IO/api/stateful.mjs +1 -2
  893. package/_mjs/IO/api/stateful.mjs.map +1 -1
  894. package/_mjs/IO/api/supervised.mjs +1 -2
  895. package/_mjs/IO/api/supervised.mjs.map +1 -1
  896. package/_mjs/IO/api/timeout.mjs +1 -2
  897. package/_mjs/IO/api/timeout.mjs.map +1 -1
  898. package/_mjs/IO/api/transplant.mjs +1 -2
  899. package/_mjs/IO/api/transplant.mjs.map +1 -1
  900. package/_mjs/IO/api/whenFiberRef.mjs +1 -2
  901. package/_mjs/IO/api/whenFiberRef.mjs.map +1 -1
  902. package/_mjs/IO/api/whenRef.mjs +1 -2
  903. package/_mjs/IO/api/whenRef.mjs.map +1 -1
  904. package/_mjs/IO/api/withChildren.mjs +1 -2
  905. package/_mjs/IO/api/withChildren.mjs.map +1 -1
  906. package/_mjs/IO/api/withEarlyRelease.mjs +1 -2
  907. package/_mjs/IO/api/withEarlyRelease.mjs.map +1 -1
  908. package/_mjs/IO/api/withFinalizer.mjs +1 -2
  909. package/_mjs/IO/api/withFinalizer.mjs.map +1 -1
  910. package/_mjs/IO/api/withFinalizerExit.mjs +1 -2
  911. package/_mjs/IO/api/withFinalizerExit.mjs.map +1 -1
  912. package/_mjs/IO/api/zipConcurrent.mjs +1 -2
  913. package/_mjs/IO/api/zipConcurrent.mjs.map +1 -1
  914. package/_mjs/IO/api.mjs +5 -4
  915. package/_mjs/IO/api.mjs.map +1 -1
  916. package/_mjs/IO/definition.mjs +1 -2
  917. package/_mjs/IO/definition.mjs.map +1 -1
  918. package/_mjs/IO/runtime.mjs +5 -4
  919. package/_mjs/IO/runtime.mjs.map +1 -1
  920. package/_mjs/IO.mjs +2 -1
  921. package/_mjs/IOEnv/definition.mjs +1 -2
  922. package/_mjs/IOEnv/definition.mjs.map +1 -1
  923. package/_mjs/IOEnv/live.mjs +1 -2
  924. package/_mjs/IOEnv/live.mjs.map +1 -1
  925. package/_mjs/IOEnv/services.mjs +1 -2
  926. package/_mjs/IOEnv/services.mjs.map +1 -1
  927. package/_mjs/InterruptStatus/constructors.mjs +1 -2
  928. package/_mjs/InterruptStatus/constructors.mjs.map +1 -1
  929. package/_mjs/InterruptStatus/definition.mjs +1 -2
  930. package/_mjs/InterruptStatus/definition.mjs.map +1 -1
  931. package/_mjs/Layer/MemoMap.mjs +1 -2
  932. package/_mjs/Layer/MemoMap.mjs.map +1 -1
  933. package/_mjs/Layer/api.mjs +1 -2
  934. package/_mjs/Layer/api.mjs.map +1 -1
  935. package/_mjs/Layer/definition.mjs +1 -2
  936. package/_mjs/Layer/definition.mjs.map +1 -1
  937. package/_mjs/LogLevel.mjs +1 -2
  938. package/_mjs/LogLevel.mjs.map +1 -1
  939. package/_mjs/LogSpan.mjs +1 -2
  940. package/_mjs/LogSpan.mjs.map +1 -1
  941. package/_mjs/Logger/api.mjs +1 -2
  942. package/_mjs/Logger/api.mjs.map +1 -1
  943. package/_mjs/Logger/constructors.mjs +1 -2
  944. package/_mjs/Logger/constructors.mjs.map +1 -1
  945. package/_mjs/Logger/definition.mjs +1 -2
  946. package/_mjs/Logger/definition.mjs.map +1 -1
  947. package/_mjs/MVar/api.mjs +1 -2
  948. package/_mjs/MVar/api.mjs.map +1 -1
  949. package/_mjs/MVar/definition.mjs +1 -2
  950. package/_mjs/MVar/definition.mjs.map +1 -1
  951. package/_mjs/Push/FlattenStrategy.mjs +1 -2
  952. package/_mjs/Push/FlattenStrategy.mjs.map +1 -1
  953. package/_mjs/Push/IndexedBuffer.mjs +1 -2
  954. package/_mjs/Push/IndexedBuffer.mjs.map +1 -1
  955. package/_mjs/Push/MergeStrategy.mjs +1 -2
  956. package/_mjs/Push/MergeStrategy.mjs.map +1 -1
  957. package/_mjs/Push/Operator/IOLoopOperator.mjs +1 -2
  958. package/_mjs/Push/Operator/IOLoopOperator.mjs.map +1 -1
  959. package/_mjs/Push/Operator/IOOperator.mjs +1 -2
  960. package/_mjs/Push/Operator/IOOperator.mjs.map +1 -1
  961. package/_mjs/Push/Operator/LoopOperator.mjs +1 -2
  962. package/_mjs/Push/Operator/LoopOperator.mjs.map +1 -1
  963. package/_mjs/Push/Operator/SyncOperator.mjs +1 -2
  964. package/_mjs/Push/Operator/SyncOperator.mjs.map +1 -1
  965. package/_mjs/Push/Producer/IOProducer.mjs +1 -2
  966. package/_mjs/Push/Producer/IOProducer.mjs.map +1 -1
  967. package/_mjs/Push/Producer/SyncProducer.mjs +1 -2
  968. package/_mjs/Push/Producer/SyncProducer.mjs.map +1 -1
  969. package/_mjs/Push/Sink.mjs +1 -2
  970. package/_mjs/Push/Sink.mjs.map +1 -1
  971. package/_mjs/Push/api.mjs +1 -2
  972. package/_mjs/Push/api.mjs.map +1 -1
  973. package/_mjs/Push/definition.mjs +1 -2
  974. package/_mjs/Push/definition.mjs.map +1 -1
  975. package/_mjs/Push/internal.mjs +1 -2
  976. package/_mjs/Push/internal.mjs.map +1 -1
  977. package/_mjs/Queue/api/dimapIO.mjs +1 -2
  978. package/_mjs/Queue/api/dimapIO.mjs.map +1 -1
  979. package/_mjs/Queue/api/filterInputIO.mjs +5 -6
  980. package/_mjs/Queue/api/filterInputIO.mjs.map +1 -1
  981. package/_mjs/Queue/api/filterOutputIO.mjs +8 -9
  982. package/_mjs/Queue/api/filterOutputIO.mjs.map +1 -1
  983. package/_mjs/Queue/api/operations.mjs +1 -2
  984. package/_mjs/Queue/api/operations.mjs.map +1 -1
  985. package/_mjs/Queue/api/poll.mjs +1 -2
  986. package/_mjs/Queue/api/poll.mjs.map +1 -1
  987. package/_mjs/Queue/api/takeBetween.mjs +1 -2
  988. package/_mjs/Queue/api/takeBetween.mjs.map +1 -1
  989. package/_mjs/Queue/api/takeN.mjs +1 -2
  990. package/_mjs/Queue/api/takeN.mjs.map +1 -1
  991. package/_mjs/Queue/api/zipWithIO.mjs +1 -2
  992. package/_mjs/Queue/api/zipWithIO.mjs.map +1 -1
  993. package/_mjs/Queue/constructors.mjs +1 -2
  994. package/_mjs/Queue/constructors.mjs.map +1 -1
  995. package/_mjs/Queue/definition.mjs +1 -2
  996. package/_mjs/Queue/definition.mjs.map +1 -1
  997. package/_mjs/Queue/internal.mjs +1 -2
  998. package/_mjs/Queue/internal.mjs.map +1 -1
  999. package/_mjs/Queue/strategy.mjs +1 -2
  1000. package/_mjs/Queue/strategy.mjs.map +1 -1
  1001. package/_mjs/Random/api.mjs +1 -2
  1002. package/_mjs/Random/api.mjs.map +1 -1
  1003. package/_mjs/Random/definition.mjs +1 -2
  1004. package/_mjs/Random/definition.mjs.map +1 -1
  1005. package/_mjs/Random/live.mjs +1 -2
  1006. package/_mjs/Random/live.mjs.map +1 -1
  1007. package/_mjs/Ref/Atomic.mjs +1 -2
  1008. package/_mjs/Ref/Atomic.mjs.map +1 -1
  1009. package/_mjs/Ref/Derived.mjs +1 -2
  1010. package/_mjs/Ref/Derived.mjs.map +1 -1
  1011. package/_mjs/Ref/DerivedAll.mjs +1 -2
  1012. package/_mjs/Ref/DerivedAll.mjs.map +1 -1
  1013. package/_mjs/Ref/Synchronized/api.mjs +1 -2
  1014. package/_mjs/Ref/Synchronized/api.mjs.map +1 -1
  1015. package/_mjs/Ref/Synchronized/constructors.mjs +3 -3
  1016. package/_mjs/Ref/Synchronized/constructors.mjs.map +1 -1
  1017. package/_mjs/Ref/Synchronized/definition.mjs +1 -2
  1018. package/_mjs/Ref/Synchronized/definition.mjs.map +1 -1
  1019. package/_mjs/Ref/api/collect.mjs +1 -2
  1020. package/_mjs/Ref/api/collect.mjs.map +1 -1
  1021. package/_mjs/Ref/api/dimap.mjs +1 -2
  1022. package/_mjs/Ref/api/dimap.mjs.map +1 -1
  1023. package/_mjs/Ref/api/filter.mjs +1 -2
  1024. package/_mjs/Ref/api/filter.mjs.map +1 -1
  1025. package/_mjs/Ref/api/get.mjs +1 -2
  1026. package/_mjs/Ref/api/get.mjs.map +1 -1
  1027. package/_mjs/Ref/api/match.mjs +1 -2
  1028. package/_mjs/Ref/api/match.mjs.map +1 -1
  1029. package/_mjs/Ref/api/matchAll.mjs +1 -2
  1030. package/_mjs/Ref/api/matchAll.mjs.map +1 -1
  1031. package/_mjs/Ref/api/modify.mjs +1 -2
  1032. package/_mjs/Ref/api/modify.mjs.map +1 -1
  1033. package/_mjs/Ref/api/set.mjs +1 -2
  1034. package/_mjs/Ref/api/set.mjs.map +1 -1
  1035. package/_mjs/Ref/api.mjs +2 -4
  1036. package/_mjs/Ref/api.mjs.map +1 -1
  1037. package/_mjs/Ref/constructors.mjs +1 -2
  1038. package/_mjs/Ref/constructors.mjs.map +1 -1
  1039. package/_mjs/Ref/definition.mjs +1 -2
  1040. package/_mjs/Ref/definition.mjs.map +1 -1
  1041. package/_mjs/Reloadable/api.mjs +1 -2
  1042. package/_mjs/Reloadable/api.mjs.map +1 -1
  1043. package/_mjs/Reloadable/constructors.mjs +3 -3
  1044. package/_mjs/Reloadable/constructors.mjs.map +1 -1
  1045. package/_mjs/Reloadable/definition.mjs +1 -2
  1046. package/_mjs/Reloadable/definition.mjs.map +1 -1
  1047. package/_mjs/RuntimeFlags/Patch.mjs +1 -2
  1048. package/_mjs/RuntimeFlags/Patch.mjs.map +1 -1
  1049. package/_mjs/RuntimeFlags/RuntimeFlags.mjs +1 -2
  1050. package/_mjs/RuntimeFlags/RuntimeFlags.mjs.map +1 -1
  1051. package/_mjs/STM/api/atomically.mjs +1 -2
  1052. package/_mjs/STM/api/atomically.mjs.map +1 -1
  1053. package/_mjs/STM/api/core-api.mjs +1 -2
  1054. package/_mjs/STM/api/core-api.mjs.map +1 -1
  1055. package/_mjs/STM/api/core-constructors.mjs +1 -2
  1056. package/_mjs/STM/api/core-constructors.mjs.map +1 -1
  1057. package/_mjs/STM/api.mjs +1 -2
  1058. package/_mjs/STM/api.mjs.map +1 -1
  1059. package/_mjs/STM/definition.mjs +1 -2
  1060. package/_mjs/STM/definition.mjs.map +1 -1
  1061. package/_mjs/STM/driver.mjs +1 -2
  1062. package/_mjs/STM/driver.mjs.map +1 -1
  1063. package/_mjs/STM/internal/CommitState.mjs +1 -2
  1064. package/_mjs/STM/internal/CommitState.mjs.map +1 -1
  1065. package/_mjs/STM/internal/Entry.mjs +1 -2
  1066. package/_mjs/STM/internal/Entry.mjs.map +1 -1
  1067. package/_mjs/STM/internal/Journal.mjs +11 -12
  1068. package/_mjs/STM/internal/Journal.mjs.map +1 -1
  1069. package/_mjs/STM/internal/TryCommit.mjs +1 -2
  1070. package/_mjs/STM/internal/TryCommit.mjs.map +1 -1
  1071. package/_mjs/STM/internal/Versioned.mjs +1 -2
  1072. package/_mjs/STM/internal/Versioned.mjs.map +1 -1
  1073. package/_mjs/Schedule/Decision.mjs +1 -2
  1074. package/_mjs/Schedule/Decision.mjs.map +1 -1
  1075. package/_mjs/Schedule/Driver.mjs +1 -2
  1076. package/_mjs/Schedule/Driver.mjs.map +1 -1
  1077. package/_mjs/Schedule/api/driver.mjs +1 -2
  1078. package/_mjs/Schedule/api/driver.mjs.map +1 -1
  1079. package/_mjs/Schedule/api.mjs +1 -2
  1080. package/_mjs/Schedule/api.mjs.map +1 -1
  1081. package/_mjs/Schedule/definition.mjs +1 -2
  1082. package/_mjs/Schedule/definition.mjs.map +1 -1
  1083. package/_mjs/Scope/Finalizer/definition.mjs +1 -2
  1084. package/_mjs/Scope/Finalizer/definition.mjs.map +1 -1
  1085. package/_mjs/Scope/Finalizer.mjs +1 -2
  1086. package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs +1 -2
  1087. package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -1
  1088. package/_mjs/Scope/ReleaseMap/api.mjs +1 -2
  1089. package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -1
  1090. package/_mjs/Scope/ReleaseMap/constructors.mjs +1 -2
  1091. package/_mjs/Scope/ReleaseMap/constructors.mjs.map +1 -1
  1092. package/_mjs/Scope/ReleaseMap/definition.mjs +1 -2
  1093. package/_mjs/Scope/ReleaseMap/definition.mjs.map +1 -1
  1094. package/_mjs/Scope/api.mjs +1 -2
  1095. package/_mjs/Scope/api.mjs.map +1 -1
  1096. package/_mjs/Scope/definition.mjs +1 -2
  1097. package/_mjs/Scope/definition.mjs.map +1 -1
  1098. package/_mjs/ScopedRef/api.mjs +1 -2
  1099. package/_mjs/ScopedRef/api.mjs.map +1 -1
  1100. package/_mjs/ScopedRef/definition.mjs +1 -2
  1101. package/_mjs/ScopedRef/definition.mjs.map +1 -1
  1102. package/_mjs/Semaphore/Reservation.mjs +1 -2
  1103. package/_mjs/Semaphore/Reservation.mjs.map +1 -1
  1104. package/_mjs/Semaphore/constructors.mjs +1 -2
  1105. package/_mjs/Semaphore/constructors.mjs.map +1 -1
  1106. package/_mjs/Semaphore/definition.mjs +1 -2
  1107. package/_mjs/Semaphore/definition.mjs.map +1 -1
  1108. package/_mjs/Sink/api.mjs +1 -2
  1109. package/_mjs/Sink/api.mjs.map +1 -1
  1110. package/_mjs/Sink/definition.mjs +1 -2
  1111. package/_mjs/Sink/definition.mjs.map +1 -1
  1112. package/_mjs/State/api.mjs +1 -2
  1113. package/_mjs/State/api.mjs.map +1 -1
  1114. package/_mjs/State/definition.mjs +1 -2
  1115. package/_mjs/State/definition.mjs.map +1 -1
  1116. package/_mjs/State/internal.mjs +1 -2
  1117. package/_mjs/State/internal.mjs.map +1 -1
  1118. package/_mjs/Stream/api/zipAllWith.mjs +1 -2
  1119. package/_mjs/Stream/api/zipAllWith.mjs.map +1 -1
  1120. package/_mjs/Stream/api/zipWith.mjs +1 -2
  1121. package/_mjs/Stream/api/zipWith.mjs.map +1 -1
  1122. package/_mjs/Stream/api/zipWithChunks.mjs +1 -2
  1123. package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -1
  1124. package/_mjs/Stream/api.mjs +3 -3
  1125. package/_mjs/Stream/api.mjs.map +1 -1
  1126. package/_mjs/Stream/definition.mjs +1 -2
  1127. package/_mjs/Stream/definition.mjs.map +1 -1
  1128. package/_mjs/Stream/internal/DebounceState.mjs +1 -2
  1129. package/_mjs/Stream/internal/DebounceState.mjs.map +1 -1
  1130. package/_mjs/Stream/internal/Handoff.mjs +1 -2
  1131. package/_mjs/Stream/internal/Handoff.mjs.map +1 -1
  1132. package/_mjs/Stream/internal/Pull.mjs +1 -2
  1133. package/_mjs/Stream/internal/Pull.mjs.map +1 -1
  1134. package/_mjs/Stream/internal/SinkEndReason.mjs +1 -2
  1135. package/_mjs/Stream/internal/SinkEndReason.mjs.map +1 -1
  1136. package/_mjs/Stream/internal/Take.mjs +1 -2
  1137. package/_mjs/Stream/internal/Take.mjs.map +1 -1
  1138. package/_mjs/Stream/internal/util.mjs +1 -2
  1139. package/_mjs/Stream/internal/util.mjs.map +1 -1
  1140. package/_mjs/Subject/Atomic.mjs +1 -2
  1141. package/_mjs/Subject/Atomic.mjs.map +1 -1
  1142. package/_mjs/Subject/DeferredRef.mjs +1 -2
  1143. package/_mjs/Subject/DeferredRef.mjs.map +1 -1
  1144. package/_mjs/Subject/Hold.mjs +1 -2
  1145. package/_mjs/Subject/Hold.mjs.map +1 -1
  1146. package/_mjs/Subject/RefSubject/Atomic.mjs +19 -24
  1147. package/_mjs/Subject/RefSubject/Atomic.mjs.map +1 -1
  1148. package/_mjs/Subject/RefSubject/Derived.mjs +1 -2
  1149. package/_mjs/Subject/RefSubject/Derived.mjs.map +1 -1
  1150. package/_mjs/Subject/RefSubject/RefSubject.mjs +1 -2
  1151. package/_mjs/Subject/RefSubject/RefSubject.mjs.map +1 -1
  1152. package/_mjs/Subject/RefSubject/constructors.mjs +1 -2
  1153. package/_mjs/Subject/RefSubject/constructors.mjs.map +1 -1
  1154. package/_mjs/Subject/api.mjs +2 -4
  1155. package/_mjs/Subject/api.mjs.map +1 -1
  1156. package/_mjs/Subject/definition.mjs +1 -2
  1157. package/_mjs/Subject/definition.mjs.map +1 -1
  1158. package/_mjs/SubscriptionRef.mjs +1 -2
  1159. package/_mjs/SubscriptionRef.mjs.map +1 -1
  1160. package/_mjs/Supervisor/api.mjs +1 -2
  1161. package/_mjs/Supervisor/api.mjs.map +1 -1
  1162. package/_mjs/Supervisor/constructors.mjs +1 -2
  1163. package/_mjs/Supervisor/constructors.mjs.map +1 -1
  1164. package/_mjs/Supervisor/definition.mjs +2 -4
  1165. package/_mjs/Supervisor/definition.mjs.map +1 -1
  1166. package/_mjs/SupervisorPatch.mjs +1 -2
  1167. package/_mjs/SupervisorPatch.mjs.map +1 -1
  1168. package/_mjs/TExit/constructors.mjs +1 -2
  1169. package/_mjs/TExit/constructors.mjs.map +1 -1
  1170. package/_mjs/TExit/definition.mjs +1 -2
  1171. package/_mjs/TExit/definition.mjs.map +1 -1
  1172. package/_mjs/TFuture/api.mjs +1 -2
  1173. package/_mjs/TFuture/api.mjs.map +1 -1
  1174. package/_mjs/TFuture/constructors.mjs +1 -2
  1175. package/_mjs/TFuture/constructors.mjs.map +1 -1
  1176. package/_mjs/TFuture/definition.mjs +1 -2
  1177. package/_mjs/TFuture/definition.mjs.map +1 -1
  1178. package/_mjs/TReentrantLock/api.mjs +1 -2
  1179. package/_mjs/TReentrantLock/api.mjs.map +1 -1
  1180. package/_mjs/TReentrantLock/definition.mjs +1 -2
  1181. package/_mjs/TReentrantLock/definition.mjs.map +1 -1
  1182. package/_mjs/TRef/api.mjs +1 -2
  1183. package/_mjs/TRef/api.mjs.map +1 -1
  1184. package/_mjs/TRef/constructors.mjs +11 -5
  1185. package/_mjs/TRef/constructors.mjs.map +1 -1
  1186. package/_mjs/TRef/definition.mjs +1 -2
  1187. package/_mjs/TRef/definition.mjs.map +1 -1
  1188. package/_mjs/TSemaphore/api.mjs +1 -2
  1189. package/_mjs/TSemaphore/api.mjs.map +1 -1
  1190. package/_mjs/TSemaphore/constructors.mjs +1 -2
  1191. package/_mjs/TSemaphore/constructors.mjs.map +1 -1
  1192. package/_mjs/TSemaphore/definition.mjs +1 -2
  1193. package/_mjs/TSemaphore/definition.mjs.map +1 -1
  1194. package/_mjs/TxnId.mjs +1 -2
  1195. package/_mjs/TxnId.mjs.map +1 -1
  1196. package/_mjs/collection/immutable/Conc/dropUntilIO.mjs +1 -2
  1197. package/_mjs/collection/immutable/Conc/dropUntilIO.mjs.map +1 -1
  1198. package/_mjs/collection/immutable/Conc/dropWhileIO.mjs +1 -2
  1199. package/_mjs/collection/immutable/Conc/dropWhileIO.mjs.map +1 -1
  1200. package/_mjs/collection/immutable/Conc/filterIO.mjs +1 -2
  1201. package/_mjs/collection/immutable/Conc/filterIO.mjs.map +1 -1
  1202. package/_mjs/collection/immutable/Conc/findIO.mjs +1 -2
  1203. package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -1
  1204. package/_mjs/collection/immutable/Conc/mapIO.mjs +1 -2
  1205. package/_mjs/collection/immutable/Conc/mapIO.mjs.map +1 -1
  1206. package/_mjs/collection/immutable/Conc/takeWhileIO.mjs +1 -2
  1207. package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -1
  1208. package/_mjs/data/Exit/foreachIO.mjs +1 -2
  1209. package/_mjs/data/Exit/foreachIO.mjs.map +1 -1
  1210. package/_mjs/internal/BackgroundScheduler.mjs +1 -2
  1211. package/_mjs/internal/BackgroundScheduler.mjs.map +1 -1
  1212. package/_mjs/internal/HashedPair.mjs +1 -2
  1213. package/_mjs/internal/HashedPair.mjs.map +1 -1
  1214. package/_mjs/internal/Hub.mjs +1 -2
  1215. package/_mjs/internal/Hub.mjs.map +1 -1
  1216. package/_mjs/internal/IsFatal.mjs +1 -6
  1217. package/_mjs/internal/IsFatal.mjs.map +1 -1
  1218. package/_mjs/internal/MutableQueue.mjs +1 -2
  1219. package/_mjs/internal/MutableQueue.mjs.map +1 -1
  1220. package/_mjs/internal/Scheduler.mjs +1 -2
  1221. package/_mjs/internal/Scheduler.mjs.map +1 -1
  1222. package/_mjs/internal/StackTraceBuilder.mjs +1 -2
  1223. package/_mjs/internal/StackTraceBuilder.mjs.map +1 -1
  1224. package/_src/IO/api/asyncIterable.ts +103 -0
  1225. package/_src/IO.ts +1 -0
  1226. package/_src/Queue/api/filterInputIO.ts +8 -3
  1227. package/_src/Queue/api/filterOutputIO.ts +8 -3
  1228. package/_src/Scope/Finalizer/definition.ts +6 -7
  1229. package/_src/Scope/ReleaseMap/definition.ts +6 -7
  1230. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"DerivedAll.mjs","names":[],"sources":["../../esm/Ref/DerivedAll.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/DerivedAll.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/destructors\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Either/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api\";\nimport { tuple } from \"@fncts/base/data/function\";\nimport { RefInternal } from \"./definition.js\";\nexport const DerivedAllTypeId = Symbol.for(\"fncts.io.Ref.DerivedAll\");\nexport class DerivedAll extends RefInternal {\n use;\n [DerivedAllTypeId] = DerivedAllTypeId;\n constructor(use) {\n super();\n this.use = use;\n this.match = this.match.bind(this);\n this.matchAll = this.matchAll.bind(this);\n this.set = this.set.bind(this);\n }\n match(ea, eb, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":37:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":38:88\"), tsplus_module_1.right)(setEither(a)(s)))(ca(c)))));\n }\n matchAll(ea, eb, ec, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":56:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":60:73\"), tsplus_module_1.right)(setEither(a)(s)))(tsplus_module_2.match((e) => tsplus_module_1.left(ec(e), fileName_1 + \":59:42\"), ca(c))(getEither(s))))));\n }\n get get() {\n return this.use((value, getEither) => tsplus_module_4.flatMap((s) => tsplus_module_2.match(tsplus_module_4.failNow, tsplus_module_4.succeedNow)(getEither(s)), fileName_1 + \":67:60\")(value.get));\n }\n set(a) {\n return this.use((value, _, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => [tsplus_module_1.left(e, fileName_1 + \":75:32\"), s], (s) => [tsplus_module_1.right(undefined, fileName_1 + \":76:33\"), s])(setEither(a)(s)), fileName_1 + \":73:21\"), fileName_1 + \":78:10\"));\n }\n modify(f, __tsplusTrace) {\n return this.use((value, getEither, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":87:37\"), s), (a1) => {\n const [b, a2] = f(a1);\n return tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":91:41\"), s), (s) => tuple(tsplus_module_1.right(b, fileName_1 + \":92:42\"), s))(setEither(a2)(s));\n })(getEither(s)), fileName_1 + \":85:21\"), fileName_1 + \":96:10\"));\n }\n}\n//# sourceMappingURL=DerivedAll.js.map"],"mappings":";;;;;;;AAAA,MAAM,aAAa;AAOnB,MAAa,mBAAmB,OAAO,IAAI,0BAA0B;AACrE,IAAa,aAAb,MAAa,mBAAmB,YAAY;CACxC;CACA,CAAC,oBAAoB;CACrB,YAAY,KAAK;AACb,SAAO;AACP,OAAK,MAAM;AACX,OAAK,QAAQ,KAAK,MAAM,KAAK,KAAK;AAClC,OAAK,WAAW,KAAK,SAAS,KAAK,KAAK;AACxC,OAAK,MAAM,KAAK,IAAI,KAAK,KAAK;;CAElC,MAAM,IAAI,IAAI,IAAI,IAAI;AAClB,SAAO,KAAK,KAAK,OAAO,WAAW,cAAc,IAAI,YAAY,MAAM,EAAE,QAAQ,MAAM,gBAAgB,OAAO,MAAM,gBAAgB,KAAK,GAAG,EAAE,EAAE,aAAa,SAAS,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC,GAAG,OAAO,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,OAAO,MAAM,gBAAgB,KAAK,GAAG,EAAE,EAAE,aAAa,SAAS,EAAE,gBAAgB,MAAM,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;;CAE/W,SAAS,IAAI,IAAI,IAAI,IAAI,IAAI;AACzB,SAAO,KAAK,KAAK,OAAO,WAAW,cAAc,IAAI,YAAY,MAAM,EAAE,QAAQ,MAAM,gBAAgB,OAAO,MAAM,gBAAgB,KAAK,GAAG,EAAE,EAAE,aAAa,SAAS,EAAE,GAAG,CAAC,UAAU,EAAE,CAAC,GAAG,OAAO,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,OAAO,MAAM,gBAAgB,KAAK,GAAG,EAAE,EAAE,aAAa,SAAS,EAAE,gBAAgB,MAAM,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,gBAAgB,OAAO,MAAM,gBAAgB,KAAK,GAAG,EAAE,EAAE,aAAa,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;;CAE/c,IAAI,MAAM;AACN,SAAO,KAAK,KAAK,OAAO,cAAc,gBAAgB,SAAS,MAAM,gBAAgB,MAAM,gBAAgB,SAAS,gBAAgB,WAAW,CAAC,UAAU,EAAE,CAAC,EAAE,aAAa,SAAS,CAAC,MAAM,IAAI,CAAC;;CAErM,IAAI,GAAG;AACH,SAAO,KAAK,KAAK,OAAO,GAAG,cAAc,gBAAgB,QAAQ,MAAM,QAAQ,MAAM,gBAAgB,OAAO,MAAM,CAAC,gBAAgB,KAAK,GAAG,aAAa,SAAS,EAAE,EAAE,GAAG,MAAM,CAAC,gBAAgB,MAAM,KAAA,GAAW,aAAa,SAAS,EAAE,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC,EAAE,CAAC,EAAE,aAAa,SAAS,EAAE,aAAa,SAAS,CAAC;;CAEjT,OAAO,GAAG,eAAe;AACrB,SAAO,KAAK,KAAK,OAAO,WAAW,cAAc,gBAAgB,QAAQ,MAAM,QAAQ,MAAM,gBAAgB,OAAO,MAAM,MAAM,gBAAgB,KAAK,GAAG,aAAa,SAAS,EAAE,EAAE,GAAG,OAAO;GACxL,MAAM,CAAC,GAAG,MAAM,EAAE,GAAG;AACrB,UAAO,gBAAgB,OAAO,MAAM,MAAM,gBAAgB,KAAK,GAAG,aAAa,SAAS,EAAE,EAAE,GAAG,MAAM,MAAM,gBAAgB,MAAM,GAAG,aAAa,SAAS,EAAE,EAAE,CAAC,CAAC,UAAU,GAAG,CAAC,EAAE,CAAC;IACnL,CAAC,UAAU,EAAE,CAAC,EAAE,aAAa,SAAS,EAAE,aAAa,SAAS,CAAC"}
1
+ {"version":3,"file":"DerivedAll.mjs","names":[],"sources":["../../esm/Ref/DerivedAll.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/DerivedAll.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/destructors\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Either/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api\";\nimport { tuple } from \"@fncts/base/data/function\";\nimport { RefInternal } from \"./definition.js\";\nexport const DerivedAllTypeId = Symbol.for(\"fncts.io.Ref.DerivedAll\");\nexport class DerivedAll extends RefInternal {\n use;\n [DerivedAllTypeId] = DerivedAllTypeId;\n constructor(use) {\n super();\n this.use = use;\n this.match = this.match.bind(this);\n this.matchAll = this.matchAll.bind(this);\n this.set = this.set.bind(this);\n }\n match(ea, eb, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":37:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":38:88\"), tsplus_module_1.right)(setEither(a)(s)))(ca(c)))));\n }\n matchAll(ea, eb, ec, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":56:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":60:73\"), tsplus_module_1.right)(setEither(a)(s)))(tsplus_module_2.match((e) => tsplus_module_1.left(ec(e), fileName_1 + \":59:42\"), ca(c))(getEither(s))))));\n }\n get get() {\n return this.use((value, getEither) => tsplus_module_4.flatMap((s) => tsplus_module_2.match(tsplus_module_4.failNow, tsplus_module_4.succeedNow)(getEither(s)), fileName_1 + \":67:60\")(value.get));\n }\n set(a) {\n return this.use((value, _, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => [tsplus_module_1.left(e, fileName_1 + \":75:32\"), s], (s) => [tsplus_module_1.right(undefined, fileName_1 + \":76:33\"), s])(setEither(a)(s)), fileName_1 + \":73:21\"), fileName_1 + \":78:10\"));\n }\n modify(f, __tsplusTrace) {\n return this.use((value, getEither, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":87:37\"), s), (a1) => {\n const [b, a2] = f(a1);\n return tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":91:41\"), s), (s) => tuple(tsplus_module_1.right(b, fileName_1 + \":92:42\"), s))(setEither(a2)(s));\n })(getEither(s)), fileName_1 + \":85:21\"), fileName_1 + \":96:10\"));\n }\n}\n//# sourceMappingURL=DerivedAll.js.map"],"mappings":"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"}
@@ -3,7 +3,7 @@ import * as tsplus_module_2 from "@fncts/io/IO/api";
3
3
  import * as tsplus_module_3 from "@fncts/base/data/Maybe/api";
4
4
  import * as tsplus_module_1 from "@fncts/base/data/Maybe/constructors";
5
5
  import { identity, tuple } from "@fncts/base/data/function";
6
- //#region build/esm/Ref/Synchronized/api.js
6
+ // build/esm/Ref/Synchronized/api.js
7
7
  const dimapIO = dimapIO_1;
8
8
  const matchIO = matchIO_1;
9
9
  const modifyIO = modifyIO_1;
@@ -163,7 +163,6 @@ function updateJustIO(f, __tsplusTrace) {
163
163
  return modifyIO_1((a) => tsplus_module_2.map((r) => [void 0, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);
164
164
  };
165
165
  }
166
- //#endregion
167
166
  export { collectIO, contramapIO, dimapIO, filterInputIO, filterOutputIO, getAndUpdateIO, getAndUpdateJustIO, matchAllIO, matchIO, modifyIO, modifyJustIO, updateAndGetIO, updateIO, updateJustAndGetIO, updateJustIO };
168
167
 
169
168
  //# sourceMappingURL=api.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.mjs","names":[],"sources":["../../../esm/Ref/Synchronized/api.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Maybe/api\";\nexport const dimapIO = dimapIO_1;\nexport const matchIO = matchIO_1;\nexport const modifyIO = modifyIO_1;\nimport { identity, tuple } from \"@fncts/base/data/function\";\nimport { concreteSynchronized } from \"./definition.js\";\n/**\n * Maps and filters the `get` value of the `SRef` with the specified\n * effectual partial function, returning a `SRef` with a `get` value that\n * succeeds with the result of the partial function if it is defined or else\n * fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized collectIO\n */\nexport function collectIO(f, __tsplusTrace) {\n return (ref) => {\n return matchIO_1(identity, (eb) => tsplus_module_1.just(eb, __tsplusTrace), tsplus_module_2.succeedNow, (b) => tsplus_module_3.getOrElse(() => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace))(tsplus_module_3.map((a) => tsplus_module_2.asJustError(a, __tsplusTrace))(f(b))), __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms the `set` value of the `SRef` with the specified effectual\n * function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized contramapIO\n */\nexport function contramapIO(f, __tsplusTrace) {\n return (ref) => {\n return dimapIO_1(f, tsplus_module_2.succeedNow, __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Synchronized` with the\n * specified effectual functions.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapIO\n */\nfunction dimapIO_1(f, g, __tsplusTrace) {\n return (ref) => {\n return matchIO_1((ea) => ea, (eb) => eb, f, g, __tsplusTrace)(ref);\n };\n}\n/**\n * Filters the `set` value of the `SRef` with the specified effectual\n * predicate, returning a `SRef` with a `set` value that succeeds if the\n * predicate is satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized filterInputIO\n */\nexport function filterInputIO(f, __tsplusTrace) {\n return (self) => {\n return matchIO_1((ea) => tsplus_module_1.just(ea, __tsplusTrace), identity, (a) => tsplus_module_2.ifIO(() => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace), () => tsplus_module_2.succeedNow(a, __tsplusTrace), __tsplusTrace)(tsplus_module_2.asJustError(f(a), __tsplusTrace)), tsplus_module_2.succeedNow, __tsplusTrace)(self);\n };\n}\n/**\n * Filters the `get` value of the `SRef` with the specified effectual predicate,\n * returning a `SRef` with a `get` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized filterOutputIO\n */\nexport function filterOutputIO(f, __tsplusTrace) {\n return (ref) => {\n return matchIO_1(identity, (eb) => tsplus_module_1.just(eb, __tsplusTrace), tsplus_module_2.succeedNow, (b) => tsplus_module_2.ifIO(() => tsplus_module_2.succeedNow(b, __tsplusTrace), () => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace), __tsplusTrace)(tsplus_module_2.asJustError(f(b), __tsplusTrace)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, returning the\n * value immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdateIO\n */\nexport function getAndUpdateIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [a, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, returning the\n * value immediately before modification.\n */\nexport function getAndUpdateJustIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [a, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized matchIO\n */\nfunction matchIO_1(ea, eb, ca, bd, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.matchIO(ea, eb, ca, bd, __tsplusTrace);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized matchAllIO\n */\nexport function matchAllIO(ea, eb, ec, ca, bd, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.matchAllIO(ea, eb, ec, ca, bd, __tsplusTrace);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyIO\n */\nfunction modifyIO_1(f, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.modifyIO(f, __tsplusTrace);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, which computes\n * a return value for the modification if the function is defined in the current value\n * otherwise it returns a default value.\n * This is a more powerful version of `updateJust`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyJustIO\n */\nexport function modifyJustIO(def, f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(tuple(def, a), __tsplusTrace))(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateAndGetIO\n */\nexport function updateAndGetIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [r, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateIO\n */\nexport function updateIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [undefined, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustAndGetIO\n */\nexport function updateJustAndGetIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [r, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustIO\n */\nexport function updateJustIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [undefined, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n//# sourceMappingURL=api.js.map"],"mappings":"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"}
1
+ {"version":3,"file":"api.mjs","names":[],"sources":["../../../esm/Ref/Synchronized/api.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Maybe/api\";\nexport const dimapIO = dimapIO_1;\nexport const matchIO = matchIO_1;\nexport const modifyIO = modifyIO_1;\nimport { identity, tuple } from \"@fncts/base/data/function\";\nimport { concreteSynchronized } from \"./definition.js\";\n/**\n * Maps and filters the `get` value of the `SRef` with the specified\n * effectual partial function, returning a `SRef` with a `get` value that\n * succeeds with the result of the partial function if it is defined or else\n * fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized collectIO\n */\nexport function collectIO(f, __tsplusTrace) {\n return (ref) => {\n return matchIO_1(identity, (eb) => tsplus_module_1.just(eb, __tsplusTrace), tsplus_module_2.succeedNow, (b) => tsplus_module_3.getOrElse(() => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace))(tsplus_module_3.map((a) => tsplus_module_2.asJustError(a, __tsplusTrace))(f(b))), __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms the `set` value of the `SRef` with the specified effectual\n * function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized contramapIO\n */\nexport function contramapIO(f, __tsplusTrace) {\n return (ref) => {\n return dimapIO_1(f, tsplus_module_2.succeedNow, __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Synchronized` with the\n * specified effectual functions.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapIO\n */\nfunction dimapIO_1(f, g, __tsplusTrace) {\n return (ref) => {\n return matchIO_1((ea) => ea, (eb) => eb, f, g, __tsplusTrace)(ref);\n };\n}\n/**\n * Filters the `set` value of the `SRef` with the specified effectual\n * predicate, returning a `SRef` with a `set` value that succeeds if the\n * predicate is satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized filterInputIO\n */\nexport function filterInputIO(f, __tsplusTrace) {\n return (self) => {\n return matchIO_1((ea) => tsplus_module_1.just(ea, __tsplusTrace), identity, (a) => tsplus_module_2.ifIO(() => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace), () => tsplus_module_2.succeedNow(a, __tsplusTrace), __tsplusTrace)(tsplus_module_2.asJustError(f(a), __tsplusTrace)), tsplus_module_2.succeedNow, __tsplusTrace)(self);\n };\n}\n/**\n * Filters the `get` value of the `SRef` with the specified effectual predicate,\n * returning a `SRef` with a `get` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized filterOutputIO\n */\nexport function filterOutputIO(f, __tsplusTrace) {\n return (ref) => {\n return matchIO_1(identity, (eb) => tsplus_module_1.just(eb, __tsplusTrace), tsplus_module_2.succeedNow, (b) => tsplus_module_2.ifIO(() => tsplus_module_2.succeedNow(b, __tsplusTrace), () => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace), __tsplusTrace)(tsplus_module_2.asJustError(f(b), __tsplusTrace)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, returning the\n * value immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdateIO\n */\nexport function getAndUpdateIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [a, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, returning the\n * value immediately before modification.\n */\nexport function getAndUpdateJustIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [a, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized matchIO\n */\nfunction matchIO_1(ea, eb, ca, bd, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.matchIO(ea, eb, ca, bd, __tsplusTrace);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized matchAllIO\n */\nexport function matchAllIO(ea, eb, ec, ca, bd, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.matchAllIO(ea, eb, ec, ca, bd, __tsplusTrace);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyIO\n */\nfunction modifyIO_1(f, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.modifyIO(f, __tsplusTrace);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, which computes\n * a return value for the modification if the function is defined in the current value\n * otherwise it returns a default value.\n * This is a more powerful version of `updateJust`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyJustIO\n */\nexport function modifyJustIO(def, f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(tuple(def, a), __tsplusTrace))(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateAndGetIO\n */\nexport function updateAndGetIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [r, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateIO\n */\nexport function updateIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [undefined, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustAndGetIO\n */\nexport function updateJustAndGetIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [r, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustIO\n */\nexport function updateJustIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [undefined, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n//# sourceMappingURL=api.js.map"],"mappings":"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"}
@@ -4,13 +4,14 @@ import * as tsplus_module_3 from "@fncts/io/Ref/api/get";
4
4
  import * as tsplus_module_4 from "@fncts/io/Ref/api/set";
5
5
  import * as tsplus_module_1 from "@fncts/io/Ref/constructors";
6
6
  import * as tsplus_module_2 from "@fncts/io/Semaphore/constructors";
7
- //#region build/esm/Ref/Synchronized/constructors.js
7
+ // build/esm/Ref/Synchronized/constructors.js
8
8
  /**
9
9
  * @tsplus static fncts.io.Ref.SynchronizedOps unsafeMake
10
10
  */
11
11
  function unsafeMakeSynchronized(a, __tsplusTrace) {
12
12
  const ref = tsplus_module_1.unsafeMake(a, __tsplusTrace);
13
- return new PSynchronizedInternal(tsplus_module_2.unsafeMakeSemaphore(1), ref.get, (a) => ref.set(a));
13
+ const semaphore = tsplus_module_2.unsafeMakeSemaphore(1);
14
+ return new PSynchronizedInternal(semaphore, ref.get, (a) => ref.set(a));
14
15
  }
15
16
  /**
16
17
  * @tsplus static fncts.io.Ref.SynchronizedOps make
@@ -18,7 +19,6 @@ function unsafeMakeSynchronized(a, __tsplusTrace) {
18
19
  function makeSynchronized(a, __tsplusTrace) {
19
20
  return tsplus_module_5.flatMap((ref) => tsplus_module_5.map((semaphore) => new PSynchronizedInternal(semaphore, tsplus_module_3.get(ref, __tsplusTrace), (a) => tsplus_module_4.set(a, __tsplusTrace)(ref)), __tsplusTrace)(tsplus_module_2.makeSemaphore(1, __tsplusTrace)), __tsplusTrace)(tsplus_module_1.make(a, __tsplusTrace));
20
21
  }
21
- //#endregion
22
22
  export { makeSynchronized, unsafeMakeSynchronized };
23
23
 
24
24
  //# sourceMappingURL=constructors.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"constructors.mjs","names":[],"sources":["../../../esm/Ref/Synchronized/constructors.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/Ref/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Semaphore/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/get\";\nimport * as tsplus_module_4 from \"@fncts/io/Ref/api/set\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api\";\nimport { PSynchronizedInternal } from \"./definition.js\";\n/**\n * @tsplus static fncts.io.Ref.SynchronizedOps unsafeMake\n */\nexport function unsafeMakeSynchronized(a, __tsplusTrace) {\n const ref = tsplus_module_1.unsafeMake(a, __tsplusTrace);\n const semaphore = tsplus_module_2.unsafeMakeSemaphore(1);\n return new PSynchronizedInternal(semaphore, ref.get, (a) => ref.set(a));\n}\n/**\n * @tsplus static fncts.io.Ref.SynchronizedOps make\n */\nexport function makeSynchronized(a, __tsplusTrace) {\n return tsplus_module_5.flatMap(ref => tsplus_module_5.map(semaphore => new PSynchronizedInternal(semaphore, tsplus_module_3.get(ref, __tsplusTrace), (a) => tsplus_module_4.set(a, __tsplusTrace)(ref)), __tsplusTrace)(tsplus_module_2.makeSemaphore(1, __tsplusTrace)), __tsplusTrace)(tsplus_module_1.make(a, __tsplusTrace));\n}\n//# sourceMappingURL=constructors.js.map"],"mappings":";;;;;;;;;;AASA,SAAgB,uBAAuB,GAAG,eAAe;CACrD,MAAM,MAAM,gBAAgB,WAAW,GAAG,cAAc;AAExD,QAAO,IAAI,sBADO,gBAAgB,oBAAoB,EACZ,EAAE,IAAI,MAAM,MAAM,IAAI,IAAI,EAAE,CAAC;;;;;AAK3E,SAAgB,iBAAiB,GAAG,eAAe;AAC/C,QAAO,gBAAgB,SAAQ,QAAO,gBAAgB,KAAI,cAAa,IAAI,sBAAsB,WAAW,gBAAgB,IAAI,KAAK,cAAc,GAAG,MAAM,gBAAgB,IAAI,GAAG,cAAc,CAAC,IAAI,CAAC,EAAE,cAAc,CAAC,gBAAgB,cAAc,GAAG,cAAc,CAAC,EAAE,cAAc,CAAC,gBAAgB,KAAK,GAAG,cAAc,CAAC"}
1
+ {"version":3,"file":"constructors.mjs","names":[],"sources":["../../../esm/Ref/Synchronized/constructors.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/Ref/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Semaphore/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/get\";\nimport * as tsplus_module_4 from \"@fncts/io/Ref/api/set\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api\";\nimport { PSynchronizedInternal } from \"./definition.js\";\n/**\n * @tsplus static fncts.io.Ref.SynchronizedOps unsafeMake\n */\nexport function unsafeMakeSynchronized(a, __tsplusTrace) {\n const ref = tsplus_module_1.unsafeMake(a, __tsplusTrace);\n const semaphore = tsplus_module_2.unsafeMakeSemaphore(1);\n return new PSynchronizedInternal(semaphore, ref.get, (a) => ref.set(a));\n}\n/**\n * @tsplus static fncts.io.Ref.SynchronizedOps make\n */\nexport function makeSynchronized(a, __tsplusTrace) {\n return tsplus_module_5.flatMap(ref => tsplus_module_5.map(semaphore => new PSynchronizedInternal(semaphore, tsplus_module_3.get(ref, __tsplusTrace), (a) => tsplus_module_4.set(a, __tsplusTrace)(ref)), __tsplusTrace)(tsplus_module_2.makeSemaphore(1, __tsplusTrace)), __tsplusTrace)(tsplus_module_1.make(a, __tsplusTrace));\n}\n//# sourceMappingURL=constructors.js.map"],"mappings":";;;;;;;;;;AASA,SAAgB,uBAAuB,GAAG,eAAe;CACrD,MAAM,MAAM,gBAAgB,WAAW,GAAG,aAAa;CACvD,MAAM,YAAY,gBAAgB,oBAAoB,CAAC;CACvD,OAAO,IAAI,sBAAsB,WAAW,IAAI,MAAM,MAAM,IAAI,IAAI,CAAC,CAAC;AAC1E;;;;AAIA,SAAgB,iBAAiB,GAAG,eAAe;CAC/C,OAAO,gBAAgB,SAAQ,QAAO,gBAAgB,KAAI,cAAa,IAAI,sBAAsB,WAAW,gBAAgB,IAAI,KAAK,aAAa,IAAI,MAAM,gBAAgB,IAAI,GAAG,aAAa,CAAC,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,CAAC,gBAAgB,cAAc,GAAG,aAAa,CAAC,GAAG,aAAa,CAAC,CAAC,gBAAgB,KAAK,GAAG,aAAa,CAAC;AACnU"}
@@ -1,6 +1,6 @@
1
1
  import { RefInternal } from "../definition.mjs";
2
2
  import * as tsplus_module_1 from "@fncts/io/IO/api";
3
- //#region build/esm/Ref/Synchronized/definition.js
3
+ // build/esm/Ref/Synchronized/definition.js
4
4
  const fileName_1 = "(@fncts/io) src/Ref/Synchronized/definition.ts";
5
5
  const SynchronizedTypeId = Symbol.for("fncts.io.Ref.Synchronized");
6
6
  /**
@@ -53,7 +53,6 @@ var PSynchronizedInternal = class PSynchronizedInternal extends RefInternal {
53
53
  * @tsplus macro remove
54
54
  */
55
55
  function concreteSynchronized(self) {}
56
- //#endregion
57
56
  export { PSynchronizedInternal, Synchronized, SynchronizedTypeId, concreteSynchronized };
58
57
 
59
58
  //# sourceMappingURL=definition.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"definition.mjs","names":[],"sources":["../../../esm/Ref/Synchronized/definition.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/Synchronized/definition.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport { RefInternal } from \"../definition.js\";\nexport const SynchronizedTypeId = Symbol.for(\"fncts.io.Ref.Synchronized\");\n/**\n * @tsplus static fncts.io.RefOps Synchronized\n */\nexport const Synchronized = {};\n/**\n * @tsplus type fncts.io.Ref.Synchronized\n */\nexport class PSynchronizedInternal extends RefInternal {\n semaphore;\n unsafeGet;\n unsafeSet;\n [SynchronizedTypeId] = SynchronizedTypeId;\n constructor(semaphore, unsafeGet, unsafeSet) {\n super();\n this.semaphore = semaphore;\n this.unsafeGet = unsafeGet;\n this.unsafeSet = unsafeSet;\n }\n get get() {\n return this.withPermit(this.unsafeGet, fileName_1 + \":85:27\");\n }\n set(a, __tsplusTrace) {\n return this.withPermit(this.unsafeSet(a), fileName_1 + \":89:27\");\n }\n modify(f, __tsplusTrace) {\n return this.modifyIO((a) => tsplus_module_1.succeedNow(f(a), fileName_1 + \":93:46\"), fileName_1 + \":93:25\");\n }\n modifyIO(f, __tsplusTrace) {\n return this.withPermit(tsplus_module_1.flatMap(([c, a]) => tsplus_module_1.as(() => c, fileName_1 + \":100:94\")(this.unsafeSet(a)), fileName_1 + \":100:61\")(tsplus_module_1.flatMap(f, fileName_1 + \":100:50\")(this.unsafeGet)), fileName_1 + \":100:27\");\n }\n matchAllIO(mapSetError, mapGetError, mapSetGetError, mapSet, mapGet, __tsplusTrace) {\n return new PSynchronizedInternal(this.semaphore, tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapGetError(e), fileName_1 + \":113:41\"), mapGet, fileName_1 + \":113:23\")(this.get), (c) => tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapSetGetError(e), fileName_1 + \":116:28\"), (b) => tsplus_module_1.flatMap((a) => tsplus_module_1.mapError(mapSetError, fileName_1 + \":117:72\")(this.unsafeSet(a)), fileName_1 + \":117:38\")(mapSet(c)(b)), fileName_1 + \":115:25\")(this.get));\n }\n matchIO(mapSetError, mapGetError, mapSet, mapGet, __tsplusTrace) {\n return new PSynchronizedInternal(this.semaphore, tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapGetError(e), fileName_1 + \":131:47\"), mapGet, fileName_1 + \":131:29\")(this.unsafeGet), (c) => tsplus_module_1.flatMap((a) => tsplus_module_1.mapError(mapSetError, fileName_1 + \":132:65\")(this.unsafeSet(a)), fileName_1 + \":132:31\")(mapSet(c)));\n }\n match(mapSetError, mapGetError, mapSet, mapGet, __tsplusTrace) {\n return this.matchIO(mapSetError, mapGetError, (c) => tsplus_module_1.fromEitherNow(mapSet(c), fileName_1 + \":146:30\"), (b) => tsplus_module_1.fromEitherNow(mapGet(b), fileName_1 + \":147:30\"), fileName_1 + \":143:24\");\n }\n matchAll(mapSetError, mapGetError, mapSetGetError, mapSet, mapGet, __tsplusTrace) {\n return this.matchAllIO(mapSetError, mapGetError, mapSetGetError, (c) => (b) => tsplus_module_1.fromEitherNow(mapSet(c)(b), fileName_1 + \":163:37\"), (b) => tsplus_module_1.fromEitherNow(mapGet(b), fileName_1 + \":164:30\"), fileName_1 + \":159:27\");\n }\n withPermit(io, __tsplusTrace) {\n return this.semaphore.withPermit(io);\n }\n}\n/**\n * @tsplus macro remove\n */\nexport function concreteSynchronized(self) {\n //\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";;;AAAA,MAAM,aAAa;AAGnB,MAAa,qBAAqB,OAAO,IAAI,4BAA4B;;;;AAIzE,MAAa,eAAe,EAAE;;;;AAI9B,IAAa,wBAAb,MAAa,8BAA8B,YAAY;CACnD;CACA;CACA;CACA,CAAC,sBAAsB;CACvB,YAAY,WAAW,WAAW,WAAW;AACzC,SAAO;AACP,OAAK,YAAY;AACjB,OAAK,YAAY;AACjB,OAAK,YAAY;;CAErB,IAAI,MAAM;AACN,SAAO,KAAK,WAAW,KAAK,WAAW,aAAa,SAAS;;CAEjE,IAAI,GAAG,eAAe;AAClB,SAAO,KAAK,WAAW,KAAK,UAAU,EAAE,EAAE,aAAa,SAAS;;CAEpE,OAAO,GAAG,eAAe;AACrB,SAAO,KAAK,UAAU,MAAM,gBAAgB,WAAW,EAAE,EAAE,EAAE,aAAa,SAAS,EAAE,aAAa,SAAS;;CAE/G,SAAS,GAAG,eAAe;AACvB,SAAO,KAAK,WAAW,gBAAgB,SAAS,CAAC,GAAG,OAAO,gBAAgB,SAAS,GAAG,aAAa,UAAU,CAAC,KAAK,UAAU,EAAE,CAAC,EAAE,aAAa,UAAU,CAAC,gBAAgB,QAAQ,GAAG,aAAa,UAAU,CAAC,KAAK,UAAU,CAAC,EAAE,aAAa,UAAU;;CAE3P,WAAW,aAAa,aAAa,gBAAgB,QAAQ,QAAQ,eAAe;AAChF,SAAO,IAAI,sBAAsB,KAAK,WAAW,gBAAgB,SAAS,MAAM,gBAAgB,QAAQ,YAAY,EAAE,EAAE,aAAa,UAAU,EAAE,QAAQ,aAAa,UAAU,CAAC,KAAK,IAAI,GAAG,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,QAAQ,eAAe,EAAE,EAAE,aAAa,UAAU,GAAG,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,SAAS,aAAa,aAAa,UAAU,CAAC,KAAK,UAAU,EAAE,CAAC,EAAE,aAAa,UAAU,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,aAAa,UAAU,CAAC,KAAK,IAAI,CAAC;;CAE3e,QAAQ,aAAa,aAAa,QAAQ,QAAQ,eAAe;AAC7D,SAAO,IAAI,sBAAsB,KAAK,WAAW,gBAAgB,SAAS,MAAM,gBAAgB,QAAQ,YAAY,EAAE,EAAE,aAAa,UAAU,EAAE,QAAQ,aAAa,UAAU,CAAC,KAAK,UAAU,GAAG,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,SAAS,aAAa,aAAa,UAAU,CAAC,KAAK,UAAU,EAAE,CAAC,EAAE,aAAa,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC;;CAEjW,MAAM,aAAa,aAAa,QAAQ,QAAQ,eAAe;AAC3D,SAAO,KAAK,QAAQ,aAAa,cAAc,MAAM,gBAAgB,cAAc,OAAO,EAAE,EAAE,aAAa,UAAU,GAAG,MAAM,gBAAgB,cAAc,OAAO,EAAE,EAAE,aAAa,UAAU,EAAE,aAAa,UAAU;;CAE3N,SAAS,aAAa,aAAa,gBAAgB,QAAQ,QAAQ,eAAe;AAC9E,SAAO,KAAK,WAAW,aAAa,aAAa,iBAAiB,OAAO,MAAM,gBAAgB,cAAc,OAAO,EAAE,CAAC,EAAE,EAAE,aAAa,UAAU,GAAG,MAAM,gBAAgB,cAAc,OAAO,EAAE,EAAE,aAAa,UAAU,EAAE,aAAa,UAAU;;CAExP,WAAW,IAAI,eAAe;AAC1B,SAAO,KAAK,UAAU,WAAW,GAAG;;;;;;AAM5C,SAAgB,qBAAqB,MAAM"}
1
+ {"version":3,"file":"definition.mjs","names":[],"sources":["../../../esm/Ref/Synchronized/definition.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/Synchronized/definition.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport { RefInternal } from \"../definition.js\";\nexport const SynchronizedTypeId = Symbol.for(\"fncts.io.Ref.Synchronized\");\n/**\n * @tsplus static fncts.io.RefOps Synchronized\n */\nexport const Synchronized = {};\n/**\n * @tsplus type fncts.io.Ref.Synchronized\n */\nexport class PSynchronizedInternal extends RefInternal {\n semaphore;\n unsafeGet;\n unsafeSet;\n [SynchronizedTypeId] = SynchronizedTypeId;\n constructor(semaphore, unsafeGet, unsafeSet) {\n super();\n this.semaphore = semaphore;\n this.unsafeGet = unsafeGet;\n this.unsafeSet = unsafeSet;\n }\n get get() {\n return this.withPermit(this.unsafeGet, fileName_1 + \":85:27\");\n }\n set(a, __tsplusTrace) {\n return this.withPermit(this.unsafeSet(a), fileName_1 + \":89:27\");\n }\n modify(f, __tsplusTrace) {\n return this.modifyIO((a) => tsplus_module_1.succeedNow(f(a), fileName_1 + \":93:46\"), fileName_1 + \":93:25\");\n }\n modifyIO(f, __tsplusTrace) {\n return this.withPermit(tsplus_module_1.flatMap(([c, a]) => tsplus_module_1.as(() => c, fileName_1 + \":100:94\")(this.unsafeSet(a)), fileName_1 + \":100:61\")(tsplus_module_1.flatMap(f, fileName_1 + \":100:50\")(this.unsafeGet)), fileName_1 + \":100:27\");\n }\n matchAllIO(mapSetError, mapGetError, mapSetGetError, mapSet, mapGet, __tsplusTrace) {\n return new PSynchronizedInternal(this.semaphore, tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapGetError(e), fileName_1 + \":113:41\"), mapGet, fileName_1 + \":113:23\")(this.get), (c) => tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapSetGetError(e), fileName_1 + \":116:28\"), (b) => tsplus_module_1.flatMap((a) => tsplus_module_1.mapError(mapSetError, fileName_1 + \":117:72\")(this.unsafeSet(a)), fileName_1 + \":117:38\")(mapSet(c)(b)), fileName_1 + \":115:25\")(this.get));\n }\n matchIO(mapSetError, mapGetError, mapSet, mapGet, __tsplusTrace) {\n return new PSynchronizedInternal(this.semaphore, tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapGetError(e), fileName_1 + \":131:47\"), mapGet, fileName_1 + \":131:29\")(this.unsafeGet), (c) => tsplus_module_1.flatMap((a) => tsplus_module_1.mapError(mapSetError, fileName_1 + \":132:65\")(this.unsafeSet(a)), fileName_1 + \":132:31\")(mapSet(c)));\n }\n match(mapSetError, mapGetError, mapSet, mapGet, __tsplusTrace) {\n return this.matchIO(mapSetError, mapGetError, (c) => tsplus_module_1.fromEitherNow(mapSet(c), fileName_1 + \":146:30\"), (b) => tsplus_module_1.fromEitherNow(mapGet(b), fileName_1 + \":147:30\"), fileName_1 + \":143:24\");\n }\n matchAll(mapSetError, mapGetError, mapSetGetError, mapSet, mapGet, __tsplusTrace) {\n return this.matchAllIO(mapSetError, mapGetError, mapSetGetError, (c) => (b) => tsplus_module_1.fromEitherNow(mapSet(c)(b), fileName_1 + \":163:37\"), (b) => tsplus_module_1.fromEitherNow(mapGet(b), fileName_1 + \":164:30\"), fileName_1 + \":159:27\");\n }\n withPermit(io, __tsplusTrace) {\n return this.semaphore.withPermit(io);\n }\n}\n/**\n * @tsplus macro remove\n */\nexport function concreteSynchronized(self) {\n //\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";;;AAAA,MAAM,aAAa;AAGnB,MAAa,qBAAqB,OAAO,IAAI,2BAA2B;;;;AAIxE,MAAa,eAAe,CAAC;;;;AAI7B,IAAa,wBAAb,MAAa,8BAA8B,YAAY;CACnD;CACA;CACA;CACA,CAAC,sBAAsB;CACvB,YAAY,WAAW,WAAW,WAAW;EACzC,MAAM;EACN,KAAK,YAAY;EACjB,KAAK,YAAY;EACjB,KAAK,YAAY;CACrB;CACA,IAAI,MAAM;EACN,OAAO,KAAK,WAAW,KAAK,WAAW,aAAa,QAAQ;CAChE;CACA,IAAI,GAAG,eAAe;EAClB,OAAO,KAAK,WAAW,KAAK,UAAU,CAAC,GAAG,aAAa,QAAQ;CACnE;CACA,OAAO,GAAG,eAAe;EACrB,OAAO,KAAK,UAAU,MAAM,gBAAgB,WAAW,EAAE,CAAC,GAAG,aAAa,QAAQ,GAAG,aAAa,QAAQ;CAC9G;CACA,SAAS,GAAG,eAAe;EACvB,OAAO,KAAK,WAAW,gBAAgB,SAAS,CAAC,GAAG,OAAO,gBAAgB,SAAS,GAAG,aAAa,SAAS,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,GAAG,aAAa,SAAS,CAAC,CAAC,gBAAgB,QAAQ,GAAG,aAAa,SAAS,CAAC,CAAC,KAAK,SAAS,CAAC,GAAG,aAAa,SAAS;CAC1P;CACA,WAAW,aAAa,aAAa,gBAAgB,QAAQ,QAAQ,eAAe;EAChF,OAAO,IAAI,sBAAsB,KAAK,WAAW,gBAAgB,SAAS,MAAM,gBAAgB,QAAQ,YAAY,CAAC,GAAG,aAAa,SAAS,GAAG,QAAQ,aAAa,SAAS,CAAC,CAAC,KAAK,GAAG,IAAI,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,QAAQ,eAAe,CAAC,GAAG,aAAa,SAAS,IAAI,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,SAAS,aAAa,aAAa,SAAS,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,GAAG,aAAa,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,aAAa,SAAS,CAAC,CAAC,KAAK,GAAG,CAAC;CAC1e;CACA,QAAQ,aAAa,aAAa,QAAQ,QAAQ,eAAe;EAC7D,OAAO,IAAI,sBAAsB,KAAK,WAAW,gBAAgB,SAAS,MAAM,gBAAgB,QAAQ,YAAY,CAAC,GAAG,aAAa,SAAS,GAAG,QAAQ,aAAa,SAAS,CAAC,CAAC,KAAK,SAAS,IAAI,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,SAAS,aAAa,aAAa,SAAS,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,GAAG,aAAa,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;CAChW;CACA,MAAM,aAAa,aAAa,QAAQ,QAAQ,eAAe;EAC3D,OAAO,KAAK,QAAQ,aAAa,cAAc,MAAM,gBAAgB,cAAc,OAAO,CAAC,GAAG,aAAa,SAAS,IAAI,MAAM,gBAAgB,cAAc,OAAO,CAAC,GAAG,aAAa,SAAS,GAAG,aAAa,SAAS;CAC1N;CACA,SAAS,aAAa,aAAa,gBAAgB,QAAQ,QAAQ,eAAe;EAC9E,OAAO,KAAK,WAAW,aAAa,aAAa,iBAAiB,OAAO,MAAM,gBAAgB,cAAc,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,aAAa,SAAS,IAAI,MAAM,gBAAgB,cAAc,OAAO,CAAC,GAAG,aAAa,SAAS,GAAG,aAAa,SAAS;CACvP;CACA,WAAW,IAAI,eAAe;EAC1B,OAAO,KAAK,UAAU,WAAW,EAAE;CACvC;AACJ;;;;AAIA,SAAgB,qBAAqB,MAAM,CAE3C"}
@@ -2,7 +2,7 @@ import * as tsplus_module_2 from "@fncts/base/data/Either/constructors";
2
2
  import * as tsplus_module_1 from "@fncts/base/data/Maybe/constructors";
3
3
  import { identity } from "@fncts/base/data/function";
4
4
  import * as tsplus_module_3 from "@fncts/io/Ref/api/match";
5
- //#region build/esm/Ref/api/collect.js
5
+ // build/esm/Ref/api/collect.js
6
6
  /**
7
7
  * Maps and filters the `get` value of the `Ref` with the specified partial
8
8
  * function, returning a `Ref` with a `get` value that succeeds with the
@@ -16,7 +16,6 @@ function collect(pf, __tsplusTrace) {
16
16
  return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => tsplus_module_2.fromMaybe(() => tsplus_module_1.nothing(__tsplusTrace))(pf(b)))(ref);
17
17
  };
18
18
  }
19
- //#endregion
20
19
  export { collect };
21
20
 
22
21
  //# sourceMappingURL=collect.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"collect.mjs","names":[],"sources":["../../../esm/Ref/api/collect.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n/**\n * Maps and filters the `get` value of the `Ref` with the specified partial\n * function, returning a `Ref` with a `get` value that succeeds with the\n * result of the partial function if it is defined or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref collect\n * @tsplus pipeable fncts.io.Ref.Synchronized collect\n */\nexport function collect(pf, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => tsplus_module_2.fromMaybe(() => tsplus_module_1.nothing(__tsplusTrace))(pf(b)))(ref);\n };\n}\n//# sourceMappingURL=collect.js.map"],"mappings":";;;;;;;;;;;;;AAYA,SAAgB,QAAQ,IAAI,eAAe;AACvC,SAAQ,QAAQ;AACZ,SAAO,gBAAgB,MAAM,UAAU,gBAAgB,MAAM,gBAAgB,QAAQ,MAAM,gBAAgB,gBAAgB,gBAAgB,QAAQ,cAAc,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI"}
1
+ {"version":3,"file":"collect.mjs","names":[],"sources":["../../../esm/Ref/api/collect.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n/**\n * Maps and filters the `get` value of the `Ref` with the specified partial\n * function, returning a `Ref` with a `get` value that succeeds with the\n * result of the partial function if it is defined or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref collect\n * @tsplus pipeable fncts.io.Ref.Synchronized collect\n */\nexport function collect(pf, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => tsplus_module_2.fromMaybe(() => tsplus_module_1.nothing(__tsplusTrace))(pf(b)))(ref);\n };\n}\n//# sourceMappingURL=collect.js.map"],"mappings":";;;;;;;;;;;;;AAYA,SAAgB,QAAQ,IAAI,eAAe;CACvC,QAAQ,QAAQ;EACZ,OAAO,gBAAgB,MAAM,UAAU,gBAAgB,MAAM,gBAAgB,QAAQ,MAAM,gBAAgB,gBAAgB,gBAAgB,QAAQ,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;CAClL;AACJ"}
@@ -1,6 +1,6 @@
1
1
  import * as tsplus_module_1 from "@fncts/base/data/Either/constructors";
2
2
  import * as tsplus_module_2 from "@fncts/io/Ref/api/match";
3
- //#region build/esm/Ref/api/dimap.js
3
+ // build/esm/Ref/api/dimap.js
4
4
  const contramapEither = contramapEither_1;
5
5
  const dimapEither = dimapEither_1;
6
6
  const mapEither = mapEither_1;
@@ -86,7 +86,6 @@ function map(f, __tsplusTrace) {
86
86
  return mapEither_1((b) => tsplus_module_1.right(f(b), __tsplusTrace), __tsplusTrace)(ref);
87
87
  };
88
88
  }
89
- //#endregion
90
89
  export { contramap, contramapEither, dimap, dimapEither, dimapError, map, mapEither };
91
90
 
92
91
  //# sourceMappingURL=dimap.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dimap.mjs","names":[],"sources":["../../../esm/Ref/api/dimap.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Ref/api/match\";\nexport const contramapEither = contramapEither_1;\nexport const dimapEither = dimapEither_1;\nexport const mapEither = mapEither_1;\n/**\n * Transforms the `set` value of the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref contramap\n * @tsplus pipeable fncts.io.Ref.Synchronized contramap\n */\nexport function contramap(f, __tsplusTrace) {\n return (self) => {\n return contramapEither_1((c) => tsplus_module_1.right(f(c), __tsplusTrace), __tsplusTrace)(self);\n };\n}\n/**\n * Transforms the `set` value of the `Ref` with the specified fallible\n * function.\n *\n * @tsplus pipeable fncts.io.Ref contramapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized contramapEither\n */\nfunction contramapEither_1(f, __tsplusTrace) {\n return (self) => {\n return dimapEither_1(f, tsplus_module_1.right, __tsplusTrace)(self);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Ref` with the\n * specified functions.\n *\n * @tsplus pipeable fncts.io.Ref dimap\n * @tsplus pipeable fncts.io.Ref.Synchronized dimap\n */\nexport function dimap(f, g, __tsplusTrace) {\n return (self) => {\n return dimapEither_1((c) => tsplus_module_1.right(f(c), __tsplusTrace), (b) => tsplus_module_1.right(g(b), __tsplusTrace), __tsplusTrace)(self);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Ref` with the\n * specified fallible functions.\n *\n * @tsplus pipeable fncts.io.Ref dimapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapEither\n */\nfunction dimapEither_1(f, g, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_2.match((ea) => ea, (eb) => eb, f, g)(ref);\n };\n}\n/**\n * Transforms both the `set` and `get` errors of the `Ref` with the\n * specified functions.\n *\n * @tsplus pipeable fncts.io.Ref dimapError\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapError\n */\nexport function dimapError(f, g, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_2.match(f, g, tsplus_module_1.right, tsplus_module_1.right)(ref);\n };\n}\n/**\n * Transforms the `get` value of the `Ref` with the specified fallible\n * function.\n *\n * @tsplus pipeable fncts.io.Ref mapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized mapEither\n */\nfunction mapEither_1(f, __tsplusTrace) {\n return (ref) => {\n return dimapEither_1(tsplus_module_1.right, f, __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms the `get` value of the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref map\n * @tsplus pipeable fncts.io.Ref.Synchronized map\n */\nexport function map(f, __tsplusTrace) {\n return (ref) => {\n return mapEither_1((b) => tsplus_module_1.right(f(b), __tsplusTrace), __tsplusTrace)(ref);\n };\n}\n//# sourceMappingURL=dimap.js.map"],"mappings":";;;AAEA,MAAa,kBAAkB;AAC/B,MAAa,cAAc;AAC3B,MAAa,YAAY;;;;;;;AAOzB,SAAgB,UAAU,GAAG,eAAe;AACxC,SAAQ,SAAS;AACb,SAAO,mBAAmB,MAAM,gBAAgB,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,cAAc,CAAC,KAAK;;;;;;;;;;AAUxG,SAAS,kBAAkB,GAAG,eAAe;AACzC,SAAQ,SAAS;AACb,SAAO,cAAc,GAAG,gBAAgB,OAAO,cAAc,CAAC,KAAK;;;;;;;;;;AAU3E,SAAgB,MAAM,GAAG,GAAG,eAAe;AACvC,SAAQ,SAAS;AACb,SAAO,eAAe,MAAM,gBAAgB,MAAM,EAAE,EAAE,EAAE,cAAc,GAAG,MAAM,gBAAgB,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,cAAc,CAAC,KAAK;;;;;;;;;;AAUvJ,SAAS,cAAc,GAAG,GAAG,eAAe;AACxC,SAAQ,QAAQ;AACZ,SAAO,gBAAgB,OAAO,OAAO,KAAK,OAAO,IAAI,GAAG,EAAE,CAAC,IAAI;;;;;;;;;;AAUvE,SAAgB,WAAW,GAAG,GAAG,eAAe;AAC5C,SAAQ,QAAQ;AACZ,SAAO,gBAAgB,MAAM,GAAG,GAAG,gBAAgB,OAAO,gBAAgB,MAAM,CAAC,IAAI;;;;;;;;;;AAU7F,SAAS,YAAY,GAAG,eAAe;AACnC,SAAQ,QAAQ;AACZ,SAAO,cAAc,gBAAgB,OAAO,GAAG,cAAc,CAAC,IAAI;;;;;;;;;AAS1E,SAAgB,IAAI,GAAG,eAAe;AAClC,SAAQ,QAAQ;AACZ,SAAO,aAAa,MAAM,gBAAgB,MAAM,EAAE,EAAE,EAAE,cAAc,EAAE,cAAc,CAAC,IAAI"}
1
+ {"version":3,"file":"dimap.mjs","names":[],"sources":["../../../esm/Ref/api/dimap.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Ref/api/match\";\nexport const contramapEither = contramapEither_1;\nexport const dimapEither = dimapEither_1;\nexport const mapEither = mapEither_1;\n/**\n * Transforms the `set` value of the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref contramap\n * @tsplus pipeable fncts.io.Ref.Synchronized contramap\n */\nexport function contramap(f, __tsplusTrace) {\n return (self) => {\n return contramapEither_1((c) => tsplus_module_1.right(f(c), __tsplusTrace), __tsplusTrace)(self);\n };\n}\n/**\n * Transforms the `set` value of the `Ref` with the specified fallible\n * function.\n *\n * @tsplus pipeable fncts.io.Ref contramapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized contramapEither\n */\nfunction contramapEither_1(f, __tsplusTrace) {\n return (self) => {\n return dimapEither_1(f, tsplus_module_1.right, __tsplusTrace)(self);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Ref` with the\n * specified functions.\n *\n * @tsplus pipeable fncts.io.Ref dimap\n * @tsplus pipeable fncts.io.Ref.Synchronized dimap\n */\nexport function dimap(f, g, __tsplusTrace) {\n return (self) => {\n return dimapEither_1((c) => tsplus_module_1.right(f(c), __tsplusTrace), (b) => tsplus_module_1.right(g(b), __tsplusTrace), __tsplusTrace)(self);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Ref` with the\n * specified fallible functions.\n *\n * @tsplus pipeable fncts.io.Ref dimapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapEither\n */\nfunction dimapEither_1(f, g, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_2.match((ea) => ea, (eb) => eb, f, g)(ref);\n };\n}\n/**\n * Transforms both the `set` and `get` errors of the `Ref` with the\n * specified functions.\n *\n * @tsplus pipeable fncts.io.Ref dimapError\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapError\n */\nexport function dimapError(f, g, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_2.match(f, g, tsplus_module_1.right, tsplus_module_1.right)(ref);\n };\n}\n/**\n * Transforms the `get` value of the `Ref` with the specified fallible\n * function.\n *\n * @tsplus pipeable fncts.io.Ref mapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized mapEither\n */\nfunction mapEither_1(f, __tsplusTrace) {\n return (ref) => {\n return dimapEither_1(tsplus_module_1.right, f, __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms the `get` value of the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref map\n * @tsplus pipeable fncts.io.Ref.Synchronized map\n */\nexport function map(f, __tsplusTrace) {\n return (ref) => {\n return mapEither_1((b) => tsplus_module_1.right(f(b), __tsplusTrace), __tsplusTrace)(ref);\n };\n}\n//# sourceMappingURL=dimap.js.map"],"mappings":";;;AAEA,MAAa,kBAAkB;AAC/B,MAAa,cAAc;AAC3B,MAAa,YAAY;;;;;;;AAOzB,SAAgB,UAAU,GAAG,eAAe;CACxC,QAAQ,SAAS;EACb,OAAO,mBAAmB,MAAM,gBAAgB,MAAM,EAAE,CAAC,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC,IAAI;CACnG;AACJ;;;;;;;;AAQA,SAAS,kBAAkB,GAAG,eAAe;CACzC,QAAQ,SAAS;EACb,OAAO,cAAc,GAAG,gBAAgB,OAAO,aAAa,CAAC,CAAC,IAAI;CACtE;AACJ;;;;;;;;AAQA,SAAgB,MAAM,GAAG,GAAG,eAAe;CACvC,QAAQ,SAAS;EACb,OAAO,eAAe,MAAM,gBAAgB,MAAM,EAAE,CAAC,GAAG,aAAa,IAAI,MAAM,gBAAgB,MAAM,EAAE,CAAC,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC,IAAI;CAClJ;AACJ;;;;;;;;AAQA,SAAS,cAAc,GAAG,GAAG,eAAe;CACxC,QAAQ,QAAQ;EACZ,OAAO,gBAAgB,OAAO,OAAO,KAAK,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG;CAClE;AACJ;;;;;;;;AAQA,SAAgB,WAAW,GAAG,GAAG,eAAe;CAC5C,QAAQ,QAAQ;EACZ,OAAO,gBAAgB,MAAM,GAAG,GAAG,gBAAgB,OAAO,gBAAgB,KAAK,CAAC,CAAC,GAAG;CACxF;AACJ;;;;;;;;AAQA,SAAS,YAAY,GAAG,eAAe;CACnC,QAAQ,QAAQ;EACZ,OAAO,cAAc,gBAAgB,OAAO,GAAG,aAAa,CAAC,CAAC,GAAG;CACrE;AACJ;;;;;;;AAOA,SAAgB,IAAI,GAAG,eAAe;CAClC,QAAQ,QAAQ;EACZ,OAAO,aAAa,MAAM,gBAAgB,MAAM,EAAE,CAAC,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC,GAAG;CAC5F;AACJ"}
@@ -2,7 +2,7 @@ import * as tsplus_module_2 from "@fncts/base/data/Either/constructors";
2
2
  import * as tsplus_module_1 from "@fncts/base/data/Maybe/constructors";
3
3
  import { identity } from "@fncts/base/data/function";
4
4
  import * as tsplus_module_3 from "@fncts/io/Ref/api/match";
5
- //#region build/esm/Ref/api/filter.js
5
+ // build/esm/Ref/api/filter.js
6
6
  /**
7
7
  * Filters the `set` value of the `Ref` with the specified predicate,
8
8
  * returning a `Ref` with a `set` value that succeeds if the predicate is
@@ -29,7 +29,6 @@ function filterOutput(p, __tsplusTrace) {
29
29
  return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => p(b) ? tsplus_module_2.right(b, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace))(self);
30
30
  };
31
31
  }
32
- //#endregion
33
32
  export { filterInput, filterOutput };
34
33
 
35
34
  //# sourceMappingURL=filter.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter.mjs","names":[],"sources":["../../../esm/Ref/api/filter.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n/**\n * Filters the `set` value of the `Ref` with the specified predicate,\n * returning a `Ref` with a `set` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref filterInput\n * @tsplus pipeable fncts.io.Ref.Synchronized filterInput\n */\nexport function filterInput(p, __tsplusTrace) {\n return (self) => {\n return tsplus_module_3.match(tsplus_module_1.just, identity, (a) => (p(a) ? tsplus_module_2.right(a, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace)), tsplus_module_2.right)(self);\n };\n}\n/**\n * Filters the `get` value of the `Ref` with the specified predicate,\n * returning a `Ref` with a `get` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref filterOutput\n * @tsplus pipeable fncts.io.Ref.Synchronized filterOutput\n */\nexport function filterOutput(p, __tsplusTrace) {\n return (self) => {\n return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => (p(b) ? tsplus_module_2.right(b, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace)))(self);\n };\n}\n//# sourceMappingURL=filter.js.map"],"mappings":";;;;;;;;;;;;;AAYA,SAAgB,YAAY,GAAG,eAAe;AAC1C,SAAQ,SAAS;AACb,SAAO,gBAAgB,MAAM,gBAAgB,MAAM,WAAW,MAAO,EAAE,EAAE,GAAG,gBAAgB,MAAM,GAAG,cAAc,GAAG,gBAAgB,KAAK,gBAAgB,QAAQ,cAAc,EAAE,cAAc,EAAG,gBAAgB,MAAM,CAAC,KAAK;;;;;;;;;;;AAWxO,SAAgB,aAAa,GAAG,eAAe;AAC3C,SAAQ,SAAS;AACb,SAAO,gBAAgB,MAAM,UAAU,gBAAgB,MAAM,gBAAgB,QAAQ,MAAO,EAAE,EAAE,GAAG,gBAAgB,MAAM,GAAG,cAAc,GAAG,gBAAgB,KAAK,gBAAgB,QAAQ,cAAc,EAAE,cAAc,CAAE,CAAC,KAAK"}
1
+ {"version":3,"file":"filter.mjs","names":[],"sources":["../../../esm/Ref/api/filter.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n/**\n * Filters the `set` value of the `Ref` with the specified predicate,\n * returning a `Ref` with a `set` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref filterInput\n * @tsplus pipeable fncts.io.Ref.Synchronized filterInput\n */\nexport function filterInput(p, __tsplusTrace) {\n return (self) => {\n return tsplus_module_3.match(tsplus_module_1.just, identity, (a) => (p(a) ? tsplus_module_2.right(a, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace)), tsplus_module_2.right)(self);\n };\n}\n/**\n * Filters the `get` value of the `Ref` with the specified predicate,\n * returning a `Ref` with a `get` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref filterOutput\n * @tsplus pipeable fncts.io.Ref.Synchronized filterOutput\n */\nexport function filterOutput(p, __tsplusTrace) {\n return (self) => {\n return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => (p(b) ? tsplus_module_2.right(b, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace)))(self);\n };\n}\n//# sourceMappingURL=filter.js.map"],"mappings":";;;;;;;;;;;;;AAYA,SAAgB,YAAY,GAAG,eAAe;CAC1C,QAAQ,SAAS;EACb,OAAO,gBAAgB,MAAM,gBAAgB,MAAM,WAAW,MAAO,EAAE,CAAC,IAAI,gBAAgB,MAAM,GAAG,aAAa,IAAI,gBAAgB,KAAK,gBAAgB,QAAQ,aAAa,GAAG,aAAa,GAAI,gBAAgB,KAAK,CAAC,CAAC,IAAI;CACnO;AACJ;;;;;;;;;AASA,SAAgB,aAAa,GAAG,eAAe;CAC3C,QAAQ,SAAS;EACb,OAAO,gBAAgB,MAAM,UAAU,gBAAgB,MAAM,gBAAgB,QAAQ,MAAO,EAAE,CAAC,IAAI,gBAAgB,MAAM,GAAG,aAAa,IAAI,gBAAgB,KAAK,gBAAgB,QAAQ,aAAa,GAAG,aAAa,CAAE,CAAC,CAAC,IAAI;CACnO;AACJ"}
@@ -1,4 +1,4 @@
1
- //#region build/esm/Ref/api/get.js
1
+ // build/esm/Ref/api/get.js
2
2
  /**
3
3
  * Reads the value from the `Ref`.
4
4
  *
@@ -8,7 +8,6 @@
8
8
  function get(self, __tsplusTrace) {
9
9
  return self.get;
10
10
  }
11
- //#endregion
12
11
  export { get };
13
12
 
14
13
  //# sourceMappingURL=get.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"get.mjs","names":[],"sources":["../../../esm/Ref/api/get.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Reads the value from the `Ref`.\n *\n * @tsplus getter fncts.io.Ref get\n * @tsplus getter fncts.io.Ref.Synchronized get\n */\nexport function get(self, __tsplusTrace) {\n void 0;\n return self.get;\n}\n//# sourceMappingURL=get.js.map"],"mappings":";;;;;;;AAOA,SAAgB,IAAI,MAAM,eAAe;AAErC,QAAO,KAAK"}
1
+ {"version":3,"file":"get.mjs","names":[],"sources":["../../../esm/Ref/api/get.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Reads the value from the `Ref`.\n *\n * @tsplus getter fncts.io.Ref get\n * @tsplus getter fncts.io.Ref.Synchronized get\n */\nexport function get(self, __tsplusTrace) {\n void 0;\n return self.get;\n}\n//# sourceMappingURL=get.js.map"],"mappings":";;;;;;;AAOA,SAAgB,IAAI,MAAM,eAAe;CAErC,OAAO,KAAK;AAChB"}
@@ -1,4 +1,4 @@
1
- //#region build/esm/Ref/api/match.js
1
+ // build/esm/Ref/api/match.js
2
2
  /**
3
3
  * Folds over the error and value types of the `Ref`. This is a highly
4
4
  * polymorphic method that is capable of arbitrarily transforming the error
@@ -14,7 +14,6 @@ function match(ea, eb, ca, bd) {
14
14
  return ref.match(ea, eb, ca, bd);
15
15
  };
16
16
  }
17
- //#endregion
18
17
  export { match };
19
18
 
20
19
  //# sourceMappingURL=match.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"match.mjs","names":[],"sources":["../../../esm/Ref/api/match.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Folds over the error and value types of the `Ref`. This is a highly\n * polymorphic method that is capable of arbitrarily transforming the error\n * and value types of the `Ref`. For most use cases one of the more specific\n * combinators implemented in terms of `match` will be more ergonomic but this\n * method is extremely useful for implementing new combinators.\n *\n * @tsplus pipeable fncts.io.Ref match\n * @tsplus pipeable fncts.io.Ref.Synchronized match\n */\nexport function match(ea, eb, ca, bd) {\n return (ref) => {\n void 0;\n return ref.match(ea, eb, ca, bd);\n };\n}\n//# sourceMappingURL=match.js.map"],"mappings":";;;;;;;;;;;AAWA,SAAgB,MAAM,IAAI,IAAI,IAAI,IAAI;AAClC,SAAQ,QAAQ;AAEZ,SAAO,IAAI,MAAM,IAAI,IAAI,IAAI,GAAG"}
1
+ {"version":3,"file":"match.mjs","names":[],"sources":["../../../esm/Ref/api/match.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Folds over the error and value types of the `Ref`. This is a highly\n * polymorphic method that is capable of arbitrarily transforming the error\n * and value types of the `Ref`. For most use cases one of the more specific\n * combinators implemented in terms of `match` will be more ergonomic but this\n * method is extremely useful for implementing new combinators.\n *\n * @tsplus pipeable fncts.io.Ref match\n * @tsplus pipeable fncts.io.Ref.Synchronized match\n */\nexport function match(ea, eb, ca, bd) {\n return (ref) => {\n void 0;\n return ref.match(ea, eb, ca, bd);\n };\n}\n//# sourceMappingURL=match.js.map"],"mappings":";;;;;;;;;;;AAWA,SAAgB,MAAM,IAAI,IAAI,IAAI,IAAI;CAClC,QAAQ,QAAQ;EAEZ,OAAO,IAAI,MAAM,IAAI,IAAI,IAAI,EAAE;CACnC;AACJ"}
@@ -1,4 +1,4 @@
1
- //#region build/esm/Ref/api/matchAll.js
1
+ // build/esm/Ref/api/matchAll.js
2
2
  /**
3
3
  * Folds over the error and value types of the `Ref`, allowing access to
4
4
  * the state in transforming the `set` value. This is a more powerful version
@@ -12,7 +12,6 @@ function matchAll(ea, eb, ec, ca, bd) {
12
12
  return ref.matchAll(ea, eb, ec, ca, bd);
13
13
  };
14
14
  }
15
- //#endregion
16
15
  export { matchAll };
17
16
 
18
17
  //# sourceMappingURL=matchAll.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"matchAll.mjs","names":[],"sources":["../../../esm/Ref/api/matchAll.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Folds over the error and value types of the `Ref`, allowing access to\n * the state in transforming the `set` value. This is a more powerful version\n * of `match` but requires unifying the error types.\n *\n * @tsplus fluent fncts.io.Ref matchAll\n * @tsplus fluent fncts.io.Ref.Synchronized matchAll\n */\nexport function matchAll(ea, eb, ec, ca, bd) {\n return (ref) => {\n void 0;\n return ref.matchAll(ea, eb, ec, ca, bd);\n };\n}\n//# sourceMappingURL=matchAll.js.map"],"mappings":";;;;;;;;;AASA,SAAgB,SAAS,IAAI,IAAI,IAAI,IAAI,IAAI;AACzC,SAAQ,QAAQ;AAEZ,SAAO,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,GAAG"}
1
+ {"version":3,"file":"matchAll.mjs","names":[],"sources":["../../../esm/Ref/api/matchAll.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Folds over the error and value types of the `Ref`, allowing access to\n * the state in transforming the `set` value. This is a more powerful version\n * of `match` but requires unifying the error types.\n *\n * @tsplus fluent fncts.io.Ref matchAll\n * @tsplus fluent fncts.io.Ref.Synchronized matchAll\n */\nexport function matchAll(ea, eb, ec, ca, bd) {\n return (ref) => {\n void 0;\n return ref.matchAll(ea, eb, ec, ca, bd);\n };\n}\n//# sourceMappingURL=matchAll.js.map"],"mappings":";;;;;;;;;AASA,SAAgB,SAAS,IAAI,IAAI,IAAI,IAAI,IAAI;CACzC,QAAQ,QAAQ;EAEZ,OAAO,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;CAC1C;AACJ"}
@@ -1,6 +1,6 @@
1
1
  import * as tsplus_module_1 from "@fncts/base/data/Maybe/api";
2
2
  import { tuple } from "@fncts/base/data/function";
3
- //#region build/esm/Ref/api/modify.js
3
+ // build/esm/Ref/api/modify.js
4
4
  const modify = modify_1;
5
5
  /**
6
6
  * Atomically modifies the `Ref` with the specified function, which
@@ -120,7 +120,6 @@ function updateJustAndGet(f, __tsplusTrace) {
120
120
  }, __tsplusTrace)(self);
121
121
  };
122
122
  }
123
- //#endregion
124
123
  export { getAndSet, getAndUpdate, getAndUpdateJust, modify, modifyJust, update, updateAndGet, updateJust, updateJustAndGet };
125
124
 
126
125
  //# sourceMappingURL=modify.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"modify.mjs","names":[],"sources":["../../../esm/Ref/api/modify.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/api\";\nexport const modify = modify_1;\nimport { tuple } from \"@fncts/base/data/function\";\nimport { concrete } from \"../definition.js\";\n/**\n * Atomically modifies the `Ref` with the specified function, which\n * computes a return value for the modification. This is a more powerful\n * version of `update`.\n *\n * @tsplus pipeable fncts.io.Ref modify\n * @tsplus pipeable fncts.io.Ref.Synchronized modify\n */\nfunction modify_1(f, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.modify(f, __tsplusTrace);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function,\n * which computes a return value for the modification if the function is\n * defined on the current value otherwise it returns a default value. This\n * is a more powerful version of `updateJust`.\n *\n * @tsplus pipeable fncts.io.Ref modifyJust\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyJust\n */\nexport function modifyJust(def, f, __tsplusTrace) {\n return (self) => {\n return modify_1((a) => tsplus_module_1.getOrElse(() => tuple(def, a))(f(a)), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically writes the specified value to the `Ref`, returning the value\n * immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref getAndSet\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndSet\n */\nexport function getAndSet(a, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(a0, a), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified function, returning\n * the value immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref getAndUpdate\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdate\n */\nexport function getAndUpdate(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(a0, f(a0)), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function,\n * returning the value immediately before modification. If the function is\n * undefined on the current value it doesn't change it.\n *\n * @tsplus pipeable fncts.io.Ref getAndUpdateJust\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdateJust\n */\nexport function getAndUpdateJust(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(a0, tsplus_module_1.getOrElse(() => a0)(f(a0))), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref update\n * @tsplus pipeable fncts.io.Ref.Synchronized update\n */\nexport function update(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(undefined, f(a0)), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified function and returns\n * the updated value.\n *\n * @tsplus pipeable fncts.io.Ref updateAndGet\n * @tsplus pipeable fncts.io.Ref.Synchronized updateAndGet\n */\nexport function updateAndGet(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => {\n const r = f(a0);\n return tuple(r, r);\n }, __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function. If\n * the function is undefined on the current value it doesn't change it.\n *\n * @tsplus pipeable fncts.io.Ref updateJust\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJust\n */\nexport function updateJust(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(undefined, tsplus_module_1.getOrElse(() => a0)(f(a0))), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function. If\n * the function is undefined on the current value it returns the old value\n * without changing it.\n *\n * @tsplus pipeable fncts.io.Ref updateJustAndGet\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustAndGet\n */\nexport function updateJustAndGet(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => {\n const r = tsplus_module_1.getOrElse(() => a0)(f(a0));\n return tuple(r, r);\n }, __tsplusTrace)(self);\n };\n}\n//# sourceMappingURL=modify.js.map"],"mappings":";;;AACA,MAAa,SAAS;;;;;;;;;AAWtB,SAAS,SAAS,GAAG,eAAe;AAChC,SAAQ,SAAS;AAEb,SAAO,KAAK,OAAO,GAAG,cAAc;;;;;;;;;;;;AAY5C,SAAgB,WAAW,KAAK,GAAG,eAAe;AAC9C,SAAQ,SAAS;AACb,SAAO,UAAU,MAAM,gBAAgB,gBAAgB,MAAM,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,cAAc,CAAC,KAAK;;;;;;;;;;AAUzG,SAAgB,UAAU,GAAG,eAAe;AACxC,SAAQ,SAAS;AACb,SAAO,UAAU,OAAO,MAAM,IAAI,EAAE,EAAE,cAAc,CAAC,KAAK;;;;;;;;;;AAUlE,SAAgB,aAAa,GAAG,eAAe;AAC3C,SAAQ,SAAS;AACb,SAAO,UAAU,OAAO,MAAM,IAAI,EAAE,GAAG,CAAC,EAAE,cAAc,CAAC,KAAK;;;;;;;;;;;AAWtE,SAAgB,iBAAiB,GAAG,eAAe;AAC/C,SAAQ,SAAS;AACb,SAAO,UAAU,OAAO,MAAM,IAAI,gBAAgB,gBAAgB,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,cAAc,CAAC,KAAK;;;;;;;;;AAS3G,SAAgB,OAAO,GAAG,eAAe;AACrC,SAAQ,SAAS;AACb,SAAO,UAAU,OAAO,MAAM,KAAA,GAAW,EAAE,GAAG,CAAC,EAAE,cAAc,CAAC,KAAK;;;;;;;;;;AAU7E,SAAgB,aAAa,GAAG,eAAe;AAC3C,SAAQ,SAAS;AACb,SAAO,UAAU,OAAO;GACpB,MAAM,IAAI,EAAE,GAAG;AACf,UAAO,MAAM,GAAG,EAAE;KACnB,cAAc,CAAC,KAAK;;;;;;;;;;AAU/B,SAAgB,WAAW,GAAG,eAAe;AACzC,SAAQ,SAAS;AACb,SAAO,UAAU,OAAO,MAAM,KAAA,GAAW,gBAAgB,gBAAgB,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,cAAc,CAAC,KAAK;;;;;;;;;;;AAWlH,SAAgB,iBAAiB,GAAG,eAAe;AAC/C,SAAQ,SAAS;AACb,SAAO,UAAU,OAAO;GACpB,MAAM,IAAI,gBAAgB,gBAAgB,GAAG,CAAC,EAAE,GAAG,CAAC;AACpD,UAAO,MAAM,GAAG,EAAE;KACnB,cAAc,CAAC,KAAK"}
1
+ {"version":3,"file":"modify.mjs","names":[],"sources":["../../../esm/Ref/api/modify.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/api\";\nexport const modify = modify_1;\nimport { tuple } from \"@fncts/base/data/function\";\nimport { concrete } from \"../definition.js\";\n/**\n * Atomically modifies the `Ref` with the specified function, which\n * computes a return value for the modification. This is a more powerful\n * version of `update`.\n *\n * @tsplus pipeable fncts.io.Ref modify\n * @tsplus pipeable fncts.io.Ref.Synchronized modify\n */\nfunction modify_1(f, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.modify(f, __tsplusTrace);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function,\n * which computes a return value for the modification if the function is\n * defined on the current value otherwise it returns a default value. This\n * is a more powerful version of `updateJust`.\n *\n * @tsplus pipeable fncts.io.Ref modifyJust\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyJust\n */\nexport function modifyJust(def, f, __tsplusTrace) {\n return (self) => {\n return modify_1((a) => tsplus_module_1.getOrElse(() => tuple(def, a))(f(a)), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically writes the specified value to the `Ref`, returning the value\n * immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref getAndSet\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndSet\n */\nexport function getAndSet(a, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(a0, a), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified function, returning\n * the value immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref getAndUpdate\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdate\n */\nexport function getAndUpdate(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(a0, f(a0)), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function,\n * returning the value immediately before modification. If the function is\n * undefined on the current value it doesn't change it.\n *\n * @tsplus pipeable fncts.io.Ref getAndUpdateJust\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdateJust\n */\nexport function getAndUpdateJust(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(a0, tsplus_module_1.getOrElse(() => a0)(f(a0))), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref update\n * @tsplus pipeable fncts.io.Ref.Synchronized update\n */\nexport function update(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(undefined, f(a0)), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified function and returns\n * the updated value.\n *\n * @tsplus pipeable fncts.io.Ref updateAndGet\n * @tsplus pipeable fncts.io.Ref.Synchronized updateAndGet\n */\nexport function updateAndGet(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => {\n const r = f(a0);\n return tuple(r, r);\n }, __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function. If\n * the function is undefined on the current value it doesn't change it.\n *\n * @tsplus pipeable fncts.io.Ref updateJust\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJust\n */\nexport function updateJust(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(undefined, tsplus_module_1.getOrElse(() => a0)(f(a0))), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function. If\n * the function is undefined on the current value it returns the old value\n * without changing it.\n *\n * @tsplus pipeable fncts.io.Ref updateJustAndGet\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustAndGet\n */\nexport function updateJustAndGet(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => {\n const r = tsplus_module_1.getOrElse(() => a0)(f(a0));\n return tuple(r, r);\n }, __tsplusTrace)(self);\n };\n}\n//# sourceMappingURL=modify.js.map"],"mappings":";;;AACA,MAAa,SAAS;;;;;;;;;AAWtB,SAAS,SAAS,GAAG,eAAe;CAChC,QAAQ,SAAS;EAEb,OAAO,KAAK,OAAO,GAAG,aAAa;CACvC;AACJ;;;;;;;;;;AAUA,SAAgB,WAAW,KAAK,GAAG,eAAe;CAC9C,QAAQ,SAAS;EACb,OAAO,UAAU,MAAM,gBAAgB,gBAAgB,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CACpG;AACJ;;;;;;;;AAQA,SAAgB,UAAU,GAAG,eAAe;CACxC,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO,MAAM,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CAC7D;AACJ;;;;;;;;AAQA,SAAgB,aAAa,GAAG,eAAe;CAC3C,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO,MAAM,IAAI,EAAE,EAAE,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CACjE;AACJ;;;;;;;;;AASA,SAAgB,iBAAiB,GAAG,eAAe;CAC/C,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO,MAAM,IAAI,gBAAgB,gBAAgB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CACtG;AACJ;;;;;;;AAOA,SAAgB,OAAO,GAAG,eAAe;CACrC,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO,MAAM,KAAA,GAAW,EAAE,EAAE,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CACxE;AACJ;;;;;;;;AAQA,SAAgB,aAAa,GAAG,eAAe;CAC3C,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO;GACpB,MAAM,IAAI,EAAE,EAAE;GACd,OAAO,MAAM,GAAG,CAAC;EACrB,GAAG,aAAa,CAAC,CAAC,IAAI;CAC1B;AACJ;;;;;;;;AAQA,SAAgB,WAAW,GAAG,eAAe;CACzC,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO,MAAM,KAAA,GAAW,gBAAgB,gBAAgB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CAC7G;AACJ;;;;;;;;;AASA,SAAgB,iBAAiB,GAAG,eAAe;CAC/C,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO;GACpB,MAAM,IAAI,gBAAgB,gBAAgB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;GACnD,OAAO,MAAM,GAAG,CAAC;EACrB,GAAG,aAAa,CAAC,CAAC,IAAI;CAC1B;AACJ"}
@@ -1,4 +1,4 @@
1
- //#region build/esm/Ref/api/set.js
1
+ // build/esm/Ref/api/set.js
2
2
  /**
3
3
  * Writes a new value to the `Ref`, with a guarantee of immediate
4
4
  * consistency (at some cost to performance).
@@ -11,7 +11,6 @@ function set(a, __tsplusTrace) {
11
11
  return self.set(a, __tsplusTrace);
12
12
  };
13
13
  }
14
- //#endregion
15
14
  export { set };
16
15
 
17
16
  //# sourceMappingURL=set.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"set.mjs","names":[],"sources":["../../../esm/Ref/api/set.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Writes a new value to the `Ref`, with a guarantee of immediate\n * consistency (at some cost to performance).\n *\n * @tsplus pipeable fncts.io.Ref set\n * @tsplus pipeable fncts.io.Ref.Synchronized set\n */\nexport function set(a, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.set(a, __tsplusTrace);\n };\n}\n//# sourceMappingURL=set.js.map"],"mappings":";;;;;;;;AAQA,SAAgB,IAAI,GAAG,eAAe;AAClC,SAAQ,SAAS;AAEb,SAAO,KAAK,IAAI,GAAG,cAAc"}
1
+ {"version":3,"file":"set.mjs","names":[],"sources":["../../../esm/Ref/api/set.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Writes a new value to the `Ref`, with a guarantee of immediate\n * consistency (at some cost to performance).\n *\n * @tsplus pipeable fncts.io.Ref set\n * @tsplus pipeable fncts.io.Ref.Synchronized set\n */\nexport function set(a, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.set(a, __tsplusTrace);\n };\n}\n//# sourceMappingURL=set.js.map"],"mappings":";;;;;;;;AAQA,SAAgB,IAAI,GAAG,eAAe;CAClC,QAAQ,SAAS;EAEb,OAAO,KAAK,IAAI,GAAG,aAAa;CACpC;AACJ"}
package/_mjs/Ref/api.mjs CHANGED
@@ -9,8 +9,7 @@ import { set } from "./api/set.mjs";
9
9
  import * as tsplus_module_1 from "@fncts/base/data/Either/constructors";
10
10
  import { identity } from "@fncts/base/data/function";
11
11
  import * as tsplus_module_2 from "@fncts/io/Ref/api/match";
12
- //#region build/esm/Ref/api.js
13
- const fileName_1 = "(@fncts/io) src/Ref/api.ts";
12
+ // build/esm/Ref/api.js
14
13
  /**
15
14
  * Returns a read only view of the `Ref`.
16
15
  *
@@ -27,9 +26,8 @@ function readOnly(ref) {
27
26
  * @tsplus getter fncts.io.Ref.Synchronized writeOnly
28
27
  */
29
28
  function writeOnly(ref) {
30
- return tsplus_module_2.match(identity, () => void 0, tsplus_module_1.right, () => tsplus_module_1.left(void 0, fileName_1 + ":37:22"))(ref);
29
+ return tsplus_module_2.match(identity, () => void 0, tsplus_module_1.right, () => tsplus_module_1.left(void 0, "(@fncts/io) src/Ref/api.ts:37:22"))(ref);
31
30
  }
32
- //#endregion
33
31
  export { collect, contramap, contramapEither, dimap, dimapEither, dimapError, filterInput, filterOutput, get, getAndSet, getAndUpdate, getAndUpdateJust, map, mapEither, match, matchAll, modify, modifyJust, readOnly, set, update, updateAndGet, updateJust, updateJustAndGet, writeOnly };
34
32
 
35
33
  //# sourceMappingURL=api.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.mjs","names":[],"sources":["../../esm/Ref/api.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/api.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n// codegen:start { preset: barrel, include: api/*.ts }\nexport * from \"./api/collect.js\";\nexport * from \"./api/dimap.js\";\nexport * from \"./api/filter.js\";\nexport * from \"./api/get.js\";\nexport * from \"./api/match.js\";\nexport * from \"./api/matchAll.js\";\nexport * from \"./api/modify.js\";\nexport * from \"./api/set.js\";\n// codegen:end\n/**\n * Returns a read only view of the `Ref`.\n *\n * @tsplus getter fncts.io.Ref readOnly\n * @tsplus getter fncts.io.Ref.Synchronized readOnly\n */\nexport function readOnly(ref) {\n return ref;\n}\n/**\n * Returns a write only view of the `Ref`.\n *\n * @tsplus getter fncts.io.Ref writeOnly\n * @tsplus getter fncts.io.Ref.Synchronized writeOnly\n */\nexport function writeOnly(ref) {\n return tsplus_module_2.match(identity, () => undefined, tsplus_module_1.right, () => tsplus_module_1.left(undefined, fileName_1 + \":37:22\"))(ref);\n}\n//# sourceMappingURL=api.js.map"],"mappings":";;;;;;;;;;;;AAAA,MAAM,aAAa;;;;;;;AAoBnB,SAAgB,SAAS,KAAK;AAC1B,QAAO;;;;;;;;AAQX,SAAgB,UAAU,KAAK;AAC3B,QAAO,gBAAgB,MAAM,gBAAgB,KAAA,GAAW,gBAAgB,aAAa,gBAAgB,KAAK,KAAA,GAAW,aAAa,SAAS,CAAC,CAAC,IAAI"}
1
+ {"version":3,"file":"api.mjs","names":[],"sources":["../../esm/Ref/api.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/api.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n// codegen:start { preset: barrel, include: api/*.ts }\nexport * from \"./api/collect.js\";\nexport * from \"./api/dimap.js\";\nexport * from \"./api/filter.js\";\nexport * from \"./api/get.js\";\nexport * from \"./api/match.js\";\nexport * from \"./api/matchAll.js\";\nexport * from \"./api/modify.js\";\nexport * from \"./api/set.js\";\n// codegen:end\n/**\n * Returns a read only view of the `Ref`.\n *\n * @tsplus getter fncts.io.Ref readOnly\n * @tsplus getter fncts.io.Ref.Synchronized readOnly\n */\nexport function readOnly(ref) {\n return ref;\n}\n/**\n * Returns a write only view of the `Ref`.\n *\n * @tsplus getter fncts.io.Ref writeOnly\n * @tsplus getter fncts.io.Ref.Synchronized writeOnly\n */\nexport function writeOnly(ref) {\n return tsplus_module_2.match(identity, () => undefined, tsplus_module_1.right, () => tsplus_module_1.left(undefined, fileName_1 + \":37:22\"))(ref);\n}\n//# sourceMappingURL=api.js.map"],"mappings":";;;;;;;;;;;;;;;;;;AAoBA,SAAgB,SAAS,KAAK;CAC1B,OAAO;AACX;;;;;;;AAOA,SAAgB,UAAU,KAAK;CAC3B,OAAO,gBAAgB,MAAM,gBAAgB,KAAA,GAAW,gBAAgB,aAAa,gBAAgB,KAAK,KAAA,GAAW,kCAAqB,CAAC,CAAC,CAAC,GAAG;AACpJ"}
@@ -1,7 +1,7 @@
1
1
  import { Atomic } from "./Atomic.mjs";
2
2
  import * as tsplus_module_1 from "@fncts/io/IO/api";
3
3
  import { AtomicReference } from "@fncts/base/internal/AtomicReference";
4
- //#region build/esm/Ref/constructors.js
4
+ // build/esm/Ref/constructors.js
5
5
  const unsafeMake = unsafeMake_1;
6
6
  /**
7
7
  * @tsplus static fncts.io.RefOps make
@@ -15,7 +15,6 @@ function make(a, __tsplusTrace) {
15
15
  function unsafeMake_1(a, __tsplusTrace) {
16
16
  return new Atomic(new AtomicReference(a));
17
17
  }
18
- //#endregion
19
18
  export { make, unsafeMake };
20
19
 
21
20
  //# sourceMappingURL=constructors.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"constructors.mjs","names":[],"sources":["../../esm/Ref/constructors.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/IO/api\";\nexport const unsafeMake = unsafeMake_1;\nimport { AtomicReference } from \"@fncts/base/internal/AtomicReference\";\nimport { Atomic } from \"./Atomic.js\";\n/**\n * @tsplus static fncts.io.RefOps make\n */\nexport function make(a, __tsplusTrace) {\n return tsplus_module_1.succeed(() => unsafeMake_1(a(), __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus static fncts.io.RefOps unsafeMake\n */\nfunction unsafeMake_1(a, __tsplusTrace) {\n return new Atomic(new AtomicReference(a));\n}\n//# sourceMappingURL=constructors.js.map"],"mappings":";;;;AACA,MAAa,aAAa;;;;AAM1B,SAAgB,KAAK,GAAG,eAAe;AACnC,QAAO,gBAAgB,cAAc,aAAa,GAAG,EAAE,cAAc,EAAE,cAAc;;;;;AAKzF,SAAS,aAAa,GAAG,eAAe;AACpC,QAAO,IAAI,OAAO,IAAI,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"constructors.mjs","names":[],"sources":["../../esm/Ref/constructors.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/IO/api\";\nexport const unsafeMake = unsafeMake_1;\nimport { AtomicReference } from \"@fncts/base/internal/AtomicReference\";\nimport { Atomic } from \"./Atomic.js\";\n/**\n * @tsplus static fncts.io.RefOps make\n */\nexport function make(a, __tsplusTrace) {\n return tsplus_module_1.succeed(() => unsafeMake_1(a(), __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus static fncts.io.RefOps unsafeMake\n */\nfunction unsafeMake_1(a, __tsplusTrace) {\n return new Atomic(new AtomicReference(a));\n}\n//# sourceMappingURL=constructors.js.map"],"mappings":";;;;AACA,MAAa,aAAa;;;;AAM1B,SAAgB,KAAK,GAAG,eAAe;CACnC,OAAO,gBAAgB,cAAc,aAAa,EAAE,GAAG,aAAa,GAAG,aAAa;AACxF;;;;AAIA,SAAS,aAAa,GAAG,eAAe;CACpC,OAAO,IAAI,OAAO,IAAI,gBAAgB,CAAC,CAAC;AAC5C"}
@@ -1,4 +1,4 @@
1
- //#region build/esm/Ref/definition.js
1
+ // build/esm/Ref/definition.js
2
2
  const RefVariance = Symbol.for("fncts.io.Ref.Variance");
3
3
  const RefTypeId = Symbol.for("fncts.io.Ref");
4
4
  const Ref = {};
@@ -9,7 +9,6 @@ var RefInternal = class {
9
9
  * @tsplus macro remove
10
10
  */
11
11
  function concrete(_) {}
12
- //#endregion
13
12
  export { Ref, RefInternal, RefTypeId, RefVariance, concrete };
14
13
 
15
14
  //# sourceMappingURL=definition.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"definition.mjs","names":[],"sources":["../../esm/Ref/definition.js"],"sourcesContent":["export const RefVariance = Symbol.for(\"fncts.io.Ref.Variance\");\nexport const RefTypeId = Symbol.for(\"fncts.io.Ref\");\nexport const Ref = {};\nexport class RefInternal {\n [RefTypeId] = RefTypeId;\n}\n/**\n * @tsplus macro remove\n */\nexport function concrete(_) {\n //\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";AAAA,MAAa,cAAc,OAAO,IAAI,wBAAwB;AAC9D,MAAa,YAAY,OAAO,IAAI,eAAe;AACnD,MAAa,MAAM,EAAE;AACrB,IAAa,cAAb,MAAyB;CACrB,CAAC,aAAa;;;;;AAKlB,SAAgB,SAAS,GAAG"}
1
+ {"version":3,"file":"definition.mjs","names":[],"sources":["../../esm/Ref/definition.js"],"sourcesContent":["export const RefVariance = Symbol.for(\"fncts.io.Ref.Variance\");\nexport const RefTypeId = Symbol.for(\"fncts.io.Ref\");\nexport const Ref = {};\nexport class RefInternal {\n [RefTypeId] = RefTypeId;\n}\n/**\n * @tsplus macro remove\n */\nexport function concrete(_) {\n //\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";AAAA,MAAa,cAAc,OAAO,IAAI,uBAAuB;AAC7D,MAAa,YAAY,OAAO,IAAI,cAAc;AAClD,MAAa,MAAM,CAAC;AACpB,IAAa,cAAb,MAAyB;CACrB,CAAC,aAAa;AAClB;;;;AAIA,SAAgB,SAAS,GAAG,CAE5B"}
@@ -1,5 +1,5 @@
1
1
  import * as tsplus_module_1 from "@fncts/io/IO/api/environment";
2
- //#region build/esm/Reloadable/api.js
2
+ // build/esm/Reloadable/api.js
3
3
  const fileName_1 = "(@fncts/io) src/Reloadable/api.ts";
4
4
  /**
5
5
  * @tsplus static fncts.io.ReloadableOps get
@@ -19,7 +19,6 @@ function reload(tag) {
19
19
  function reloadFork(tag) {
20
20
  return tsplus_module_1.serviceWithIO((service) => service.reloadFork, tag, fileName_1 + ":27:26");
21
21
  }
22
- //#endregion
23
22
  export { get, reload, reloadFork };
24
23
 
25
24
  //# sourceMappingURL=api.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.mjs","names":[],"sources":["../../esm/Reloadable/api.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Reloadable/api.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api/environment\";\n/**\n * @tsplus static fncts.io.ReloadableOps get\n */\nexport function get(\n/** @tsplus auto */ tag) {\n return tsplus_module_1.serviceWithIO((service) => service.get, tag, fileName_1 + \":9:26\");\n}\n/**\n * @tsplus static fncts.io.ReloadableOps reload\n */\nexport function reload(\n/** @tsplua auto */ tag) {\n return tsplus_module_1.serviceWithIO((service) => service.reload, tag, fileName_1 + \":18:26\");\n}\n/**\n * @tsplus static fncts.io.ReloadableOps reloadFork\n */\nexport function reloadFork(\n/** @tsplus auto */ tag) {\n return tsplus_module_1.serviceWithIO((service) => service.reloadFork, tag, fileName_1 + \":27:26\");\n}\n//# sourceMappingURL=api.js.map"],"mappings":";;AAAA,MAAM,aAAa;;;;AAKnB,SAAgB,IACI,KAAK;AACrB,QAAO,gBAAgB,eAAe,YAAY,QAAQ,KAAK,KAAK,aAAa,QAAQ;;;;;AAK7F,SAAgB,OACI,KAAK;AACrB,QAAO,gBAAgB,eAAe,YAAY,QAAQ,QAAQ,KAAK,aAAa,SAAS;;;;;AAKjG,SAAgB,WACI,KAAK;AACrB,QAAO,gBAAgB,eAAe,YAAY,QAAQ,YAAY,KAAK,aAAa,SAAS"}
1
+ {"version":3,"file":"api.mjs","names":[],"sources":["../../esm/Reloadable/api.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Reloadable/api.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api/environment\";\n/**\n * @tsplus static fncts.io.ReloadableOps get\n */\nexport function get(\n/** @tsplus auto */ tag) {\n return tsplus_module_1.serviceWithIO((service) => service.get, tag, fileName_1 + \":9:26\");\n}\n/**\n * @tsplus static fncts.io.ReloadableOps reload\n */\nexport function reload(\n/** @tsplua auto */ tag) {\n return tsplus_module_1.serviceWithIO((service) => service.reload, tag, fileName_1 + \":18:26\");\n}\n/**\n * @tsplus static fncts.io.ReloadableOps reloadFork\n */\nexport function reloadFork(\n/** @tsplus auto */ tag) {\n return tsplus_module_1.serviceWithIO((service) => service.reloadFork, tag, fileName_1 + \":27:26\");\n}\n//# sourceMappingURL=api.js.map"],"mappings":";;AAAA,MAAM,aAAa;;;;AAKnB,SAAgB,IACI,KAAK;CACrB,OAAO,gBAAgB,eAAe,YAAY,QAAQ,KAAK,KAAK,aAAa,OAAO;AAC5F;;;;AAIA,SAAgB,OACI,KAAK;CACrB,OAAO,gBAAgB,eAAe,YAAY,QAAQ,QAAQ,KAAK,aAAa,QAAQ;AAChG;;;;AAIA,SAAgB,WACI,KAAK;CACrB,OAAO,gBAAgB,eAAe,YAAY,QAAQ,YAAY,KAAK,aAAa,QAAQ;AACpG"}
@@ -9,7 +9,7 @@ import * as tsplus_module_7 from "@fncts/io/Layer/MemoMap";
9
9
  import * as tsplus_module_8 from "@fncts/io/Layer/api";
10
10
  import * as tsplus_module_1 from "@fncts/io/IO/api/schedule";
11
11
  import * as tsplus_module_10 from "@fncts/io/ScopedRef/api";
12
- //#region build/esm/Reloadable/constructors.js
12
+ // build/esm/Reloadable/constructors.js
13
13
  const fileName_1 = "(@fncts/io) src/Reloadable/constructors.ts";
14
14
  const auto = auto_1;
15
15
  const manual = manual_1;
@@ -37,10 +37,10 @@ function autoFromConfig(layer, tag, scheduleFromConfig, reloadableTag) {
37
37
  */
38
38
  function manual_1(layer, tag, reloadableTag) {
39
39
  return tsplus_module_8.scoped(() => tsplus_module_5.flatMap((inp) => tsplus_module_5.map((ref) => {
40
- return new Reloadable(ref, tsplus_module_9.provideEnvironment(inp, fileName_1 + ":55:94")(ref.set(tsplus_module_5.map((env) => tsplus_module_6.unsafeGet(tag)(env), fileName_1 + ":55:45")(tsplus_module_7.build(layer, fileName_1 + ":55:35")), fileName_1 + ":55:29")));
40
+ const reload = tsplus_module_9.provideEnvironment(inp, fileName_1 + ":55:94")(ref.set(tsplus_module_5.map((env) => tsplus_module_6.unsafeGet(tag)(env), fileName_1 + ":55:45")(tsplus_module_7.build(layer, fileName_1 + ":55:35")), fileName_1 + ":55:29"));
41
+ return new Reloadable(ref, reload);
41
42
  }, fileName_1 + ":54:23")(tsplus_module_10.fromAcquire(tsplus_module_5.map((env) => tsplus_module_6.unsafeGet(tag)(env), fileName_1 + ":54:61")(tsplus_module_7.build(layer, fileName_1 + ":54:51")), fileName_1 + ":54:45")), fileName_1 + ":53:23")(tsplus_module_9.environment(fileName_1 + ":53:38")), reloadableTag, fileName_1 + ":51:22");
42
43
  }
43
- //#endregion
44
44
  export { auto, autoFromConfig, manual };
45
45
 
46
46
  //# sourceMappingURL=constructors.mjs.map