@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.
- package/IO/api/asyncIterable.d.ts +27 -0
- package/IO.d.ts +1 -0
- package/_cjs/Cached/api.cjs +11 -12
- package/_cjs/Cached/api.cjs.map +1 -1
- package/_cjs/Cached/definition.cjs +1 -3
- package/_cjs/Cached/definition.cjs.map +1 -1
- package/_cjs/Cached/internal.cjs +3 -4
- package/_cjs/Cached/internal.cjs.map +1 -1
- package/_cjs/CancellerState.cjs +1 -2
- package/_cjs/CancellerState.cjs.map +1 -1
- package/_cjs/Channel/ChildExecutorDecision/api.cjs +1 -2
- package/_cjs/Channel/ChildExecutorDecision/api.cjs.map +1 -1
- package/_cjs/Channel/ChildExecutorDecision/definition.cjs +1 -2
- package/_cjs/Channel/ChildExecutorDecision/definition.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullRequest/api.cjs +1 -3
- package/_cjs/Channel/UpstreamPullRequest/api.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullRequest/definition.cjs +1 -2
- package/_cjs/Channel/UpstreamPullRequest/definition.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullStrategy/definition.cjs +1 -2
- package/_cjs/Channel/UpstreamPullStrategy/definition.cjs.map +1 -1
- package/_cjs/Channel/api/interruptWhen.cjs +7 -8
- package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
- package/_cjs/Channel/api/mapOutConcurrentIO.cjs +21 -22
- package/_cjs/Channel/api/mapOutConcurrentIO.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAll.cjs +3 -4
- package/_cjs/Channel/api/mergeAll.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs +3 -4
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllWith.cjs +28 -29
- package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeMap.cjs +4 -5
- package/_cjs/Channel/api/mergeMap.cjs.map +1 -1
- package/_cjs/Channel/api/mergeWith.cjs +16 -17
- package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
- package/_cjs/Channel/api/run.cjs +5 -7
- package/_cjs/Channel/api/run.cjs.map +1 -1
- package/_cjs/Channel/api/runCollect.cjs +4 -5
- package/_cjs/Channel/api/runCollect.cjs.map +1 -1
- package/_cjs/Channel/api/runDrain.cjs +4 -5
- package/_cjs/Channel/api/runDrain.cjs.map +1 -1
- package/_cjs/Channel/api/runScoped.cjs +12 -13
- package/_cjs/Channel/api/runScoped.cjs.map +1 -1
- package/_cjs/Channel/api/toPull.cjs +6 -7
- package/_cjs/Channel/api/toPull.cjs.map +1 -1
- package/_cjs/Channel/api/zipConcurrent.cjs +7 -8
- package/_cjs/Channel/api/zipConcurrent.cjs.map +1 -1
- package/_cjs/Channel/api.cjs +28 -29
- package/_cjs/Channel/api.cjs.map +1 -1
- package/_cjs/Channel/core-api.cjs +1 -3
- package/_cjs/Channel/core-api.cjs.map +1 -1
- package/_cjs/Channel/definition.cjs +1 -2
- package/_cjs/Channel/definition.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelExecutor.cjs +47 -43
- package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelState.cjs +3 -4
- package/_cjs/Channel/internal/ChannelState.cjs.map +1 -1
- package/_cjs/Channel/internal/MergeDecision.cjs +1 -2
- package/_cjs/Channel/internal/MergeDecision.cjs.map +1 -1
- package/_cjs/Channel/internal/MergeState.cjs +1 -2
- package/_cjs/Channel/internal/MergeState.cjs.map +1 -1
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +15 -16
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
- package/_cjs/Clock/api.cjs +3 -3
- package/_cjs/Clock/api.cjs.map +1 -1
- package/_cjs/Clock/definition.cjs +3 -4
- package/_cjs/Clock/definition.cjs.map +1 -1
- package/_cjs/Clock/live.cjs +6 -7
- package/_cjs/Clock/live.cjs.map +1 -1
- package/_cjs/Console/api.cjs +4 -6
- package/_cjs/Console/api.cjs.map +1 -1
- package/_cjs/Console/definition.cjs +3 -4
- package/_cjs/Console/definition.cjs.map +1 -1
- package/_cjs/Console/live.cjs +3 -4
- package/_cjs/Console/live.cjs.map +1 -1
- package/_cjs/CountdownLatch.cjs +8 -9
- package/_cjs/CountdownLatch.cjs.map +1 -1
- package/_cjs/Differ/api.cjs +5 -6
- package/_cjs/Differ/api.cjs.map +1 -1
- package/_cjs/Differ/definition.cjs +1 -2
- package/_cjs/Differ/definition.cjs.map +1 -1
- package/_cjs/Fiber/FiberMessage.cjs +1 -2
- package/_cjs/Fiber/FiberMessage.cjs.map +1 -1
- package/_cjs/Fiber/FiberRuntime.cjs +57 -70
- package/_cjs/Fiber/FiberRuntime.cjs.map +1 -1
- package/_cjs/Fiber/api/await.cjs +1 -2
- package/_cjs/Fiber/api/await.cjs.map +1 -1
- package/_cjs/Fiber/api/awaitAll.cjs +5 -6
- package/_cjs/Fiber/api/awaitAll.cjs.map +1 -1
- package/_cjs/Fiber/api/children.cjs +1 -2
- package/_cjs/Fiber/api/children.cjs.map +1 -1
- package/_cjs/Fiber/api/collectAll.cjs +20 -21
- package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
- package/_cjs/Fiber/api/fromIO.cjs +4 -5
- package/_cjs/Fiber/api/fromIO.cjs.map +1 -1
- package/_cjs/Fiber/api/id.cjs +1 -2
- package/_cjs/Fiber/api/id.cjs.map +1 -1
- package/_cjs/Fiber/api/inheritRefs.cjs +1 -2
- package/_cjs/Fiber/api/inheritRefs.cjs.map +1 -1
- package/_cjs/Fiber/api/interrupt.cjs +4 -5
- package/_cjs/Fiber/api/interrupt.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAll.cjs +5 -6
- package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAs.cjs +1 -2
- package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs +4 -5
- package/_cjs/Fiber/api/interruptFork.cjs.map +1 -1
- package/_cjs/Fiber/api/join.cjs +4 -5
- package/_cjs/Fiber/api/join.cjs.map +1 -1
- package/_cjs/Fiber/api/joinAll.cjs +5 -6
- package/_cjs/Fiber/api/joinAll.cjs.map +1 -1
- package/_cjs/Fiber/api/location.cjs +1 -2
- package/_cjs/Fiber/api/location.cjs.map +1 -1
- package/_cjs/Fiber/api/mapFiber.cjs +6 -7
- package/_cjs/Fiber/api/mapFiber.cjs.map +1 -1
- package/_cjs/Fiber/api/mapIO.cjs +12 -13
- package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
- package/_cjs/Fiber/api/poll.cjs +1 -2
- package/_cjs/Fiber/api/poll.cjs.map +1 -1
- package/_cjs/Fiber/api/zipWith.cjs +14 -15
- package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
- package/_cjs/Fiber/constructors.cjs +8 -10
- package/_cjs/Fiber/constructors.cjs.map +1 -1
- package/_cjs/Fiber/definition.cjs +5 -7
- package/_cjs/Fiber/definition.cjs.map +1 -1
- package/_cjs/FiberDescriptor.cjs +1 -2
- package/_cjs/FiberDescriptor.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScoped.cjs +5 -6
- package/_cjs/FiberRef/api/locallyScoped.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScopedWith.cjs +4 -5
- package/_cjs/FiberRef/api/locallyScopedWith.cjs.map +1 -1
- package/_cjs/FiberRef/api.cjs +1 -2
- package/_cjs/FiberRef/api.cjs.map +1 -1
- package/_cjs/FiberRef/constructors.cjs +6 -7
- package/_cjs/FiberRef/constructors.cjs.map +1 -1
- package/_cjs/FiberRef/definition.cjs +6 -7
- package/_cjs/FiberRef/definition.cjs.map +1 -1
- package/_cjs/FiberRef/operations.cjs +5 -6
- package/_cjs/FiberRef/operations.cjs.map +1 -1
- package/_cjs/FiberRef/unsafe.cjs +13 -14
- package/_cjs/FiberRef/unsafe.cjs.map +1 -1
- package/_cjs/FiberRefs/Patch.cjs +8 -11
- package/_cjs/FiberRefs/Patch.cjs.map +1 -1
- package/_cjs/FiberRefs/api.cjs +10 -11
- package/_cjs/FiberRefs/api.cjs.map +1 -1
- package/_cjs/FiberRefs/definition.cjs +3 -4
- package/_cjs/FiberRefs/definition.cjs.map +1 -1
- package/_cjs/FiberScope/constructors.cjs +1 -3
- package/_cjs/FiberScope/constructors.cjs.map +1 -1
- package/_cjs/FiberScope/definition.cjs +15 -14
- package/_cjs/FiberScope/definition.cjs.map +1 -1
- package/_cjs/FiberSet.cjs +11 -12
- package/_cjs/FiberSet.cjs.map +1 -1
- package/_cjs/FiberStatus/constructors.cjs +1 -2
- package/_cjs/FiberStatus/constructors.cjs.map +1 -1
- package/_cjs/FiberStatus/definition.cjs +3 -4
- package/_cjs/FiberStatus/definition.cjs.map +1 -1
- package/_cjs/Future/State.cjs +5 -5
- package/_cjs/Future/State.cjs.map +1 -1
- package/_cjs/Future/api.cjs +9 -14
- package/_cjs/Future/api.cjs.map +1 -1
- package/_cjs/Future/constructors.cjs +4 -5
- package/_cjs/Future/constructors.cjs.map +1 -1
- package/_cjs/Future/definition.cjs +1 -2
- package/_cjs/Future/definition.cjs.map +1 -1
- package/_cjs/Hub/api.cjs +12 -13
- package/_cjs/Hub/api.cjs.map +1 -1
- package/_cjs/Hub/definition.cjs +1 -3
- package/_cjs/Hub/definition.cjs.map +1 -1
- package/_cjs/Hub/internal.cjs +17 -18
- package/_cjs/Hub/internal.cjs.map +1 -1
- package/_cjs/IO/api/acquireRelease.cjs +3 -4
- package/_cjs/IO/api/acquireRelease.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseExit.cjs +5 -6
- package/_cjs/IO/api/acquireReleaseExit.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptible.cjs +3 -4
- package/_cjs/IO/api/acquireReleaseInterruptible.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +5 -6
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizer.cjs +3 -4
- package/_cjs/IO/api/addFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizerExit.cjs +6 -7
- package/_cjs/IO/api/addFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/all.cjs +6 -7
- package/_cjs/IO/api/all.cjs.map +1 -1
- package/_cjs/IO/api/array.cjs +4 -5
- package/_cjs/IO/api/array.cjs.map +1 -1
- package/_cjs/IO/api/asyncIO.cjs +9 -10
- package/_cjs/IO/api/asyncIO.cjs.map +1 -1
- package/_cjs/IO/api/asyncInterrupt.cjs +8 -9
- package/_cjs/IO/api/asyncInterrupt.cjs.map +1 -1
- package/_cjs/IO/api/asyncIterable.cjs +84 -0
- package/_cjs/IO/api/asyncIterable.cjs.map +1 -0
- package/_cjs/IO/api/awaitAllChildren.cjs +5 -7
- package/_cjs/IO/api/awaitAllChildren.cjs.map +1 -1
- package/_cjs/IO/api/blocking.cjs +5 -6
- package/_cjs/IO/api/blocking.cjs.map +1 -1
- package/_cjs/IO/api/bracket.cjs +3 -4
- package/_cjs/IO/api/bracket.cjs.map +1 -1
- package/_cjs/IO/api/bracketExit.cjs +6 -7
- package/_cjs/IO/api/bracketExit.cjs.map +1 -1
- package/_cjs/IO/api/cachedInvalidate.cjs +15 -16
- package/_cjs/IO/api/cachedInvalidate.cjs.map +1 -1
- package/_cjs/IO/api/clockWith.cjs +8 -10
- package/_cjs/IO/api/clockWith.cjs.map +1 -1
- package/_cjs/IO/api/concurrency.cjs +7 -8
- package/_cjs/IO/api/concurrency.cjs.map +1 -1
- package/_cjs/IO/api/concurrentFinalizers.cjs +10 -11
- package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
- package/_cjs/IO/api/consoleWith.cjs +8 -10
- package/_cjs/IO/api/consoleWith.cjs.map +1 -1
- package/_cjs/IO/api/daemonChildren.cjs +6 -7
- package/_cjs/IO/api/daemonChildren.cjs.map +1 -1
- package/_cjs/IO/api/delay.cjs +4 -5
- package/_cjs/IO/api/delay.cjs.map +1 -1
- package/_cjs/IO/api/descriptor.cjs +6 -7
- package/_cjs/IO/api/descriptor.cjs.map +1 -1
- package/_cjs/IO/api/diffFiberRefs.cjs +4 -5
- package/_cjs/IO/api/diffFiberRefs.cjs.map +1 -1
- package/_cjs/IO/api/disconnect.cjs +6 -7
- package/_cjs/IO/api/disconnect.cjs.map +1 -1
- package/_cjs/IO/api/ensuringChildren.cjs +6 -7
- package/_cjs/IO/api/ensuringChildren.cjs.map +1 -1
- package/_cjs/IO/api/environment.cjs +6 -7
- package/_cjs/IO/api/environment.cjs.map +1 -1
- package/_cjs/IO/api/foreachConcurrent.cjs +20 -21
- package/_cjs/IO/api/foreachConcurrent.cjs.map +1 -1
- package/_cjs/IO/api/foreachExec.cjs +7 -8
- package/_cjs/IO/api/foreachExec.cjs.map +1 -1
- package/_cjs/IO/api/fork.cjs +10 -12
- package/_cjs/IO/api/fork.cjs.map +1 -1
- package/_cjs/IO/api/forkAll.cjs +5 -6
- package/_cjs/IO/api/forkAll.cjs.map +1 -1
- package/_cjs/IO/api/forkDaemon.cjs +4 -5
- package/_cjs/IO/api/forkDaemon.cjs.map +1 -1
- package/_cjs/IO/api/forkIn.cjs +7 -8
- package/_cjs/IO/api/forkIn.cjs.map +1 -1
- package/_cjs/IO/api/forkScoped.cjs +7 -8
- package/_cjs/IO/api/forkScoped.cjs.map +1 -1
- package/_cjs/IO/api/fulfill.cjs +5 -6
- package/_cjs/IO/api/fulfill.cjs.map +1 -1
- package/_cjs/IO/api/interrupt.cjs +8 -9
- package/_cjs/IO/api/interrupt.cjs.map +1 -1
- package/_cjs/IO/api/memoize.cjs +9 -10
- package/_cjs/IO/api/memoize.cjs.map +1 -1
- package/_cjs/IO/api/onTermination.cjs +6 -7
- package/_cjs/IO/api/onTermination.cjs.map +1 -1
- package/_cjs/IO/api/once.cjs +5 -6
- package/_cjs/IO/api/once.cjs.map +1 -1
- package/_cjs/IO/api/patchFiberRefs.cjs +5 -7
- package/_cjs/IO/api/patchFiberRefs.cjs.map +1 -1
- package/_cjs/IO/api/provideLayer.cjs +7 -8
- package/_cjs/IO/api/provideLayer.cjs.map +1 -1
- package/_cjs/IO/api/provideScope.cjs +5 -7
- package/_cjs/IO/api/provideScope.cjs.map +1 -1
- package/_cjs/IO/api/provideSomeLayer.cjs +4 -5
- package/_cjs/IO/api/provideSomeLayer.cjs.map +1 -1
- package/_cjs/IO/api/provideSomeRuntime.cjs +8 -9
- package/_cjs/IO/api/provideSomeRuntime.cjs.map +1 -1
- package/_cjs/IO/api/race.cjs +10 -11
- package/_cjs/IO/api/race.cjs.map +1 -1
- package/_cjs/IO/api/raceFirst.cjs +4 -5
- package/_cjs/IO/api/raceFirst.cjs.map +1 -1
- package/_cjs/IO/api/raceWith.cjs +5 -6
- package/_cjs/IO/api/raceWith.cjs.map +1 -1
- package/_cjs/IO/api/randomWith.cjs +8 -10
- package/_cjs/IO/api/randomWith.cjs.map +1 -1
- package/_cjs/IO/api/repeat.cjs +7 -8
- package/_cjs/IO/api/repeat.cjs.map +1 -1
- package/_cjs/IO/api/retry.cjs +6 -7
- package/_cjs/IO/api/retry.cjs.map +1 -1
- package/_cjs/IO/api/schedule.cjs +4 -5
- package/_cjs/IO/api/schedule.cjs.map +1 -1
- package/_cjs/IO/api/scope.cjs +4 -4
- package/_cjs/IO/api/scope.cjs.map +1 -1
- package/_cjs/IO/api/scopeWith.cjs +4 -5
- package/_cjs/IO/api/scopeWith.cjs.map +1 -1
- package/_cjs/IO/api/scoped.cjs +4 -5
- package/_cjs/IO/api/scoped.cjs.map +1 -1
- package/_cjs/IO/api/sleep.cjs +3 -4
- package/_cjs/IO/api/sleep.cjs.map +1 -1
- package/_cjs/IO/api/stateful.cjs +5 -6
- package/_cjs/IO/api/stateful.cjs.map +1 -1
- package/_cjs/IO/api/supervised.cjs +5 -6
- package/_cjs/IO/api/supervised.cjs.map +1 -1
- package/_cjs/IO/api/timeout.cjs +9 -10
- package/_cjs/IO/api/timeout.cjs.map +1 -1
- package/_cjs/IO/api/transplant.cjs +8 -9
- package/_cjs/IO/api/transplant.cjs.map +1 -1
- package/_cjs/IO/api/whenFiberRef.cjs +4 -5
- package/_cjs/IO/api/whenFiberRef.cjs.map +1 -1
- package/_cjs/IO/api/whenRef.cjs +4 -5
- package/_cjs/IO/api/whenRef.cjs.map +1 -1
- package/_cjs/IO/api/withChildren.cjs +6 -7
- package/_cjs/IO/api/withChildren.cjs.map +1 -1
- package/_cjs/IO/api/withEarlyRelease.cjs +6 -7
- package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizer.cjs +3 -4
- package/_cjs/IO/api/withFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizerExit.cjs +3 -4
- package/_cjs/IO/api/withFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/zipConcurrent.cjs +15 -16
- package/_cjs/IO/api/zipConcurrent.cjs.map +1 -1
- package/_cjs/IO/api.cjs +28 -27
- package/_cjs/IO/api.cjs.map +1 -1
- package/_cjs/IO/definition.cjs +3 -4
- package/_cjs/IO/definition.cjs.map +1 -1
- package/_cjs/IO/runtime.cjs +21 -20
- package/_cjs/IO/runtime.cjs.map +1 -1
- package/_cjs/IO.cjs +6 -0
- package/_cjs/IOEnv/definition.cjs +9 -10
- package/_cjs/IOEnv/definition.cjs.map +1 -1
- package/_cjs/IOEnv/live.cjs +9 -10
- package/_cjs/IOEnv/live.cjs.map +1 -1
- package/_cjs/IOEnv/services.cjs +3 -4
- package/_cjs/IOEnv/services.cjs.map +1 -1
- package/_cjs/InterruptStatus/constructors.cjs +1 -2
- package/_cjs/InterruptStatus/constructors.cjs.map +1 -1
- package/_cjs/InterruptStatus/definition.cjs +1 -2
- package/_cjs/InterruptStatus/definition.cjs.map +1 -1
- package/_cjs/Layer/MemoMap.cjs +23 -24
- package/_cjs/Layer/MemoMap.cjs.map +1 -1
- package/_cjs/Layer/api.cjs +16 -17
- package/_cjs/Layer/api.cjs.map +1 -1
- package/_cjs/Layer/definition.cjs +1 -2
- package/_cjs/Layer/definition.cjs.map +1 -1
- package/_cjs/LogLevel.cjs +1 -2
- package/_cjs/LogLevel.cjs.map +1 -1
- package/_cjs/LogSpan.cjs +1 -2
- package/_cjs/LogSpan.cjs.map +1 -1
- package/_cjs/Logger/api.cjs +4 -5
- package/_cjs/Logger/api.cjs.map +1 -1
- package/_cjs/Logger/constructors.cjs +7 -8
- package/_cjs/Logger/constructors.cjs.map +1 -1
- package/_cjs/Logger/definition.cjs +1 -2
- package/_cjs/Logger/definition.cjs.map +1 -1
- package/_cjs/MVar/api.cjs +13 -14
- package/_cjs/MVar/api.cjs.map +1 -1
- package/_cjs/MVar/definition.cjs +1 -2
- package/_cjs/MVar/definition.cjs.map +1 -1
- package/_cjs/Push/FlattenStrategy.cjs +20 -21
- package/_cjs/Push/FlattenStrategy.cjs.map +1 -1
- package/_cjs/Push/IndexedBuffer.cjs +6 -7
- package/_cjs/Push/IndexedBuffer.cjs.map +1 -1
- package/_cjs/Push/MergeStrategy.cjs +6 -7
- package/_cjs/Push/MergeStrategy.cjs.map +1 -1
- package/_cjs/Push/Operator/IOLoopOperator.cjs +9 -10
- package/_cjs/Push/Operator/IOLoopOperator.cjs.map +1 -1
- package/_cjs/Push/Operator/IOOperator.cjs +6 -7
- package/_cjs/Push/Operator/IOOperator.cjs.map +1 -1
- package/_cjs/Push/Operator/LoopOperator.cjs +6 -7
- package/_cjs/Push/Operator/LoopOperator.cjs.map +1 -1
- package/_cjs/Push/Operator/SyncOperator.cjs +6 -7
- package/_cjs/Push/Operator/SyncOperator.cjs.map +1 -1
- package/_cjs/Push/Producer/IOProducer.cjs +6 -7
- package/_cjs/Push/Producer/IOProducer.cjs.map +1 -1
- package/_cjs/Push/Producer/SyncProducer.cjs +6 -7
- package/_cjs/Push/Producer/SyncProducer.cjs.map +1 -1
- package/_cjs/Push/Sink.cjs +7 -8
- package/_cjs/Push/Sink.cjs.map +1 -1
- package/_cjs/Push/api.cjs +17 -18
- package/_cjs/Push/api.cjs.map +1 -1
- package/_cjs/Push/definition.cjs +7 -8
- package/_cjs/Push/definition.cjs.map +1 -1
- package/_cjs/Push/internal.cjs +18 -19
- package/_cjs/Push/internal.cjs.map +1 -1
- package/_cjs/Queue/api/dimapIO.cjs +3 -4
- package/_cjs/Queue/api/dimapIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterInputIO.cjs +9 -10
- package/_cjs/Queue/api/filterInputIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterOutputIO.cjs +12 -13
- package/_cjs/Queue/api/filterOutputIO.cjs.map +1 -1
- package/_cjs/Queue/api/operations.cjs +1 -3
- package/_cjs/Queue/api/operations.cjs.map +1 -1
- package/_cjs/Queue/api/poll.cjs +4 -5
- package/_cjs/Queue/api/poll.cjs.map +1 -1
- package/_cjs/Queue/api/takeBetween.cjs +5 -6
- package/_cjs/Queue/api/takeBetween.cjs.map +1 -1
- package/_cjs/Queue/api/takeN.cjs +3 -4
- package/_cjs/Queue/api/takeN.cjs.map +1 -1
- package/_cjs/Queue/api/zipWithIO.cjs +6 -7
- package/_cjs/Queue/api/zipWithIO.cjs.map +1 -1
- package/_cjs/Queue/constructors.cjs +3 -4
- package/_cjs/Queue/constructors.cjs.map +1 -1
- package/_cjs/Queue/definition.cjs +1 -2
- package/_cjs/Queue/definition.cjs.map +1 -1
- package/_cjs/Queue/internal.cjs +11 -12
- package/_cjs/Queue/internal.cjs.map +1 -1
- package/_cjs/Queue/strategy.cjs +8 -9
- package/_cjs/Queue/strategy.cjs.map +1 -1
- package/_cjs/Random/api.cjs +3 -4
- package/_cjs/Random/api.cjs.map +1 -1
- package/_cjs/Random/definition.cjs +3 -4
- package/_cjs/Random/definition.cjs.map +1 -1
- package/_cjs/Random/live.cjs +3 -4
- package/_cjs/Random/live.cjs.map +1 -1
- package/_cjs/Ref/Atomic.cjs +3 -4
- package/_cjs/Ref/Atomic.cjs.map +1 -1
- package/_cjs/Ref/Derived.cjs +6 -7
- package/_cjs/Ref/Derived.cjs.map +1 -1
- package/_cjs/Ref/DerivedAll.cjs +6 -7
- package/_cjs/Ref/DerivedAll.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/api.cjs +5 -6
- package/_cjs/Ref/Synchronized/api.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/constructors.cjs +9 -9
- package/_cjs/Ref/Synchronized/constructors.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/definition.cjs +3 -4
- package/_cjs/Ref/Synchronized/definition.cjs.map +1 -1
- package/_cjs/Ref/api/collect.cjs +5 -6
- package/_cjs/Ref/api/collect.cjs.map +1 -1
- package/_cjs/Ref/api/dimap.cjs +4 -5
- package/_cjs/Ref/api/dimap.cjs.map +1 -1
- package/_cjs/Ref/api/filter.cjs +5 -6
- package/_cjs/Ref/api/filter.cjs.map +1 -1
- package/_cjs/Ref/api/get.cjs +1 -2
- package/_cjs/Ref/api/get.cjs.map +1 -1
- package/_cjs/Ref/api/match.cjs +1 -2
- package/_cjs/Ref/api/match.cjs.map +1 -1
- package/_cjs/Ref/api/matchAll.cjs +1 -2
- package/_cjs/Ref/api/matchAll.cjs.map +1 -1
- package/_cjs/Ref/api/modify.cjs +3 -4
- package/_cjs/Ref/api/modify.cjs.map +1 -1
- package/_cjs/Ref/api/set.cjs +1 -2
- package/_cjs/Ref/api/set.cjs.map +1 -1
- package/_cjs/Ref/api.cjs +5 -7
- package/_cjs/Ref/api.cjs.map +1 -1
- package/_cjs/Ref/constructors.cjs +3 -4
- package/_cjs/Ref/constructors.cjs.map +1 -1
- package/_cjs/Ref/definition.cjs +1 -2
- package/_cjs/Ref/definition.cjs.map +1 -1
- package/_cjs/Reloadable/api.cjs +3 -4
- package/_cjs/Reloadable/api.cjs.map +1 -1
- package/_cjs/Reloadable/constructors.cjs +14 -14
- package/_cjs/Reloadable/constructors.cjs.map +1 -1
- package/_cjs/Reloadable/definition.cjs +5 -6
- package/_cjs/Reloadable/definition.cjs.map +1 -1
- package/_cjs/RuntimeFlags/Patch.cjs +3 -4
- package/_cjs/RuntimeFlags/Patch.cjs.map +1 -1
- package/_cjs/RuntimeFlags/RuntimeFlags.cjs +3 -4
- package/_cjs/RuntimeFlags/RuntimeFlags.cjs.map +1 -1
- package/_cjs/STM/api/atomically.cjs +9 -10
- package/_cjs/STM/api/atomically.cjs.map +1 -1
- package/_cjs/STM/api/core-api.cjs +5 -6
- package/_cjs/STM/api/core-api.cjs.map +1 -1
- package/_cjs/STM/api/core-constructors.cjs +1 -2
- package/_cjs/STM/api/core-constructors.cjs.map +1 -1
- package/_cjs/STM/api.cjs +12 -13
- package/_cjs/STM/api.cjs.map +1 -1
- package/_cjs/STM/definition.cjs +3 -4
- package/_cjs/STM/definition.cjs.map +1 -1
- package/_cjs/STM/driver.cjs +7 -8
- package/_cjs/STM/driver.cjs.map +1 -1
- package/_cjs/STM/internal/CommitState.cjs +3 -4
- package/_cjs/STM/internal/CommitState.cjs.map +1 -1
- package/_cjs/STM/internal/Entry.cjs +1 -2
- package/_cjs/STM/internal/Entry.cjs.map +1 -1
- package/_cjs/STM/internal/Journal.cjs +16 -17
- package/_cjs/STM/internal/Journal.cjs.map +1 -1
- package/_cjs/STM/internal/TryCommit.cjs +1 -2
- package/_cjs/STM/internal/TryCommit.cjs.map +1 -1
- package/_cjs/STM/internal/Versioned.cjs +1 -2
- package/_cjs/STM/internal/Versioned.cjs.map +1 -1
- package/_cjs/Schedule/Decision.cjs +4 -5
- package/_cjs/Schedule/Decision.cjs.map +1 -1
- package/_cjs/Schedule/Driver.cjs +1 -2
- package/_cjs/Schedule/Driver.cjs.map +1 -1
- package/_cjs/Schedule/api/driver.cjs +14 -15
- package/_cjs/Schedule/api/driver.cjs.map +1 -1
- package/_cjs/Schedule/api.cjs +20 -21
- package/_cjs/Schedule/api.cjs.map +1 -1
- package/_cjs/Schedule/definition.cjs +1 -2
- package/_cjs/Schedule/definition.cjs.map +1 -1
- package/_cjs/Scope/Finalizer/definition.cjs +4 -5
- package/_cjs/Scope/Finalizer/definition.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +10 -11
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api.cjs +8 -9
- package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/constructors.cjs +5 -6
- package/_cjs/Scope/ReleaseMap/constructors.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/definition.cjs +3 -4
- package/_cjs/Scope/ReleaseMap/definition.cjs.map +1 -1
- package/_cjs/Scope/api.cjs +13 -14
- package/_cjs/Scope/api.cjs.map +1 -1
- package/_cjs/Scope/definition.cjs +4 -5
- package/_cjs/Scope/definition.cjs.map +1 -1
- package/_cjs/ScopedRef/api.cjs +14 -15
- package/_cjs/ScopedRef/api.cjs.map +1 -1
- package/_cjs/ScopedRef/definition.cjs +1 -2
- package/_cjs/ScopedRef/definition.cjs.map +1 -1
- package/_cjs/Semaphore/Reservation.cjs +3 -4
- package/_cjs/Semaphore/Reservation.cjs.map +1 -1
- package/_cjs/Semaphore/constructors.cjs +4 -5
- package/_cjs/Semaphore/constructors.cjs.map +1 -1
- package/_cjs/Semaphore/definition.cjs +19 -20
- package/_cjs/Semaphore/definition.cjs.map +1 -1
- package/_cjs/Sink/api.cjs +35 -36
- package/_cjs/Sink/api.cjs.map +1 -1
- package/_cjs/Sink/definition.cjs +1 -2
- package/_cjs/Sink/definition.cjs.map +1 -1
- package/_cjs/State/api.cjs +6 -7
- package/_cjs/State/api.cjs.map +1 -1
- package/_cjs/State/definition.cjs +1 -2
- package/_cjs/State/definition.cjs.map +1 -1
- package/_cjs/State/internal.cjs +1 -2
- package/_cjs/State/internal.cjs.map +1 -1
- package/_cjs/Stream/api/zipAllWith.cjs +10 -11
- package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWith.cjs +3 -4
- package/_cjs/Stream/api/zipWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWithChunks.cjs +8 -9
- package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
- package/_cjs/Stream/api.cjs +73 -73
- package/_cjs/Stream/api.cjs.map +1 -1
- package/_cjs/Stream/definition.cjs +1 -2
- package/_cjs/Stream/definition.cjs.map +1 -1
- package/_cjs/Stream/internal/DebounceState.cjs +1 -2
- package/_cjs/Stream/internal/DebounceState.cjs.map +1 -1
- package/_cjs/Stream/internal/Handoff.cjs +8 -9
- package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
- package/_cjs/Stream/internal/Pull.cjs +8 -9
- package/_cjs/Stream/internal/Pull.cjs.map +1 -1
- package/_cjs/Stream/internal/SinkEndReason.cjs +1 -2
- package/_cjs/Stream/internal/SinkEndReason.cjs.map +1 -1
- package/_cjs/Stream/internal/Take.cjs +12 -13
- package/_cjs/Stream/internal/Take.cjs.map +1 -1
- package/_cjs/Stream/internal/util.cjs +5 -6
- package/_cjs/Stream/internal/util.cjs.map +1 -1
- package/_cjs/Subject/Atomic.cjs +7 -8
- package/_cjs/Subject/Atomic.cjs.map +1 -1
- package/_cjs/Subject/DeferredRef.cjs +10 -11
- package/_cjs/Subject/DeferredRef.cjs.map +1 -1
- package/_cjs/Subject/Hold.cjs +8 -9
- package/_cjs/Subject/Hold.cjs.map +1 -1
- package/_cjs/Subject/RefSubject/Atomic.cjs +33 -38
- package/_cjs/Subject/RefSubject/Atomic.cjs.map +1 -1
- package/_cjs/Subject/RefSubject/Derived.cjs +5 -6
- package/_cjs/Subject/RefSubject/Derived.cjs.map +1 -1
- package/_cjs/Subject/RefSubject/RefSubject.cjs +1 -2
- package/_cjs/Subject/RefSubject/RefSubject.cjs.map +1 -1
- package/_cjs/Subject/RefSubject/constructors.cjs +9 -10
- package/_cjs/Subject/RefSubject/constructors.cjs.map +1 -1
- package/_cjs/Subject/api.cjs +4 -6
- package/_cjs/Subject/api.cjs.map +1 -1
- package/_cjs/Subject/definition.cjs +1 -2
- package/_cjs/Subject/definition.cjs.map +1 -1
- package/_cjs/SubscriptionRef.cjs +9 -10
- package/_cjs/SubscriptionRef.cjs.map +1 -1
- package/_cjs/Supervisor/api.cjs +4 -5
- package/_cjs/Supervisor/api.cjs.map +1 -1
- package/_cjs/Supervisor/constructors.cjs +6 -7
- package/_cjs/Supervisor/constructors.cjs.map +1 -1
- package/_cjs/Supervisor/definition.cjs +4 -6
- package/_cjs/Supervisor/definition.cjs.map +1 -1
- package/_cjs/SupervisorPatch.cjs +6 -7
- package/_cjs/SupervisorPatch.cjs.map +1 -1
- package/_cjs/TExit/constructors.cjs +1 -2
- package/_cjs/TExit/constructors.cjs.map +1 -1
- package/_cjs/TExit/definition.cjs +7 -8
- package/_cjs/TExit/definition.cjs.map +1 -1
- package/_cjs/TFuture/api.cjs +11 -12
- package/_cjs/TFuture/api.cjs.map +1 -1
- package/_cjs/TFuture/constructors.cjs +7 -8
- package/_cjs/TFuture/constructors.cjs.map +1 -1
- package/_cjs/TFuture/definition.cjs +3 -4
- package/_cjs/TFuture/definition.cjs.map +1 -1
- package/_cjs/TReentrantLock/api.cjs +13 -14
- package/_cjs/TReentrantLock/api.cjs.map +1 -1
- package/_cjs/TReentrantLock/definition.cjs +7 -8
- package/_cjs/TReentrantLock/definition.cjs.map +1 -1
- package/_cjs/TRef/api.cjs +4 -5
- package/_cjs/TRef/api.cjs.map +1 -1
- package/_cjs/TRef/constructors.cjs +15 -9
- package/_cjs/TRef/constructors.cjs.map +1 -1
- package/_cjs/TRef/definition.cjs +9 -10
- package/_cjs/TRef/definition.cjs.map +1 -1
- package/_cjs/TSemaphore/api.cjs +7 -8
- package/_cjs/TSemaphore/api.cjs.map +1 -1
- package/_cjs/TSemaphore/constructors.cjs +6 -7
- package/_cjs/TSemaphore/constructors.cjs.map +1 -1
- package/_cjs/TSemaphore/definition.cjs +3 -4
- package/_cjs/TSemaphore/definition.cjs.map +1 -1
- package/_cjs/TxnId.cjs +1 -3
- package/_cjs/TxnId.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +5 -6
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +5 -6
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/filterIO.cjs +3 -4
- package/_cjs/collection/immutable/Conc/filterIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/findIO.cjs +4 -5
- package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/mapIO.cjs +3 -4
- package/_cjs/collection/immutable/Conc/mapIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +5 -6
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
- package/_cjs/data/Exit/foreachIO.cjs +5 -6
- package/_cjs/data/Exit/foreachIO.cjs.map +1 -1
- package/_cjs/internal/BackgroundScheduler.cjs +1 -2
- package/_cjs/internal/BackgroundScheduler.cjs.map +1 -1
- package/_cjs/internal/HashedPair.cjs +6 -7
- package/_cjs/internal/HashedPair.cjs.map +1 -1
- package/_cjs/internal/Hub.cjs +6 -7
- package/_cjs/internal/Hub.cjs.map +1 -1
- package/_cjs/internal/IsFatal.cjs +1 -6
- package/_cjs/internal/IsFatal.cjs.map +1 -1
- package/_cjs/internal/MutableQueue.cjs +4 -5
- package/_cjs/internal/MutableQueue.cjs.map +1 -1
- package/_cjs/internal/Scheduler.cjs +3 -4
- package/_cjs/internal/Scheduler.cjs.map +1 -1
- package/_cjs/internal/StackTraceBuilder.cjs +4 -5
- package/_cjs/internal/StackTraceBuilder.cjs.map +1 -1
- package/_cjs/{chunk.cjs → rolldown-runtime.cjs} +2 -3
- package/_mjs/Cached/api.mjs +1 -2
- package/_mjs/Cached/api.mjs.map +1 -1
- package/_mjs/Cached/definition.mjs +1 -2
- package/_mjs/Cached/definition.mjs.map +1 -1
- package/_mjs/Cached/internal.mjs +1 -2
- package/_mjs/Cached/internal.mjs.map +1 -1
- package/_mjs/CancellerState.mjs +1 -2
- package/_mjs/CancellerState.mjs.map +1 -1
- package/_mjs/Channel/ChildExecutorDecision/api.mjs +1 -2
- package/_mjs/Channel/ChildExecutorDecision/api.mjs.map +1 -1
- package/_mjs/Channel/ChildExecutorDecision/definition.mjs +1 -2
- package/_mjs/Channel/ChildExecutorDecision/definition.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullRequest/api.mjs +1 -2
- package/_mjs/Channel/UpstreamPullRequest/api.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullRequest/definition.mjs +1 -2
- package/_mjs/Channel/UpstreamPullRequest/definition.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullStrategy/definition.mjs +1 -2
- package/_mjs/Channel/UpstreamPullStrategy/definition.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullStrategy.mjs +1 -2
- package/_mjs/Channel/api/interruptWhen.mjs +1 -2
- package/_mjs/Channel/api/interruptWhen.mjs.map +1 -1
- package/_mjs/Channel/api/mapOutConcurrentIO.mjs +1 -2
- package/_mjs/Channel/api/mapOutConcurrentIO.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAll.mjs +1 -2
- package/_mjs/Channel/api/mergeAll.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllUnboundedWith.mjs +1 -2
- package/_mjs/Channel/api/mergeAllUnboundedWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllWith.mjs +1 -2
- package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeMap.mjs +1 -2
- package/_mjs/Channel/api/mergeMap.mjs.map +1 -1
- package/_mjs/Channel/api/mergeWith.mjs +1 -2
- package/_mjs/Channel/api/mergeWith.mjs.map +1 -1
- package/_mjs/Channel/api/run.mjs +2 -4
- package/_mjs/Channel/api/run.mjs.map +1 -1
- package/_mjs/Channel/api/runCollect.mjs +1 -2
- package/_mjs/Channel/api/runCollect.mjs.map +1 -1
- package/_mjs/Channel/api/runDrain.mjs +1 -2
- package/_mjs/Channel/api/runDrain.mjs.map +1 -1
- package/_mjs/Channel/api/runScoped.mjs +1 -2
- package/_mjs/Channel/api/runScoped.mjs.map +1 -1
- package/_mjs/Channel/api/toPull.mjs +1 -2
- package/_mjs/Channel/api/toPull.mjs.map +1 -1
- package/_mjs/Channel/api/zipConcurrent.mjs +1 -2
- package/_mjs/Channel/api/zipConcurrent.mjs.map +1 -1
- package/_mjs/Channel/api.mjs +1 -2
- package/_mjs/Channel/api.mjs.map +1 -1
- package/_mjs/Channel/core-api.mjs +1 -2
- package/_mjs/Channel/core-api.mjs.map +1 -1
- package/_mjs/Channel/definition.mjs +1 -2
- package/_mjs/Channel/definition.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelExecutor.mjs +21 -17
- package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelState.mjs +1 -2
- package/_mjs/Channel/internal/ChannelState.mjs.map +1 -1
- package/_mjs/Channel/internal/MergeDecision.mjs +1 -2
- package/_mjs/Channel/internal/MergeDecision.mjs.map +1 -1
- package/_mjs/Channel/internal/MergeState.mjs +1 -2
- package/_mjs/Channel/internal/MergeState.mjs.map +1 -1
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +1 -2
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -1
- package/_mjs/Clock/api.mjs +1 -1
- package/_mjs/Clock/api.mjs.map +1 -1
- package/_mjs/Clock/definition.mjs +1 -2
- package/_mjs/Clock/definition.mjs.map +1 -1
- package/_mjs/Clock/live.mjs +1 -2
- package/_mjs/Clock/live.mjs.map +1 -1
- package/_mjs/Console/api.mjs +2 -4
- package/_mjs/Console/api.mjs.map +1 -1
- package/_mjs/Console/definition.mjs +1 -2
- package/_mjs/Console/definition.mjs.map +1 -1
- package/_mjs/Console/live.mjs +1 -2
- package/_mjs/Console/live.mjs.map +1 -1
- package/_mjs/CountdownLatch.mjs +1 -2
- package/_mjs/CountdownLatch.mjs.map +1 -1
- package/_mjs/Differ/api.mjs +1 -2
- package/_mjs/Differ/api.mjs.map +1 -1
- package/_mjs/Differ/definition.mjs +1 -2
- package/_mjs/Differ/definition.mjs.map +1 -1
- package/_mjs/Fiber/FiberMessage.mjs +1 -2
- package/_mjs/Fiber/FiberMessage.mjs.map +1 -1
- package/_mjs/Fiber/FiberRuntime.mjs +23 -36
- package/_mjs/Fiber/FiberRuntime.mjs.map +1 -1
- package/_mjs/Fiber/api/await.mjs +1 -2
- package/_mjs/Fiber/api/await.mjs.map +1 -1
- package/_mjs/Fiber/api/awaitAll.mjs +1 -2
- package/_mjs/Fiber/api/awaitAll.mjs.map +1 -1
- package/_mjs/Fiber/api/children.mjs +1 -2
- package/_mjs/Fiber/api/children.mjs.map +1 -1
- package/_mjs/Fiber/api/collectAll.mjs +1 -2
- package/_mjs/Fiber/api/collectAll.mjs.map +1 -1
- package/_mjs/Fiber/api/fromIO.mjs +1 -2
- package/_mjs/Fiber/api/fromIO.mjs.map +1 -1
- package/_mjs/Fiber/api/id.mjs +1 -2
- package/_mjs/Fiber/api/id.mjs.map +1 -1
- package/_mjs/Fiber/api/inheritRefs.mjs +1 -2
- package/_mjs/Fiber/api/inheritRefs.mjs.map +1 -1
- package/_mjs/Fiber/api/interrupt.mjs +1 -2
- package/_mjs/Fiber/api/interrupt.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAll.mjs +1 -2
- package/_mjs/Fiber/api/interruptAll.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAs.mjs +1 -2
- package/_mjs/Fiber/api/interruptAs.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptFork.mjs +1 -2
- package/_mjs/Fiber/api/interruptFork.mjs.map +1 -1
- package/_mjs/Fiber/api/join.mjs +1 -2
- package/_mjs/Fiber/api/join.mjs.map +1 -1
- package/_mjs/Fiber/api/joinAll.mjs +1 -2
- package/_mjs/Fiber/api/joinAll.mjs.map +1 -1
- package/_mjs/Fiber/api/location.mjs +1 -2
- package/_mjs/Fiber/api/location.mjs.map +1 -1
- package/_mjs/Fiber/api/mapFiber.mjs +1 -2
- package/_mjs/Fiber/api/mapFiber.mjs.map +1 -1
- package/_mjs/Fiber/api/mapIO.mjs +1 -2
- package/_mjs/Fiber/api/mapIO.mjs.map +1 -1
- package/_mjs/Fiber/api/poll.mjs +1 -2
- package/_mjs/Fiber/api/poll.mjs.map +1 -1
- package/_mjs/Fiber/api/zipWith.mjs +1 -2
- package/_mjs/Fiber/api/zipWith.mjs.map +1 -1
- package/_mjs/Fiber/constructors.mjs +2 -4
- package/_mjs/Fiber/constructors.mjs.map +1 -1
- package/_mjs/Fiber/definition.mjs +2 -4
- package/_mjs/Fiber/definition.mjs.map +1 -1
- package/_mjs/FiberDescriptor.mjs +1 -2
- package/_mjs/FiberDescriptor.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScoped.mjs +1 -2
- package/_mjs/FiberRef/api/locallyScoped.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScopedWith.mjs +1 -2
- package/_mjs/FiberRef/api/locallyScopedWith.mjs.map +1 -1
- package/_mjs/FiberRef/api.mjs +1 -2
- package/_mjs/FiberRef/api.mjs.map +1 -1
- package/_mjs/FiberRef/constructors.mjs +1 -2
- package/_mjs/FiberRef/constructors.mjs.map +1 -1
- package/_mjs/FiberRef/definition.mjs +1 -2
- package/_mjs/FiberRef/definition.mjs.map +1 -1
- package/_mjs/FiberRef/operations.mjs +1 -2
- package/_mjs/FiberRef/operations.mjs.map +1 -1
- package/_mjs/FiberRef/unsafe.mjs +1 -2
- package/_mjs/FiberRef/unsafe.mjs.map +1 -1
- package/_mjs/FiberRefs/Patch.mjs +1 -4
- package/_mjs/FiberRefs/Patch.mjs.map +1 -1
- package/_mjs/FiberRefs/api.mjs +1 -2
- package/_mjs/FiberRefs/api.mjs.map +1 -1
- package/_mjs/FiberRefs/definition.mjs +1 -2
- package/_mjs/FiberRefs/definition.mjs.map +1 -1
- package/_mjs/FiberScope/constructors.mjs +1 -2
- package/_mjs/FiberScope/constructors.mjs.map +1 -1
- package/_mjs/FiberScope/definition.mjs +9 -8
- package/_mjs/FiberScope/definition.mjs.map +1 -1
- package/_mjs/FiberSet.mjs +1 -2
- package/_mjs/FiberSet.mjs.map +1 -1
- package/_mjs/FiberStatus/constructors.mjs +1 -2
- package/_mjs/FiberStatus/constructors.mjs.map +1 -1
- package/_mjs/FiberStatus/definition.mjs +1 -2
- package/_mjs/FiberStatus/definition.mjs.map +1 -1
- package/_mjs/Future/State.mjs +5 -5
- package/_mjs/Future/State.mjs.map +1 -1
- package/_mjs/Future/api.mjs +3 -8
- package/_mjs/Future/api.mjs.map +1 -1
- package/_mjs/Future/constructors.mjs +1 -2
- package/_mjs/Future/constructors.mjs.map +1 -1
- package/_mjs/Future/definition.mjs +1 -2
- package/_mjs/Future/definition.mjs.map +1 -1
- package/_mjs/Hub/api.mjs +1 -2
- package/_mjs/Hub/api.mjs.map +1 -1
- package/_mjs/Hub/definition.mjs +1 -2
- package/_mjs/Hub/definition.mjs.map +1 -1
- package/_mjs/Hub/internal.mjs +1 -2
- package/_mjs/Hub/internal.mjs.map +1 -1
- package/_mjs/IO/api/acquireRelease.mjs +1 -2
- package/_mjs/IO/api/acquireRelease.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseExit.mjs +1 -2
- package/_mjs/IO/api/acquireReleaseExit.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptible.mjs +1 -2
- package/_mjs/IO/api/acquireReleaseInterruptible.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs +1 -2
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs.map +1 -1
- package/_mjs/IO/api/addFinalizer.mjs +1 -2
- package/_mjs/IO/api/addFinalizer.mjs.map +1 -1
- package/_mjs/IO/api/addFinalizerExit.mjs +1 -2
- package/_mjs/IO/api/addFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/all.mjs +1 -2
- package/_mjs/IO/api/all.mjs.map +1 -1
- package/_mjs/IO/api/array.mjs +1 -2
- package/_mjs/IO/api/array.mjs.map +1 -1
- package/_mjs/IO/api/asyncIO.mjs +1 -2
- package/_mjs/IO/api/asyncIO.mjs.map +1 -1
- package/_mjs/IO/api/asyncInterrupt.mjs +1 -2
- package/_mjs/IO/api/asyncInterrupt.mjs.map +1 -1
- package/_mjs/IO/api/asyncIterable.mjs +74 -0
- package/_mjs/IO/api/asyncIterable.mjs.map +1 -0
- package/_mjs/IO/api/awaitAllChildren.mjs +2 -4
- package/_mjs/IO/api/awaitAllChildren.mjs.map +1 -1
- package/_mjs/IO/api/blocking.mjs +1 -2
- package/_mjs/IO/api/blocking.mjs.map +1 -1
- package/_mjs/IO/api/bracket.mjs +1 -2
- package/_mjs/IO/api/bracket.mjs.map +1 -1
- package/_mjs/IO/api/bracketExit.mjs +1 -2
- package/_mjs/IO/api/bracketExit.mjs.map +1 -1
- package/_mjs/IO/api/cachedInvalidate.mjs +1 -2
- package/_mjs/IO/api/cachedInvalidate.mjs.map +1 -1
- package/_mjs/IO/api/clockWith.mjs +2 -4
- package/_mjs/IO/api/clockWith.mjs.map +1 -1
- package/_mjs/IO/api/concurrency.mjs +1 -2
- package/_mjs/IO/api/concurrency.mjs.map +1 -1
- package/_mjs/IO/api/concurrentFinalizers.mjs +1 -2
- package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -1
- package/_mjs/IO/api/consoleWith.mjs +2 -4
- package/_mjs/IO/api/consoleWith.mjs.map +1 -1
- package/_mjs/IO/api/daemonChildren.mjs +1 -2
- package/_mjs/IO/api/daemonChildren.mjs.map +1 -1
- package/_mjs/IO/api/delay.mjs +1 -2
- package/_mjs/IO/api/delay.mjs.map +1 -1
- package/_mjs/IO/api/descriptor.mjs +1 -2
- package/_mjs/IO/api/descriptor.mjs.map +1 -1
- package/_mjs/IO/api/diffFiberRefs.mjs +1 -2
- package/_mjs/IO/api/diffFiberRefs.mjs.map +1 -1
- package/_mjs/IO/api/disconnect.mjs +1 -2
- package/_mjs/IO/api/disconnect.mjs.map +1 -1
- package/_mjs/IO/api/ensuringChildren.mjs +1 -2
- package/_mjs/IO/api/ensuringChildren.mjs.map +1 -1
- package/_mjs/IO/api/environment.mjs +1 -2
- package/_mjs/IO/api/environment.mjs.map +1 -1
- package/_mjs/IO/api/foreachConcurrent.mjs +1 -2
- package/_mjs/IO/api/foreachConcurrent.mjs.map +1 -1
- package/_mjs/IO/api/foreachExec.mjs +1 -2
- package/_mjs/IO/api/foreachExec.mjs.map +1 -1
- package/_mjs/IO/api/fork.mjs +2 -4
- package/_mjs/IO/api/fork.mjs.map +1 -1
- package/_mjs/IO/api/forkAll.mjs +1 -2
- package/_mjs/IO/api/forkAll.mjs.map +1 -1
- package/_mjs/IO/api/forkDaemon.mjs +1 -2
- package/_mjs/IO/api/forkDaemon.mjs.map +1 -1
- package/_mjs/IO/api/forkIn.mjs +1 -2
- package/_mjs/IO/api/forkIn.mjs.map +1 -1
- package/_mjs/IO/api/forkScoped.mjs +1 -2
- package/_mjs/IO/api/forkScoped.mjs.map +1 -1
- package/_mjs/IO/api/fulfill.mjs +1 -2
- package/_mjs/IO/api/fulfill.mjs.map +1 -1
- package/_mjs/IO/api/interrupt.mjs +1 -2
- package/_mjs/IO/api/interrupt.mjs.map +1 -1
- package/_mjs/IO/api/memoize.mjs +1 -2
- package/_mjs/IO/api/memoize.mjs.map +1 -1
- package/_mjs/IO/api/onTermination.mjs +1 -2
- package/_mjs/IO/api/onTermination.mjs.map +1 -1
- package/_mjs/IO/api/once.mjs +1 -2
- package/_mjs/IO/api/once.mjs.map +1 -1
- package/_mjs/IO/api/patchFiberRefs.mjs +2 -4
- package/_mjs/IO/api/patchFiberRefs.mjs.map +1 -1
- package/_mjs/IO/api/provideLayer.mjs +1 -2
- package/_mjs/IO/api/provideLayer.mjs.map +1 -1
- package/_mjs/IO/api/provideScope.mjs +2 -4
- package/_mjs/IO/api/provideScope.mjs.map +1 -1
- package/_mjs/IO/api/provideSomeLayer.mjs +1 -2
- package/_mjs/IO/api/provideSomeLayer.mjs.map +1 -1
- package/_mjs/IO/api/provideSomeRuntime.mjs +1 -2
- package/_mjs/IO/api/provideSomeRuntime.mjs.map +1 -1
- package/_mjs/IO/api/race.mjs +1 -2
- package/_mjs/IO/api/race.mjs.map +1 -1
- package/_mjs/IO/api/raceFirst.mjs +1 -2
- package/_mjs/IO/api/raceFirst.mjs.map +1 -1
- package/_mjs/IO/api/raceWith.mjs +1 -2
- package/_mjs/IO/api/raceWith.mjs.map +1 -1
- package/_mjs/IO/api/randomWith.mjs +2 -4
- package/_mjs/IO/api/randomWith.mjs.map +1 -1
- package/_mjs/IO/api/repeat.mjs +1 -2
- package/_mjs/IO/api/repeat.mjs.map +1 -1
- package/_mjs/IO/api/retry.mjs +1 -2
- package/_mjs/IO/api/retry.mjs.map +1 -1
- package/_mjs/IO/api/schedule.mjs +1 -2
- package/_mjs/IO/api/schedule.mjs.map +1 -1
- package/_mjs/IO/api/scope.mjs +1 -1
- package/_mjs/IO/api/scope.mjs.map +1 -1
- package/_mjs/IO/api/scopeWith.mjs +1 -2
- package/_mjs/IO/api/scopeWith.mjs.map +1 -1
- package/_mjs/IO/api/scoped.mjs +1 -2
- package/_mjs/IO/api/scoped.mjs.map +1 -1
- package/_mjs/IO/api/sleep.mjs +1 -2
- package/_mjs/IO/api/sleep.mjs.map +1 -1
- package/_mjs/IO/api/stateful.mjs +1 -2
- package/_mjs/IO/api/stateful.mjs.map +1 -1
- package/_mjs/IO/api/supervised.mjs +1 -2
- package/_mjs/IO/api/supervised.mjs.map +1 -1
- package/_mjs/IO/api/timeout.mjs +1 -2
- package/_mjs/IO/api/timeout.mjs.map +1 -1
- package/_mjs/IO/api/transplant.mjs +1 -2
- package/_mjs/IO/api/transplant.mjs.map +1 -1
- package/_mjs/IO/api/whenFiberRef.mjs +1 -2
- package/_mjs/IO/api/whenFiberRef.mjs.map +1 -1
- package/_mjs/IO/api/whenRef.mjs +1 -2
- package/_mjs/IO/api/whenRef.mjs.map +1 -1
- package/_mjs/IO/api/withChildren.mjs +1 -2
- package/_mjs/IO/api/withChildren.mjs.map +1 -1
- package/_mjs/IO/api/withEarlyRelease.mjs +1 -2
- package/_mjs/IO/api/withEarlyRelease.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizer.mjs +1 -2
- package/_mjs/IO/api/withFinalizer.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizerExit.mjs +1 -2
- package/_mjs/IO/api/withFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/zipConcurrent.mjs +1 -2
- package/_mjs/IO/api/zipConcurrent.mjs.map +1 -1
- package/_mjs/IO/api.mjs +5 -4
- package/_mjs/IO/api.mjs.map +1 -1
- package/_mjs/IO/definition.mjs +1 -2
- package/_mjs/IO/definition.mjs.map +1 -1
- package/_mjs/IO/runtime.mjs +5 -4
- package/_mjs/IO/runtime.mjs.map +1 -1
- package/_mjs/IO.mjs +2 -1
- package/_mjs/IOEnv/definition.mjs +1 -2
- package/_mjs/IOEnv/definition.mjs.map +1 -1
- package/_mjs/IOEnv/live.mjs +1 -2
- package/_mjs/IOEnv/live.mjs.map +1 -1
- package/_mjs/IOEnv/services.mjs +1 -2
- package/_mjs/IOEnv/services.mjs.map +1 -1
- package/_mjs/InterruptStatus/constructors.mjs +1 -2
- package/_mjs/InterruptStatus/constructors.mjs.map +1 -1
- package/_mjs/InterruptStatus/definition.mjs +1 -2
- package/_mjs/InterruptStatus/definition.mjs.map +1 -1
- package/_mjs/Layer/MemoMap.mjs +1 -2
- package/_mjs/Layer/MemoMap.mjs.map +1 -1
- package/_mjs/Layer/api.mjs +1 -2
- package/_mjs/Layer/api.mjs.map +1 -1
- package/_mjs/Layer/definition.mjs +1 -2
- package/_mjs/Layer/definition.mjs.map +1 -1
- package/_mjs/LogLevel.mjs +1 -2
- package/_mjs/LogLevel.mjs.map +1 -1
- package/_mjs/LogSpan.mjs +1 -2
- package/_mjs/LogSpan.mjs.map +1 -1
- package/_mjs/Logger/api.mjs +1 -2
- package/_mjs/Logger/api.mjs.map +1 -1
- package/_mjs/Logger/constructors.mjs +1 -2
- package/_mjs/Logger/constructors.mjs.map +1 -1
- package/_mjs/Logger/definition.mjs +1 -2
- package/_mjs/Logger/definition.mjs.map +1 -1
- package/_mjs/MVar/api.mjs +1 -2
- package/_mjs/MVar/api.mjs.map +1 -1
- package/_mjs/MVar/definition.mjs +1 -2
- package/_mjs/MVar/definition.mjs.map +1 -1
- package/_mjs/Push/FlattenStrategy.mjs +1 -2
- package/_mjs/Push/FlattenStrategy.mjs.map +1 -1
- package/_mjs/Push/IndexedBuffer.mjs +1 -2
- package/_mjs/Push/IndexedBuffer.mjs.map +1 -1
- package/_mjs/Push/MergeStrategy.mjs +1 -2
- package/_mjs/Push/MergeStrategy.mjs.map +1 -1
- package/_mjs/Push/Operator/IOLoopOperator.mjs +1 -2
- package/_mjs/Push/Operator/IOLoopOperator.mjs.map +1 -1
- package/_mjs/Push/Operator/IOOperator.mjs +1 -2
- package/_mjs/Push/Operator/IOOperator.mjs.map +1 -1
- package/_mjs/Push/Operator/LoopOperator.mjs +1 -2
- package/_mjs/Push/Operator/LoopOperator.mjs.map +1 -1
- package/_mjs/Push/Operator/SyncOperator.mjs +1 -2
- package/_mjs/Push/Operator/SyncOperator.mjs.map +1 -1
- package/_mjs/Push/Producer/IOProducer.mjs +1 -2
- package/_mjs/Push/Producer/IOProducer.mjs.map +1 -1
- package/_mjs/Push/Producer/SyncProducer.mjs +1 -2
- package/_mjs/Push/Producer/SyncProducer.mjs.map +1 -1
- package/_mjs/Push/Sink.mjs +1 -2
- package/_mjs/Push/Sink.mjs.map +1 -1
- package/_mjs/Push/api.mjs +1 -2
- package/_mjs/Push/api.mjs.map +1 -1
- package/_mjs/Push/definition.mjs +1 -2
- package/_mjs/Push/definition.mjs.map +1 -1
- package/_mjs/Push/internal.mjs +1 -2
- package/_mjs/Push/internal.mjs.map +1 -1
- package/_mjs/Queue/api/dimapIO.mjs +1 -2
- package/_mjs/Queue/api/dimapIO.mjs.map +1 -1
- package/_mjs/Queue/api/filterInputIO.mjs +5 -6
- package/_mjs/Queue/api/filterInputIO.mjs.map +1 -1
- package/_mjs/Queue/api/filterOutputIO.mjs +8 -9
- package/_mjs/Queue/api/filterOutputIO.mjs.map +1 -1
- package/_mjs/Queue/api/operations.mjs +1 -2
- package/_mjs/Queue/api/operations.mjs.map +1 -1
- package/_mjs/Queue/api/poll.mjs +1 -2
- package/_mjs/Queue/api/poll.mjs.map +1 -1
- package/_mjs/Queue/api/takeBetween.mjs +1 -2
- package/_mjs/Queue/api/takeBetween.mjs.map +1 -1
- package/_mjs/Queue/api/takeN.mjs +1 -2
- package/_mjs/Queue/api/takeN.mjs.map +1 -1
- package/_mjs/Queue/api/zipWithIO.mjs +1 -2
- package/_mjs/Queue/api/zipWithIO.mjs.map +1 -1
- package/_mjs/Queue/constructors.mjs +1 -2
- package/_mjs/Queue/constructors.mjs.map +1 -1
- package/_mjs/Queue/definition.mjs +1 -2
- package/_mjs/Queue/definition.mjs.map +1 -1
- package/_mjs/Queue/internal.mjs +1 -2
- package/_mjs/Queue/internal.mjs.map +1 -1
- package/_mjs/Queue/strategy.mjs +1 -2
- package/_mjs/Queue/strategy.mjs.map +1 -1
- package/_mjs/Random/api.mjs +1 -2
- package/_mjs/Random/api.mjs.map +1 -1
- package/_mjs/Random/definition.mjs +1 -2
- package/_mjs/Random/definition.mjs.map +1 -1
- package/_mjs/Random/live.mjs +1 -2
- package/_mjs/Random/live.mjs.map +1 -1
- package/_mjs/Ref/Atomic.mjs +1 -2
- package/_mjs/Ref/Atomic.mjs.map +1 -1
- package/_mjs/Ref/Derived.mjs +1 -2
- package/_mjs/Ref/Derived.mjs.map +1 -1
- package/_mjs/Ref/DerivedAll.mjs +1 -2
- package/_mjs/Ref/DerivedAll.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/api.mjs +1 -2
- package/_mjs/Ref/Synchronized/api.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/constructors.mjs +3 -3
- package/_mjs/Ref/Synchronized/constructors.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/definition.mjs +1 -2
- package/_mjs/Ref/Synchronized/definition.mjs.map +1 -1
- package/_mjs/Ref/api/collect.mjs +1 -2
- package/_mjs/Ref/api/collect.mjs.map +1 -1
- package/_mjs/Ref/api/dimap.mjs +1 -2
- package/_mjs/Ref/api/dimap.mjs.map +1 -1
- package/_mjs/Ref/api/filter.mjs +1 -2
- package/_mjs/Ref/api/filter.mjs.map +1 -1
- package/_mjs/Ref/api/get.mjs +1 -2
- package/_mjs/Ref/api/get.mjs.map +1 -1
- package/_mjs/Ref/api/match.mjs +1 -2
- package/_mjs/Ref/api/match.mjs.map +1 -1
- package/_mjs/Ref/api/matchAll.mjs +1 -2
- package/_mjs/Ref/api/matchAll.mjs.map +1 -1
- package/_mjs/Ref/api/modify.mjs +1 -2
- package/_mjs/Ref/api/modify.mjs.map +1 -1
- package/_mjs/Ref/api/set.mjs +1 -2
- package/_mjs/Ref/api/set.mjs.map +1 -1
- package/_mjs/Ref/api.mjs +2 -4
- package/_mjs/Ref/api.mjs.map +1 -1
- package/_mjs/Ref/constructors.mjs +1 -2
- package/_mjs/Ref/constructors.mjs.map +1 -1
- package/_mjs/Ref/definition.mjs +1 -2
- package/_mjs/Ref/definition.mjs.map +1 -1
- package/_mjs/Reloadable/api.mjs +1 -2
- package/_mjs/Reloadable/api.mjs.map +1 -1
- package/_mjs/Reloadable/constructors.mjs +3 -3
- package/_mjs/Reloadable/constructors.mjs.map +1 -1
- package/_mjs/Reloadable/definition.mjs +1 -2
- package/_mjs/Reloadable/definition.mjs.map +1 -1
- package/_mjs/RuntimeFlags/Patch.mjs +1 -2
- package/_mjs/RuntimeFlags/Patch.mjs.map +1 -1
- package/_mjs/RuntimeFlags/RuntimeFlags.mjs +1 -2
- package/_mjs/RuntimeFlags/RuntimeFlags.mjs.map +1 -1
- package/_mjs/STM/api/atomically.mjs +1 -2
- package/_mjs/STM/api/atomically.mjs.map +1 -1
- package/_mjs/STM/api/core-api.mjs +1 -2
- package/_mjs/STM/api/core-api.mjs.map +1 -1
- package/_mjs/STM/api/core-constructors.mjs +1 -2
- package/_mjs/STM/api/core-constructors.mjs.map +1 -1
- package/_mjs/STM/api.mjs +1 -2
- package/_mjs/STM/api.mjs.map +1 -1
- package/_mjs/STM/definition.mjs +1 -2
- package/_mjs/STM/definition.mjs.map +1 -1
- package/_mjs/STM/driver.mjs +1 -2
- package/_mjs/STM/driver.mjs.map +1 -1
- package/_mjs/STM/internal/CommitState.mjs +1 -2
- package/_mjs/STM/internal/CommitState.mjs.map +1 -1
- package/_mjs/STM/internal/Entry.mjs +1 -2
- package/_mjs/STM/internal/Entry.mjs.map +1 -1
- package/_mjs/STM/internal/Journal.mjs +11 -12
- package/_mjs/STM/internal/Journal.mjs.map +1 -1
- package/_mjs/STM/internal/TryCommit.mjs +1 -2
- package/_mjs/STM/internal/TryCommit.mjs.map +1 -1
- package/_mjs/STM/internal/Versioned.mjs +1 -2
- package/_mjs/STM/internal/Versioned.mjs.map +1 -1
- package/_mjs/Schedule/Decision.mjs +1 -2
- package/_mjs/Schedule/Decision.mjs.map +1 -1
- package/_mjs/Schedule/Driver.mjs +1 -2
- package/_mjs/Schedule/Driver.mjs.map +1 -1
- package/_mjs/Schedule/api/driver.mjs +1 -2
- package/_mjs/Schedule/api/driver.mjs.map +1 -1
- package/_mjs/Schedule/api.mjs +1 -2
- package/_mjs/Schedule/api.mjs.map +1 -1
- package/_mjs/Schedule/definition.mjs +1 -2
- package/_mjs/Schedule/definition.mjs.map +1 -1
- package/_mjs/Scope/Finalizer/definition.mjs +1 -2
- package/_mjs/Scope/Finalizer/definition.mjs.map +1 -1
- package/_mjs/Scope/Finalizer.mjs +1 -2
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs +1 -2
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api.mjs +1 -2
- package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/constructors.mjs +1 -2
- package/_mjs/Scope/ReleaseMap/constructors.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/definition.mjs +1 -2
- package/_mjs/Scope/ReleaseMap/definition.mjs.map +1 -1
- package/_mjs/Scope/api.mjs +1 -2
- package/_mjs/Scope/api.mjs.map +1 -1
- package/_mjs/Scope/definition.mjs +1 -2
- package/_mjs/Scope/definition.mjs.map +1 -1
- package/_mjs/ScopedRef/api.mjs +1 -2
- package/_mjs/ScopedRef/api.mjs.map +1 -1
- package/_mjs/ScopedRef/definition.mjs +1 -2
- package/_mjs/ScopedRef/definition.mjs.map +1 -1
- package/_mjs/Semaphore/Reservation.mjs +1 -2
- package/_mjs/Semaphore/Reservation.mjs.map +1 -1
- package/_mjs/Semaphore/constructors.mjs +1 -2
- package/_mjs/Semaphore/constructors.mjs.map +1 -1
- package/_mjs/Semaphore/definition.mjs +1 -2
- package/_mjs/Semaphore/definition.mjs.map +1 -1
- package/_mjs/Sink/api.mjs +1 -2
- package/_mjs/Sink/api.mjs.map +1 -1
- package/_mjs/Sink/definition.mjs +1 -2
- package/_mjs/Sink/definition.mjs.map +1 -1
- package/_mjs/State/api.mjs +1 -2
- package/_mjs/State/api.mjs.map +1 -1
- package/_mjs/State/definition.mjs +1 -2
- package/_mjs/State/definition.mjs.map +1 -1
- package/_mjs/State/internal.mjs +1 -2
- package/_mjs/State/internal.mjs.map +1 -1
- package/_mjs/Stream/api/zipAllWith.mjs +1 -2
- package/_mjs/Stream/api/zipAllWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWith.mjs +1 -2
- package/_mjs/Stream/api/zipWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWithChunks.mjs +1 -2
- package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -1
- package/_mjs/Stream/api.mjs +3 -3
- package/_mjs/Stream/api.mjs.map +1 -1
- package/_mjs/Stream/definition.mjs +1 -2
- package/_mjs/Stream/definition.mjs.map +1 -1
- package/_mjs/Stream/internal/DebounceState.mjs +1 -2
- package/_mjs/Stream/internal/DebounceState.mjs.map +1 -1
- package/_mjs/Stream/internal/Handoff.mjs +1 -2
- package/_mjs/Stream/internal/Handoff.mjs.map +1 -1
- package/_mjs/Stream/internal/Pull.mjs +1 -2
- package/_mjs/Stream/internal/Pull.mjs.map +1 -1
- package/_mjs/Stream/internal/SinkEndReason.mjs +1 -2
- package/_mjs/Stream/internal/SinkEndReason.mjs.map +1 -1
- package/_mjs/Stream/internal/Take.mjs +1 -2
- package/_mjs/Stream/internal/Take.mjs.map +1 -1
- package/_mjs/Stream/internal/util.mjs +1 -2
- package/_mjs/Stream/internal/util.mjs.map +1 -1
- package/_mjs/Subject/Atomic.mjs +1 -2
- package/_mjs/Subject/Atomic.mjs.map +1 -1
- package/_mjs/Subject/DeferredRef.mjs +1 -2
- package/_mjs/Subject/DeferredRef.mjs.map +1 -1
- package/_mjs/Subject/Hold.mjs +1 -2
- package/_mjs/Subject/Hold.mjs.map +1 -1
- package/_mjs/Subject/RefSubject/Atomic.mjs +19 -24
- package/_mjs/Subject/RefSubject/Atomic.mjs.map +1 -1
- package/_mjs/Subject/RefSubject/Derived.mjs +1 -2
- package/_mjs/Subject/RefSubject/Derived.mjs.map +1 -1
- package/_mjs/Subject/RefSubject/RefSubject.mjs +1 -2
- package/_mjs/Subject/RefSubject/RefSubject.mjs.map +1 -1
- package/_mjs/Subject/RefSubject/constructors.mjs +1 -2
- package/_mjs/Subject/RefSubject/constructors.mjs.map +1 -1
- package/_mjs/Subject/api.mjs +2 -4
- package/_mjs/Subject/api.mjs.map +1 -1
- package/_mjs/Subject/definition.mjs +1 -2
- package/_mjs/Subject/definition.mjs.map +1 -1
- package/_mjs/SubscriptionRef.mjs +1 -2
- package/_mjs/SubscriptionRef.mjs.map +1 -1
- package/_mjs/Supervisor/api.mjs +1 -2
- package/_mjs/Supervisor/api.mjs.map +1 -1
- package/_mjs/Supervisor/constructors.mjs +1 -2
- package/_mjs/Supervisor/constructors.mjs.map +1 -1
- package/_mjs/Supervisor/definition.mjs +2 -4
- package/_mjs/Supervisor/definition.mjs.map +1 -1
- package/_mjs/SupervisorPatch.mjs +1 -2
- package/_mjs/SupervisorPatch.mjs.map +1 -1
- package/_mjs/TExit/constructors.mjs +1 -2
- package/_mjs/TExit/constructors.mjs.map +1 -1
- package/_mjs/TExit/definition.mjs +1 -2
- package/_mjs/TExit/definition.mjs.map +1 -1
- package/_mjs/TFuture/api.mjs +1 -2
- package/_mjs/TFuture/api.mjs.map +1 -1
- package/_mjs/TFuture/constructors.mjs +1 -2
- package/_mjs/TFuture/constructors.mjs.map +1 -1
- package/_mjs/TFuture/definition.mjs +1 -2
- package/_mjs/TFuture/definition.mjs.map +1 -1
- package/_mjs/TReentrantLock/api.mjs +1 -2
- package/_mjs/TReentrantLock/api.mjs.map +1 -1
- package/_mjs/TReentrantLock/definition.mjs +1 -2
- package/_mjs/TReentrantLock/definition.mjs.map +1 -1
- package/_mjs/TRef/api.mjs +1 -2
- package/_mjs/TRef/api.mjs.map +1 -1
- package/_mjs/TRef/constructors.mjs +11 -5
- package/_mjs/TRef/constructors.mjs.map +1 -1
- package/_mjs/TRef/definition.mjs +1 -2
- package/_mjs/TRef/definition.mjs.map +1 -1
- package/_mjs/TSemaphore/api.mjs +1 -2
- package/_mjs/TSemaphore/api.mjs.map +1 -1
- package/_mjs/TSemaphore/constructors.mjs +1 -2
- package/_mjs/TSemaphore/constructors.mjs.map +1 -1
- package/_mjs/TSemaphore/definition.mjs +1 -2
- package/_mjs/TSemaphore/definition.mjs.map +1 -1
- package/_mjs/TxnId.mjs +1 -2
- package/_mjs/TxnId.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs +1 -2
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs +1 -2
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/filterIO.mjs +1 -2
- package/_mjs/collection/immutable/Conc/filterIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/findIO.mjs +1 -2
- package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/mapIO.mjs +1 -2
- package/_mjs/collection/immutable/Conc/mapIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs +1 -2
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -1
- package/_mjs/data/Exit/foreachIO.mjs +1 -2
- package/_mjs/data/Exit/foreachIO.mjs.map +1 -1
- package/_mjs/internal/BackgroundScheduler.mjs +1 -2
- package/_mjs/internal/BackgroundScheduler.mjs.map +1 -1
- package/_mjs/internal/HashedPair.mjs +1 -2
- package/_mjs/internal/HashedPair.mjs.map +1 -1
- package/_mjs/internal/Hub.mjs +1 -2
- package/_mjs/internal/Hub.mjs.map +1 -1
- package/_mjs/internal/IsFatal.mjs +1 -6
- package/_mjs/internal/IsFatal.mjs.map +1 -1
- package/_mjs/internal/MutableQueue.mjs +1 -2
- package/_mjs/internal/MutableQueue.mjs.map +1 -1
- package/_mjs/internal/Scheduler.mjs +1 -2
- package/_mjs/internal/Scheduler.mjs.map +1 -1
- package/_mjs/internal/StackTraceBuilder.mjs +1 -2
- package/_mjs/internal/StackTraceBuilder.mjs.map +1 -1
- package/_src/IO/api/asyncIterable.ts +103 -0
- package/_src/IO.ts +1 -0
- package/_src/Queue/api/filterInputIO.ts +8 -3
- package/_src/Queue/api/filterOutputIO.ts +8 -3
- package/_src/Scope/Finalizer/definition.ts +6 -7
- package/_src/Scope/ReleaseMap/definition.ts +6 -7
- package/package.json +2 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../../rolldown-runtime.cjs");
|
|
3
3
|
let _fncts_io_IO_api = require("@fncts/io/IO/api");
|
|
4
|
-
_fncts_io_IO_api =
|
|
4
|
+
_fncts_io_IO_api = require_rolldown_runtime.__toESM(_fncts_io_IO_api, 1);
|
|
5
5
|
let _fncts_base_data_Exit_api = require("@fncts/base/data/Exit/api");
|
|
6
|
-
_fncts_base_data_Exit_api =
|
|
6
|
+
_fncts_base_data_Exit_api = require_rolldown_runtime.__toESM(_fncts_base_data_Exit_api, 1);
|
|
7
7
|
let _fncts_io_Channel_core_api = require("@fncts/io/Channel/core-api");
|
|
8
|
-
_fncts_io_Channel_core_api =
|
|
8
|
+
_fncts_io_Channel_core_api = require_rolldown_runtime.__toESM(_fncts_io_Channel_core_api, 1);
|
|
9
9
|
let _fncts_io_Channel_api_mergeWith = require("@fncts/io/Channel/api/mergeWith");
|
|
10
|
-
_fncts_io_Channel_api_mergeWith =
|
|
10
|
+
_fncts_io_Channel_api_mergeWith = require_rolldown_runtime.__toESM(_fncts_io_Channel_api_mergeWith, 1);
|
|
11
11
|
let _fncts_io_Channel_internal_MergeDecision = require("@fncts/io/Channel/internal/MergeDecision");
|
|
12
|
-
_fncts_io_Channel_internal_MergeDecision =
|
|
13
|
-
|
|
12
|
+
_fncts_io_Channel_internal_MergeDecision = require_rolldown_runtime.__toESM(_fncts_io_Channel_internal_MergeDecision, 1);
|
|
13
|
+
// build/esm/Channel/api/zipConcurrent.js
|
|
14
14
|
const fileName_1 = "(@fncts/io) src/Channel/api/zipConcurrent.ts";
|
|
15
15
|
const zipConcurrent = zipConcurrent_1;
|
|
16
16
|
/**
|
|
@@ -37,7 +37,6 @@ function zipRightConcurrent(that) {
|
|
|
37
37
|
return _fncts_io_Channel_core_api.map(([_, d1]) => d1)(zipConcurrent_1(that)(self));
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
//#endregion
|
|
41
40
|
exports.zipConcurrent = zipConcurrent;
|
|
42
41
|
exports.zipLeftConcurrent = zipLeftConcurrent;
|
|
43
42
|
exports.zipRightConcurrent = zipRightConcurrent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zipConcurrent.cjs","names":["tsplus_module_4","tsplus_module_3","tsplus_module_2","tsplus_module_1","tsplus_module_5"],"sources":["../../../esm/Channel/api/zipConcurrent.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Channel/api/zipConcurrent.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Exit/api\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/io/Channel/internal/MergeDecision\";\nimport * as tsplus_module_4 from \"@fncts/io/Channel/api/mergeWith\";\nimport * as tsplus_module_5 from \"@fncts/io/Channel/core-api\";\nexport const zipConcurrent = zipConcurrent_1;\n/**\n * @tsplus pipeable fncts.io.Channel zipConcurrent\n */\nfunction zipConcurrent_1(that) {\n return (self) => {\n return tsplus_module_4.mergeWith(that, (exit1) => tsplus_module_3.wait((exit2) => tsplus_module_2.fromExit(() => tsplus_module_1.zipConcurrent(exit2)(exit1), fileName_1 + \":22:60\")), (exit2) => tsplus_module_3.wait((exit1) => tsplus_module_2.fromExit(() => tsplus_module_1.zipConcurrent(exit2)(exit1), fileName_1 + \":23:60\")))(self);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel zipLeftConcurrent\n */\nexport function zipLeftConcurrent(that) {\n return (self) => {\n return tsplus_module_5.map(([d]) => d)(zipConcurrent_1(that)(self));\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel zipRightConcurrent\n */\nexport function zipRightConcurrent(that) {\n return (self) => {\n return tsplus_module_5.map(([_, d1]) => d1)(zipConcurrent_1(that)(self));\n };\n}\n//# sourceMappingURL=zipConcurrent.js.map"],"mappings":";;;;;;;;;;;;;AAAA,MAAM,aAAa;AAMnB,MAAa,gBAAgB;;;;AAI7B,SAAS,gBAAgB,MAAM;
|
|
1
|
+
{"version":3,"file":"zipConcurrent.cjs","names":["tsplus_module_4","tsplus_module_3","tsplus_module_2","tsplus_module_1","tsplus_module_5"],"sources":["../../../esm/Channel/api/zipConcurrent.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Channel/api/zipConcurrent.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Exit/api\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/io/Channel/internal/MergeDecision\";\nimport * as tsplus_module_4 from \"@fncts/io/Channel/api/mergeWith\";\nimport * as tsplus_module_5 from \"@fncts/io/Channel/core-api\";\nexport const zipConcurrent = zipConcurrent_1;\n/**\n * @tsplus pipeable fncts.io.Channel zipConcurrent\n */\nfunction zipConcurrent_1(that) {\n return (self) => {\n return tsplus_module_4.mergeWith(that, (exit1) => tsplus_module_3.wait((exit2) => tsplus_module_2.fromExit(() => tsplus_module_1.zipConcurrent(exit2)(exit1), fileName_1 + \":22:60\")), (exit2) => tsplus_module_3.wait((exit1) => tsplus_module_2.fromExit(() => tsplus_module_1.zipConcurrent(exit2)(exit1), fileName_1 + \":23:60\")))(self);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel zipLeftConcurrent\n */\nexport function zipLeftConcurrent(that) {\n return (self) => {\n return tsplus_module_5.map(([d]) => d)(zipConcurrent_1(that)(self));\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel zipRightConcurrent\n */\nexport function zipRightConcurrent(that) {\n return (self) => {\n return tsplus_module_5.map(([_, d1]) => d1)(zipConcurrent_1(that)(self));\n };\n}\n//# sourceMappingURL=zipConcurrent.js.map"],"mappings":";;;;;;;;;;;;;AAAA,MAAM,aAAa;AAMnB,MAAa,gBAAgB;;;;AAI7B,SAAS,gBAAgB,MAAM;CAC3B,QAAQ,SAAS;EACb,OAAOA,gCAAgB,UAAU,OAAO,UAAUC,yCAAgB,MAAM,UAAUC,iBAAgB,eAAeC,0BAAgB,cAAc,KAAK,CAAC,CAAC,KAAK,GAAG,aAAa,QAAQ,CAAC,IAAI,UAAUF,yCAAgB,MAAM,UAAUC,iBAAgB,eAAeC,0BAAgB,cAAc,KAAK,CAAC,CAAC,KAAK,GAAG,aAAa,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI;CAC/U;AACJ;;;;AAIA,SAAgB,kBAAkB,MAAM;CACpC,QAAQ,SAAS;EACb,OAAOC,2BAAgB,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,gBAAgB,IAAI,CAAC,CAAC,IAAI,CAAC;CACtE;AACJ;;;;AAIA,SAAgB,mBAAmB,MAAM;CACrC,QAAQ,SAAS;EACb,OAAOA,2BAAgB,KAAK,CAAC,GAAG,QAAQ,EAAE,CAAC,CAAC,gBAAgB,IAAI,CAAC,CAAC,IAAI,CAAC;CAC3E;AACJ"}
|
package/_cjs/Channel/api.cjs
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
2
|
+
const require_rolldown_runtime = require("../rolldown-runtime.cjs");
|
|
3
3
|
let _fncts_io_IO_api_interrupt = require("@fncts/io/IO/api/interrupt");
|
|
4
|
-
_fncts_io_IO_api_interrupt =
|
|
4
|
+
_fncts_io_IO_api_interrupt = require_rolldown_runtime.__toESM(_fncts_io_IO_api_interrupt, 1);
|
|
5
5
|
let _fncts_io_IO_api = require("@fncts/io/IO/api");
|
|
6
|
-
_fncts_io_IO_api =
|
|
6
|
+
_fncts_io_IO_api = require_rolldown_runtime.__toESM(_fncts_io_IO_api, 1);
|
|
7
7
|
let _fncts_base_util_predicates = require("@fncts/base/util/predicates");
|
|
8
|
-
_fncts_base_util_predicates =
|
|
8
|
+
_fncts_base_util_predicates = require_rolldown_runtime.__toESM(_fncts_base_util_predicates, 1);
|
|
9
9
|
let _fncts_base_data_Maybe_destructors = require("@fncts/base/data/Maybe/destructors");
|
|
10
|
-
_fncts_base_data_Maybe_destructors =
|
|
10
|
+
_fncts_base_data_Maybe_destructors = require_rolldown_runtime.__toESM(_fncts_base_data_Maybe_destructors, 1);
|
|
11
11
|
let _fncts_base_data_Either_constructors = require("@fncts/base/data/Either/constructors");
|
|
12
|
-
_fncts_base_data_Either_constructors =
|
|
12
|
+
_fncts_base_data_Either_constructors = require_rolldown_runtime.__toESM(_fncts_base_data_Either_constructors, 1);
|
|
13
13
|
let _fncts_base_data_Either_destructors = require("@fncts/base/data/Either/destructors");
|
|
14
|
-
_fncts_base_data_Either_destructors =
|
|
14
|
+
_fncts_base_data_Either_destructors = require_rolldown_runtime.__toESM(_fncts_base_data_Either_destructors, 1);
|
|
15
15
|
let _fncts_base_data_Maybe_constructors = require("@fncts/base/data/Maybe/constructors");
|
|
16
|
-
_fncts_base_data_Maybe_constructors =
|
|
16
|
+
_fncts_base_data_Maybe_constructors = require_rolldown_runtime.__toESM(_fncts_base_data_Maybe_constructors, 1);
|
|
17
17
|
let _fncts_base_data_function = require("@fncts/base/data/function");
|
|
18
18
|
let _fncts_io_IO_api_environment = require("@fncts/io/IO/api/environment");
|
|
19
|
-
_fncts_io_IO_api_environment =
|
|
19
|
+
_fncts_io_IO_api_environment = require_rolldown_runtime.__toESM(_fncts_io_IO_api_environment, 1);
|
|
20
20
|
let _fncts_base_collection_immutable_Conc_constructors = require("@fncts/base/collection/immutable/Conc/constructors");
|
|
21
|
-
_fncts_base_collection_immutable_Conc_constructors =
|
|
21
|
+
_fncts_base_collection_immutable_Conc_constructors = require_rolldown_runtime.__toESM(_fncts_base_collection_immutable_Conc_constructors, 1);
|
|
22
22
|
let _fncts_io_Ref_api_get = require("@fncts/io/Ref/api/get");
|
|
23
|
-
_fncts_io_Ref_api_get =
|
|
23
|
+
_fncts_io_Ref_api_get = require_rolldown_runtime.__toESM(_fncts_io_Ref_api_get, 1);
|
|
24
24
|
let _fncts_io_Ref_api_set = require("@fncts/io/Ref/api/set");
|
|
25
|
-
_fncts_io_Ref_api_set =
|
|
25
|
+
_fncts_io_Ref_api_set = require_rolldown_runtime.__toESM(_fncts_io_Ref_api_set, 1);
|
|
26
26
|
let _fncts_io_Hub_api = require("@fncts/io/Hub/api");
|
|
27
|
-
_fncts_io_Hub_api =
|
|
27
|
+
_fncts_io_Hub_api = require_rolldown_runtime.__toESM(_fncts_io_Hub_api, 1);
|
|
28
28
|
let _fncts_io_Ref_constructors = require("@fncts/io/Ref/constructors");
|
|
29
|
-
_fncts_io_Ref_constructors =
|
|
29
|
+
_fncts_io_Ref_constructors = require_rolldown_runtime.__toESM(_fncts_io_Ref_constructors, 1);
|
|
30
30
|
let _fncts_base_data_Exit_constructors = require("@fncts/base/data/Exit/constructors");
|
|
31
|
-
_fncts_base_data_Exit_constructors =
|
|
31
|
+
_fncts_base_data_Exit_constructors = require_rolldown_runtime.__toESM(_fncts_base_data_Exit_constructors, 1);
|
|
32
32
|
let _fncts_io_Scope_api = require("@fncts/io/Scope/api");
|
|
33
|
-
_fncts_io_Scope_api =
|
|
33
|
+
_fncts_io_Scope_api = require_rolldown_runtime.__toESM(_fncts_io_Scope_api, 1);
|
|
34
34
|
let _fncts_base_data_Cause_api = require("@fncts/base/data/Cause/api");
|
|
35
|
-
_fncts_base_data_Cause_api =
|
|
35
|
+
_fncts_base_data_Cause_api = require_rolldown_runtime.__toESM(_fncts_base_data_Cause_api, 1);
|
|
36
36
|
let _fncts_base_collection_immutable_Conc_api = require("@fncts/base/collection/immutable/Conc/api");
|
|
37
|
-
_fncts_base_collection_immutable_Conc_api =
|
|
37
|
+
_fncts_base_collection_immutable_Conc_api = require_rolldown_runtime.__toESM(_fncts_base_collection_immutable_Conc_api, 1);
|
|
38
38
|
let _fncts_base_data_Exit_api = require("@fncts/base/data/Exit/api");
|
|
39
|
-
_fncts_base_data_Exit_api =
|
|
39
|
+
_fncts_base_data_Exit_api = require_rolldown_runtime.__toESM(_fncts_base_data_Exit_api, 1);
|
|
40
40
|
let _fncts_base_collection_immutable_Conc_api_empty = require("@fncts/base/collection/immutable/Conc/api/empty");
|
|
41
|
-
_fncts_base_collection_immutable_Conc_api_empty =
|
|
41
|
+
_fncts_base_collection_immutable_Conc_api_empty = require_rolldown_runtime.__toESM(_fncts_base_collection_immutable_Conc_api_empty, 1);
|
|
42
42
|
let _fncts_io_Queue_api_operations = require("@fncts/io/Queue/api/operations");
|
|
43
|
-
_fncts_io_Queue_api_operations =
|
|
43
|
+
_fncts_io_Queue_api_operations = require_rolldown_runtime.__toESM(_fncts_io_Queue_api_operations, 1);
|
|
44
44
|
let _fncts_io_Ref_api_modify = require("@fncts/io/Ref/api/modify");
|
|
45
|
-
_fncts_io_Ref_api_modify =
|
|
45
|
+
_fncts_io_Ref_api_modify = require_rolldown_runtime.__toESM(_fncts_io_Ref_api_modify, 1);
|
|
46
46
|
let _fncts_io_Channel_core_api = require("@fncts/io/Channel/core-api");
|
|
47
|
-
_fncts_io_Channel_core_api =
|
|
47
|
+
_fncts_io_Channel_core_api = require_rolldown_runtime.__toESM(_fncts_io_Channel_core_api, 1);
|
|
48
48
|
let _fncts_base_collection_immutable_Conc = require("@fncts/base/collection/immutable/Conc");
|
|
49
|
-
_fncts_base_collection_immutable_Conc =
|
|
49
|
+
_fncts_base_collection_immutable_Conc = require_rolldown_runtime.__toESM(_fncts_base_collection_immutable_Conc, 1);
|
|
50
50
|
let _fncts_io_IO_api_asyncInterrupt = require("@fncts/io/IO/api/asyncInterrupt");
|
|
51
|
-
_fncts_io_IO_api_asyncInterrupt =
|
|
51
|
+
_fncts_io_IO_api_asyncInterrupt = require_rolldown_runtime.__toESM(_fncts_io_IO_api_asyncInterrupt, 1);
|
|
52
52
|
let _fncts_io_Channel_UpstreamPullStrategy_definition = require("@fncts/io/Channel/UpstreamPullStrategy/definition");
|
|
53
|
-
_fncts_io_Channel_UpstreamPullStrategy_definition =
|
|
53
|
+
_fncts_io_Channel_UpstreamPullStrategy_definition = require_rolldown_runtime.__toESM(_fncts_io_Channel_UpstreamPullStrategy_definition, 1);
|
|
54
54
|
let _fncts_io_Channel_ChildExecutorDecision_definition = require("@fncts/io/Channel/ChildExecutorDecision/definition");
|
|
55
|
-
_fncts_io_Channel_ChildExecutorDecision_definition =
|
|
55
|
+
_fncts_io_Channel_ChildExecutorDecision_definition = require_rolldown_runtime.__toESM(_fncts_io_Channel_ChildExecutorDecision_definition, 1);
|
|
56
56
|
let _fncts_io_Channel_definition = require("@fncts/io/Channel/definition");
|
|
57
|
-
|
|
57
|
+
// build/esm/Channel/api.js
|
|
58
58
|
const fileName_1 = "(@fncts/io) src/Channel/api.ts";
|
|
59
59
|
const acquireReleaseExitWith = acquireReleaseExitWith_1;
|
|
60
60
|
const acquireReleaseOutExitWith = acquireReleaseOutExitWith_1;
|
|
@@ -808,7 +808,6 @@ function unwrap_1(self) {
|
|
|
808
808
|
function unwrapScoped(self) {
|
|
809
809
|
return concatAllWith_1((d, _) => d, (d, _) => d)(scoped_1(self));
|
|
810
810
|
}
|
|
811
|
-
//#endregion
|
|
812
811
|
exports.acquireReleaseExitWith = acquireReleaseExitWith;
|
|
813
812
|
exports.acquireReleaseOutExitWith = acquireReleaseOutExitWith;
|
|
814
813
|
exports.acquireReleaseOutWith = acquireReleaseOutWith;
|
package/_cjs/Channel/api.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.cjs","names":["tsplus_module_5","tsplus_module_2","tsplus_module_1","tsplus_module_4","tsplus_module_3","tsplus_module_6","ChannelPrimitive","tsplus_module_7","tsplus_module_8","tsplus_module_9","tsplus_module_10","tsplus_module_12","tsplus_module_11","tsplus_module_13","tsplus_module_15","tsplus_module_14","tsplus_module_16","identity","tsplus_module_17","tsplus_module_18","tsplus_module_19","tsplus_module_20","tsplus_module_21","tsplus_module_22","tsplus_module_23","tsplus_module_24","tsplus_module_25","tsplus_module_26"],"sources":["../../esm/Channel/api.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Channel/api.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/Ref/api/get\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/set\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api/interrupt\";\nimport * as tsplus_module_5 from \"@fncts/io/Channel/core-api\";\nimport * as tsplus_module_6 from \"@fncts/io/Ref/constructors\";\nimport * as tsplus_module_7 from \"@fncts/io/IO/api/environment\";\nimport * as tsplus_module_8 from \"@fncts/io/Ref/api/modify\";\nimport * as tsplus_module_9 from \"@fncts/base/collection/immutable/Conc/api/empty\";\nimport * as tsplus_module_10 from \"@fncts/base/collection/immutable/Conc/api\";\nimport * as tsplus_module_11 from \"@fncts/base/data/Cause/api\";\nimport * as tsplus_module_12 from \"@fncts/base/data/Either/destructors\";\nimport * as tsplus_module_13 from \"@fncts/base/collection/immutable/Conc\";\nimport * as tsplus_module_14 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_15 from \"@fncts/io/Channel/UpstreamPullStrategy/definition\";\nimport * as tsplus_module_16 from \"@fncts/io/Channel/ChildExecutorDecision/definition\";\nimport * as tsplus_module_17 from \"@fncts/base/data/Maybe/destructors\";\nimport * as tsplus_module_18 from \"@fncts/base/data/Exit/api\";\nimport * as tsplus_module_19 from \"@fncts/io/Queue/api/operations\";\nimport * as tsplus_module_20 from \"@fncts/base/util/predicates\";\nimport * as tsplus_module_21 from \"@fncts/base/data/Exit/constructors\";\nimport * as tsplus_module_22 from \"@fncts/io/Scope/api\";\nimport * as tsplus_module_23 from \"@fncts/io/IO/api/asyncInterrupt\";\nimport * as tsplus_module_24 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_25 from \"@fncts/base/collection/immutable/Conc/constructors\";\nimport * as tsplus_module_26 from \"@fncts/io/Hub/api\";\nexport const acquireReleaseExitWith = acquireReleaseExitWith_1;\nexport const acquireReleaseOutExitWith = acquireReleaseOutExitWith_1;\nexport const as_ = as_1;\nexport const ask = ask_1;\nexport const buffer = buffer_1;\nexport const catchAll = catchAll_1;\nexport const catchAllCause = catchAllCause_1;\nexport const concatAllWith = concatAllWith_1;\nexport const concatMapWith = concatMapWith_1;\nexport const defer = defer_1;\nexport const doneCollect = doneCollect_1;\nexport const ensuringWith = ensuringWith_1;\nexport const failNow = failNow_1;\nexport const flatten = flatten_1;\nexport const fromInput = fromInput_1;\nexport const fromIO = fromIO_1;\nexport const fromQueue = fromQueue_1;\nexport const haltNow = haltNow_1;\nexport const id = id_1;\nexport const mapErrorCause = mapErrorCause_1;\nexport const mapIO = mapIO_1;\nexport const provideEnvironment = provideEnvironment_1;\nexport const scoped = scoped_1;\nexport const matchCauseChannel = matchCauseChannel_1;\nexport const orHaltWith = orHaltWith_1;\nexport const pipeTo = pipeTo_1;\nexport const readOrFail = readOrFail_1;\nexport const readWith = readWith_1;\nexport const readWithCause = readWithCause_1;\nexport const repeated = repeated_1;\nexport const toQueue = toQueue_1;\nexport const write = write_1;\nexport const writeChunk = writeChunk_1;\nexport const writeNow = writeNow_1;\nexport const unwrap = unwrap_1;\nimport { identity, tuple } from \"@fncts/base/data/function\";\nimport { ChannelPrimitive } from \"@fncts/io/Channel/definition\";\n/**\n * @tsplus static fncts.io.ChannelOps acquireReleaseExitWith\n */\nfunction acquireReleaseExitWith_1(acquire, use, release) {\n return tsplus_module_5.flatMap((ref) => ensuringWith_1((exit) => tsplus_module_2.flatMap((fin) => fin(exit), fileName_1 + \":21:46\")(tsplus_module_1.get(ref, fileName_1 + \":21:34\")))(tsplus_module_5.flatMap(use)(fromIO_1(() => tsplus_module_4.uninterruptible(tsplus_module_2.tap((a) => tsplus_module_3.set((exit) => release(a, exit), fileName_1 + \":19:46\")(ref), fileName_1 + \":19:31\")(acquire), fileName_1 + \":19:75\")))))(fromIO_1(() => tsplus_module_6.make(() => (_) => tsplus_module_2.unit, fileName_1 + \":18:33\")));\n}\n/**\n * Construct a resource Channel with Acquire / Release\n *\n * @tsplus static fncts.io.ChannelOps acquireReleaseOutExitWith\n */\nfunction acquireReleaseOutExitWith_1(self, release) {\n const op = new ChannelPrimitive(13 /* ChannelTag.BracketOut */);\n op.i0 = self;\n op.i1 = release;\n return op;\n}\n/**\n * Construct a resource Channel with Acquire / Release\n *\n * @tsplus static fncts.io.ChannelOps acquireReleaseOutWith\n */\nexport function acquireReleaseOutWith(acquire, release) {\n return acquireReleaseOutExitWith_1(acquire, (z, _) => release(z));\n}\n/**\n * @tsplus static fncts.io.ChannelOps acquireReleaseWith\n */\nexport function acquireReleaseWith(acquire, use, release) {\n return acquireReleaseExitWith_1(acquire, use, (a, _) => release(a));\n}\n/**\n * Returns a new channel that is the same as this one, except the terminal value of the channel\n * is the specified constant value.\n *\n * This method produces the same result as mapping this channel to the specified constant value.\n *\n * @tsplus pipeable fncts.io.Channel as\n */\nfunction as_1(z2) {\n return (self) => {\n return tsplus_module_5.map(() => z2())(self);\n };\n}\n/**\n * @tsplus static fncts.io.ChannelOps ask\n */\nfunction ask_1() {\n return fromIO_1(() => tsplus_module_7.environment(fileName_1 + \":83:39\"));\n}\n/**\n * @tsplus getter fncts.io.Channel asUnit\n */\nexport function asUnit(self) {\n return as_1(() => undefined)(self);\n}\n/**\n * Creates a channel backed by a buffer. When the buffer is empty, the channel will simply\n * passthrough its input as output. However, when the buffer is non-empty, the value inside\n * the buffer will be passed along as output.\n *\n * @tsplus static fncts.io.ChannelOps buffer\n */\nfunction buffer_1(empty, isEmpty, ref) {\n return unwrap_1(() => tsplus_module_8.modify((v) => {\n if (isEmpty(v)) {\n return tuple(readWith_1((_in) => tsplus_module_5.zipRight(buffer_1(empty, isEmpty, ref))(writeNow_1(_in)), (err) => failNow_1(err), (done) => tsplus_module_5.endNow(done)), v);\n }\n else {\n return tuple(tsplus_module_5.zipRight(buffer_1(empty, isEmpty, ref))(writeNow_1(v)), empty);\n }\n }, fileName_1 + \":108:15\")(ref));\n}\n/**\n * @tsplus static fncts.io.ChannelOps bufferChunk\n */\nexport function bufferChunk(ref) {\n return buffer_1(tsplus_module_9.empty(), (conc) => tsplus_module_10.isEmpty(conc), ref);\n}\n/**\n * Returns a new channel that is the same as this one, except if this channel errors for any\n * typed error, then the returned channel will switch over to using the fallback channel returned\n * by the specified error handler.\n *\n * @tsplus pipeable fncts.io.Channel catchAll\n */\nfunction catchAll_1(f) {\n return (self) => {\n return catchAllCause_1((cause) => tsplus_module_12.match((l) => f(l), (r) => tsplus_module_5.failCauseNow(r))(tsplus_module_11.failureOrCause(cause)))(self);\n };\n}\n/**\n * Returns a new channel that is the same as this one, except if this channel errors for any\n * typed error, then the returned channel will switch over to using the fallback channel returned\n * by the specified error handler.\n *\n * @tsplus pipeable fncts.io.Channel catchAllCause\n */\nfunction catchAllCause_1(f) {\n return (self) => {\n const op = new ChannelPrimitive(3 /* ChannelTag.Fold */);\n const continuation = new ChannelPrimitive(1 /* ChannelTag.ContinuationK */);\n continuation.i0 = tsplus_module_5.endNow;\n continuation.i1 = f;\n op.i0 = self;\n op.i1 = continuation;\n return op;\n };\n}\n/**\n * @tsplus getter fncts.io.Channel collectElements\n */\nexport function collectElements(self) {\n return defer_1(() => {\n const builder = new tsplus_module_13.ConcBuilder(tsplus_module_9.empty());\n const reader = readWith_1((out) => tsplus_module_5.zipRight(reader)(tsplus_module_5.succeed(() => builder.append(out))), failNow_1, tsplus_module_5.succeedNow);\n return tsplus_module_5.flatMap((z) => tsplus_module_5.succeedNow([builder.result(), z]))(pipeTo_1(reader)(self));\n });\n}\n/**\n * @tsplus getter fncts.io.Channel concatAll\n */\nexport function concatAll(channels) {\n return concatAllWith_1(() => void 0, () => void 0)(channels);\n}\n/**\n * Concat sequentially a channel of channels\n *\n * @tsplus pipeable fncts.io.Channel concatAllWith\n */\nfunction concatAllWith_1(f, g) {\n return (channels) => {\n const op = new ChannelPrimitive(12 /* ChannelTag.ConcatAll */);\n op.i0 = f;\n op.i1 = g;\n op.i2 = () => tsplus_module_15.PullAfterNext(tsplus_module_14.nothing(fileName_1 + \":250:64\"));\n op.i3 = () => tsplus_module_16.Continue;\n op.i4 = channels;\n op.i5 = identity;\n return op;\n };\n}\n/**\n * Returns a new channel whose outputs are fed to the specified factory function, which creates\n * new channels in response. These new channels are sequentially concatenated together, and all\n * their outputs appear as outputs of the newly returned channel.\n *\n * @tsplus pipeable fncts.io.Channel concatMap\n */\nexport function concatMap(f) {\n return (self) => {\n return concatMapWith_1(f, () => void 0, () => void 0)(self);\n };\n}\n/**\n * Returns a new channel whose outputs are fed to the specified factory function, which creates\n * new channels in response. These new channels are sequentially concatenated together, and all\n * their outputs appear as outputs of the newly returned channel. The provided merging function\n * is used to merge the terminal values of all channels into the single terminal value of the\n * returned channel.\n *\n * @tsplus pipeable fncts.io.Channel concatMapWith\n */\nfunction concatMapWith_1(f, g, h) {\n return (channel) => {\n const op = new ChannelPrimitive(12 /* ChannelTag.ConcatAll */);\n op.i0 = g;\n op.i1 = h;\n op.i2 = () => tsplus_module_15.PullAfterNext(tsplus_module_14.nothing(fileName_1 + \":299:64\"));\n op.i3 = () => tsplus_module_16.Continue;\n op.i4 = channel;\n op.i5 = f;\n return op;\n };\n}\n/**\n * Returns a new channel whose outputs are fed to the specified factory function, which creates\n * new channels in response. These new channels are sequentially concatenated together, and all\n * their outputs appear as outputs of the newly returned channel. The provided merging function\n * is used to merge the terminal values of all channels into the single terminal value of the\n * returned channel.\n *\n * @tsplus pipeable fncts.io.Channel concatMapWithCustom\n */\nexport function concatMapWithCustom(f, g, h, onPull, onEmit) {\n return (channel) => {\n const op = new ChannelPrimitive(12 /* ChannelTag.ConcatAll */);\n op.i0 = g;\n op.i1 = h;\n op.i2 = onPull;\n op.i3 = onEmit;\n op.i4 = channel;\n op.i5 = f;\n return op;\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel contramap\n */\nexport function contramap(f) {\n return (self) => {\n return pipeTo_1(self)(contramapReader(f));\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel contramapEnvironment\n */\nexport function contramapEnvironment(f) {\n return (self) => {\n return tsplus_module_5.flatMap((env0) => provideEnvironment_1(() => f(env0))(self))(ask_1());\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel contramapIn\n */\nexport function contramapIn(f) {\n return (self) => {\n return pipeTo_1(self)(contramapInReader(f));\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel contramapInIO\n */\nexport function contramapInIO(f) {\n return (self) => {\n return pipeTo_1(self)(contramapInIOReader(f));\n };\n}\nfunction contramapInIOReader(f) {\n return readWith_1((inp) => tsplus_module_5.zipRight(contramapInIOReader(f))(tsplus_module_5.flatMap(writeNow_1)(fromIO_1(() => f(inp)))), failNow_1, tsplus_module_5.endNow);\n}\nfunction contramapInReader(f) {\n return readWith_1((_in) => tsplus_module_5.zipRight(contramapInReader(f))(writeNow_1(f(_in))), failNow_1, (done) => tsplus_module_5.endNow(done));\n}\n/**\n * @tsplus pipeable fncts.io.Channel contramapIO\n */\nexport function contramapIO(f) {\n return (self) => {\n return pipeTo_1(self)(contramapIOReader(f));\n };\n}\nfunction contramapIOReader(f) {\n return readWith_1((_in) => tsplus_module_5.zipRight(contramapIOReader(f))(writeNow_1(_in)), failNow_1, (done0) => fromIO_1(() => f(done0)));\n}\nfunction contramapReader(f) {\n return readWith_1((_in) => tsplus_module_5.zipRight(contramapReader(f))(writeNow_1(_in)), failNow_1, (done) => tsplus_module_5.endNow(f(done)));\n}\n/**\n * @tsplus static fncts.io.ChannelOps defer\n */\nfunction defer_1(effect) {\n const op = new ChannelPrimitive(10 /* ChannelTag.Defer */);\n op.i0 = effect;\n return op;\n}\n/**\n * Returns a new channel, which is the same as this one, except that all the outputs are\n * collected and bundled into a tuple together with the terminal value of this channel.\n *\n * As the channel returned from this channel collects all of this channels output into an in-\n * memory chunk, it is not safe to call this method on channels that output a large or unbounded\n * number of values.\n *\n * @tsplus getter fncts.io.Channel doneCollect\n */\nfunction doneCollect_1(self) {\n return unwrap_1(() => tsplus_module_2.succeed(() => {\n const builder = tsplus_module_10.builder();\n return mapIO_1((z) => tsplus_module_2.succeedNow(tuple(builder.result(), z), fileName_1 + \":470:80\"))(pipeTo_1(doneCollectReader(builder))(self));\n }, fileName_1 + \":468:15\"));\n}\nfunction doneCollectReader(builder) {\n return readWith_1((out) => tsplus_module_5.zipRight(doneCollectReader(builder))(fromIO_1(() => tsplus_module_2.succeed(() => {\n builder.append(out);\n }, fileName_1 + \":481:19\"))), failNow_1, tsplus_module_5.endNow);\n}\n/**\n * Returns a new channel which reads all the elements from upstream's output channel\n * and ignores them, then terminates with the upstream result value.\n *\n * @tsplus getter fncts.io.Channel drain\n */\nexport function drain(channel) {\n const drainer = readWithCause_1((_) => drainer, tsplus_module_5.failCauseNow, tsplus_module_5.endNow);\n return pipeTo_1(drainer)(channel);\n}\n/**\n * Embed inputs from continuos pulling of a producer\n *\n * @tsplus pipeable fncts.io.Channel embedInput\n */\nexport function embedInput(input) {\n return (self) => {\n const op = new ChannelPrimitive(4 /* ChannelTag.Bridge */);\n op.i0 = input;\n op.i1 = self;\n return op;\n };\n}\n/**\n * Returns a new channel that collects the output and terminal value of this channel, which it\n * then writes as output of the returned channel.\n *\n * @tsplus getter fncts.io.Channel emitCollect\n */\nexport function emitCollect(self) {\n return tsplus_module_5.flatMap((t) => writeNow_1(t))(doneCollect_1(self));\n}\n/**\n * @tsplus pipeable fncts.io.Channel ensuring\n */\nexport function ensuring(finalizer) {\n return (self) => {\n return ensuringWith_1(() => finalizer)(self);\n };\n}\n/**\n * Returns a new channel with an attached finalizer. The finalizer is guaranteed to be executed\n * so long as the channel begins execution (and regardless of whether or not it completes).\n *\n * @tsplus pipeable fncts.io.Channel ensuringWith\n */\nfunction ensuringWith_1(finalizer) {\n return (channel) => {\n const op = new ChannelPrimitive(11 /* ChannelTag.Ensuring */);\n op.i0 = channel;\n op.i1 = finalizer;\n return op;\n };\n}\n/**\n * Halt a channel with the specified error\n *\n * @tsplus static fncts.io.ChannelOps fail\n */\nexport function fail(error) {\n const op = new ChannelPrimitive(7 /* ChannelTag.Halt */);\n op.i0 = () => tsplus_module_11.fail(error());\n return op;\n}\n/**\n * Halt a channel with the specified error\n *\n * @tsplus static fncts.io.ChannelOps failNow\n */\nfunction failNow_1(error) {\n const op = new ChannelPrimitive(7 /* ChannelTag.Halt */);\n op.i0 = () => tsplus_module_11.fail(error);\n return op;\n}\n/**\n * Returns a new channel, which flattens the terminal value of this channel. This function may\n * only be called if the terminal value of this channel is another channel of compatible types.\n *\n * @tsplus getter fncts.io.Channel flatten\n */\nfunction flatten_1(self) {\n return tsplus_module_5.flatMap(identity)(self);\n}\n/**\n * @tsplus static fncts.io.ChannelOps fromEither\n */\nexport function fromEither(either) {\n return defer_1(() => tsplus_module_12.match(failNow_1, tsplus_module_5.succeedNow)(either()));\n}\n/**\n * @tsplus static fncts.io.ChannelOps fromInput\n */\nfunction fromInput_1(input) {\n return unwrap_1(() => input.takeWith(tsplus_module_5.failCauseNow, (elem) => tsplus_module_5.zipRight(fromInput_1(input))(writeNow_1(elem)), tsplus_module_5.endNow));\n}\n/**\n * Use an effect to end a channel\n *\n * @tsplus static fncts.io.ChannelOps fromIO\n */\nfunction fromIO_1(io) {\n return defer_1(() => {\n const op = new ChannelPrimitive(8 /* ChannelTag.FromIO */);\n op.i0 = io();\n return op;\n });\n}\n/**\n * @tsplus static fncts.io.ChannelOps fromOption\n */\nexport function fromOption(option) {\n return defer_1(() => tsplus_module_17.match(() => failNow_1(tsplus_module_14.nothing(fileName_1 + \":662:68\")), tsplus_module_5.succeedNow)(option()));\n}\n/**\n * @tsplus static fncts.io.ChannelOps fromQueue\n */\nfunction fromQueue_1(queue) {\n return tsplus_module_5.flatMap((_) => tsplus_module_12.match((_) => tsplus_module_18.match(tsplus_module_5.failCauseNow, tsplus_module_5.endNow)(_), (elem) => tsplus_module_5.zipRight(fromQueue_1(queue))(writeNow_1(elem)))(_))(fromIO_1(() => tsplus_module_19.take(queue, fileName_1 + \":671:30\")));\n}\n/**\n * Halt a channel with the specified exception\n *\n * @tsplus static fncts.io.ChannelOps halt\n */\nexport function halt(defect) {\n const op = new ChannelPrimitive(7 /* ChannelTag.Halt */);\n op.i0 = () => tsplus_module_11.halt(defect());\n return op;\n}\n/**\n * Halt a channel with the specified exception\n *\n * @tsplus static fncts.io.ChannelOps haltNow\n */\nfunction haltNow_1(defect) {\n const op = new ChannelPrimitive(7 /* ChannelTag.Halt */);\n op.i0 = () => tsplus_module_11.halt(defect);\n return op;\n}\n/**\n * @tsplus static fncts.io.ChannelOps id\n */\nfunction id_1() {\n return readWith_1((_in) => tsplus_module_5.zipRight(id_1())(write_1(() => _in)), failNow_1, tsplus_module_5.endNow);\n}\n/**\n * @tsplus static fncts.io.ChannelOps interrupt\n */\nexport function interrupt(fiberId) {\n return tsplus_module_5.failCauseNow(tsplus_module_11.interrupt(fiberId));\n}\nfunction isChannelFailure(u) {\n return tsplus_module_20.isObject(u) && ChannelFailureTypeId in u;\n}\n/**\n * Returns a new channel, which is the same as this one, except the failure value of the returned\n * channel is created by applying the specified function to the failure value of this channel.\n *\n * @tsplus pipeable fncts.io.Channel mapError\n */\nexport function mapError(f) {\n return (self) => {\n return mapErrorCause_1((cause) => tsplus_module_11.map(f)(cause))(self);\n };\n}\n/**\n * A more powerful version of `mapError` which also surfaces the `Cause` of the channel failure\n *\n * @tsplus pipeable fncts.io.Channel mapErrorCause\n */\nfunction mapErrorCause_1(f) {\n return (self) => {\n return catchAllCause_1((cause) => tsplus_module_5.failCauseNow(f(cause)))(self);\n };\n}\n/**\n * Returns a new channel, which is the same as this one, except the terminal value of the\n * returned channel is created by applying the specified effectful function to the terminal value\n * of this channel.\n *\n * @tsplus pipeable fncts.io.Channel mapIO\n */\nfunction mapIO_1(f) {\n return (self) => {\n return tsplus_module_5.flatMap((outDone) => fromIO_1(() => f(outDone)))(self);\n };\n}\n/**\n * Maps the output of this channel using f\n *\n * @tsplus pipeable fncts.io.Channel mapOut\n */\nexport function mapOut(f) {\n return (self) => {\n const reader = readWith_1((out) => tsplus_module_5.zipRight(reader)(writeNow_1(f(out))), failNow_1, tsplus_module_5.endNow);\n return pipeTo_1(reader)(self);\n };\n}\n/**\n * Provides the channel with its required environment, which eliminates\n * its dependency on `Env`.\n *\n * @tsplus pipeable fncts.io.Channel provideEnvironment\n */\nfunction provideEnvironment_1(env) {\n return (self) => {\n return defer_1(() => {\n const op = new ChannelPrimitive(14 /* ChannelTag.Provide */);\n op.i0 = env();\n op.i1 = self;\n return op;\n });\n };\n}\n/**\n * Use a managed to emit an output element\n *\n * @tsplus static fncts.io.ChannelOps scoped\n */\nfunction scoped_1(io) {\n return unwrap_1(() => tsplus_module_4.uninterruptibleMask((restore) => tsplus_module_2.map((scope) => acquireReleaseOutExitWith_1(tsplus_module_2.tapErrorCause((cause) => scope.close(() => tsplus_module_21.failCause(cause, fileName_1 + \":810:88\")), fileName_1 + \":810:50\")(restore(tsplus_module_22.extend(io, fileName_1 + \":810:31\")(scope), fileName_1 + \":810:18\")), (_, exit) => scope.close(() => exit)), fileName_1 + \":808:21\")(tsplus_module_22.make), fileName_1 + \":807:27\"));\n}\nconst mapOutIOReader = (f) => readWithCause_1((out) => tsplus_module_5.zipRight(mapOutIOReader(f))(tsplus_module_5.flatMap(writeNow_1)(fromIO_1(() => f(out)))), tsplus_module_5.failCauseNow, tsplus_module_5.succeedNow);\n/**\n * @tsplus pipeable fncts.io.Channel mapOutIO\n */\nexport function mapOutIO(f) {\n return (self) => {\n return pipeTo_1(mapOutIOReader(f))(self);\n };\n}\n/**\n * Fold the channel exposing success and full error cause\n *\n * @tsplus pipeable fncts.io.Channel matchCauseChannel\n */\nfunction matchCauseChannel_1(onError, onSuccess) {\n return (channel) => {\n const op = new ChannelPrimitive(3 /* ChannelTag.Fold */);\n op.i0 = channel;\n const continuation = new ChannelPrimitive(1 /* ChannelTag.ContinuationK */);\n continuation.i0 = onSuccess;\n continuation.i1 = onError;\n op.i1 = continuation;\n return op;\n };\n}\n/**\n * Fold the channel exposing success and full error cause\n *\n * @tsplus pipeable fncts.io.Channel matchChannel\n */\nexport function matchChannel(onError, onSuccess) {\n return (channel) => {\n return matchCauseChannel_1((cause) => tsplus_module_12.match(onError, tsplus_module_5.failCauseNow)(tsplus_module_11.failureOrCause(cause)), onSuccess)(channel);\n };\n}\nexport const never = fromIO_1(() => tsplus_module_23.never);\n/**\n * Returns a new channel that will perform the operations of this one, until failure, and then\n * it will switch over to the operations of the specified fallback channel.\n *\n * @tsplus pipeable fncts.io.Channel orElse\n */\nexport function orElse(that) {\n return (self) => {\n return catchAll_1((_) => that)(self);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel orHalt\n */\nexport function orHalt(err) {\n return (self) => {\n return orHaltWith_1(() => err)(self);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel orHaltWith\n */\nfunction orHaltWith_1(f) {\n return (self) => {\n return catchAll_1((e) => haltNow_1(f(e)))(self);\n };\n}\n/**\n * Pipe the output of a channel into the input of another\n *\n * @tsplus pipeable fncts.io.Channel pipeTo\n * @tsplus pipeable-operator fncts.io.Channel >>>\n */\nfunction pipeTo_1(right) {\n return (left) => {\n const op = new ChannelPrimitive(0 /* ChannelTag.PipeTo */);\n op.i0 = () => left;\n op.i1 = () => right;\n return op;\n };\n}\nconst ChannelFailureTypeId = Symbol.for(\"@principia/base/Channel/ChannelFailure\");\nclass ChannelFailure {\n error;\n [ChannelFailureTypeId] = ChannelFailureTypeId;\n constructor(error) {\n this.error = error;\n }\n}\n/**\n * @tsplus pipeable fncts.io.Channel pipeToOrFail\n * @tsplus pipeable-operator fncts.io.Channel >>>\n */\nexport function pipeToOrFail(right) {\n return (left) => {\n return catchAllCause_1((cause) => tsplus_module_11.isHalt(cause) && isChannelFailure(cause.value)\n ? failNow_1(cause.value.error)\n : haltNow_1(cause))(pipeTo_1(right)(catchAll_1((err) => tsplus_module_5.failCauseNow(tsplus_module_11.halt(new ChannelFailure(err))))(left)));\n };\n}\n/**\n * @tsplus static fncts.io.ChannelOps read\n */\nexport function read() {\n return readOrFail_1(tsplus_module_14.nothing(fileName_1 + \":1027:36\"));\n}\n/**\n * @tsplus static fncts.io.ChannelOps readOrFail\n */\nfunction readOrFail_1(e) {\n const op = new ChannelPrimitive(5 /* ChannelTag.Read */);\n op.i0 = tsplus_module_5.endNow;\n const continuation = new ChannelPrimitive(1 /* ChannelTag.ContinuationK */);\n continuation.i0 = () => failNow_1(e);\n continuation.i1 = () => failNow_1(e);\n op.i1 = continuation;\n return op;\n}\n/**\n * Reads an input and continue exposing both error and completion\n *\n * @tsplus static fncts.io.ChannelOps readWith\n */\nfunction readWith_1(inp, error, done) {\n return readWithCause_1(inp, (c) => tsplus_module_12.match(error, tsplus_module_5.failCauseNow)(tsplus_module_11.failureOrCause(c)), done);\n}\n/**\n * Reads an input and continue exposing both full error cause and completion\n *\n * @tsplus static fncts.io.ChannelOps readWithCause\n */\nfunction readWithCause_1(inp, halt, done) {\n const op = new ChannelPrimitive(5 /* ChannelTag.Read */);\n op.i0 = inp;\n const continuation = new ChannelPrimitive(1 /* ChannelTag.ContinuationK */);\n continuation.i0 = done;\n continuation.i1 = halt;\n op.i1 = continuation;\n return op;\n}\n/**\n * Repeats this channel forever\n *\n * @tsplus getter fncts.io.Channel repeated\n */\nfunction repeated_1(self) {\n return tsplus_module_5.flatMap(() => repeated_1(self))(self);\n}\n/**\n * @tsplus static fncts.io.ChannelOps toQueue\n */\nfunction toQueue_1(queue) {\n return defer_1(() => {\n function toQueue(queue) {\n return readWithCause_1((inp) => tsplus_module_5.zipRight(toQueue(queue))(fromIO_1(() => tsplus_module_19.offer(tsplus_module_24.right(inp, fileName_1 + \":1151:57\"), fileName_1 + \":1151:44\")(queue))), (cause) => fromIO_1(() => tsplus_module_19.offer(tsplus_module_24.left(tsplus_module_21.failCause(cause, fileName_1 + \":1152:73\"), fileName_1 + \":1152:58\"), fileName_1 + \":1152:46\")(queue)), (done) => fromIO_1(() => tsplus_module_19.offer(tsplus_module_24.left(tsplus_module_21.succeed(done, fileName_1 + \":1153:70\"), fileName_1 + \":1153:57\"), fileName_1 + \":1153:45\")(queue)));\n }\n return toQueue(queue());\n });\n}\n/**\n * Writes an output to the channel\n *\n * @tsplus static fncts.io.ChannelOps write\n */\nfunction write_1(out) {\n const op = new ChannelPrimitive(9 /* ChannelTag.Emit */);\n op.i0 = out;\n return op;\n}\n/**\n * @tsplus static fncts.io.ChannelOps writeAll\n */\nexport function writeAll(outs) {\n return writeChunk_1(tsplus_module_25.from(outs));\n}\n/**\n * @tsplus static fncts.io.ChannelOps writeChunk\n */\nfunction writeChunk_1(outs) {\n return writeChunkWriter(outs, 0, outs.length);\n}\nfunction writeChunkWriter(outs, idx, len) {\n if (idx === len)\n return unit_1;\n return tsplus_module_5.zipRight(writeChunkWriter(outs, idx + 1, len))(writeNow_1(tsplus_module_10.unsafeGet(idx)(outs)));\n}\n/**\n * Writes an output to the channel\n *\n * @tsplus static fncts.io.ChannelOps writeNow\n */\nfunction writeNow_1(out) {\n const op = new ChannelPrimitive(9 /* ChannelTag.Emit */);\n op.i0 = () => out;\n return op;\n}\n/**\n * @tsplus static fncts.io.ChannelOps unit\n */\nconst unit_1 = tsplus_module_5.endNow(undefined);\nexport const unit = unit_1;\n/**\n * @tsplus static fncts.io.ChannelOps fromHubScoped\n */\nexport function fromHubScoped(hub) {\n return tsplus_module_2.defer(() => tsplus_module_2.map(fromQueue_1, fileName_1 + \":1216:38\")(tsplus_module_26.subscribe(hub(), fileName_1 + \":1216:24\")), fileName_1 + \":1216:18\");\n}\n/**\n * @tsplus static fncts.io.ChannelOps toHub\n */\nexport function toHub(hub) {\n return toQueue_1(hub);\n}\n/**\n * Makes a channel from an effect that returns a channel in case of success\n *\n * @tsplus static fncts.io.ChannelOps unwrap\n */\nfunction unwrap_1(self) {\n return flatten_1(fromIO_1(self));\n}\n/**\n * Makes a channel from a managed that returns a channel in case of success\n *\n * @tsplus static fncts.io.ChannelOps unwrapScoped\n */\nexport function unwrapScoped(self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YAAYA,iBAAgB,IAAI,aAAa,aAAa,WAAW,CAAC0B,kBAAiB,UAAU,KAAK,EAAE,aAAa,WAAW,CAAC,EAAE,aAAa,WAAW;;;;;AAKtL,SAAgB,MAAM,KAAK;AACvB,QAAO,UAAU,IAAI;;;;;;;AAOzB,SAAS,SAAS,MAAM;AACpB,QAAO,UAAU,SAAS,KAAK,CAAC;;;;;;;AAOpC,SAAgB,aAAa,MAAM;AAC/B,QAAO,iBAAiB,GAAG,MAAM,IAAI,GAAG,MAAM,EAAE,CAAC,SAAS,KAAK,CAAC"}
|
|
1
|
+
{"version":3,"file":"api.cjs","names":["tsplus_module_5","tsplus_module_2","tsplus_module_1","tsplus_module_4","tsplus_module_3","tsplus_module_6","ChannelPrimitive","tsplus_module_7","tsplus_module_8","tuple","tsplus_module_9","tsplus_module_10","tsplus_module_12","tsplus_module_11","tsplus_module_13","tsplus_module_15","tsplus_module_14","tsplus_module_16","identity","tsplus_module_17","tsplus_module_18","tsplus_module_19","tsplus_module_20","tsplus_module_21","tsplus_module_22","tsplus_module_23","tsplus_module_24","tsplus_module_25","tsplus_module_26"],"sources":["../../esm/Channel/api.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Channel/api.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/Ref/api/get\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/set\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api/interrupt\";\nimport * as tsplus_module_5 from \"@fncts/io/Channel/core-api\";\nimport * as tsplus_module_6 from \"@fncts/io/Ref/constructors\";\nimport * as tsplus_module_7 from \"@fncts/io/IO/api/environment\";\nimport * as tsplus_module_8 from \"@fncts/io/Ref/api/modify\";\nimport * as tsplus_module_9 from \"@fncts/base/collection/immutable/Conc/api/empty\";\nimport * as tsplus_module_10 from \"@fncts/base/collection/immutable/Conc/api\";\nimport * as tsplus_module_11 from \"@fncts/base/data/Cause/api\";\nimport * as tsplus_module_12 from \"@fncts/base/data/Either/destructors\";\nimport * as tsplus_module_13 from \"@fncts/base/collection/immutable/Conc\";\nimport * as tsplus_module_14 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_15 from \"@fncts/io/Channel/UpstreamPullStrategy/definition\";\nimport * as tsplus_module_16 from \"@fncts/io/Channel/ChildExecutorDecision/definition\";\nimport * as tsplus_module_17 from \"@fncts/base/data/Maybe/destructors\";\nimport * as tsplus_module_18 from \"@fncts/base/data/Exit/api\";\nimport * as tsplus_module_19 from \"@fncts/io/Queue/api/operations\";\nimport * as tsplus_module_20 from \"@fncts/base/util/predicates\";\nimport * as tsplus_module_21 from \"@fncts/base/data/Exit/constructors\";\nimport * as tsplus_module_22 from \"@fncts/io/Scope/api\";\nimport * as tsplus_module_23 from \"@fncts/io/IO/api/asyncInterrupt\";\nimport * as tsplus_module_24 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_25 from \"@fncts/base/collection/immutable/Conc/constructors\";\nimport * as tsplus_module_26 from \"@fncts/io/Hub/api\";\nexport const acquireReleaseExitWith = acquireReleaseExitWith_1;\nexport const acquireReleaseOutExitWith = acquireReleaseOutExitWith_1;\nexport const as_ = as_1;\nexport const ask = ask_1;\nexport const buffer = buffer_1;\nexport const catchAll = catchAll_1;\nexport const catchAllCause = catchAllCause_1;\nexport const concatAllWith = concatAllWith_1;\nexport const concatMapWith = concatMapWith_1;\nexport const defer = defer_1;\nexport const doneCollect = doneCollect_1;\nexport const ensuringWith = ensuringWith_1;\nexport const failNow = failNow_1;\nexport const flatten = flatten_1;\nexport const fromInput = fromInput_1;\nexport const fromIO = fromIO_1;\nexport const fromQueue = fromQueue_1;\nexport const haltNow = haltNow_1;\nexport const id = id_1;\nexport const mapErrorCause = mapErrorCause_1;\nexport const mapIO = mapIO_1;\nexport const provideEnvironment = provideEnvironment_1;\nexport const scoped = scoped_1;\nexport const matchCauseChannel = matchCauseChannel_1;\nexport const orHaltWith = orHaltWith_1;\nexport const pipeTo = pipeTo_1;\nexport const readOrFail = readOrFail_1;\nexport const readWith = readWith_1;\nexport const readWithCause = readWithCause_1;\nexport const repeated = repeated_1;\nexport const toQueue = toQueue_1;\nexport const write = write_1;\nexport const writeChunk = writeChunk_1;\nexport const writeNow = writeNow_1;\nexport const unwrap = unwrap_1;\nimport { identity, tuple } from \"@fncts/base/data/function\";\nimport { ChannelPrimitive } from \"@fncts/io/Channel/definition\";\n/**\n * @tsplus static fncts.io.ChannelOps acquireReleaseExitWith\n */\nfunction acquireReleaseExitWith_1(acquire, use, release) {\n return tsplus_module_5.flatMap((ref) => ensuringWith_1((exit) => tsplus_module_2.flatMap((fin) => fin(exit), fileName_1 + \":21:46\")(tsplus_module_1.get(ref, fileName_1 + \":21:34\")))(tsplus_module_5.flatMap(use)(fromIO_1(() => tsplus_module_4.uninterruptible(tsplus_module_2.tap((a) => tsplus_module_3.set((exit) => release(a, exit), fileName_1 + \":19:46\")(ref), fileName_1 + \":19:31\")(acquire), fileName_1 + \":19:75\")))))(fromIO_1(() => tsplus_module_6.make(() => (_) => tsplus_module_2.unit, fileName_1 + \":18:33\")));\n}\n/**\n * Construct a resource Channel with Acquire / Release\n *\n * @tsplus static fncts.io.ChannelOps acquireReleaseOutExitWith\n */\nfunction acquireReleaseOutExitWith_1(self, release) {\n const op = new ChannelPrimitive(13 /* ChannelTag.BracketOut */);\n op.i0 = self;\n op.i1 = release;\n return op;\n}\n/**\n * Construct a resource Channel with Acquire / Release\n *\n * @tsplus static fncts.io.ChannelOps acquireReleaseOutWith\n */\nexport function acquireReleaseOutWith(acquire, release) {\n return acquireReleaseOutExitWith_1(acquire, (z, _) => release(z));\n}\n/**\n * @tsplus static fncts.io.ChannelOps acquireReleaseWith\n */\nexport function acquireReleaseWith(acquire, use, release) {\n return acquireReleaseExitWith_1(acquire, use, (a, _) => release(a));\n}\n/**\n * Returns a new channel that is the same as this one, except the terminal value of the channel\n * is the specified constant value.\n *\n * This method produces the same result as mapping this channel to the specified constant value.\n *\n * @tsplus pipeable fncts.io.Channel as\n */\nfunction as_1(z2) {\n return (self) => {\n return tsplus_module_5.map(() => z2())(self);\n };\n}\n/**\n * @tsplus static fncts.io.ChannelOps ask\n */\nfunction ask_1() {\n return fromIO_1(() => tsplus_module_7.environment(fileName_1 + \":83:39\"));\n}\n/**\n * @tsplus getter fncts.io.Channel asUnit\n */\nexport function asUnit(self) {\n return as_1(() => undefined)(self);\n}\n/**\n * Creates a channel backed by a buffer. When the buffer is empty, the channel will simply\n * passthrough its input as output. However, when the buffer is non-empty, the value inside\n * the buffer will be passed along as output.\n *\n * @tsplus static fncts.io.ChannelOps buffer\n */\nfunction buffer_1(empty, isEmpty, ref) {\n return unwrap_1(() => tsplus_module_8.modify((v) => {\n if (isEmpty(v)) {\n return tuple(readWith_1((_in) => tsplus_module_5.zipRight(buffer_1(empty, isEmpty, ref))(writeNow_1(_in)), (err) => failNow_1(err), (done) => tsplus_module_5.endNow(done)), v);\n }\n else {\n return tuple(tsplus_module_5.zipRight(buffer_1(empty, isEmpty, ref))(writeNow_1(v)), empty);\n }\n }, fileName_1 + \":108:15\")(ref));\n}\n/**\n * @tsplus static fncts.io.ChannelOps bufferChunk\n */\nexport function bufferChunk(ref) {\n return buffer_1(tsplus_module_9.empty(), (conc) => tsplus_module_10.isEmpty(conc), ref);\n}\n/**\n * Returns a new channel that is the same as this one, except if this channel errors for any\n * typed error, then the returned channel will switch over to using the fallback channel returned\n * by the specified error handler.\n *\n * @tsplus pipeable fncts.io.Channel catchAll\n */\nfunction catchAll_1(f) {\n return (self) => {\n return catchAllCause_1((cause) => tsplus_module_12.match((l) => f(l), (r) => tsplus_module_5.failCauseNow(r))(tsplus_module_11.failureOrCause(cause)))(self);\n };\n}\n/**\n * Returns a new channel that is the same as this one, except if this channel errors for any\n * typed error, then the returned channel will switch over to using the fallback channel returned\n * by the specified error handler.\n *\n * @tsplus pipeable fncts.io.Channel catchAllCause\n */\nfunction catchAllCause_1(f) {\n return (self) => {\n const op = new ChannelPrimitive(3 /* ChannelTag.Fold */);\n const continuation = new ChannelPrimitive(1 /* ChannelTag.ContinuationK */);\n continuation.i0 = tsplus_module_5.endNow;\n continuation.i1 = f;\n op.i0 = self;\n op.i1 = continuation;\n return op;\n };\n}\n/**\n * @tsplus getter fncts.io.Channel collectElements\n */\nexport function collectElements(self) {\n return defer_1(() => {\n const builder = new tsplus_module_13.ConcBuilder(tsplus_module_9.empty());\n const reader = readWith_1((out) => tsplus_module_5.zipRight(reader)(tsplus_module_5.succeed(() => builder.append(out))), failNow_1, tsplus_module_5.succeedNow);\n return tsplus_module_5.flatMap((z) => tsplus_module_5.succeedNow([builder.result(), z]))(pipeTo_1(reader)(self));\n });\n}\n/**\n * @tsplus getter fncts.io.Channel concatAll\n */\nexport function concatAll(channels) {\n return concatAllWith_1(() => void 0, () => void 0)(channels);\n}\n/**\n * Concat sequentially a channel of channels\n *\n * @tsplus pipeable fncts.io.Channel concatAllWith\n */\nfunction concatAllWith_1(f, g) {\n return (channels) => {\n const op = new ChannelPrimitive(12 /* ChannelTag.ConcatAll */);\n op.i0 = f;\n op.i1 = g;\n op.i2 = () => tsplus_module_15.PullAfterNext(tsplus_module_14.nothing(fileName_1 + \":250:64\"));\n op.i3 = () => tsplus_module_16.Continue;\n op.i4 = channels;\n op.i5 = identity;\n return op;\n };\n}\n/**\n * Returns a new channel whose outputs are fed to the specified factory function, which creates\n * new channels in response. These new channels are sequentially concatenated together, and all\n * their outputs appear as outputs of the newly returned channel.\n *\n * @tsplus pipeable fncts.io.Channel concatMap\n */\nexport function concatMap(f) {\n return (self) => {\n return concatMapWith_1(f, () => void 0, () => void 0)(self);\n };\n}\n/**\n * Returns a new channel whose outputs are fed to the specified factory function, which creates\n * new channels in response. These new channels are sequentially concatenated together, and all\n * their outputs appear as outputs of the newly returned channel. The provided merging function\n * is used to merge the terminal values of all channels into the single terminal value of the\n * returned channel.\n *\n * @tsplus pipeable fncts.io.Channel concatMapWith\n */\nfunction concatMapWith_1(f, g, h) {\n return (channel) => {\n const op = new ChannelPrimitive(12 /* ChannelTag.ConcatAll */);\n op.i0 = g;\n op.i1 = h;\n op.i2 = () => tsplus_module_15.PullAfterNext(tsplus_module_14.nothing(fileName_1 + \":299:64\"));\n op.i3 = () => tsplus_module_16.Continue;\n op.i4 = channel;\n op.i5 = f;\n return op;\n };\n}\n/**\n * Returns a new channel whose outputs are fed to the specified factory function, which creates\n * new channels in response. These new channels are sequentially concatenated together, and all\n * their outputs appear as outputs of the newly returned channel. The provided merging function\n * is used to merge the terminal values of all channels into the single terminal value of the\n * returned channel.\n *\n * @tsplus pipeable fncts.io.Channel concatMapWithCustom\n */\nexport function concatMapWithCustom(f, g, h, onPull, onEmit) {\n return (channel) => {\n const op = new ChannelPrimitive(12 /* ChannelTag.ConcatAll */);\n op.i0 = g;\n op.i1 = h;\n op.i2 = onPull;\n op.i3 = onEmit;\n op.i4 = channel;\n op.i5 = f;\n return op;\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel contramap\n */\nexport function contramap(f) {\n return (self) => {\n return pipeTo_1(self)(contramapReader(f));\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel contramapEnvironment\n */\nexport function contramapEnvironment(f) {\n return (self) => {\n return tsplus_module_5.flatMap((env0) => provideEnvironment_1(() => f(env0))(self))(ask_1());\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel contramapIn\n */\nexport function contramapIn(f) {\n return (self) => {\n return pipeTo_1(self)(contramapInReader(f));\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel contramapInIO\n */\nexport function contramapInIO(f) {\n return (self) => {\n return pipeTo_1(self)(contramapInIOReader(f));\n };\n}\nfunction contramapInIOReader(f) {\n return readWith_1((inp) => tsplus_module_5.zipRight(contramapInIOReader(f))(tsplus_module_5.flatMap(writeNow_1)(fromIO_1(() => f(inp)))), failNow_1, tsplus_module_5.endNow);\n}\nfunction contramapInReader(f) {\n return readWith_1((_in) => tsplus_module_5.zipRight(contramapInReader(f))(writeNow_1(f(_in))), failNow_1, (done) => tsplus_module_5.endNow(done));\n}\n/**\n * @tsplus pipeable fncts.io.Channel contramapIO\n */\nexport function contramapIO(f) {\n return (self) => {\n return pipeTo_1(self)(contramapIOReader(f));\n };\n}\nfunction contramapIOReader(f) {\n return readWith_1((_in) => tsplus_module_5.zipRight(contramapIOReader(f))(writeNow_1(_in)), failNow_1, (done0) => fromIO_1(() => f(done0)));\n}\nfunction contramapReader(f) {\n return readWith_1((_in) => tsplus_module_5.zipRight(contramapReader(f))(writeNow_1(_in)), failNow_1, (done) => tsplus_module_5.endNow(f(done)));\n}\n/**\n * @tsplus static fncts.io.ChannelOps defer\n */\nfunction defer_1(effect) {\n const op = new ChannelPrimitive(10 /* ChannelTag.Defer */);\n op.i0 = effect;\n return op;\n}\n/**\n * Returns a new channel, which is the same as this one, except that all the outputs are\n * collected and bundled into a tuple together with the terminal value of this channel.\n *\n * As the channel returned from this channel collects all of this channels output into an in-\n * memory chunk, it is not safe to call this method on channels that output a large or unbounded\n * number of values.\n *\n * @tsplus getter fncts.io.Channel doneCollect\n */\nfunction doneCollect_1(self) {\n return unwrap_1(() => tsplus_module_2.succeed(() => {\n const builder = tsplus_module_10.builder();\n return mapIO_1((z) => tsplus_module_2.succeedNow(tuple(builder.result(), z), fileName_1 + \":470:80\"))(pipeTo_1(doneCollectReader(builder))(self));\n }, fileName_1 + \":468:15\"));\n}\nfunction doneCollectReader(builder) {\n return readWith_1((out) => tsplus_module_5.zipRight(doneCollectReader(builder))(fromIO_1(() => tsplus_module_2.succeed(() => {\n builder.append(out);\n }, fileName_1 + \":481:19\"))), failNow_1, tsplus_module_5.endNow);\n}\n/**\n * Returns a new channel which reads all the elements from upstream's output channel\n * and ignores them, then terminates with the upstream result value.\n *\n * @tsplus getter fncts.io.Channel drain\n */\nexport function drain(channel) {\n const drainer = readWithCause_1((_) => drainer, tsplus_module_5.failCauseNow, tsplus_module_5.endNow);\n return pipeTo_1(drainer)(channel);\n}\n/**\n * Embed inputs from continuos pulling of a producer\n *\n * @tsplus pipeable fncts.io.Channel embedInput\n */\nexport function embedInput(input) {\n return (self) => {\n const op = new ChannelPrimitive(4 /* ChannelTag.Bridge */);\n op.i0 = input;\n op.i1 = self;\n return op;\n };\n}\n/**\n * Returns a new channel that collects the output and terminal value of this channel, which it\n * then writes as output of the returned channel.\n *\n * @tsplus getter fncts.io.Channel emitCollect\n */\nexport function emitCollect(self) {\n return tsplus_module_5.flatMap((t) => writeNow_1(t))(doneCollect_1(self));\n}\n/**\n * @tsplus pipeable fncts.io.Channel ensuring\n */\nexport function ensuring(finalizer) {\n return (self) => {\n return ensuringWith_1(() => finalizer)(self);\n };\n}\n/**\n * Returns a new channel with an attached finalizer. The finalizer is guaranteed to be executed\n * so long as the channel begins execution (and regardless of whether or not it completes).\n *\n * @tsplus pipeable fncts.io.Channel ensuringWith\n */\nfunction ensuringWith_1(finalizer) {\n return (channel) => {\n const op = new ChannelPrimitive(11 /* ChannelTag.Ensuring */);\n op.i0 = channel;\n op.i1 = finalizer;\n return op;\n };\n}\n/**\n * Halt a channel with the specified error\n *\n * @tsplus static fncts.io.ChannelOps fail\n */\nexport function fail(error) {\n const op = new ChannelPrimitive(7 /* ChannelTag.Halt */);\n op.i0 = () => tsplus_module_11.fail(error());\n return op;\n}\n/**\n * Halt a channel with the specified error\n *\n * @tsplus static fncts.io.ChannelOps failNow\n */\nfunction failNow_1(error) {\n const op = new ChannelPrimitive(7 /* ChannelTag.Halt */);\n op.i0 = () => tsplus_module_11.fail(error);\n return op;\n}\n/**\n * Returns a new channel, which flattens the terminal value of this channel. This function may\n * only be called if the terminal value of this channel is another channel of compatible types.\n *\n * @tsplus getter fncts.io.Channel flatten\n */\nfunction flatten_1(self) {\n return tsplus_module_5.flatMap(identity)(self);\n}\n/**\n * @tsplus static fncts.io.ChannelOps fromEither\n */\nexport function fromEither(either) {\n return defer_1(() => tsplus_module_12.match(failNow_1, tsplus_module_5.succeedNow)(either()));\n}\n/**\n * @tsplus static fncts.io.ChannelOps fromInput\n */\nfunction fromInput_1(input) {\n return unwrap_1(() => input.takeWith(tsplus_module_5.failCauseNow, (elem) => tsplus_module_5.zipRight(fromInput_1(input))(writeNow_1(elem)), tsplus_module_5.endNow));\n}\n/**\n * Use an effect to end a channel\n *\n * @tsplus static fncts.io.ChannelOps fromIO\n */\nfunction fromIO_1(io) {\n return defer_1(() => {\n const op = new ChannelPrimitive(8 /* ChannelTag.FromIO */);\n op.i0 = io();\n return op;\n });\n}\n/**\n * @tsplus static fncts.io.ChannelOps fromOption\n */\nexport function fromOption(option) {\n return defer_1(() => tsplus_module_17.match(() => failNow_1(tsplus_module_14.nothing(fileName_1 + \":662:68\")), tsplus_module_5.succeedNow)(option()));\n}\n/**\n * @tsplus static fncts.io.ChannelOps fromQueue\n */\nfunction fromQueue_1(queue) {\n return tsplus_module_5.flatMap((_) => tsplus_module_12.match((_) => tsplus_module_18.match(tsplus_module_5.failCauseNow, tsplus_module_5.endNow)(_), (elem) => tsplus_module_5.zipRight(fromQueue_1(queue))(writeNow_1(elem)))(_))(fromIO_1(() => tsplus_module_19.take(queue, fileName_1 + \":671:30\")));\n}\n/**\n * Halt a channel with the specified exception\n *\n * @tsplus static fncts.io.ChannelOps halt\n */\nexport function halt(defect) {\n const op = new ChannelPrimitive(7 /* ChannelTag.Halt */);\n op.i0 = () => tsplus_module_11.halt(defect());\n return op;\n}\n/**\n * Halt a channel with the specified exception\n *\n * @tsplus static fncts.io.ChannelOps haltNow\n */\nfunction haltNow_1(defect) {\n const op = new ChannelPrimitive(7 /* ChannelTag.Halt */);\n op.i0 = () => tsplus_module_11.halt(defect);\n return op;\n}\n/**\n * @tsplus static fncts.io.ChannelOps id\n */\nfunction id_1() {\n return readWith_1((_in) => tsplus_module_5.zipRight(id_1())(write_1(() => _in)), failNow_1, tsplus_module_5.endNow);\n}\n/**\n * @tsplus static fncts.io.ChannelOps interrupt\n */\nexport function interrupt(fiberId) {\n return tsplus_module_5.failCauseNow(tsplus_module_11.interrupt(fiberId));\n}\nfunction isChannelFailure(u) {\n return tsplus_module_20.isObject(u) && ChannelFailureTypeId in u;\n}\n/**\n * Returns a new channel, which is the same as this one, except the failure value of the returned\n * channel is created by applying the specified function to the failure value of this channel.\n *\n * @tsplus pipeable fncts.io.Channel mapError\n */\nexport function mapError(f) {\n return (self) => {\n return mapErrorCause_1((cause) => tsplus_module_11.map(f)(cause))(self);\n };\n}\n/**\n * A more powerful version of `mapError` which also surfaces the `Cause` of the channel failure\n *\n * @tsplus pipeable fncts.io.Channel mapErrorCause\n */\nfunction mapErrorCause_1(f) {\n return (self) => {\n return catchAllCause_1((cause) => tsplus_module_5.failCauseNow(f(cause)))(self);\n };\n}\n/**\n * Returns a new channel, which is the same as this one, except the terminal value of the\n * returned channel is created by applying the specified effectful function to the terminal value\n * of this channel.\n *\n * @tsplus pipeable fncts.io.Channel mapIO\n */\nfunction mapIO_1(f) {\n return (self) => {\n return tsplus_module_5.flatMap((outDone) => fromIO_1(() => f(outDone)))(self);\n };\n}\n/**\n * Maps the output of this channel using f\n *\n * @tsplus pipeable fncts.io.Channel mapOut\n */\nexport function mapOut(f) {\n return (self) => {\n const reader = readWith_1((out) => tsplus_module_5.zipRight(reader)(writeNow_1(f(out))), failNow_1, tsplus_module_5.endNow);\n return pipeTo_1(reader)(self);\n };\n}\n/**\n * Provides the channel with its required environment, which eliminates\n * its dependency on `Env`.\n *\n * @tsplus pipeable fncts.io.Channel provideEnvironment\n */\nfunction provideEnvironment_1(env) {\n return (self) => {\n return defer_1(() => {\n const op = new ChannelPrimitive(14 /* ChannelTag.Provide */);\n op.i0 = env();\n op.i1 = self;\n return op;\n });\n };\n}\n/**\n * Use a managed to emit an output element\n *\n * @tsplus static fncts.io.ChannelOps scoped\n */\nfunction scoped_1(io) {\n return unwrap_1(() => tsplus_module_4.uninterruptibleMask((restore) => tsplus_module_2.map((scope) => acquireReleaseOutExitWith_1(tsplus_module_2.tapErrorCause((cause) => scope.close(() => tsplus_module_21.failCause(cause, fileName_1 + \":810:88\")), fileName_1 + \":810:50\")(restore(tsplus_module_22.extend(io, fileName_1 + \":810:31\")(scope), fileName_1 + \":810:18\")), (_, exit) => scope.close(() => exit)), fileName_1 + \":808:21\")(tsplus_module_22.make), fileName_1 + \":807:27\"));\n}\nconst mapOutIOReader = (f) => readWithCause_1((out) => tsplus_module_5.zipRight(mapOutIOReader(f))(tsplus_module_5.flatMap(writeNow_1)(fromIO_1(() => f(out)))), tsplus_module_5.failCauseNow, tsplus_module_5.succeedNow);\n/**\n * @tsplus pipeable fncts.io.Channel mapOutIO\n */\nexport function mapOutIO(f) {\n return (self) => {\n return pipeTo_1(mapOutIOReader(f))(self);\n };\n}\n/**\n * Fold the channel exposing success and full error cause\n *\n * @tsplus pipeable fncts.io.Channel matchCauseChannel\n */\nfunction matchCauseChannel_1(onError, onSuccess) {\n return (channel) => {\n const op = new ChannelPrimitive(3 /* ChannelTag.Fold */);\n op.i0 = channel;\n const continuation = new ChannelPrimitive(1 /* ChannelTag.ContinuationK */);\n continuation.i0 = onSuccess;\n continuation.i1 = onError;\n op.i1 = continuation;\n return op;\n };\n}\n/**\n * Fold the channel exposing success and full error cause\n *\n * @tsplus pipeable fncts.io.Channel matchChannel\n */\nexport function matchChannel(onError, onSuccess) {\n return (channel) => {\n return matchCauseChannel_1((cause) => tsplus_module_12.match(onError, tsplus_module_5.failCauseNow)(tsplus_module_11.failureOrCause(cause)), onSuccess)(channel);\n };\n}\nexport const never = fromIO_1(() => tsplus_module_23.never);\n/**\n * Returns a new channel that will perform the operations of this one, until failure, and then\n * it will switch over to the operations of the specified fallback channel.\n *\n * @tsplus pipeable fncts.io.Channel orElse\n */\nexport function orElse(that) {\n return (self) => {\n return catchAll_1((_) => that)(self);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel orHalt\n */\nexport function orHalt(err) {\n return (self) => {\n return orHaltWith_1(() => err)(self);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Channel orHaltWith\n */\nfunction orHaltWith_1(f) {\n return (self) => {\n return catchAll_1((e) => haltNow_1(f(e)))(self);\n };\n}\n/**\n * Pipe the output of a channel into the input of another\n *\n * @tsplus pipeable fncts.io.Channel pipeTo\n * @tsplus pipeable-operator fncts.io.Channel >>>\n */\nfunction pipeTo_1(right) {\n return (left) => {\n const op = new ChannelPrimitive(0 /* ChannelTag.PipeTo */);\n op.i0 = () => left;\n op.i1 = () => right;\n return op;\n };\n}\nconst ChannelFailureTypeId = Symbol.for(\"@principia/base/Channel/ChannelFailure\");\nclass ChannelFailure {\n error;\n [ChannelFailureTypeId] = ChannelFailureTypeId;\n constructor(error) {\n this.error = error;\n }\n}\n/**\n * @tsplus pipeable fncts.io.Channel pipeToOrFail\n * @tsplus pipeable-operator fncts.io.Channel >>>\n */\nexport function pipeToOrFail(right) {\n return (left) => {\n return catchAllCause_1((cause) => tsplus_module_11.isHalt(cause) && isChannelFailure(cause.value)\n ? failNow_1(cause.value.error)\n : haltNow_1(cause))(pipeTo_1(right)(catchAll_1((err) => tsplus_module_5.failCauseNow(tsplus_module_11.halt(new ChannelFailure(err))))(left)));\n };\n}\n/**\n * @tsplus static fncts.io.ChannelOps read\n */\nexport function read() {\n return readOrFail_1(tsplus_module_14.nothing(fileName_1 + \":1027:36\"));\n}\n/**\n * @tsplus static fncts.io.ChannelOps readOrFail\n */\nfunction readOrFail_1(e) {\n const op = new ChannelPrimitive(5 /* ChannelTag.Read */);\n op.i0 = tsplus_module_5.endNow;\n const continuation = new ChannelPrimitive(1 /* ChannelTag.ContinuationK */);\n continuation.i0 = () => failNow_1(e);\n continuation.i1 = () => failNow_1(e);\n op.i1 = continuation;\n return op;\n}\n/**\n * Reads an input and continue exposing both error and completion\n *\n * @tsplus static fncts.io.ChannelOps readWith\n */\nfunction readWith_1(inp, error, done) {\n return readWithCause_1(inp, (c) => tsplus_module_12.match(error, tsplus_module_5.failCauseNow)(tsplus_module_11.failureOrCause(c)), done);\n}\n/**\n * Reads an input and continue exposing both full error cause and completion\n *\n * @tsplus static fncts.io.ChannelOps readWithCause\n */\nfunction readWithCause_1(inp, halt, done) {\n const op = new ChannelPrimitive(5 /* ChannelTag.Read */);\n op.i0 = inp;\n const continuation = new ChannelPrimitive(1 /* ChannelTag.ContinuationK */);\n continuation.i0 = done;\n continuation.i1 = halt;\n op.i1 = continuation;\n return op;\n}\n/**\n * Repeats this channel forever\n *\n * @tsplus getter fncts.io.Channel repeated\n */\nfunction repeated_1(self) {\n return tsplus_module_5.flatMap(() => repeated_1(self))(self);\n}\n/**\n * @tsplus static fncts.io.ChannelOps toQueue\n */\nfunction toQueue_1(queue) {\n return defer_1(() => {\n function toQueue(queue) {\n return readWithCause_1((inp) => tsplus_module_5.zipRight(toQueue(queue))(fromIO_1(() => tsplus_module_19.offer(tsplus_module_24.right(inp, fileName_1 + \":1151:57\"), fileName_1 + \":1151:44\")(queue))), (cause) => fromIO_1(() => tsplus_module_19.offer(tsplus_module_24.left(tsplus_module_21.failCause(cause, fileName_1 + \":1152:73\"), fileName_1 + \":1152:58\"), fileName_1 + \":1152:46\")(queue)), (done) => fromIO_1(() => tsplus_module_19.offer(tsplus_module_24.left(tsplus_module_21.succeed(done, fileName_1 + \":1153:70\"), fileName_1 + \":1153:57\"), fileName_1 + \":1153:45\")(queue)));\n }\n return toQueue(queue());\n });\n}\n/**\n * Writes an output to the channel\n *\n * @tsplus static fncts.io.ChannelOps write\n */\nfunction write_1(out) {\n const op = new ChannelPrimitive(9 /* ChannelTag.Emit */);\n op.i0 = out;\n return op;\n}\n/**\n * @tsplus static fncts.io.ChannelOps writeAll\n */\nexport function writeAll(outs) {\n return writeChunk_1(tsplus_module_25.from(outs));\n}\n/**\n * @tsplus static fncts.io.ChannelOps writeChunk\n */\nfunction writeChunk_1(outs) {\n return writeChunkWriter(outs, 0, outs.length);\n}\nfunction writeChunkWriter(outs, idx, len) {\n if (idx === len)\n return unit_1;\n return tsplus_module_5.zipRight(writeChunkWriter(outs, idx + 1, len))(writeNow_1(tsplus_module_10.unsafeGet(idx)(outs)));\n}\n/**\n * Writes an output to the channel\n *\n * @tsplus static fncts.io.ChannelOps writeNow\n */\nfunction writeNow_1(out) {\n const op = new ChannelPrimitive(9 /* ChannelTag.Emit */);\n op.i0 = () => out;\n return op;\n}\n/**\n * @tsplus static fncts.io.ChannelOps unit\n */\nconst unit_1 = tsplus_module_5.endNow(undefined);\nexport const unit = unit_1;\n/**\n * @tsplus static fncts.io.ChannelOps fromHubScoped\n */\nexport function fromHubScoped(hub) {\n return tsplus_module_2.defer(() => tsplus_module_2.map(fromQueue_1, fileName_1 + \":1216:38\")(tsplus_module_26.subscribe(hub(), fileName_1 + \":1216:24\")), fileName_1 + \":1216:18\");\n}\n/**\n * @tsplus static fncts.io.ChannelOps toHub\n */\nexport function toHub(hub) {\n return toQueue_1(hub);\n}\n/**\n * Makes a channel from an effect that returns a channel in case of success\n *\n * @tsplus static fncts.io.ChannelOps unwrap\n */\nfunction unwrap_1(self) {\n return flatten_1(fromIO_1(self));\n}\n/**\n * Makes a channel from a managed that returns a channel in case of success\n *\n * @tsplus static fncts.io.ChannelOps unwrapScoped\n */\nexport function unwrapScoped(self) {\n return concatAllWith_1((d, _) => d, (d, _) => d)(scoped_1(self));\n}\n//# sourceMappingURL=api.js.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,aAAa;AA2BnB,MAAa,yBAAyB;AACtC,MAAa,4BAA4B;AACzC,MAAa,MAAM;AACnB,MAAa,MAAM;AACnB,MAAa,SAAS;AACtB,MAAa,WAAW;AACxB,MAAa,gBAAgB;AAC7B,MAAa,gBAAgB;AAC7B,MAAa,gBAAgB;AAC7B,MAAa,QAAQ;AACrB,MAAa,cAAc;AAC3B,MAAa,eAAe;AAC5B,MAAa,UAAU;AACvB,MAAa,UAAU;AACvB,MAAa,YAAY;AACzB,MAAa,SAAS;AACtB,MAAa,YAAY;AACzB,MAAa,UAAU;AACvB,MAAa,KAA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,KACR,OAAO;CACX,OAAO3B,2BAAgB,SAAS,iBAAiB,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC,WAAWW,0CAAiB,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;AAC3H;;;;;;AAMA,SAAS,WAAW,KAAK;CACrB,MAAM,KAAK,IAAIL,6BAAAA,iBAAiB,CAAuB;CACvD,GAAG,WAAW;CACd,OAAO;AACX;;;;AAIA,MAAM,SAASN,2BAAgB,OAAO,KAAA,CAAS;AAC/C,MAAa,OAAO;;;;AAIpB,SAAgB,cAAc,KAAK;CAC/B,OAAOC,iBAAgB,YAAYA,iBAAgB,IAAI,aAAa,aAAa,UAAU,CAAC,CAAC2B,kBAAiB,UAAU,IAAI,GAAG,aAAa,UAAU,CAAC,GAAG,aAAa,UAAU;AACrL;;;;AAIA,SAAgB,MAAM,KAAK;CACvB,OAAO,UAAU,GAAG;AACxB;;;;;;AAMA,SAAS,SAAS,MAAM;CACpB,OAAO,UAAU,SAAS,IAAI,CAAC;AACnC;;;;;;AAMA,SAAgB,aAAa,MAAM;CAC/B,OAAO,iBAAiB,GAAG,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,SAAS,IAAI,CAAC;AACnE"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("../chunk.cjs");
|
|
3
2
|
const require_Channel_definition = require("./definition.cjs");
|
|
4
3
|
let _fncts_base_data_function = require("@fncts/base/data/function");
|
|
5
|
-
|
|
4
|
+
// build/esm/Channel/core-api.js
|
|
6
5
|
const end = end_1;
|
|
7
6
|
const failCause = failCause_1;
|
|
8
7
|
const failCauseNow = failCauseNow_1;
|
|
@@ -126,7 +125,6 @@ function zipRight(that) {
|
|
|
126
125
|
return flatMap_1(() => that)(self);
|
|
127
126
|
};
|
|
128
127
|
}
|
|
129
|
-
//#endregion
|
|
130
128
|
exports.cross = cross;
|
|
131
129
|
exports.end = end;
|
|
132
130
|
exports.endNow = endNow;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core-api.cjs","names":["ChannelPrimitive"],"sources":["../../esm/Channel/core-api.js"],"sourcesContent":["export const end = end_1;\nexport const failCause = failCause_1;\nexport const failCauseNow = failCauseNow_1;\nexport const flatMap = flatMap_1;\nexport const map = map_1;\nexport const succeedNow = succeedNow_1;\nimport { tuple } from \"@fncts/base/data/function\";\nimport { ChannelPrimitive } from \"./definition.js\";\n/* eslint perfectionist/sort-modules: \"error\" */\n/**\n * Returns a new channel that is the sequential composition of this channel and the specified\n * channel. The returned channel terminates with a tuple of the terminal values of both channels.\n *\n * @tsplus pipeable fncts.io.Channel cross\n */\nexport function cross(that) {\n return (self) => {\n return flatMap_1((z) => map_1((z2) => tuple(z, z2))(that))(self);\n };\n}\n/**\n * End a channel with the specified result\n *\n * @tsplus static fncts.io.ChannelOps end\n */\nfunction end_1(result) {\n const op = new ChannelPrimitive(6 /* ChannelTag.Done */);\n op.i0 = result;\n return op;\n}\n/**\n * End a channel with the specified result\n *\n * @tsplus static fncts.io.ChannelOps endNow\n */\nexport function endNow(result) {\n return end_1(() => result);\n}\n/**\n * Halt a channel with the specified cause\n *\n * @tsplus static fncts.io.ChannelOps failCause\n */\nfunction failCause_1(result) {\n const op = new ChannelPrimitive(7 /* ChannelTag.Halt */);\n op.i0 = result;\n return op;\n}\n/**\n * Halt a channel with the specified cause\n *\n * @tsplus static fncts.io.ChannelOps failCauseNow\n */\nfunction failCauseNow_1(result) {\n return failCause_1(() => result);\n}\n/**\n * Returns a new channel, which sequentially combines this channel, together with the provided\n * factory function, which creates a second channel based on the terminal value of this channel.\n * The result is a channel that will first perform the functions of this channel, before\n * performing the functions of the created channel (including yielding its terminal value).\n *\n * @tsplus pipeable fncts.io.Channel flatMap\n */\nfunction flatMap_1(f) {\n return (channel) => {\n const op = new ChannelPrimitive(3 /* ChannelTag.Fold */);\n const continuation = new ChannelPrimitive(1 /* ChannelTag.ContinuationK */);\n continuation.i0 = f;\n continuation.i1 = failCauseNow_1;\n op.i0 = channel;\n op.i1 = continuation;\n return op;\n };\n}\n/**\n * Returns a new channel, which is the same as this one, except the terminal value of the\n * returned channel is created by applying the specified function to the terminal value of this\n * channel.\n *\n * @tsplus pipeable fncts.io.Channel map\n */\nfunction map_1(f) {\n return (self) => {\n return flatMap_1((z) => succeedNow_1(f(z)))(self);\n };\n}\n/**\n * End a channel with the specified result\n *\n * @tsplus static fncts.io.ChannelOps succeed\n */\nexport function succeed(z) {\n return end_1(z);\n}\n/**\n * End a channel with the specified result\n *\n * @tsplus static fncts.io.ChannelOps succeedNow\n */\nfunction succeedNow_1(z) {\n return end_1(() => z);\n}\n/**\n * Returns a new channel that is the sequential composition of this channel and the specified\n * channel. The returned channel terminates with the terminal value of this channel.\n *\n * @tsplus pipeable fncts.io.Channel zipLeft\n */\nexport function zipLeft(that) {\n return (self) => {\n return flatMap_1((a) => map_1(() => a)(that))(self);\n };\n}\n/**\n * Returns a new channel that is the sequential composition of this channel and the specified\n * channel. The returned channel terminates with the terminal value of the other channel.\n *\n * @tsplus pipeable fncts.io.Channel zipRight\n * @tsplus pipeable-operator fncts.io.Channel >\n */\nexport function zipRight(that) {\n return (self) => {\n return flatMap_1(() => that)(self);\n };\n}\n//# sourceMappingURL=core-api.js.map"],"mappings":"
|
|
1
|
+
{"version":3,"file":"core-api.cjs","names":["tuple","ChannelPrimitive"],"sources":["../../esm/Channel/core-api.js"],"sourcesContent":["export const end = end_1;\nexport const failCause = failCause_1;\nexport const failCauseNow = failCauseNow_1;\nexport const flatMap = flatMap_1;\nexport const map = map_1;\nexport const succeedNow = succeedNow_1;\nimport { tuple } from \"@fncts/base/data/function\";\nimport { ChannelPrimitive } from \"./definition.js\";\n/* eslint perfectionist/sort-modules: \"error\" */\n/**\n * Returns a new channel that is the sequential composition of this channel and the specified\n * channel. The returned channel terminates with a tuple of the terminal values of both channels.\n *\n * @tsplus pipeable fncts.io.Channel cross\n */\nexport function cross(that) {\n return (self) => {\n return flatMap_1((z) => map_1((z2) => tuple(z, z2))(that))(self);\n };\n}\n/**\n * End a channel with the specified result\n *\n * @tsplus static fncts.io.ChannelOps end\n */\nfunction end_1(result) {\n const op = new ChannelPrimitive(6 /* ChannelTag.Done */);\n op.i0 = result;\n return op;\n}\n/**\n * End a channel with the specified result\n *\n * @tsplus static fncts.io.ChannelOps endNow\n */\nexport function endNow(result) {\n return end_1(() => result);\n}\n/**\n * Halt a channel with the specified cause\n *\n * @tsplus static fncts.io.ChannelOps failCause\n */\nfunction failCause_1(result) {\n const op = new ChannelPrimitive(7 /* ChannelTag.Halt */);\n op.i0 = result;\n return op;\n}\n/**\n * Halt a channel with the specified cause\n *\n * @tsplus static fncts.io.ChannelOps failCauseNow\n */\nfunction failCauseNow_1(result) {\n return failCause_1(() => result);\n}\n/**\n * Returns a new channel, which sequentially combines this channel, together with the provided\n * factory function, which creates a second channel based on the terminal value of this channel.\n * The result is a channel that will first perform the functions of this channel, before\n * performing the functions of the created channel (including yielding its terminal value).\n *\n * @tsplus pipeable fncts.io.Channel flatMap\n */\nfunction flatMap_1(f) {\n return (channel) => {\n const op = new ChannelPrimitive(3 /* ChannelTag.Fold */);\n const continuation = new ChannelPrimitive(1 /* ChannelTag.ContinuationK */);\n continuation.i0 = f;\n continuation.i1 = failCauseNow_1;\n op.i0 = channel;\n op.i1 = continuation;\n return op;\n };\n}\n/**\n * Returns a new channel, which is the same as this one, except the terminal value of the\n * returned channel is created by applying the specified function to the terminal value of this\n * channel.\n *\n * @tsplus pipeable fncts.io.Channel map\n */\nfunction map_1(f) {\n return (self) => {\n return flatMap_1((z) => succeedNow_1(f(z)))(self);\n };\n}\n/**\n * End a channel with the specified result\n *\n * @tsplus static fncts.io.ChannelOps succeed\n */\nexport function succeed(z) {\n return end_1(z);\n}\n/**\n * End a channel with the specified result\n *\n * @tsplus static fncts.io.ChannelOps succeedNow\n */\nfunction succeedNow_1(z) {\n return end_1(() => z);\n}\n/**\n * Returns a new channel that is the sequential composition of this channel and the specified\n * channel. The returned channel terminates with the terminal value of this channel.\n *\n * @tsplus pipeable fncts.io.Channel zipLeft\n */\nexport function zipLeft(that) {\n return (self) => {\n return flatMap_1((a) => map_1(() => a)(that))(self);\n };\n}\n/**\n * Returns a new channel that is the sequential composition of this channel and the specified\n * channel. The returned channel terminates with the terminal value of the other channel.\n *\n * @tsplus pipeable fncts.io.Channel zipRight\n * @tsplus pipeable-operator fncts.io.Channel >\n */\nexport function zipRight(that) {\n return (self) => {\n return flatMap_1(() => that)(self);\n };\n}\n//# sourceMappingURL=core-api.js.map"],"mappings":";;;;AAAA,MAAa,MAAM;AACnB,MAAa,YAAY;AACzB,MAAa,eAAe;AAC5B,MAAa,UAAU;AACvB,MAAa,MAAM;AACnB,MAAa,aAAa;;;;;;;AAU1B,SAAgB,MAAM,MAAM;CACxB,QAAQ,SAAS;EACb,OAAO,WAAW,MAAM,OAAO,QAAA,GAAOA,0BAAAA,MAAAA,CAAM,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI;CACnE;AACJ;;;;;;AAMA,SAAS,MAAM,QAAQ;CACnB,MAAM,KAAK,IAAIC,2BAAAA,iBAAiB,CAAuB;CACvD,GAAG,KAAK;CACR,OAAO;AACX;;;;;;AAMA,SAAgB,OAAO,QAAQ;CAC3B,OAAO,YAAY,MAAM;AAC7B;;;;;;AAMA,SAAS,YAAY,QAAQ;CACzB,MAAM,KAAK,IAAIA,2BAAAA,iBAAiB,CAAuB;CACvD,GAAG,KAAK;CACR,OAAO;AACX;;;;;;AAMA,SAAS,eAAe,QAAQ;CAC5B,OAAO,kBAAkB,MAAM;AACnC;;;;;;;;;AASA,SAAS,UAAU,GAAG;CAClB,QAAQ,YAAY;EAChB,MAAM,KAAK,IAAIA,2BAAAA,iBAAiB,CAAuB;EACvD,MAAM,eAAe,IAAIA,2BAAAA,iBAAiB,CAAgC;EAC1E,aAAa,KAAK;EAClB,aAAa,KAAK;EAClB,GAAG,KAAK;EACR,GAAG,KAAK;EACR,OAAO;CACX;AACJ;;;;;;;;AAQA,SAAS,MAAM,GAAG;CACd,QAAQ,SAAS;EACb,OAAO,WAAW,MAAM,aAAa,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;CACpD;AACJ;;;;;;AAMA,SAAgB,QAAQ,GAAG;CACvB,OAAO,MAAM,CAAC;AAClB;;;;;;AAMA,SAAS,aAAa,GAAG;CACrB,OAAO,YAAY,CAAC;AACxB;;;;;;;AAOA,SAAgB,QAAQ,MAAM;CAC1B,QAAQ,SAAS;EACb,OAAO,WAAW,MAAM,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI;CACtD;AACJ;;;;;;;;AAQA,SAAgB,SAAS,MAAM;CAC3B,QAAQ,SAAS;EACb,OAAO,gBAAgB,IAAI,CAAC,CAAC,IAAI;CACrC;AACJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// build/esm/Channel/definition.js
|
|
3
3
|
const ChannelVariance = Symbol.for("fncts.io.Channel.Variance");
|
|
4
4
|
const ChannelTypeId = Symbol.for("fncts.io.Channel");
|
|
5
5
|
/**
|
|
@@ -48,7 +48,6 @@ function concreteContinuation(_) {}
|
|
|
48
48
|
* @tsplus macro remove
|
|
49
49
|
*/
|
|
50
50
|
function concrete(_) {}
|
|
51
|
-
//#endregion
|
|
52
51
|
exports.Channel = Channel;
|
|
53
52
|
exports.ChannelPrimitive = ChannelPrimitive;
|
|
54
53
|
exports.ChannelTypeId = ChannelTypeId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.cjs","names":[],"sources":["../../esm/Channel/definition.js"],"sourcesContent":["export const ChannelVariance = Symbol.for(\"fncts.io.Channel.Variance\");\nexport const ChannelTypeId = Symbol.for(\"fncts.io.Channel\");\n/**\n * @tsplus type fncts.io.Channel\n * @tsplus companion fncts.io.ChannelOps\n */\nexport class Channel {\n [ChannelTypeId] = ChannelTypeId;\n}\n/**\n * @tsplus unify fncts.io.Channel\n */\nexport function unifyChannel(_) {\n return _;\n}\nexport class ChannelPrimitive {\n _tag;\n i0 = undefined;\n i1 = undefined;\n i2 = undefined;\n i3 = undefined;\n i4 = undefined;\n i5 = undefined;\n trace = undefined;\n [ChannelTypeId] = ChannelTypeId;\n constructor(_tag) {\n this._tag = _tag;\n }\n}\nexport class Continuation {\n _Env;\n _InErr;\n _InElem;\n _InDone;\n _OutErr;\n _OutErr2;\n _OutElem;\n _OutDone;\n _OutDone2;\n}\n/**\n * @optimize remove\n */\nexport function concreteContinuation(_) {\n //\n}\n/**\n * @tsplus macro remove\n */\nexport function concrete(_) {\n //\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";;AAAA,MAAa,kBAAkB,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"definition.cjs","names":[],"sources":["../../esm/Channel/definition.js"],"sourcesContent":["export const ChannelVariance = Symbol.for(\"fncts.io.Channel.Variance\");\nexport const ChannelTypeId = Symbol.for(\"fncts.io.Channel\");\n/**\n * @tsplus type fncts.io.Channel\n * @tsplus companion fncts.io.ChannelOps\n */\nexport class Channel {\n [ChannelTypeId] = ChannelTypeId;\n}\n/**\n * @tsplus unify fncts.io.Channel\n */\nexport function unifyChannel(_) {\n return _;\n}\nexport class ChannelPrimitive {\n _tag;\n i0 = undefined;\n i1 = undefined;\n i2 = undefined;\n i3 = undefined;\n i4 = undefined;\n i5 = undefined;\n trace = undefined;\n [ChannelTypeId] = ChannelTypeId;\n constructor(_tag) {\n this._tag = _tag;\n }\n}\nexport class Continuation {\n _Env;\n _InErr;\n _InElem;\n _InDone;\n _OutErr;\n _OutErr2;\n _OutElem;\n _OutDone;\n _OutDone2;\n}\n/**\n * @optimize remove\n */\nexport function concreteContinuation(_) {\n //\n}\n/**\n * @tsplus macro remove\n */\nexport function concrete(_) {\n //\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";;AAAA,MAAa,kBAAkB,OAAO,IAAI,2BAA2B;AACrE,MAAa,gBAAgB,OAAO,IAAI,kBAAkB;;;;;AAK1D,IAAa,UAAb,MAAqB;CACjB,CAAC,iBAAiB;AACtB;;;;AAIA,SAAgB,aAAa,GAAG;CAC5B,OAAO;AACX;AACA,IAAa,mBAAb,MAA8B;CAC1B;CACA,KAAK,KAAA;CACL,KAAK,KAAA;CACL,KAAK,KAAA;CACL,KAAK,KAAA;CACL,KAAK,KAAA;CACL,KAAK,KAAA;CACL,QAAQ,KAAA;CACR,CAAC,iBAAiB;CAClB,YAAY,MAAM;EACd,KAAK,OAAO;CAChB;AACJ;AACA,IAAa,eAAb,MAA0B;CACtB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACJ;;;;AAIA,SAAgB,qBAAqB,GAAG,CAExC;;;;AAIA,SAAgB,SAAS,GAAG,CAE5B"}
|