@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interrupt.cjs","names":["tsplus_module_2","tsplus_module_1","IOPrimitive","tsplus_module_3","tsplus_module_4","tsplus_module_5","tsplus_module_6"],"sources":["../../../esm/IO/api/interrupt.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/IO/api/interrupt.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Cause/api\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/io/RuntimeFlags/Patch\";\nimport * as tsplus_module_4 from \"@fncts/io/RuntimeFlags/RuntimeFlags\";\nimport * as tsplus_module_5 from \"@fncts/base/data/Exit/api\";\nimport * as tsplus_module_6 from \"@fncts/base/data/Exit/constructors\";\nexport const interruptAs = interruptAs_1;\nexport const interruptible = interruptible_1;\nexport const uninterruptible = uninterruptible_1;\nexport const uninterruptibleMask = uninterruptibleMask_1;\nexport const onExit = onExit_1;\nimport { IOPrimitive } from \"@fncts/io/IO/definition\";\nconst RestoreInterruptible = (io, __tsplusTrace) => interruptible_1(io, fileName_1 + \":7:81\");\nconst RestoreUninterruptible = (io, __tsplusTrace) => uninterruptible_1(io, fileName_1 + \":9:83\");\n/**\n * Returns an effect that is interrupted as if by the specified fiber.\n *\n * @tsplus static fncts.io.IOOps interruptAs\n */\nfunction interruptAs_1(fiberId, __tsplusTrace) {\n return tsplus_module_2.failCauseNow(tsplus_module_1.interrupt(fiberId), __tsplusTrace);\n}\n/**\n * Returns an effect that is interrupted as if by the fiber calling this\n * method.\n *\n * @tsplus static fncts.io.IOOps interrupt\n */\nexport const interrupt = tsplus_module_2.flatMap(interruptAs_1, fileName_1 + \":26:69\")(tsplus_module_2.fiberId);\n/**\n * Returns a new effect that performs the same operations as this effect, but\n * interruptibly, even if composed inside of an uninterruptible region.\n *\n * Note that effects are interruptible by default, so this function only has\n * meaning if used within an uninterruptible region.\n *\n * WARNING: This operator \"punches holes\" into effects, allowing them to be\n * interrupted in unexpected places. Do not use this operator unless you know\n * exactly what you are doing. Instead, you should use `uninterruptibleMask`.\n *\n * @tsplus getter fncts.io.IO interruptible\n * @tsplus static fncts.io.IOOps interruptible\n */\nfunction interruptible_1(self, __tsplusTrace) {\n const io = new IOPrimitive(7 /* IOTag.UpdateRuntimeFlagsWithin */);\n io.i0 = tsplus_module_3.mkEnable(1 /* RuntimeFlag.Interruption */);\n io.i1 = () => self;\n io.trace = __tsplusTrace;\n return io;\n}\n/**\n * Performs this effect uninterruptibly. This will prevent the effect from\n * being terminated externally, but the effect may fail for internal reasons\n * (e.g. an uncaught error) or terminate due to defect.\n *\n * Uninterruptible effects may recover from all failure causes (including\n * interruption of an inner effect that has been made interruptible).\n *\n * @tsplus getter fncts.io.IO uninterruptible\n * @tsplus static fncts.io.IOOps uninterruptible\n */\nfunction uninterruptible_1(self, __tsplusTrace) {\n const io = new IOPrimitive(7 /* IOTag.UpdateRuntimeFlagsWithin */);\n io.i0 = tsplus_module_3.mkDisable(1 /* RuntimeFlag.Interruption */);\n io.i1 = () => self;\n io.trace = __tsplusTrace;\n return io;\n}\n/**\n * Makes the effect uninterruptible, but passes it a restore function that\n * can be used to restore the inherited interruptibility from whatever region\n * the effect is composed into.\n *\n * @tsplus static fncts.io.IOOps uninterruptibleMask\n */\nfunction uninterruptibleMask_1(f, __tsplusTrace) {\n const io = new IOPrimitive(7 /* IOTag.UpdateRuntimeFlagsWithin */);\n io.i0 = tsplus_module_3.mkDisable(1 /* RuntimeFlag.Interruption */);\n io.i1 = (oldFlags) => f(tsplus_module_4.interruption(oldFlags) ? RestoreInterruptible : RestoreUninterruptible);\n io.trace = __tsplusTrace;\n return io;\n}\n/**\n * @tsplus pipeable fncts.io.IO ensuring\n */\nexport function ensuring(finalizer, __tsplusTrace) {\n return (self) => {\n return uninterruptibleMask_1((restore) => tsplus_module_2.matchCauseIO((cause1) => tsplus_module_2.matchCauseIO((cause2) => tsplus_module_2.failCauseNow(tsplus_module_1.sequential(cause1, cause2), __tsplusTrace), () => tsplus_module_2.failCauseNow(cause1, __tsplusTrace), __tsplusTrace)(finalizer), (a) => tsplus_module_2.map(() => a, __tsplusTrace)(finalizer), __tsplusTrace)(restore(self, __tsplusTrace)), __tsplusTrace);\n };\n}\n/**\n * Makes the effect interruptible, but passes it a restore function that can\n * be used to restore the inherited interruptibility from whatever region the\n * effect is composed into.\n *\n * @tsplus static fncts.io.IOOps interruptibleMask\n */\nexport function interruptibleMask(k, __tsplusTrace) {\n return tsplus_module_2.checkInterruptible((flag) => interruptible_1(k(flag.isInterruptible ? RestoreInterruptible : RestoreUninterruptible), __tsplusTrace), __tsplusTrace);\n}\n/**\n * Calls the specified function, and runs the effect it returns, if this\n * effect is interrupted.\n *\n * @tsplus pipeable fncts.io.IO onInterrupt\n */\nexport function onInterrupt(cleanup, __tsplusTrace) {\n return (ma) => {\n return onExit_1((exit) => tsplus_module_5.match((cause) => (tsplus_module_1.isInterruptedOnly(cause) ? cleanup() : tsplus_module_2.unit), () => tsplus_module_2.unit)(exit), __tsplusTrace)(ma);\n };\n}\n/**\n * Calls the specified function, and runs the effect it returns, if this\n * effect is interrupted.\n *\n * @tsplus pipeable fncts.io.IO onInterrupt\n */\nexport function onInterruptWith(cleanup, __tsplusTrace) {\n return (ma) => {\n return onExit_1((exit) => tsplus_module_5.match((cause) => (tsplus_module_1.isInterruptedOnly(cause) ? cleanup(tsplus_module_1.interruptors(cause)) : tsplus_module_2.unit), () => tsplus_module_2.unit)(exit), __tsplusTrace)(ma);\n };\n}\n/**\n * @tsplus pipeable fncts.io.IO onExit\n */\nfunction onExit_1(cleanup, __tsplusTrace) {\n return (self) => {\n return uninterruptibleMask_1((restore) => tsplus_module_2.matchCauseIO((failure1) => {\n const result = tsplus_module_6.failCause(failure1, __tsplusTrace);\n return tsplus_module_2.matchCauseIO((failure2) => tsplus_module_2.failCauseNow(tsplus_module_1.sequential(failure1, failure2), __tsplusTrace), () => tsplus_module_2.fromExitNow(result, __tsplusTrace), __tsplusTrace)(cleanup(result));\n }, (success) => {\n const result = tsplus_module_6.succeed(success, __tsplusTrace);\n return tsplus_module_2.zipRight(tsplus_module_2.fromExitNow(result, __tsplusTrace), __tsplusTrace)(cleanup(result));\n }, __tsplusTrace)(restore(self, __tsplusTrace)), __tsplusTrace);\n };\n}\n//# sourceMappingURL=interrupt.js.map"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,aAAa;AAOnB,MAAa,cAAc;AAC3B,MAAa,gBAAgB;AAC7B,MAAa,kBAAkB;AAC/B,MAAa,sBAAsB;AACnC,MAAa,SAAS;AAEtB,MAAM,wBAAwB,IAAI,kBAAkB,gBAAgB,IAAI,aAAa,
|
|
1
|
+
{"version":3,"file":"interrupt.cjs","names":["tsplus_module_2","tsplus_module_1","IOPrimitive","tsplus_module_3","tsplus_module_4","tsplus_module_5","tsplus_module_6"],"sources":["../../../esm/IO/api/interrupt.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/IO/api/interrupt.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Cause/api\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/io/RuntimeFlags/Patch\";\nimport * as tsplus_module_4 from \"@fncts/io/RuntimeFlags/RuntimeFlags\";\nimport * as tsplus_module_5 from \"@fncts/base/data/Exit/api\";\nimport * as tsplus_module_6 from \"@fncts/base/data/Exit/constructors\";\nexport const interruptAs = interruptAs_1;\nexport const interruptible = interruptible_1;\nexport const uninterruptible = uninterruptible_1;\nexport const uninterruptibleMask = uninterruptibleMask_1;\nexport const onExit = onExit_1;\nimport { IOPrimitive } from \"@fncts/io/IO/definition\";\nconst RestoreInterruptible = (io, __tsplusTrace) => interruptible_1(io, fileName_1 + \":7:81\");\nconst RestoreUninterruptible = (io, __tsplusTrace) => uninterruptible_1(io, fileName_1 + \":9:83\");\n/**\n * Returns an effect that is interrupted as if by the specified fiber.\n *\n * @tsplus static fncts.io.IOOps interruptAs\n */\nfunction interruptAs_1(fiberId, __tsplusTrace) {\n return tsplus_module_2.failCauseNow(tsplus_module_1.interrupt(fiberId), __tsplusTrace);\n}\n/**\n * Returns an effect that is interrupted as if by the fiber calling this\n * method.\n *\n * @tsplus static fncts.io.IOOps interrupt\n */\nexport const interrupt = tsplus_module_2.flatMap(interruptAs_1, fileName_1 + \":26:69\")(tsplus_module_2.fiberId);\n/**\n * Returns a new effect that performs the same operations as this effect, but\n * interruptibly, even if composed inside of an uninterruptible region.\n *\n * Note that effects are interruptible by default, so this function only has\n * meaning if used within an uninterruptible region.\n *\n * WARNING: This operator \"punches holes\" into effects, allowing them to be\n * interrupted in unexpected places. Do not use this operator unless you know\n * exactly what you are doing. Instead, you should use `uninterruptibleMask`.\n *\n * @tsplus getter fncts.io.IO interruptible\n * @tsplus static fncts.io.IOOps interruptible\n */\nfunction interruptible_1(self, __tsplusTrace) {\n const io = new IOPrimitive(7 /* IOTag.UpdateRuntimeFlagsWithin */);\n io.i0 = tsplus_module_3.mkEnable(1 /* RuntimeFlag.Interruption */);\n io.i1 = () => self;\n io.trace = __tsplusTrace;\n return io;\n}\n/**\n * Performs this effect uninterruptibly. This will prevent the effect from\n * being terminated externally, but the effect may fail for internal reasons\n * (e.g. an uncaught error) or terminate due to defect.\n *\n * Uninterruptible effects may recover from all failure causes (including\n * interruption of an inner effect that has been made interruptible).\n *\n * @tsplus getter fncts.io.IO uninterruptible\n * @tsplus static fncts.io.IOOps uninterruptible\n */\nfunction uninterruptible_1(self, __tsplusTrace) {\n const io = new IOPrimitive(7 /* IOTag.UpdateRuntimeFlagsWithin */);\n io.i0 = tsplus_module_3.mkDisable(1 /* RuntimeFlag.Interruption */);\n io.i1 = () => self;\n io.trace = __tsplusTrace;\n return io;\n}\n/**\n * Makes the effect uninterruptible, but passes it a restore function that\n * can be used to restore the inherited interruptibility from whatever region\n * the effect is composed into.\n *\n * @tsplus static fncts.io.IOOps uninterruptibleMask\n */\nfunction uninterruptibleMask_1(f, __tsplusTrace) {\n const io = new IOPrimitive(7 /* IOTag.UpdateRuntimeFlagsWithin */);\n io.i0 = tsplus_module_3.mkDisable(1 /* RuntimeFlag.Interruption */);\n io.i1 = (oldFlags) => f(tsplus_module_4.interruption(oldFlags) ? RestoreInterruptible : RestoreUninterruptible);\n io.trace = __tsplusTrace;\n return io;\n}\n/**\n * @tsplus pipeable fncts.io.IO ensuring\n */\nexport function ensuring(finalizer, __tsplusTrace) {\n return (self) => {\n return uninterruptibleMask_1((restore) => tsplus_module_2.matchCauseIO((cause1) => tsplus_module_2.matchCauseIO((cause2) => tsplus_module_2.failCauseNow(tsplus_module_1.sequential(cause1, cause2), __tsplusTrace), () => tsplus_module_2.failCauseNow(cause1, __tsplusTrace), __tsplusTrace)(finalizer), (a) => tsplus_module_2.map(() => a, __tsplusTrace)(finalizer), __tsplusTrace)(restore(self, __tsplusTrace)), __tsplusTrace);\n };\n}\n/**\n * Makes the effect interruptible, but passes it a restore function that can\n * be used to restore the inherited interruptibility from whatever region the\n * effect is composed into.\n *\n * @tsplus static fncts.io.IOOps interruptibleMask\n */\nexport function interruptibleMask(k, __tsplusTrace) {\n return tsplus_module_2.checkInterruptible((flag) => interruptible_1(k(flag.isInterruptible ? RestoreInterruptible : RestoreUninterruptible), __tsplusTrace), __tsplusTrace);\n}\n/**\n * Calls the specified function, and runs the effect it returns, if this\n * effect is interrupted.\n *\n * @tsplus pipeable fncts.io.IO onInterrupt\n */\nexport function onInterrupt(cleanup, __tsplusTrace) {\n return (ma) => {\n return onExit_1((exit) => tsplus_module_5.match((cause) => (tsplus_module_1.isInterruptedOnly(cause) ? cleanup() : tsplus_module_2.unit), () => tsplus_module_2.unit)(exit), __tsplusTrace)(ma);\n };\n}\n/**\n * Calls the specified function, and runs the effect it returns, if this\n * effect is interrupted.\n *\n * @tsplus pipeable fncts.io.IO onInterrupt\n */\nexport function onInterruptWith(cleanup, __tsplusTrace) {\n return (ma) => {\n return onExit_1((exit) => tsplus_module_5.match((cause) => (tsplus_module_1.isInterruptedOnly(cause) ? cleanup(tsplus_module_1.interruptors(cause)) : tsplus_module_2.unit), () => tsplus_module_2.unit)(exit), __tsplusTrace)(ma);\n };\n}\n/**\n * @tsplus pipeable fncts.io.IO onExit\n */\nfunction onExit_1(cleanup, __tsplusTrace) {\n return (self) => {\n return uninterruptibleMask_1((restore) => tsplus_module_2.matchCauseIO((failure1) => {\n const result = tsplus_module_6.failCause(failure1, __tsplusTrace);\n return tsplus_module_2.matchCauseIO((failure2) => tsplus_module_2.failCauseNow(tsplus_module_1.sequential(failure1, failure2), __tsplusTrace), () => tsplus_module_2.fromExitNow(result, __tsplusTrace), __tsplusTrace)(cleanup(result));\n }, (success) => {\n const result = tsplus_module_6.succeed(success, __tsplusTrace);\n return tsplus_module_2.zipRight(tsplus_module_2.fromExitNow(result, __tsplusTrace), __tsplusTrace)(cleanup(result));\n }, __tsplusTrace)(restore(self, __tsplusTrace)), __tsplusTrace);\n };\n}\n//# sourceMappingURL=interrupt.js.map"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,aAAa;AAOnB,MAAa,cAAc;AAC3B,MAAa,gBAAgB;AAC7B,MAAa,kBAAkB;AAC/B,MAAa,sBAAsB;AACnC,MAAa,SAAS;AAEtB,MAAM,wBAAwB,IAAI,kBAAkB,gBAAgB,IAAI,aAAa,OAAO;AAC5F,MAAM,0BAA0B,IAAI,kBAAkB,kBAAkB,IAAI,aAAa,OAAO;;;;;;AAMhG,SAAS,cAAc,SAAS,eAAe;CAC3C,OAAOA,iBAAgB,aAAaC,2BAAgB,UAAU,OAAO,GAAG,aAAa;AACzF;;;;;;;AAOA,MAAa,YAAYD,iBAAgB,QAAQ,eAAe,aAAa,QAAQ,CAAC,CAACA,iBAAgB,OAAO;;;;;;;;;;;;;;;AAe9G,SAAS,gBAAgB,MAAM,eAAe;CAC1C,MAAM,KAAK,IAAIE,wBAAAA,YAAY,CAAsC;CACjE,GAAG,KAAKC,6BAAgB,SAAS,CAAgC;CACjE,GAAG,WAAW;CACd,GAAG,QAAQ;CACX,OAAO;AACX;;;;;;;;;;;;AAYA,SAAS,kBAAkB,MAAM,eAAe;CAC5C,MAAM,KAAK,IAAID,wBAAAA,YAAY,CAAsC;CACjE,GAAG,KAAKC,6BAAgB,UAAU,CAAgC;CAClE,GAAG,WAAW;CACd,GAAG,QAAQ;CACX,OAAO;AACX;;;;;;;;AAQA,SAAS,sBAAsB,GAAG,eAAe;CAC7C,MAAM,KAAK,IAAID,wBAAAA,YAAY,CAAsC;CACjE,GAAG,KAAKC,6BAAgB,UAAU,CAAgC;CAClE,GAAG,MAAM,aAAa,EAAEC,oCAAgB,aAAa,QAAQ,IAAI,uBAAuB,sBAAsB;CAC9G,GAAG,QAAQ;CACX,OAAO;AACX;;;;AAIA,SAAgB,SAAS,WAAW,eAAe;CAC/C,QAAQ,SAAS;EACb,OAAO,uBAAuB,YAAYJ,iBAAgB,cAAc,WAAWA,iBAAgB,cAAc,WAAWA,iBAAgB,aAAaC,2BAAgB,WAAW,QAAQ,MAAM,GAAG,aAAa,SAASD,iBAAgB,aAAa,QAAQ,aAAa,GAAG,aAAa,CAAC,CAAC,SAAS,IAAI,MAAMA,iBAAgB,UAAU,GAAG,aAAa,CAAC,CAAC,SAAS,GAAG,aAAa,CAAC,CAAC,QAAQ,MAAM,aAAa,CAAC,GAAG,aAAa;CACza;AACJ;;;;;;;;AAQA,SAAgB,kBAAkB,GAAG,eAAe;CAChD,OAAOA,iBAAgB,oBAAoB,SAAS,gBAAgB,EAAE,KAAK,kBAAkB,uBAAuB,sBAAsB,GAAG,aAAa,GAAG,aAAa;AAC9K;;;;;;;AAOA,SAAgB,YAAY,SAAS,eAAe;CAChD,QAAQ,OAAO;EACX,OAAO,UAAU,SAASK,0BAAgB,OAAO,UAAWJ,2BAAgB,kBAAkB,KAAK,IAAI,QAAQ,IAAID,iBAAgB,YAAaA,iBAAgB,IAAI,CAAC,CAAC,IAAI,GAAG,aAAa,CAAC,CAAC,EAAE;CAClM;AACJ;;;;;;;AAOA,SAAgB,gBAAgB,SAAS,eAAe;CACpD,QAAQ,OAAO;EACX,OAAO,UAAU,SAASK,0BAAgB,OAAO,UAAWJ,2BAAgB,kBAAkB,KAAK,IAAI,QAAQA,2BAAgB,aAAa,KAAK,CAAC,IAAID,iBAAgB,YAAaA,iBAAgB,IAAI,CAAC,CAAC,IAAI,GAAG,aAAa,CAAC,CAAC,EAAE;CACrO;AACJ;;;;AAIA,SAAS,SAAS,SAAS,eAAe;CACtC,QAAQ,SAAS;EACb,OAAO,uBAAuB,YAAYA,iBAAgB,cAAc,aAAa;GACjF,MAAM,SAASM,mCAAgB,UAAU,UAAU,aAAa;GAChE,OAAON,iBAAgB,cAAc,aAAaA,iBAAgB,aAAaC,2BAAgB,WAAW,UAAU,QAAQ,GAAG,aAAa,SAASD,iBAAgB,YAAY,QAAQ,aAAa,GAAG,aAAa,CAAC,CAAC,QAAQ,MAAM,CAAC;EAC3O,IAAI,YAAY;GACZ,MAAM,SAASM,mCAAgB,QAAQ,SAAS,aAAa;GAC7D,OAAON,iBAAgB,SAASA,iBAAgB,YAAY,QAAQ,aAAa,GAAG,aAAa,CAAC,CAAC,QAAQ,MAAM,CAAC;EACtH,GAAG,aAAa,CAAC,CAAC,QAAQ,MAAM,aAAa,CAAC,GAAG,aAAa;CAClE;AACJ"}
|
package/_cjs/IO/api/memoize.cjs
CHANGED
|
@@ -1,27 +1,26 @@
|
|
|
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_io_IO_api_fulfill = require("@fncts/io/IO/api/fulfill");
|
|
6
|
-
_fncts_io_IO_api_fulfill =
|
|
6
|
+
_fncts_io_IO_api_fulfill = require_rolldown_runtime.__toESM(_fncts_io_IO_api_fulfill, 1);
|
|
7
7
|
let _fncts_io_Future_api = require("@fncts/io/Future/api");
|
|
8
|
-
_fncts_io_Future_api =
|
|
8
|
+
_fncts_io_Future_api = require_rolldown_runtime.__toESM(_fncts_io_Future_api, 1);
|
|
9
9
|
let _fncts_io_Future_constructors = require("@fncts/io/Future/constructors");
|
|
10
|
-
_fncts_io_Future_constructors =
|
|
10
|
+
_fncts_io_Future_constructors = require_rolldown_runtime.__toESM(_fncts_io_Future_constructors, 1);
|
|
11
11
|
let _fncts_io_IO_api_patchFiberRefs = require("@fncts/io/IO/api/patchFiberRefs");
|
|
12
|
-
_fncts_io_IO_api_patchFiberRefs =
|
|
12
|
+
_fncts_io_IO_api_patchFiberRefs = require_rolldown_runtime.__toESM(_fncts_io_IO_api_patchFiberRefs, 1);
|
|
13
13
|
let _fncts_io_IO_api_diffFiberRefs = require("@fncts/io/IO/api/diffFiberRefs");
|
|
14
|
-
_fncts_io_IO_api_diffFiberRefs =
|
|
14
|
+
_fncts_io_IO_api_diffFiberRefs = require_rolldown_runtime.__toESM(_fncts_io_IO_api_diffFiberRefs, 1);
|
|
15
15
|
let _fncts_io_IO_api_once = require("@fncts/io/IO/api/once");
|
|
16
|
-
_fncts_io_IO_api_once =
|
|
17
|
-
|
|
16
|
+
_fncts_io_IO_api_once = require_rolldown_runtime.__toESM(_fncts_io_IO_api_once, 1);
|
|
17
|
+
// build/esm/IO/api/memoize.js
|
|
18
18
|
/**
|
|
19
19
|
* @tsplus getter fncts.io.IO memoize
|
|
20
20
|
*/
|
|
21
21
|
function memoize(self, __tsplusTrace) {
|
|
22
22
|
return _fncts_io_IO_api.flatMap((future) => _fncts_io_IO_api.map((complete) => _fncts_io_IO_api.zipRight(_fncts_io_IO_api.flatMap(([patch, a]) => _fncts_io_IO_api.as(() => a, __tsplusTrace)(_fncts_io_IO_api_patchFiberRefs.patchFiberRefs(patch)), __tsplusTrace)(_fncts_io_Future_api.wait(future, __tsplusTrace)), __tsplusTrace)(complete), __tsplusTrace)(_fncts_io_IO_api_once.once(_fncts_io_IO_api_fulfill.fulfill(future, __tsplusTrace)(_fncts_io_IO_api_diffFiberRefs.diffFiberRefs(self, __tsplusTrace)), __tsplusTrace)), __tsplusTrace)(_fncts_io_Future_constructors.make(__tsplusTrace));
|
|
23
23
|
}
|
|
24
|
-
//#endregion
|
|
25
24
|
exports.memoize = memoize;
|
|
26
25
|
|
|
27
26
|
//# sourceMappingURL=memoize.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memoize.cjs","names":["tsplus_module_2","tsplus_module_1","tsplus_module_3","tsplus_module_6","tsplus_module_5","tsplus_module_4","tsplus_module_7"],"sources":["../../../esm/IO/api/memoize.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/IO/api/patchFiberRefs\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/io/Future/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api/diffFiberRefs\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api/fulfill\";\nimport * as tsplus_module_6 from \"@fncts/io/IO/api/once\";\nimport * as tsplus_module_7 from \"@fncts/io/Future/constructors\";\n/**\n * @tsplus getter fncts.io.IO memoize\n */\nexport function memoize(self, __tsplusTrace) {\n return tsplus_module_2.flatMap(future => tsplus_module_2.map(complete => tsplus_module_2.zipRight(tsplus_module_2.flatMap(([patch, a]) => tsplus_module_2.as(() => a, __tsplusTrace)(tsplus_module_1.patchFiberRefs(patch)), __tsplusTrace)(tsplus_module_3.wait(future, __tsplusTrace)), __tsplusTrace)(complete), __tsplusTrace)(tsplus_module_6.once(tsplus_module_5.fulfill(future, __tsplusTrace)(tsplus_module_4.diffFiberRefs(self, __tsplusTrace)), __tsplusTrace)), __tsplusTrace)(tsplus_module_7.make(__tsplusTrace));\n}\n//# sourceMappingURL=memoize.js.map"],"mappings":";;;;;;;;;;;;;;;;;;;;AAUA,SAAgB,QAAQ,MAAM,eAAe;
|
|
1
|
+
{"version":3,"file":"memoize.cjs","names":["tsplus_module_2","tsplus_module_1","tsplus_module_3","tsplus_module_6","tsplus_module_5","tsplus_module_4","tsplus_module_7"],"sources":["../../../esm/IO/api/memoize.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/IO/api/patchFiberRefs\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/io/Future/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api/diffFiberRefs\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api/fulfill\";\nimport * as tsplus_module_6 from \"@fncts/io/IO/api/once\";\nimport * as tsplus_module_7 from \"@fncts/io/Future/constructors\";\n/**\n * @tsplus getter fncts.io.IO memoize\n */\nexport function memoize(self, __tsplusTrace) {\n return tsplus_module_2.flatMap(future => tsplus_module_2.map(complete => tsplus_module_2.zipRight(tsplus_module_2.flatMap(([patch, a]) => tsplus_module_2.as(() => a, __tsplusTrace)(tsplus_module_1.patchFiberRefs(patch)), __tsplusTrace)(tsplus_module_3.wait(future, __tsplusTrace)), __tsplusTrace)(complete), __tsplusTrace)(tsplus_module_6.once(tsplus_module_5.fulfill(future, __tsplusTrace)(tsplus_module_4.diffFiberRefs(self, __tsplusTrace)), __tsplusTrace)), __tsplusTrace)(tsplus_module_7.make(__tsplusTrace));\n}\n//# sourceMappingURL=memoize.js.map"],"mappings":";;;;;;;;;;;;;;;;;;;;AAUA,SAAgB,QAAQ,MAAM,eAAe;CACzC,OAAOA,iBAAgB,SAAQ,WAAUA,iBAAgB,KAAI,aAAYA,iBAAgB,SAASA,iBAAgB,SAAS,CAAC,OAAO,OAAOA,iBAAgB,SAAS,GAAG,aAAa,CAAC,CAACC,gCAAgB,eAAe,KAAK,CAAC,GAAG,aAAa,CAAC,CAACC,qBAAgB,KAAK,QAAQ,aAAa,CAAC,GAAG,aAAa,CAAC,CAAC,QAAQ,GAAG,aAAa,CAAC,CAACC,sBAAgB,KAAKC,yBAAgB,QAAQ,QAAQ,aAAa,CAAC,CAACC,+BAAgB,cAAc,MAAM,aAAa,CAAC,GAAG,aAAa,CAAC,GAAG,aAAa,CAAC,CAACC,8BAAgB,KAAK,aAAa,CAAC;AACngB"}
|
|
@@ -1,14 +1,14 @@
|
|
|
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_data_Cause_api = require("@fncts/base/data/Cause/api");
|
|
8
|
-
_fncts_base_data_Cause_api =
|
|
8
|
+
_fncts_base_data_Cause_api = require_rolldown_runtime.__toESM(_fncts_base_data_Cause_api, 1);
|
|
9
9
|
let _fncts_base_data_Exit_api = require("@fncts/base/data/Exit/api");
|
|
10
|
-
_fncts_base_data_Exit_api =
|
|
11
|
-
|
|
10
|
+
_fncts_base_data_Exit_api = require_rolldown_runtime.__toESM(_fncts_base_data_Exit_api, 1);
|
|
11
|
+
// build/esm/IO/api/onTermination.js
|
|
12
12
|
/**
|
|
13
13
|
* @tsplus pipeable fncts.io.IO onTermination
|
|
14
14
|
*/
|
|
@@ -20,7 +20,6 @@ function onTermination(cleanup, __tsplusTrace) {
|
|
|
20
20
|
}, () => _fncts_io_IO_api.unit)(exit), __tsplusTrace)(self);
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
//#endregion
|
|
24
23
|
exports.onTermination = onTermination;
|
|
25
24
|
|
|
26
25
|
//# sourceMappingURL=onTermination.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onTermination.cjs","names":["tsplus_module_4","tsplus_module_3","tsplus_module_1","tsplus_module_2"],"sources":["../../../esm/IO/api/onTermination.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Cause/api\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Exit/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api/interrupt\";\n/**\n * @tsplus pipeable fncts.io.IO onTermination\n */\nexport function onTermination(cleanup, __tsplusTrace) {\n return (self) => {\n return tsplus_module_4.onExit((exit) => tsplus_module_3.match((cause) => {\n if (tsplus_module_1.isFailure(cause))\n return tsplus_module_2.unit;\n else\n return cleanup(cause);\n }, () => tsplus_module_2.unit)(exit), __tsplusTrace)(self);\n };\n}\n//# sourceMappingURL=onTermination.js.map"],"mappings":";;;;;;;;;;;;;;AAOA,SAAgB,cAAc,SAAS,eAAe;
|
|
1
|
+
{"version":3,"file":"onTermination.cjs","names":["tsplus_module_4","tsplus_module_3","tsplus_module_1","tsplus_module_2"],"sources":["../../../esm/IO/api/onTermination.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Cause/api\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Exit/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api/interrupt\";\n/**\n * @tsplus pipeable fncts.io.IO onTermination\n */\nexport function onTermination(cleanup, __tsplusTrace) {\n return (self) => {\n return tsplus_module_4.onExit((exit) => tsplus_module_3.match((cause) => {\n if (tsplus_module_1.isFailure(cause))\n return tsplus_module_2.unit;\n else\n return cleanup(cause);\n }, () => tsplus_module_2.unit)(exit), __tsplusTrace)(self);\n };\n}\n//# sourceMappingURL=onTermination.js.map"],"mappings":";;;;;;;;;;;;;;AAOA,SAAgB,cAAc,SAAS,eAAe;CAClD,QAAQ,SAAS;EACb,OAAOA,2BAAgB,QAAQ,SAASC,0BAAgB,OAAO,UAAU;GACrE,IAAIC,2BAAgB,UAAU,KAAK,GAC/B,OAAOC,iBAAgB;QAEvB,OAAO,QAAQ,KAAK;EAC5B,SAASA,iBAAgB,IAAI,CAAC,CAAC,IAAI,GAAG,aAAa,CAAC,CAAC,IAAI;CAC7D;AACJ"}
|
package/_cjs/IO/api/once.cjs
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
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_io_Ref_constructors = require("@fncts/io/Ref/constructors");
|
|
6
|
-
_fncts_io_Ref_constructors =
|
|
6
|
+
_fncts_io_Ref_constructors = require_rolldown_runtime.__toESM(_fncts_io_Ref_constructors, 1);
|
|
7
7
|
let _fncts_io_Ref_api_modify = require("@fncts/io/Ref/api/modify");
|
|
8
|
-
_fncts_io_Ref_api_modify =
|
|
9
|
-
|
|
8
|
+
_fncts_io_Ref_api_modify = require_rolldown_runtime.__toESM(_fncts_io_Ref_api_modify, 1);
|
|
9
|
+
// build/esm/IO/api/once.js
|
|
10
10
|
/**
|
|
11
11
|
* @tsplus getter fncts.io.IO once
|
|
12
12
|
*/
|
|
13
13
|
function once(self, __tsplusTrace) {
|
|
14
14
|
return _fncts_io_IO_api.map((ref) => _fncts_io_IO_api.whenIO(_fncts_io_Ref_api_modify.getAndSet(false, __tsplusTrace)(ref), __tsplusTrace)(self), __tsplusTrace)(_fncts_io_Ref_constructors.make(() => true, __tsplusTrace));
|
|
15
15
|
}
|
|
16
|
-
//#endregion
|
|
17
16
|
exports.once = once;
|
|
18
17
|
|
|
19
18
|
//# sourceMappingURL=once.cjs.map
|
package/_cjs/IO/api/once.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"once.cjs","names":["tsplus_module_2","tsplus_module_1","tsplus_module_3"],"sources":["../../../esm/IO/api/once.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/Ref/api/modify\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/constructors\";\n/**\n * @tsplus getter fncts.io.IO once\n */\nexport function once(self, __tsplusTrace) {\n return tsplus_module_2.map((ref) => tsplus_module_2.whenIO(tsplus_module_1.getAndSet(false, __tsplusTrace)(ref), __tsplusTrace)(self), __tsplusTrace)(tsplus_module_3.make(() => true, __tsplusTrace));\n}\n//# sourceMappingURL=once.js.map"],"mappings":";;;;;;;;;;;;AAMA,SAAgB,KAAK,MAAM,eAAe;
|
|
1
|
+
{"version":3,"file":"once.cjs","names":["tsplus_module_2","tsplus_module_1","tsplus_module_3"],"sources":["../../../esm/IO/api/once.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/Ref/api/modify\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/constructors\";\n/**\n * @tsplus getter fncts.io.IO once\n */\nexport function once(self, __tsplusTrace) {\n return tsplus_module_2.map((ref) => tsplus_module_2.whenIO(tsplus_module_1.getAndSet(false, __tsplusTrace)(ref), __tsplusTrace)(self), __tsplusTrace)(tsplus_module_3.make(() => true, __tsplusTrace));\n}\n//# sourceMappingURL=once.js.map"],"mappings":";;;;;;;;;;;;AAMA,SAAgB,KAAK,MAAM,eAAe;CACtC,OAAOA,iBAAgB,KAAK,QAAQA,iBAAgB,OAAOC,yBAAgB,UAAU,OAAO,aAAa,CAAC,CAAC,GAAG,GAAG,aAAa,CAAC,CAAC,IAAI,GAAG,aAAa,CAAC,CAACC,2BAAgB,WAAW,MAAM,aAAa,CAAC;AACzM"}
|
|
@@ -1,18 +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_io_FiberRefs_Patch = require("@fncts/io/FiberRefs/Patch");
|
|
6
|
-
_fncts_io_FiberRefs_Patch =
|
|
7
|
-
|
|
8
|
-
const fileName_1 = "(@fncts/io) src/IO/api/patchFiberRefs.ts";
|
|
6
|
+
_fncts_io_FiberRefs_Patch = require_rolldown_runtime.__toESM(_fncts_io_FiberRefs_Patch, 1);
|
|
7
|
+
// build/esm/IO/api/patchFiberRefs.js
|
|
9
8
|
/**
|
|
10
9
|
* @tsplus static fncts.io.IOOps patchFiberRefs
|
|
11
10
|
*/
|
|
12
11
|
function patchFiberRefs(patch) {
|
|
13
|
-
return _fncts_io_IO_api.updateFiberRefs((fiberId, fiberRefs) => _fncts_io_FiberRefs_Patch.apply(fiberId, fiberRefs)(patch),
|
|
12
|
+
return _fncts_io_IO_api.updateFiberRefs((fiberId, fiberRefs) => _fncts_io_FiberRefs_Patch.apply(fiberId, fiberRefs)(patch), "(@fncts/io) src/IO/api/patchFiberRefs.ts:7:28");
|
|
14
13
|
}
|
|
15
|
-
//#endregion
|
|
16
14
|
exports.patchFiberRefs = patchFiberRefs;
|
|
17
15
|
|
|
18
16
|
//# sourceMappingURL=patchFiberRefs.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patchFiberRefs.cjs","names":["tsplus_module_2","tsplus_module_1"],"sources":["../../../esm/IO/api/patchFiberRefs.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/IO/api/patchFiberRefs.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/FiberRefs/Patch\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\n/**\n * @tsplus static fncts.io.IOOps patchFiberRefs\n */\nexport function patchFiberRefs(patch) {\n return tsplus_module_2.updateFiberRefs((fiberId, fiberRefs) => tsplus_module_1.apply(fiberId, fiberRefs)(patch), fileName_1 + \":7:28\");\n}\n//# sourceMappingURL=patchFiberRefs.js.map"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patchFiberRefs.cjs","names":["tsplus_module_2","tsplus_module_1"],"sources":["../../../esm/IO/api/patchFiberRefs.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/IO/api/patchFiberRefs.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/FiberRefs/Patch\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\n/**\n * @tsplus static fncts.io.IOOps patchFiberRefs\n */\nexport function patchFiberRefs(patch) {\n return tsplus_module_2.updateFiberRefs((fiberId, fiberRefs) => tsplus_module_1.apply(fiberId, fiberRefs)(patch), fileName_1 + \":7:28\");\n}\n//# sourceMappingURL=patchFiberRefs.js.map"],"mappings":";;;;;;;;;;AAMA,SAAgB,eAAe,OAAO;CAClC,OAAOA,iBAAgB,iBAAiB,SAAS,cAAcC,0BAAgB,MAAM,SAAS,SAAS,CAAC,CAAC,KAAK,GAAG,+CAAoB;AACzI"}
|
|
@@ -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_io_IO_api_environment = require("@fncts/io/IO/api/environment");
|
|
6
|
-
_fncts_io_IO_api_environment =
|
|
6
|
+
_fncts_io_IO_api_environment = require_rolldown_runtime.__toESM(_fncts_io_IO_api_environment, 1);
|
|
7
7
|
let _fncts_io_Scope_api = require("@fncts/io/Scope/api");
|
|
8
|
-
_fncts_io_Scope_api =
|
|
8
|
+
_fncts_io_Scope_api = require_rolldown_runtime.__toESM(_fncts_io_Scope_api, 1);
|
|
9
9
|
let _fncts_io_IO_api_bracketExit = require("@fncts/io/IO/api/bracketExit");
|
|
10
|
-
_fncts_io_IO_api_bracketExit =
|
|
10
|
+
_fncts_io_IO_api_bracketExit = require_rolldown_runtime.__toESM(_fncts_io_IO_api_bracketExit, 1);
|
|
11
11
|
let _fncts_io_Layer_MemoMap = require("@fncts/io/Layer/MemoMap");
|
|
12
|
-
_fncts_io_Layer_MemoMap =
|
|
13
|
-
|
|
12
|
+
_fncts_io_Layer_MemoMap = require_rolldown_runtime.__toESM(_fncts_io_Layer_MemoMap, 1);
|
|
13
|
+
// build/esm/IO/api/provideLayer.js
|
|
14
14
|
/**
|
|
15
15
|
* @tsplus pipeable fncts.io.IO provideLayer
|
|
16
16
|
*/
|
|
@@ -19,7 +19,6 @@ function provideLayer(layer, __tsplusTrace) {
|
|
|
19
19
|
return _fncts_io_IO_api_bracketExit.bracketExit(() => _fncts_io_Scope_api.make, (scope) => _fncts_io_IO_api.flatMap((r) => _fncts_io_IO_api_environment.provideEnvironment(r, __tsplusTrace)(self), __tsplusTrace)(_fncts_io_Layer_MemoMap.build_(scope, __tsplusTrace)(layer)), (scope, exit) => scope.close(() => exit), __tsplusTrace);
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
//#endregion
|
|
23
22
|
exports.provideLayer = provideLayer;
|
|
24
23
|
|
|
25
24
|
//# sourceMappingURL=provideLayer.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provideLayer.cjs","names":["tsplus_module_5","tsplus_module_4","tsplus_module_3","tsplus_module_1","tsplus_module_2"],"sources":["../../../esm/IO/api/provideLayer.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/IO/api/environment\";\nimport * as tsplus_module_2 from \"@fncts/io/Layer/MemoMap\";\nimport * as tsplus_module_3 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_4 from \"@fncts/io/Scope/api\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api/bracketExit\";\n/**\n * @tsplus pipeable fncts.io.IO provideLayer\n */\nexport function provideLayer(layer, __tsplusTrace) {\n return (self) => {\n return tsplus_module_5.bracketExit(() => tsplus_module_4.make, (scope) => tsplus_module_3.flatMap((r) => tsplus_module_1.provideEnvironment(r, __tsplusTrace)(self), __tsplusTrace)(tsplus_module_2.build_(scope, __tsplusTrace)(layer)), (scope, exit) => scope.close(() => exit), __tsplusTrace);\n };\n}\n//# sourceMappingURL=provideLayer.js.map"],"mappings":";;;;;;;;;;;;;;;;AAQA,SAAgB,aAAa,OAAO,eAAe;
|
|
1
|
+
{"version":3,"file":"provideLayer.cjs","names":["tsplus_module_5","tsplus_module_4","tsplus_module_3","tsplus_module_1","tsplus_module_2"],"sources":["../../../esm/IO/api/provideLayer.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/IO/api/environment\";\nimport * as tsplus_module_2 from \"@fncts/io/Layer/MemoMap\";\nimport * as tsplus_module_3 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_4 from \"@fncts/io/Scope/api\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api/bracketExit\";\n/**\n * @tsplus pipeable fncts.io.IO provideLayer\n */\nexport function provideLayer(layer, __tsplusTrace) {\n return (self) => {\n return tsplus_module_5.bracketExit(() => tsplus_module_4.make, (scope) => tsplus_module_3.flatMap((r) => tsplus_module_1.provideEnvironment(r, __tsplusTrace)(self), __tsplusTrace)(tsplus_module_2.build_(scope, __tsplusTrace)(layer)), (scope, exit) => scope.close(() => exit), __tsplusTrace);\n };\n}\n//# sourceMappingURL=provideLayer.js.map"],"mappings":";;;;;;;;;;;;;;;;AAQA,SAAgB,aAAa,OAAO,eAAe;CAC/C,QAAQ,SAAS;EACb,OAAOA,6BAAgB,kBAAkBC,oBAAgB,OAAO,UAAUC,iBAAgB,SAAS,MAAMC,6BAAgB,mBAAmB,GAAG,aAAa,CAAC,CAAC,IAAI,GAAG,aAAa,CAAC,CAACC,wBAAgB,OAAO,OAAO,aAAa,CAAC,CAAC,KAAK,CAAC,IAAI,OAAO,SAAS,MAAM,YAAY,IAAI,GAAG,aAAa;CACrS;AACJ"}
|
|
@@ -1,20 +1,18 @@
|
|
|
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_environment = require("@fncts/io/IO/api/environment");
|
|
4
|
-
_fncts_io_IO_api_environment =
|
|
4
|
+
_fncts_io_IO_api_environment = require_rolldown_runtime.__toESM(_fncts_io_IO_api_environment, 1);
|
|
5
5
|
let _fncts_io_Scope_definition = require("@fncts/io/Scope/definition");
|
|
6
|
-
_fncts_io_Scope_definition =
|
|
7
|
-
|
|
8
|
-
const fileName_1 = "(@fncts/io) src/IO/api/provideScope.ts";
|
|
6
|
+
_fncts_io_Scope_definition = require_rolldown_runtime.__toESM(_fncts_io_Scope_definition, 1);
|
|
7
|
+
// build/esm/IO/api/provideScope.js
|
|
9
8
|
/**
|
|
10
9
|
* @tsplus pipeable fncts.io.IO provideScope
|
|
11
10
|
*/
|
|
12
11
|
function provideScope(scope) {
|
|
13
12
|
return (self) => {
|
|
14
|
-
return _fncts_io_IO_api_environment.provideSomeService(scope, _fncts_io_Scope_definition.ScopeTag,
|
|
13
|
+
return _fncts_io_IO_api_environment.provideSomeService(scope, _fncts_io_Scope_definition.ScopeTag, "(@fncts/io) src/IO/api/provideScope.ts:6:35")(self);
|
|
15
14
|
};
|
|
16
15
|
}
|
|
17
|
-
//#endregion
|
|
18
16
|
exports.provideScope = provideScope;
|
|
19
17
|
|
|
20
18
|
//# sourceMappingURL=provideScope.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provideScope.cjs","names":["tsplus_module_2","tsplus_module_1"],"sources":["../../../esm/IO/api/provideScope.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/IO/api/provideScope.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/Scope/definition\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api/environment\";\n/**\n * @tsplus pipeable fncts.io.IO provideScope\n */\nexport function provideScope(scope) {\n return (self) => {\n return tsplus_module_2.provideSomeService(scope, tsplus_module_1.ScopeTag, fileName_1 + \":6:35\")(self);\n };\n}\n//# sourceMappingURL=provideScope.js.map"],"mappings":"
|
|
1
|
+
{"version":3,"file":"provideScope.cjs","names":["tsplus_module_2","tsplus_module_1"],"sources":["../../../esm/IO/api/provideScope.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/IO/api/provideScope.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/Scope/definition\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api/environment\";\n/**\n * @tsplus pipeable fncts.io.IO provideScope\n */\nexport function provideScope(scope) {\n return (self) => {\n return tsplus_module_2.provideSomeService(scope, tsplus_module_1.ScopeTag, fileName_1 + \":6:35\")(self);\n };\n}\n//# sourceMappingURL=provideScope.js.map"],"mappings":";;;;;;;;;;AAMA,SAAgB,aAAa,OAAO;CAChC,QAAQ,SAAS;EACb,OAAOA,6BAAgB,mBAAmB,OAAOC,2BAAgB,UAAU,6CAAoB,CAAC,CAAC,IAAI;CACzG;AACJ"}
|
|
@@ -1,10 +1,10 @@
|
|
|
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_Layer_api = require("@fncts/io/Layer/api");
|
|
4
|
-
_fncts_io_Layer_api =
|
|
4
|
+
_fncts_io_Layer_api = require_rolldown_runtime.__toESM(_fncts_io_Layer_api, 1);
|
|
5
5
|
let _fncts_io_IO_api_provideLayer = require("@fncts/io/IO/api/provideLayer");
|
|
6
|
-
_fncts_io_IO_api_provideLayer =
|
|
7
|
-
|
|
6
|
+
_fncts_io_IO_api_provideLayer = require_rolldown_runtime.__toESM(_fncts_io_IO_api_provideLayer, 1);
|
|
7
|
+
// build/esm/IO/api/provideSomeLayer.js
|
|
8
8
|
/**
|
|
9
9
|
* @tsplus static fncts.io.IOAspects provideSomeLayer
|
|
10
10
|
* @tsplus pipeable fncts.io.IO provideSomeLayer
|
|
@@ -14,7 +14,6 @@ function provideSomeLayer(layer, __tsplusTrace) {
|
|
|
14
14
|
return _fncts_io_IO_api_provideLayer.provideLayer(_fncts_io_Layer_api.and(layer, __tsplusTrace)(_fncts_io_Layer_api.environment(__tsplusTrace)), __tsplusTrace)(self);
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
//#endregion
|
|
18
17
|
exports.provideSomeLayer = provideSomeLayer;
|
|
19
18
|
|
|
20
19
|
//# sourceMappingURL=provideSomeLayer.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provideSomeLayer.cjs","names":["tsplus_module_2","tsplus_module_1"],"sources":["../../../esm/IO/api/provideSomeLayer.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/Layer/api\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api/provideLayer\";\n/**\n * @tsplus static fncts.io.IOAspects provideSomeLayer\n * @tsplus pipeable fncts.io.IO provideSomeLayer\n */\nexport function provideSomeLayer(layer, __tsplusTrace) {\n return (self) => {\n // @ts-expect-error\n return tsplus_module_2.provideLayer(tsplus_module_1.and(layer, __tsplusTrace)(tsplus_module_1.environment(__tsplusTrace)), __tsplusTrace)(self);\n };\n}\n//# sourceMappingURL=provideSomeLayer.js.map"],"mappings":";;;;;;;;;;;AAMA,SAAgB,iBAAiB,OAAO,eAAe;
|
|
1
|
+
{"version":3,"file":"provideSomeLayer.cjs","names":["tsplus_module_2","tsplus_module_1"],"sources":["../../../esm/IO/api/provideSomeLayer.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/Layer/api\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api/provideLayer\";\n/**\n * @tsplus static fncts.io.IOAspects provideSomeLayer\n * @tsplus pipeable fncts.io.IO provideSomeLayer\n */\nexport function provideSomeLayer(layer, __tsplusTrace) {\n return (self) => {\n // @ts-expect-error\n return tsplus_module_2.provideLayer(tsplus_module_1.and(layer, __tsplusTrace)(tsplus_module_1.environment(__tsplusTrace)), __tsplusTrace)(self);\n };\n}\n//# sourceMappingURL=provideSomeLayer.js.map"],"mappings":";;;;;;;;;;;AAMA,SAAgB,iBAAiB,OAAO,eAAe;CACnD,QAAQ,SAAS;EAEb,OAAOA,8BAAgB,aAAaC,oBAAgB,IAAI,OAAO,aAAa,CAAC,CAACA,oBAAgB,YAAY,aAAa,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CAClJ;AACJ"}
|
|
@@ -1,19 +1,19 @@
|
|
|
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_io_IO_api_environment = require("@fncts/io/IO/api/environment");
|
|
6
|
-
_fncts_io_IO_api_environment =
|
|
6
|
+
_fncts_io_IO_api_environment = require_rolldown_runtime.__toESM(_fncts_io_IO_api_environment, 1);
|
|
7
7
|
let _fncts_io_RuntimeFlags_RuntimeFlags = require("@fncts/io/RuntimeFlags/RuntimeFlags");
|
|
8
|
-
_fncts_io_RuntimeFlags_RuntimeFlags =
|
|
8
|
+
_fncts_io_RuntimeFlags_RuntimeFlags = require_rolldown_runtime.__toESM(_fncts_io_RuntimeFlags_RuntimeFlags, 1);
|
|
9
9
|
let _fncts_io_FiberRefs_Patch = require("@fncts/io/FiberRefs/Patch");
|
|
10
|
-
_fncts_io_FiberRefs_Patch =
|
|
10
|
+
_fncts_io_FiberRefs_Patch = require_rolldown_runtime.__toESM(_fncts_io_FiberRefs_Patch, 1);
|
|
11
11
|
let _fncts_io_IO_api_patchFiberRefs = require("@fncts/io/IO/api/patchFiberRefs");
|
|
12
|
-
_fncts_io_IO_api_patchFiberRefs =
|
|
12
|
+
_fncts_io_IO_api_patchFiberRefs = require_rolldown_runtime.__toESM(_fncts_io_IO_api_patchFiberRefs, 1);
|
|
13
13
|
let _fncts_io_IO_api_bracket = require("@fncts/io/IO/api/bracket");
|
|
14
|
-
_fncts_io_IO_api_bracket =
|
|
14
|
+
_fncts_io_IO_api_bracket = require_rolldown_runtime.__toESM(_fncts_io_IO_api_bracket, 1);
|
|
15
15
|
let _fncts_io_IO = require("@fncts/io/IO");
|
|
16
|
-
|
|
16
|
+
// build/esm/IO/api/provideSomeRuntime.js
|
|
17
17
|
const fileName_1 = "(@fncts/io) src/IO/api/provideSomeRuntime.ts";
|
|
18
18
|
/**
|
|
19
19
|
* @tsplus pipeable fncts.io.IO provideSomeRuntime
|
|
@@ -27,7 +27,6 @@ function provideSomeRuntime(runtime) {
|
|
|
27
27
|
return _fncts_io_IO_api_bracket.bracket(() => _fncts_io_IO_api.zipRight(_fncts_io_IO_api_patchFiberRefs.patchFiberRefs(patchRefs), fileName_1 + ":17:42")(_fncts_io_IO_api.updateRuntimeFlags(patchFlags, fileName_1 + ":17:28")), () => _fncts_io_IO_api_environment.provideSomeEnvironment(runtime.environment, fileName_1 + ":18:40")(self), () => _fncts_io_IO_api.zipRight(_fncts_io_IO_api_patchFiberRefs.patchFiberRefs(inversePatchRefs), fileName_1 + ":19:55")(_fncts_io_IO_api.updateRuntimeFlags(inversePatchFlags, fileName_1 + ":19:34")), fileName_1 + ":16:22");
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
//#endregion
|
|
31
30
|
exports.provideSomeRuntime = provideSomeRuntime;
|
|
32
31
|
|
|
33
32
|
//# sourceMappingURL=provideSomeRuntime.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provideSomeRuntime.cjs","names":["tsplus_module_1","defaultRuntime","tsplus_module_2","tsplus_module_6","tsplus_module_3","tsplus_module_4","tsplus_module_5"],"sources":["../../../esm/IO/api/provideSomeRuntime.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/IO/api/provideSomeRuntime.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/RuntimeFlags/RuntimeFlags\";\nimport * as tsplus_module_2 from \"@fncts/io/FiberRefs/Patch\";\nimport * as tsplus_module_3 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api/patchFiberRefs\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api/environment\";\nimport * as tsplus_module_6 from \"@fncts/io/IO/api/bracket\";\nimport { defaultRuntime } from \"@fncts/io/IO\";\n/**\n * @tsplus pipeable fncts.io.IO provideSomeRuntime\n */\nexport function provideSomeRuntime(runtime) {\n return (self) => {\n const patchFlags = tsplus_module_1.diff(defaultRuntime.runtimeFlags, runtime.runtimeFlags);\n const inversePatchFlags = tsplus_module_1.diff(runtime.runtimeFlags, defaultRuntime.runtimeFlags);\n const patchRefs = tsplus_module_2.diff(defaultRuntime.fiberRefs, runtime.fiberRefs);\n const inversePatchRefs = tsplus_module_2.diff(runtime.fiberRefs, defaultRuntime.fiberRefs);\n return tsplus_module_6.bracket(() => tsplus_module_3.zipRight(tsplus_module_4.patchFiberRefs(patchRefs), fileName_1 + \":17:42\")(tsplus_module_3.updateRuntimeFlags(patchFlags, fileName_1 + \":17:28\")), () => tsplus_module_5.provideSomeEnvironment(runtime.environment, fileName_1 + \":18:40\")(self), () => tsplus_module_3.zipRight(tsplus_module_4.patchFiberRefs(inversePatchRefs), fileName_1 + \":19:55\")(tsplus_module_3.updateRuntimeFlags(inversePatchFlags, fileName_1 + \":19:34\")), fileName_1 + \":16:22\");\n };\n}\n//# sourceMappingURL=provideSomeRuntime.js.map"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,aAAa;;;;AAWnB,SAAgB,mBAAmB,SAAS;
|
|
1
|
+
{"version":3,"file":"provideSomeRuntime.cjs","names":["tsplus_module_1","defaultRuntime","tsplus_module_2","tsplus_module_6","tsplus_module_3","tsplus_module_4","tsplus_module_5"],"sources":["../../../esm/IO/api/provideSomeRuntime.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/IO/api/provideSomeRuntime.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/RuntimeFlags/RuntimeFlags\";\nimport * as tsplus_module_2 from \"@fncts/io/FiberRefs/Patch\";\nimport * as tsplus_module_3 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api/patchFiberRefs\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api/environment\";\nimport * as tsplus_module_6 from \"@fncts/io/IO/api/bracket\";\nimport { defaultRuntime } from \"@fncts/io/IO\";\n/**\n * @tsplus pipeable fncts.io.IO provideSomeRuntime\n */\nexport function provideSomeRuntime(runtime) {\n return (self) => {\n const patchFlags = tsplus_module_1.diff(defaultRuntime.runtimeFlags, runtime.runtimeFlags);\n const inversePatchFlags = tsplus_module_1.diff(runtime.runtimeFlags, defaultRuntime.runtimeFlags);\n const patchRefs = tsplus_module_2.diff(defaultRuntime.fiberRefs, runtime.fiberRefs);\n const inversePatchRefs = tsplus_module_2.diff(runtime.fiberRefs, defaultRuntime.fiberRefs);\n return tsplus_module_6.bracket(() => tsplus_module_3.zipRight(tsplus_module_4.patchFiberRefs(patchRefs), fileName_1 + \":17:42\")(tsplus_module_3.updateRuntimeFlags(patchFlags, fileName_1 + \":17:28\")), () => tsplus_module_5.provideSomeEnvironment(runtime.environment, fileName_1 + \":18:40\")(self), () => tsplus_module_3.zipRight(tsplus_module_4.patchFiberRefs(inversePatchRefs), fileName_1 + \":19:55\")(tsplus_module_3.updateRuntimeFlags(inversePatchFlags, fileName_1 + \":19:34\")), fileName_1 + \":16:22\");\n };\n}\n//# sourceMappingURL=provideSomeRuntime.js.map"],"mappings":";;;;;;;;;;;;;;;;AAAA,MAAM,aAAa;;;;AAWnB,SAAgB,mBAAmB,SAAS;CACxC,QAAQ,SAAS;EACb,MAAM,aAAaA,oCAAgB,KAAKC,aAAAA,eAAe,cAAc,QAAQ,YAAY;EACzF,MAAM,oBAAoBD,oCAAgB,KAAK,QAAQ,cAAcC,aAAAA,eAAe,YAAY;EAChG,MAAM,YAAYC,0BAAgB,KAAKD,aAAAA,eAAe,WAAW,QAAQ,SAAS;EAClF,MAAM,mBAAmBC,0BAAgB,KAAK,QAAQ,WAAWD,aAAAA,eAAe,SAAS;EACzF,OAAOE,yBAAgB,cAAcC,iBAAgB,SAASC,gCAAgB,eAAe,SAAS,GAAG,aAAa,QAAQ,CAAC,CAACD,iBAAgB,mBAAmB,YAAY,aAAa,QAAQ,CAAC,SAASE,6BAAgB,uBAAuB,QAAQ,aAAa,aAAa,QAAQ,CAAC,CAAC,IAAI,SAASF,iBAAgB,SAASC,gCAAgB,eAAe,gBAAgB,GAAG,aAAa,QAAQ,CAAC,CAACD,iBAAgB,mBAAmB,mBAAmB,aAAa,QAAQ,CAAC,GAAG,aAAa,QAAQ;CACxf;AACJ"}
|
package/_cjs/IO/api/race.cjs
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
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_data_Cause_api = require("@fncts/base/data/Cause/api");
|
|
8
|
-
_fncts_base_data_Cause_api =
|
|
8
|
+
_fncts_base_data_Cause_api = require_rolldown_runtime.__toESM(_fncts_base_data_Cause_api, 1);
|
|
9
9
|
let _fncts_base_data_Exit_api = require("@fncts/base/data/Exit/api");
|
|
10
|
-
_fncts_base_data_Exit_api =
|
|
10
|
+
_fncts_base_data_Exit_api = require_rolldown_runtime.__toESM(_fncts_base_data_Exit_api, 1);
|
|
11
11
|
let _fncts_io_Fiber_api_join = require("@fncts/io/Fiber/api/join");
|
|
12
|
-
_fncts_io_Fiber_api_join =
|
|
12
|
+
_fncts_io_Fiber_api_join = require_rolldown_runtime.__toESM(_fncts_io_Fiber_api_join, 1);
|
|
13
13
|
let _fncts_io_IO_api_disconnect = require("@fncts/io/IO/api/disconnect");
|
|
14
|
-
_fncts_io_IO_api_disconnect =
|
|
14
|
+
_fncts_io_IO_api_disconnect = require_rolldown_runtime.__toESM(_fncts_io_IO_api_disconnect, 1);
|
|
15
15
|
let _fncts_io_Fiber_api_interruptAs = require("@fncts/io/Fiber/api/interruptAs");
|
|
16
|
-
_fncts_io_Fiber_api_interruptAs =
|
|
16
|
+
_fncts_io_Fiber_api_interruptAs = require_rolldown_runtime.__toESM(_fncts_io_Fiber_api_interruptAs, 1);
|
|
17
17
|
let _fncts_io_IO_api_raceWith = require("@fncts/io/IO/api/raceWith");
|
|
18
|
-
_fncts_io_IO_api_raceWith =
|
|
19
|
-
|
|
18
|
+
_fncts_io_IO_api_raceWith = require_rolldown_runtime.__toESM(_fncts_io_IO_api_raceWith, 1);
|
|
19
|
+
// build/esm/IO/api/race.js
|
|
20
20
|
const fileName_1 = "(@fncts/io) src/IO/api/race.ts";
|
|
21
21
|
const raceAwait = raceAwait_1;
|
|
22
22
|
/**
|
|
@@ -47,7 +47,6 @@ function raceAwait_1(that) {
|
|
|
47
47
|
return _fncts_io_IO_api.fiberIdWith((id) => _fncts_io_IO_api_raceWith.raceWith(() => that, (exit, right) => _fncts_base_data_Exit_api.match((cause) => _fncts_io_IO_api.mapErrorCause((c) => _fncts_base_data_Cause_api.parallel(cause, c), fileName_1 + ":33:48")(_fncts_io_Fiber_api_join.join(right, fileName_1 + ":33:29")), (a) => _fncts_io_IO_api.as(() => a, fileName_1 + ":34:44")(_fncts_io_Fiber_api_interruptAs.interruptAs(right, id, fileName_1 + ":34:37")))(exit), (exit, left) => _fncts_base_data_Exit_api.match((cause) => _fncts_io_IO_api.mapErrorCause((c) => _fncts_base_data_Cause_api.parallel(cause, c), fileName_1 + ":38:47")(_fncts_io_Fiber_api_join.join(left, fileName_1 + ":38:28")), (a1) => _fncts_io_IO_api.as(() => a1, fileName_1 + ":39:44")(_fncts_io_Fiber_api_interruptAs.interruptAs(left, id, fileName_1 + ":39:37")))(exit), fileName_1 + ":29:20")(self));
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
|
-
//#endregion
|
|
51
50
|
exports.race = race;
|
|
52
51
|
exports.raceAwait = raceAwait;
|
|
53
52
|
|
package/_cjs/IO/api/race.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"race.cjs","names":["tsplus_module_1","tsplus_module_2","tsplus_module_3","tsplus_module_8","tsplus_module_7","tsplus_module_4","tsplus_module_5","tsplus_module_6"],"sources":["../../../esm/IO/api/race.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/IO/api/race.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api/disconnect\";\nimport * as tsplus_module_3 from \"@fncts/io/IO/api/interrupt\";\nimport * as tsplus_module_4 from \"@fncts/base/data/Cause/api\";\nimport * as tsplus_module_5 from \"@fncts/io/Fiber/api/join\";\nimport * as tsplus_module_6 from \"@fncts/io/Fiber/api/interruptAs\";\nimport * as tsplus_module_7 from \"@fncts/base/data/Exit/api\";\nimport * as tsplus_module_8 from \"@fncts/io/IO/api/raceWith\";\nexport const raceAwait = raceAwait_1;\n/**\n * Returns an IO that races this effect with the specified effect,\n * returning the first successful `A` from the faster side. If one effect\n * succeeds, the other will be interrupted. If neither succeeds, then the\n * effect will fail with some error.\n *\n * WARNING: The raced effect will safely interrupt the \"loser\", but will not\n * resume until the loser has been cleanly terminated.\n *\n * @tsplus pipeable fncts.io.IO race\n */\nexport function race(that) {\n return (self) => {\n return tsplus_module_1.checkInterruptible((status) => raceAwait_1(disconnect(that, status, fileName_1 + \":14:91\"))(disconnect(self, status, fileName_1 + \":14:56\")), fileName_1 + \":14:33\");\n };\n}\nfunction disconnect(io, interruptStatus, __tsplusTrace) {\n if (interruptStatus.isInterruptible)\n return tsplus_module_2.disconnect(io, __tsplusTrace);\n else\n return tsplus_module_3.interruptible(tsplus_module_2.disconnect(tsplus_module_3.uninterruptible(io, __tsplusTrace), __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus pipeable fncts.io.IO raceAwait\n */\nfunction raceAwait_1(that) {\n return (self) => {\n return tsplus_module_1.fiberIdWith((id) => tsplus_module_8.raceWith(() => that, (exit, right) => tsplus_module_7.match((cause) => tsplus_module_1.mapErrorCause((c) => tsplus_module_4.parallel(cause, c), fileName_1 + \":33:48\")(tsplus_module_5.join(right, fileName_1 + \":33:29\")), (a) => tsplus_module_1.as(() => a, fileName_1 + \":34:44\")(tsplus_module_6.interruptAs(right, id, fileName_1 + \":34:37\")))(exit), (exit, left) => tsplus_module_7.match((cause) => tsplus_module_1.mapErrorCause((c) => tsplus_module_4.parallel(cause, c), fileName_1 + \":38:47\")(tsplus_module_5.join(left, fileName_1 + \":38:28\")), (a1) => tsplus_module_1.as(() => a1, fileName_1 + \":39:44\")(tsplus_module_6.interruptAs(left, id, fileName_1 + \":39:37\")))(exit), fileName_1 + \":29:20\")(self));\n };\n}\n//# sourceMappingURL=race.js.map"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,MAAM,aAAa;AASnB,MAAa,YAAY;;;;;;;;;;;;AAYzB,SAAgB,KAAK,MAAM;
|
|
1
|
+
{"version":3,"file":"race.cjs","names":["tsplus_module_1","tsplus_module_2","tsplus_module_3","tsplus_module_8","tsplus_module_7","tsplus_module_4","tsplus_module_5","tsplus_module_6"],"sources":["../../../esm/IO/api/race.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/IO/api/race.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api/disconnect\";\nimport * as tsplus_module_3 from \"@fncts/io/IO/api/interrupt\";\nimport * as tsplus_module_4 from \"@fncts/base/data/Cause/api\";\nimport * as tsplus_module_5 from \"@fncts/io/Fiber/api/join\";\nimport * as tsplus_module_6 from \"@fncts/io/Fiber/api/interruptAs\";\nimport * as tsplus_module_7 from \"@fncts/base/data/Exit/api\";\nimport * as tsplus_module_8 from \"@fncts/io/IO/api/raceWith\";\nexport const raceAwait = raceAwait_1;\n/**\n * Returns an IO that races this effect with the specified effect,\n * returning the first successful `A` from the faster side. If one effect\n * succeeds, the other will be interrupted. If neither succeeds, then the\n * effect will fail with some error.\n *\n * WARNING: The raced effect will safely interrupt the \"loser\", but will not\n * resume until the loser has been cleanly terminated.\n *\n * @tsplus pipeable fncts.io.IO race\n */\nexport function race(that) {\n return (self) => {\n return tsplus_module_1.checkInterruptible((status) => raceAwait_1(disconnect(that, status, fileName_1 + \":14:91\"))(disconnect(self, status, fileName_1 + \":14:56\")), fileName_1 + \":14:33\");\n };\n}\nfunction disconnect(io, interruptStatus, __tsplusTrace) {\n if (interruptStatus.isInterruptible)\n return tsplus_module_2.disconnect(io, __tsplusTrace);\n else\n return tsplus_module_3.interruptible(tsplus_module_2.disconnect(tsplus_module_3.uninterruptible(io, __tsplusTrace), __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus pipeable fncts.io.IO raceAwait\n */\nfunction raceAwait_1(that) {\n return (self) => {\n return tsplus_module_1.fiberIdWith((id) => tsplus_module_8.raceWith(() => that, (exit, right) => tsplus_module_7.match((cause) => tsplus_module_1.mapErrorCause((c) => tsplus_module_4.parallel(cause, c), fileName_1 + \":33:48\")(tsplus_module_5.join(right, fileName_1 + \":33:29\")), (a) => tsplus_module_1.as(() => a, fileName_1 + \":34:44\")(tsplus_module_6.interruptAs(right, id, fileName_1 + \":34:37\")))(exit), (exit, left) => tsplus_module_7.match((cause) => tsplus_module_1.mapErrorCause((c) => tsplus_module_4.parallel(cause, c), fileName_1 + \":38:47\")(tsplus_module_5.join(left, fileName_1 + \":38:28\")), (a1) => tsplus_module_1.as(() => a1, fileName_1 + \":39:44\")(tsplus_module_6.interruptAs(left, id, fileName_1 + \":39:37\")))(exit), fileName_1 + \":29:20\")(self));\n };\n}\n//# sourceMappingURL=race.js.map"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,MAAM,aAAa;AASnB,MAAa,YAAY;;;;;;;;;;;;AAYzB,SAAgB,KAAK,MAAM;CACvB,QAAQ,SAAS;EACb,OAAOA,iBAAgB,oBAAoB,WAAW,YAAY,WAAW,MAAM,QAAQ,aAAa,QAAQ,CAAC,CAAC,CAAC,WAAW,MAAM,QAAQ,aAAa,QAAQ,CAAC,GAAG,aAAa,QAAQ;CAC9L;AACJ;AACA,SAAS,WAAW,IAAI,iBAAiB,eAAe;CACpD,IAAI,gBAAgB,iBAChB,OAAOC,4BAAgB,WAAW,IAAI,aAAa;MAEnD,OAAOC,2BAAgB,cAAcD,4BAAgB,WAAWC,2BAAgB,gBAAgB,IAAI,aAAa,GAAG,aAAa,GAAG,aAAa;AACzJ;;;;AAIA,SAAS,YAAY,MAAM;CACvB,QAAQ,SAAS;EACb,OAAOF,iBAAgB,aAAa,OAAOG,0BAAgB,eAAe,OAAO,MAAM,UAAUC,0BAAgB,OAAO,UAAUJ,iBAAgB,eAAe,MAAMK,2BAAgB,SAAS,OAAO,CAAC,GAAG,aAAa,QAAQ,CAAC,CAACC,yBAAgB,KAAK,OAAO,aAAa,QAAQ,CAAC,IAAI,MAAMN,iBAAgB,SAAS,GAAG,aAAa,QAAQ,CAAC,CAACO,gCAAgB,YAAY,OAAO,IAAI,aAAa,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,MAAM,SAASH,0BAAgB,OAAO,UAAUJ,iBAAgB,eAAe,MAAMK,2BAAgB,SAAS,OAAO,CAAC,GAAG,aAAa,QAAQ,CAAC,CAACC,yBAAgB,KAAK,MAAM,aAAa,QAAQ,CAAC,IAAI,OAAON,iBAAgB,SAAS,IAAI,aAAa,QAAQ,CAAC,CAACO,gCAAgB,YAAY,MAAM,IAAI,aAAa,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,GAAG,aAAa,QAAQ,CAAC,CAAC,IAAI,CAAC;CAC/vB;AACJ"}
|
|
@@ -1,10 +1,10 @@
|
|
|
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_io_IO_api_race = require("@fncts/io/IO/api/race");
|
|
6
|
-
_fncts_io_IO_api_race =
|
|
7
|
-
|
|
6
|
+
_fncts_io_IO_api_race = require_rolldown_runtime.__toESM(_fncts_io_IO_api_race, 1);
|
|
7
|
+
// build/esm/IO/api/raceFirst.js
|
|
8
8
|
/**
|
|
9
9
|
* Returns an IO that races this effect with the specified effect,
|
|
10
10
|
* yielding the first result to complete, whether by success or failure. If
|
|
@@ -24,7 +24,6 @@ function raceFirst(that, __tsplusTrace) {
|
|
|
24
24
|
return _fncts_io_IO_api.flatMap((exit) => _fncts_io_IO_api.fromExitNow(exit, __tsplusTrace), __tsplusTrace)(_fncts_io_IO_api_race.race(_fncts_io_IO_api.result(that, __tsplusTrace))(_fncts_io_IO_api.result(ma, __tsplusTrace)));
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
//#endregion
|
|
28
27
|
exports.raceFirst = raceFirst;
|
|
29
28
|
|
|
30
29
|
//# sourceMappingURL=raceFirst.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raceFirst.cjs","names":["tsplus_module_1","tsplus_module_2"],"sources":["../../../esm/IO/api/raceFirst.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api/race\";\n/**\n * Returns an IO that races this effect with the specified effect,\n * yielding the first result to complete, whether by success or failure. If\n * neither effect completes, then the composed effect will not complete.\n *\n * WARNING: The raced effect will safely interrupt the \"loser\", but will not\n * resume until the loser has been cleanly terminated. If early return is\n * desired, then instead of performing `l.raceFirst(r)`, perform\n * `l.disconnect raceFirst r.disconnect`, which disconnects left and right\n * interrupt signal, allowing a fast return, with interruption performed\n * in the background.\n *\n * @tsplus pipeable fncts.io.IO raceFirst\n */\nexport function raceFirst(that, __tsplusTrace) {\n return (ma) => {\n return tsplus_module_1.flatMap((exit) => tsplus_module_1.fromExitNow(exit, __tsplusTrace), __tsplusTrace)(tsplus_module_2.race(tsplus_module_1.result(that, __tsplusTrace))(tsplus_module_1.result(ma, __tsplusTrace)));\n };\n}\n//# sourceMappingURL=raceFirst.js.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAgBA,SAAgB,UAAU,MAAM,eAAe;
|
|
1
|
+
{"version":3,"file":"raceFirst.cjs","names":["tsplus_module_1","tsplus_module_2"],"sources":["../../../esm/IO/api/raceFirst.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api/race\";\n/**\n * Returns an IO that races this effect with the specified effect,\n * yielding the first result to complete, whether by success or failure. If\n * neither effect completes, then the composed effect will not complete.\n *\n * WARNING: The raced effect will safely interrupt the \"loser\", but will not\n * resume until the loser has been cleanly terminated. If early return is\n * desired, then instead of performing `l.raceFirst(r)`, perform\n * `l.disconnect raceFirst r.disconnect`, which disconnects left and right\n * interrupt signal, allowing a fast return, with interruption performed\n * in the background.\n *\n * @tsplus pipeable fncts.io.IO raceFirst\n */\nexport function raceFirst(that, __tsplusTrace) {\n return (ma) => {\n return tsplus_module_1.flatMap((exit) => tsplus_module_1.fromExitNow(exit, __tsplusTrace), __tsplusTrace)(tsplus_module_2.race(tsplus_module_1.result(that, __tsplusTrace))(tsplus_module_1.result(ma, __tsplusTrace)));\n };\n}\n//# sourceMappingURL=raceFirst.js.map"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAgBA,SAAgB,UAAU,MAAM,eAAe;CAC3C,QAAQ,OAAO;EACX,OAAOA,iBAAgB,SAAS,SAASA,iBAAgB,YAAY,MAAM,aAAa,GAAG,aAAa,CAAC,CAACC,sBAAgB,KAAKD,iBAAgB,OAAO,MAAM,aAAa,CAAC,CAAC,CAACA,iBAAgB,OAAO,IAAI,aAAa,CAAC,CAAC;CAC1N;AACJ"}
|
package/_cjs/IO/api/raceWith.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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_FiberId_api = require("@fncts/base/data/FiberId/api");
|
|
6
|
-
_fncts_base_data_FiberId_api =
|
|
6
|
+
_fncts_base_data_FiberId_api = require_rolldown_runtime.__toESM(_fncts_base_data_FiberId_api, 1);
|
|
7
7
|
let _fncts_io_IO_api_fork = require("@fncts/io/IO/api/fork");
|
|
8
|
-
_fncts_io_IO_api_fork =
|
|
8
|
+
_fncts_io_IO_api_fork = require_rolldown_runtime.__toESM(_fncts_io_IO_api_fork, 1);
|
|
9
9
|
let _fncts_base_internal_AtomicBoolean = require("@fncts/base/internal/AtomicBoolean");
|
|
10
|
-
|
|
10
|
+
// build/esm/IO/api/raceWith.js
|
|
11
11
|
const raceFibersWith = raceFibersWith_1;
|
|
12
12
|
/**
|
|
13
13
|
* @tsplus pipeable fncts.io.IO raceFibersWith
|
|
@@ -53,7 +53,6 @@ function raceWith(right, leftWins, rightWins, __tsplusTrace) {
|
|
|
53
53
|
}, __tsplusTrace)(winner.await))(left);
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
//#endregion
|
|
57
56
|
exports.raceFibersWith = raceFibersWith;
|
|
58
57
|
exports.raceWith = raceWith;
|
|
59
58
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"raceWith.cjs","names":["tsplus_module_3","AtomicBoolean","tsplus_module_1","tsplus_module_2"],"sources":["../../../esm/IO/api/raceWith.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/IO/api/fork\";\nimport * as tsplus_module_2 from \"@fncts/base/data/FiberId/api\";\nimport * as tsplus_module_3 from \"@fncts/io/IO/api\";\nexport const raceFibersWith = raceFibersWith_1;\nimport { AtomicBoolean } from \"@fncts/base/internal/AtomicBoolean\";\n/**\n * @tsplus pipeable fncts.io.IO raceFibersWith\n */\nfunction raceFibersWith_1(right, leftWins, rightWins, leftScope = null, rightScope = null, __tsplusTrace) {\n return (left) => {\n return tsplus_module_3.withFiberRuntime((parentState, parentStatus) => {\n const right0 = right();\n const parentRuntimeFlags = parentStatus.runtimeFlags;\n function complete(winner, loser, cont, ab, cb) {\n if (ab.compareAndSet(true, false)) {\n cb(cont(winner, loser));\n }\n }\n const raceIndicator = new AtomicBoolean(true);\n const leftFiber = tsplus_module_1.unsafeMakeChildFiber(left, parentState, parentRuntimeFlags, leftScope, __tsplusTrace);\n const rightFiber = tsplus_module_1.unsafeMakeChildFiber(right0, parentState, parentRuntimeFlags, rightScope, __tsplusTrace);\n return tsplus_module_3.async((cb) => {\n leftFiber.addObserver(() => complete(leftFiber, rightFiber, leftWins, raceIndicator, cb));\n rightFiber.addObserver(() => complete(rightFiber, leftFiber, rightWins, raceIndicator, cb));\n leftFiber.startFork(left);\n rightFiber.startFork(right0);\n }, tsplus_module_2.combine(rightFiber.fiberId)(leftFiber.fiberId), __tsplusTrace);\n }, __tsplusTrace);\n };\n}\n/**\n * Returns an effect that races this effect with the specified effect, calling\n * the specified finisher as soon as one result or the other has been computed.\n *\n * @tsplus pipeable fncts.io.IO raceWith\n */\nexport function raceWith(right, leftWins, rightWins, __tsplusTrace) {\n return (left) => {\n return raceFibersWith_1(right, (winner, loser) => tsplus_module_3.flatMap((exit) => {\n switch (exit._tag) {\n case \"Success\" /* ExitTag.Success */:\n return tsplus_module_3.flatMap(() => leftWins(exit, loser), __tsplusTrace)(winner.inheritAll);\n case \"Failure\" /* ExitTag.Failure */:\n return leftWins(exit, loser);\n }\n }, __tsplusTrace)(winner.await), (winner, loser) => tsplus_module_3.flatMap((exit) => {\n switch (exit._tag) {\n case \"Success\" /* ExitTag.Success */:\n return tsplus_module_3.flatMap(() => rightWins(exit, loser), __tsplusTrace)(winner.inheritAll);\n case \"Failure\" /* ExitTag.Failure */:\n return rightWins(exit, loser);\n }\n }, __tsplusTrace)(winner.await))(left);\n };\n}\n//# sourceMappingURL=raceWith.js.map"],"mappings":";;;;;;;;;;AAGA,MAAa,iBAAiB;;;;AAK9B,SAAS,iBAAiB,OAAO,UAAU,WAAW,YAAY,MAAM,aAAa,MAAM,eAAe;
|
|
1
|
+
{"version":3,"file":"raceWith.cjs","names":["tsplus_module_3","AtomicBoolean","tsplus_module_1","tsplus_module_2"],"sources":["../../../esm/IO/api/raceWith.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/IO/api/fork\";\nimport * as tsplus_module_2 from \"@fncts/base/data/FiberId/api\";\nimport * as tsplus_module_3 from \"@fncts/io/IO/api\";\nexport const raceFibersWith = raceFibersWith_1;\nimport { AtomicBoolean } from \"@fncts/base/internal/AtomicBoolean\";\n/**\n * @tsplus pipeable fncts.io.IO raceFibersWith\n */\nfunction raceFibersWith_1(right, leftWins, rightWins, leftScope = null, rightScope = null, __tsplusTrace) {\n return (left) => {\n return tsplus_module_3.withFiberRuntime((parentState, parentStatus) => {\n const right0 = right();\n const parentRuntimeFlags = parentStatus.runtimeFlags;\n function complete(winner, loser, cont, ab, cb) {\n if (ab.compareAndSet(true, false)) {\n cb(cont(winner, loser));\n }\n }\n const raceIndicator = new AtomicBoolean(true);\n const leftFiber = tsplus_module_1.unsafeMakeChildFiber(left, parentState, parentRuntimeFlags, leftScope, __tsplusTrace);\n const rightFiber = tsplus_module_1.unsafeMakeChildFiber(right0, parentState, parentRuntimeFlags, rightScope, __tsplusTrace);\n return tsplus_module_3.async((cb) => {\n leftFiber.addObserver(() => complete(leftFiber, rightFiber, leftWins, raceIndicator, cb));\n rightFiber.addObserver(() => complete(rightFiber, leftFiber, rightWins, raceIndicator, cb));\n leftFiber.startFork(left);\n rightFiber.startFork(right0);\n }, tsplus_module_2.combine(rightFiber.fiberId)(leftFiber.fiberId), __tsplusTrace);\n }, __tsplusTrace);\n };\n}\n/**\n * Returns an effect that races this effect with the specified effect, calling\n * the specified finisher as soon as one result or the other has been computed.\n *\n * @tsplus pipeable fncts.io.IO raceWith\n */\nexport function raceWith(right, leftWins, rightWins, __tsplusTrace) {\n return (left) => {\n return raceFibersWith_1(right, (winner, loser) => tsplus_module_3.flatMap((exit) => {\n switch (exit._tag) {\n case \"Success\" /* ExitTag.Success */:\n return tsplus_module_3.flatMap(() => leftWins(exit, loser), __tsplusTrace)(winner.inheritAll);\n case \"Failure\" /* ExitTag.Failure */:\n return leftWins(exit, loser);\n }\n }, __tsplusTrace)(winner.await), (winner, loser) => tsplus_module_3.flatMap((exit) => {\n switch (exit._tag) {\n case \"Success\" /* ExitTag.Success */:\n return tsplus_module_3.flatMap(() => rightWins(exit, loser), __tsplusTrace)(winner.inheritAll);\n case \"Failure\" /* ExitTag.Failure */:\n return rightWins(exit, loser);\n }\n }, __tsplusTrace)(winner.await))(left);\n };\n}\n//# sourceMappingURL=raceWith.js.map"],"mappings":";;;;;;;;;;AAGA,MAAa,iBAAiB;;;;AAK9B,SAAS,iBAAiB,OAAO,UAAU,WAAW,YAAY,MAAM,aAAa,MAAM,eAAe;CACtG,QAAQ,SAAS;EACb,OAAOA,iBAAgB,kBAAkB,aAAa,iBAAiB;GACnE,MAAM,SAAS,MAAM;GACrB,MAAM,qBAAqB,aAAa;GACxC,SAAS,SAAS,QAAQ,OAAO,MAAM,IAAI,IAAI;IAC3C,IAAI,GAAG,cAAc,MAAM,KAAK,GAC5B,GAAG,KAAK,QAAQ,KAAK,CAAC;GAE9B;GACA,MAAM,gBAAgB,IAAIC,mCAAAA,cAAc,IAAI;GAC5C,MAAM,YAAYC,sBAAgB,qBAAqB,MAAM,aAAa,oBAAoB,WAAW,aAAa;GACtH,MAAM,aAAaA,sBAAgB,qBAAqB,QAAQ,aAAa,oBAAoB,YAAY,aAAa;GAC1H,OAAOF,iBAAgB,OAAO,OAAO;IACjC,UAAU,kBAAkB,SAAS,WAAW,YAAY,UAAU,eAAe,EAAE,CAAC;IACxF,WAAW,kBAAkB,SAAS,YAAY,WAAW,WAAW,eAAe,EAAE,CAAC;IAC1F,UAAU,UAAU,IAAI;IACxB,WAAW,UAAU,MAAM;GAC/B,GAAGG,6BAAgB,QAAQ,WAAW,OAAO,CAAC,CAAC,UAAU,OAAO,GAAG,aAAa;EACpF,GAAG,aAAa;CACpB;AACJ;;;;;;;AAOA,SAAgB,SAAS,OAAO,UAAU,WAAW,eAAe;CAChE,QAAQ,SAAS;EACb,OAAO,iBAAiB,QAAQ,QAAQ,UAAUH,iBAAgB,SAAS,SAAS;GAChF,QAAQ,KAAK,MAAb;IACI,KAAK,WACD,OAAOA,iBAAgB,cAAc,SAAS,MAAM,KAAK,GAAG,aAAa,CAAC,CAAC,OAAO,UAAU;IAChG,KAAK,WACD,OAAO,SAAS,MAAM,KAAK;GACnC;EACJ,GAAG,aAAa,CAAC,CAAC,OAAO,KAAK,IAAI,QAAQ,UAAUA,iBAAgB,SAAS,SAAS;GAClF,QAAQ,KAAK,MAAb;IACI,KAAK,WACD,OAAOA,iBAAgB,cAAc,UAAU,MAAM,KAAK,GAAG,aAAa,CAAC,CAAC,OAAO,UAAU;IACjG,KAAK,WACD,OAAO,UAAU,MAAM,KAAK;GACpC;EACJ,GAAG,aAAa,CAAC,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,IAAI;CACzC;AACJ"}
|
|
@@ -1,17 +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_Environment_api = require("@fncts/base/data/Environment/api");
|
|
6
|
-
_fncts_base_data_Environment_api =
|
|
6
|
+
_fncts_base_data_Environment_api = require_rolldown_runtime.__toESM(_fncts_base_data_Environment_api, 1);
|
|
7
7
|
let _fncts_io_FiberRef_operations = require("@fncts/io/FiberRef/operations");
|
|
8
|
-
_fncts_io_FiberRef_operations =
|
|
8
|
+
_fncts_io_FiberRef_operations = require_rolldown_runtime.__toESM(_fncts_io_FiberRef_operations, 1);
|
|
9
9
|
let _fncts_io_IOEnv_services = require("@fncts/io/IOEnv/services");
|
|
10
|
-
_fncts_io_IOEnv_services =
|
|
10
|
+
_fncts_io_IOEnv_services = require_rolldown_runtime.__toESM(_fncts_io_IOEnv_services, 1);
|
|
11
11
|
let _fncts_io_Random_definition = require("@fncts/io/Random/definition");
|
|
12
|
-
_fncts_io_Random_definition =
|
|
13
|
-
|
|
14
|
-
const fileName_1 = "(@fncts/io) src/IO/api/randomWith.ts";
|
|
12
|
+
_fncts_io_Random_definition = require_rolldown_runtime.__toESM(_fncts_io_Random_definition, 1);
|
|
13
|
+
// build/esm/IO/api/randomWith.js
|
|
15
14
|
const randomWith = randomWith_1;
|
|
16
15
|
/**
|
|
17
16
|
* @tsplus static fncts.io.IOOps randomWith
|
|
@@ -22,8 +21,7 @@ function randomWith_1(f, __tsplusTrace) {
|
|
|
22
21
|
/**
|
|
23
22
|
* @tsplus static fncts.io.IOOps random
|
|
24
23
|
*/
|
|
25
|
-
const random = randomWith_1(_fncts_io_IO_api.succeedNow,
|
|
26
|
-
//#endregion
|
|
24
|
+
const random = randomWith_1(_fncts_io_IO_api.succeedNow, "(@fncts/io) src/IO/api/randomWith.ts:11:36");
|
|
27
25
|
exports.random = random;
|
|
28
26
|
exports.randomWith = randomWith;
|
|
29
27
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"randomWith.cjs","names":["tsplus_module_4","tsplus_module_2","tsplus_module_1","tsplus_module_3","tsplus_module_5"],"sources":["../../../esm/IO/api/randomWith.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/IO/api/randomWith.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/Random/definition\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Environment/api\";\nimport * as tsplus_module_3 from \"@fncts/io/IOEnv/services\";\nimport * as tsplus_module_4 from \"@fncts/io/FiberRef/operations\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api\";\nexport const randomWith = randomWith_1;\n/**\n * @tsplus static fncts.io.IOOps randomWith\n */\nfunction randomWith_1(f, __tsplusTrace) {\n return tsplus_module_4.getWith((services) => f(tsplus_module_2.get(tsplus_module_1.RandomTag)(services)), __tsplusTrace)(tsplus_module_3.services);\n}\n/**\n * @tsplus static fncts.io.IOOps random\n */\nexport const random = randomWith_1(tsplus_module_5.succeedNow, fileName_1 + \":11:36\");\n//# sourceMappingURL=randomWith.js.map"],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"randomWith.cjs","names":["tsplus_module_4","tsplus_module_2","tsplus_module_1","tsplus_module_3","tsplus_module_5"],"sources":["../../../esm/IO/api/randomWith.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/IO/api/randomWith.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/Random/definition\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Environment/api\";\nimport * as tsplus_module_3 from \"@fncts/io/IOEnv/services\";\nimport * as tsplus_module_4 from \"@fncts/io/FiberRef/operations\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api\";\nexport const randomWith = randomWith_1;\n/**\n * @tsplus static fncts.io.IOOps randomWith\n */\nfunction randomWith_1(f, __tsplusTrace) {\n return tsplus_module_4.getWith((services) => f(tsplus_module_2.get(tsplus_module_1.RandomTag)(services)), __tsplusTrace)(tsplus_module_3.services);\n}\n/**\n * @tsplus static fncts.io.IOOps random\n */\nexport const random = randomWith_1(tsplus_module_5.succeedNow, fileName_1 + \":11:36\");\n//# sourceMappingURL=randomWith.js.map"],"mappings":";;;;;;;;;;;;;AAMA,MAAa,aAAa;;;;AAI1B,SAAS,aAAa,GAAG,eAAe;CACpC,OAAOA,8BAAgB,SAAS,aAAa,EAAEC,iCAAgB,IAAIC,4BAAgB,SAAS,CAAC,CAAC,QAAQ,CAAC,GAAG,aAAa,CAAC,CAACC,yBAAgB,QAAQ;AACrJ;;;;AAIA,MAAa,SAAS,aAAaC,iBAAgB,YAAY,4CAAqB"}
|