@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":"DerivedAll.mjs","names":[],"sources":["../../esm/Ref/DerivedAll.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/DerivedAll.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/destructors\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Either/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api\";\nimport { tuple } from \"@fncts/base/data/function\";\nimport { RefInternal } from \"./definition.js\";\nexport const DerivedAllTypeId = Symbol.for(\"fncts.io.Ref.DerivedAll\");\nexport class DerivedAll extends RefInternal {\n use;\n [DerivedAllTypeId] = DerivedAllTypeId;\n constructor(use) {\n super();\n this.use = use;\n this.match = this.match.bind(this);\n this.matchAll = this.matchAll.bind(this);\n this.set = this.set.bind(this);\n }\n match(ea, eb, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":37:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":38:88\"), tsplus_module_1.right)(setEither(a)(s)))(ca(c)))));\n }\n matchAll(ea, eb, ec, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":56:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":60:73\"), tsplus_module_1.right)(setEither(a)(s)))(tsplus_module_2.match((e) => tsplus_module_1.left(ec(e), fileName_1 + \":59:42\"), ca(c))(getEither(s))))));\n }\n get get() {\n return this.use((value, getEither) => tsplus_module_4.flatMap((s) => tsplus_module_2.match(tsplus_module_4.failNow, tsplus_module_4.succeedNow)(getEither(s)), fileName_1 + \":67:60\")(value.get));\n }\n set(a) {\n return this.use((value, _, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => [tsplus_module_1.left(e, fileName_1 + \":75:32\"), s], (s) => [tsplus_module_1.right(undefined, fileName_1 + \":76:33\"), s])(setEither(a)(s)), fileName_1 + \":73:21\"), fileName_1 + \":78:10\"));\n }\n modify(f, __tsplusTrace) {\n return this.use((value, getEither, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":87:37\"), s), (a1) => {\n const [b, a2] = f(a1);\n return tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":91:41\"), s), (s) => tuple(tsplus_module_1.right(b, fileName_1 + \":92:42\"), s))(setEither(a2)(s));\n })(getEither(s)), fileName_1 + \":85:21\"), fileName_1 + \":96:10\"));\n }\n}\n//# sourceMappingURL=DerivedAll.js.map"],"mappings":";;;;;;;AAAA,MAAM,aAAa;AAOnB,MAAa,mBAAmB,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"DerivedAll.mjs","names":[],"sources":["../../esm/Ref/DerivedAll.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/DerivedAll.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/destructors\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Either/api\";\nimport * as tsplus_module_4 from \"@fncts/io/IO/api\";\nimport { tuple } from \"@fncts/base/data/function\";\nimport { RefInternal } from \"./definition.js\";\nexport const DerivedAllTypeId = Symbol.for(\"fncts.io.Ref.DerivedAll\");\nexport class DerivedAll extends RefInternal {\n use;\n [DerivedAllTypeId] = DerivedAllTypeId;\n constructor(use) {\n super();\n this.use = use;\n this.match = this.match.bind(this);\n this.matchAll = this.matchAll.bind(this);\n this.set = this.set.bind(this);\n }\n match(ea, eb, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":37:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":38:88\"), tsplus_module_1.right)(setEither(a)(s)))(ca(c)))));\n }\n matchAll(ea, eb, ec, ca, bd) {\n return this.use((value, getEither, setEither) => new DerivedAll((f) => f(value, (s) => tsplus_module_2.match((e) => tsplus_module_1.left(eb(e), fileName_1 + \":56:57\"), bd)(getEither(s)), (c) => (s) => tsplus_module_3.flatMap((a) => tsplus_module_2.match((e) => tsplus_module_1.left(ea(e), fileName_1 + \":60:73\"), tsplus_module_1.right)(setEither(a)(s)))(tsplus_module_2.match((e) => tsplus_module_1.left(ec(e), fileName_1 + \":59:42\"), ca(c))(getEither(s))))));\n }\n get get() {\n return this.use((value, getEither) => tsplus_module_4.flatMap((s) => tsplus_module_2.match(tsplus_module_4.failNow, tsplus_module_4.succeedNow)(getEither(s)), fileName_1 + \":67:60\")(value.get));\n }\n set(a) {\n return this.use((value, _, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => [tsplus_module_1.left(e, fileName_1 + \":75:32\"), s], (s) => [tsplus_module_1.right(undefined, fileName_1 + \":76:33\"), s])(setEither(a)(s)), fileName_1 + \":73:21\"), fileName_1 + \":78:10\"));\n }\n modify(f, __tsplusTrace) {\n return this.use((value, getEither, setEither) => tsplus_module_4.absolve(value.modify((s) => tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":87:37\"), s), (a1) => {\n const [b, a2] = f(a1);\n return tsplus_module_2.match((e) => tuple(tsplus_module_1.left(e, fileName_1 + \":91:41\"), s), (s) => tuple(tsplus_module_1.right(b, fileName_1 + \":92:42\"), s))(setEither(a2)(s));\n })(getEither(s)), fileName_1 + \":85:21\"), fileName_1 + \":96:10\"));\n }\n}\n//# sourceMappingURL=DerivedAll.js.map"],"mappings":";;;;;;;AAAA,MAAM,aAAa;AAOnB,MAAa,mBAAmB,OAAO,IAAI,yBAAyB;AACpE,IAAa,aAAb,MAAa,mBAAmB,YAAY;CACxC;CACA,CAAC,oBAAoB;CACrB,YAAY,KAAK;EACb,MAAM;EACN,KAAK,MAAM;EACX,KAAK,QAAQ,KAAK,MAAM,KAAK,IAAI;EACjC,KAAK,WAAW,KAAK,SAAS,KAAK,IAAI;EACvC,KAAK,MAAM,KAAK,IAAI,KAAK,IAAI;CACjC;CACA,MAAM,IAAI,IAAI,IAAI,IAAI;EAClB,OAAO,KAAK,KAAK,OAAO,WAAW,cAAc,IAAI,YAAY,MAAM,EAAE,QAAQ,MAAM,gBAAgB,OAAO,MAAM,gBAAgB,KAAK,GAAG,CAAC,GAAG,aAAa,QAAQ,GAAG,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC,IAAI,OAAO,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,OAAO,MAAM,gBAAgB,KAAK,GAAG,CAAC,GAAG,aAAa,QAAQ,GAAG,gBAAgB,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;CAC9W;CACA,SAAS,IAAI,IAAI,IAAI,IAAI,IAAI;EACzB,OAAO,KAAK,KAAK,OAAO,WAAW,cAAc,IAAI,YAAY,MAAM,EAAE,QAAQ,MAAM,gBAAgB,OAAO,MAAM,gBAAgB,KAAK,GAAG,CAAC,GAAG,aAAa,QAAQ,GAAG,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC,IAAI,OAAO,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,OAAO,MAAM,gBAAgB,KAAK,GAAG,CAAC,GAAG,aAAa,QAAQ,GAAG,gBAAgB,KAAK,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,OAAO,MAAM,gBAAgB,KAAK,GAAG,CAAC,GAAG,aAAa,QAAQ,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC9c;CACA,IAAI,MAAM;EACN,OAAO,KAAK,KAAK,OAAO,cAAc,gBAAgB,SAAS,MAAM,gBAAgB,MAAM,gBAAgB,SAAS,gBAAgB,UAAU,CAAC,CAAC,UAAU,CAAC,CAAC,GAAG,aAAa,QAAQ,CAAC,CAAC,MAAM,GAAG,CAAC;CACpM;CACA,IAAI,GAAG;EACH,OAAO,KAAK,KAAK,OAAO,GAAG,cAAc,gBAAgB,QAAQ,MAAM,QAAQ,MAAM,gBAAgB,OAAO,MAAM,CAAC,gBAAgB,KAAK,GAAG,aAAa,QAAQ,GAAG,CAAC,IAAI,MAAM,CAAC,gBAAgB,MAAM,KAAA,GAAW,aAAa,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,aAAa,QAAQ,GAAG,aAAa,QAAQ,CAAC;CAChT;CACA,OAAO,GAAG,eAAe;EACrB,OAAO,KAAK,KAAK,OAAO,WAAW,cAAc,gBAAgB,QAAQ,MAAM,QAAQ,MAAM,gBAAgB,OAAO,MAAM,MAAM,gBAAgB,KAAK,GAAG,aAAa,QAAQ,GAAG,CAAC,IAAI,OAAO;GACxL,MAAM,CAAC,GAAG,MAAM,EAAE,EAAE;GACpB,OAAO,gBAAgB,OAAO,MAAM,MAAM,gBAAgB,KAAK,GAAG,aAAa,QAAQ,GAAG,CAAC,IAAI,MAAM,MAAM,gBAAgB,MAAM,GAAG,aAAa,QAAQ,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC;EACpL,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,GAAG,aAAa,QAAQ,GAAG,aAAa,QAAQ,CAAC;CACpE;AACJ"}
|
|
@@ -3,7 +3,7 @@ import * as tsplus_module_2 from "@fncts/io/IO/api";
|
|
|
3
3
|
import * as tsplus_module_3 from "@fncts/base/data/Maybe/api";
|
|
4
4
|
import * as tsplus_module_1 from "@fncts/base/data/Maybe/constructors";
|
|
5
5
|
import { identity, tuple } from "@fncts/base/data/function";
|
|
6
|
-
|
|
6
|
+
// build/esm/Ref/Synchronized/api.js
|
|
7
7
|
const dimapIO = dimapIO_1;
|
|
8
8
|
const matchIO = matchIO_1;
|
|
9
9
|
const modifyIO = modifyIO_1;
|
|
@@ -163,7 +163,6 @@ function updateJustIO(f, __tsplusTrace) {
|
|
|
163
163
|
return modifyIO_1((a) => tsplus_module_2.map((r) => [void 0, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);
|
|
164
164
|
};
|
|
165
165
|
}
|
|
166
|
-
//#endregion
|
|
167
166
|
export { collectIO, contramapIO, dimapIO, filterInputIO, filterOutputIO, getAndUpdateIO, getAndUpdateJustIO, matchAllIO, matchIO, modifyIO, modifyJustIO, updateAndGetIO, updateIO, updateJustAndGetIO, updateJustIO };
|
|
168
167
|
|
|
169
168
|
//# sourceMappingURL=api.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.mjs","names":[],"sources":["../../../esm/Ref/Synchronized/api.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Maybe/api\";\nexport const dimapIO = dimapIO_1;\nexport const matchIO = matchIO_1;\nexport const modifyIO = modifyIO_1;\nimport { identity, tuple } from \"@fncts/base/data/function\";\nimport { concreteSynchronized } from \"./definition.js\";\n/**\n * Maps and filters the `get` value of the `SRef` with the specified\n * effectual partial function, returning a `SRef` with a `get` value that\n * succeeds with the result of the partial function if it is defined or else\n * fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized collectIO\n */\nexport function collectIO(f, __tsplusTrace) {\n return (ref) => {\n return matchIO_1(identity, (eb) => tsplus_module_1.just(eb, __tsplusTrace), tsplus_module_2.succeedNow, (b) => tsplus_module_3.getOrElse(() => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace))(tsplus_module_3.map((a) => tsplus_module_2.asJustError(a, __tsplusTrace))(f(b))), __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms the `set` value of the `SRef` with the specified effectual\n * function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized contramapIO\n */\nexport function contramapIO(f, __tsplusTrace) {\n return (ref) => {\n return dimapIO_1(f, tsplus_module_2.succeedNow, __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Synchronized` with the\n * specified effectual functions.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapIO\n */\nfunction dimapIO_1(f, g, __tsplusTrace) {\n return (ref) => {\n return matchIO_1((ea) => ea, (eb) => eb, f, g, __tsplusTrace)(ref);\n };\n}\n/**\n * Filters the `set` value of the `SRef` with the specified effectual\n * predicate, returning a `SRef` with a `set` value that succeeds if the\n * predicate is satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized filterInputIO\n */\nexport function filterInputIO(f, __tsplusTrace) {\n return (self) => {\n return matchIO_1((ea) => tsplus_module_1.just(ea, __tsplusTrace), identity, (a) => tsplus_module_2.ifIO(() => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace), () => tsplus_module_2.succeedNow(a, __tsplusTrace), __tsplusTrace)(tsplus_module_2.asJustError(f(a), __tsplusTrace)), tsplus_module_2.succeedNow, __tsplusTrace)(self);\n };\n}\n/**\n * Filters the `get` value of the `SRef` with the specified effectual predicate,\n * returning a `SRef` with a `get` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized filterOutputIO\n */\nexport function filterOutputIO(f, __tsplusTrace) {\n return (ref) => {\n return matchIO_1(identity, (eb) => tsplus_module_1.just(eb, __tsplusTrace), tsplus_module_2.succeedNow, (b) => tsplus_module_2.ifIO(() => tsplus_module_2.succeedNow(b, __tsplusTrace), () => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace), __tsplusTrace)(tsplus_module_2.asJustError(f(b), __tsplusTrace)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, returning the\n * value immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdateIO\n */\nexport function getAndUpdateIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [a, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, returning the\n * value immediately before modification.\n */\nexport function getAndUpdateJustIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [a, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized matchIO\n */\nfunction matchIO_1(ea, eb, ca, bd, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.matchIO(ea, eb, ca, bd, __tsplusTrace);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized matchAllIO\n */\nexport function matchAllIO(ea, eb, ec, ca, bd, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.matchAllIO(ea, eb, ec, ca, bd, __tsplusTrace);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyIO\n */\nfunction modifyIO_1(f, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.modifyIO(f, __tsplusTrace);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, which computes\n * a return value for the modification if the function is defined in the current value\n * otherwise it returns a default value.\n * This is a more powerful version of `updateJust`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyJustIO\n */\nexport function modifyJustIO(def, f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(tuple(def, a), __tsplusTrace))(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateAndGetIO\n */\nexport function updateAndGetIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [r, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateIO\n */\nexport function updateIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [undefined, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustAndGetIO\n */\nexport function updateJustAndGetIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [r, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustIO\n */\nexport function updateJustIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [undefined, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n//# sourceMappingURL=api.js.map"],"mappings":";;;;;;AAGA,MAAa,UAAU;AACvB,MAAa,UAAU;AACvB,MAAa,WAAW;;;;;;;;;AAWxB,SAAgB,UAAU,GAAG,eAAe;
|
|
1
|
+
{"version":3,"file":"api.mjs","names":[],"sources":["../../../esm/Ref/Synchronized/api.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/IO/api\";\nimport * as tsplus_module_3 from \"@fncts/base/data/Maybe/api\";\nexport const dimapIO = dimapIO_1;\nexport const matchIO = matchIO_1;\nexport const modifyIO = modifyIO_1;\nimport { identity, tuple } from \"@fncts/base/data/function\";\nimport { concreteSynchronized } from \"./definition.js\";\n/**\n * Maps and filters the `get` value of the `SRef` with the specified\n * effectual partial function, returning a `SRef` with a `get` value that\n * succeeds with the result of the partial function if it is defined or else\n * fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized collectIO\n */\nexport function collectIO(f, __tsplusTrace) {\n return (ref) => {\n return matchIO_1(identity, (eb) => tsplus_module_1.just(eb, __tsplusTrace), tsplus_module_2.succeedNow, (b) => tsplus_module_3.getOrElse(() => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace))(tsplus_module_3.map((a) => tsplus_module_2.asJustError(a, __tsplusTrace))(f(b))), __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms the `set` value of the `SRef` with the specified effectual\n * function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized contramapIO\n */\nexport function contramapIO(f, __tsplusTrace) {\n return (ref) => {\n return dimapIO_1(f, tsplus_module_2.succeedNow, __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Synchronized` with the\n * specified effectual functions.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapIO\n */\nfunction dimapIO_1(f, g, __tsplusTrace) {\n return (ref) => {\n return matchIO_1((ea) => ea, (eb) => eb, f, g, __tsplusTrace)(ref);\n };\n}\n/**\n * Filters the `set` value of the `SRef` with the specified effectual\n * predicate, returning a `SRef` with a `set` value that succeeds if the\n * predicate is satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized filterInputIO\n */\nexport function filterInputIO(f, __tsplusTrace) {\n return (self) => {\n return matchIO_1((ea) => tsplus_module_1.just(ea, __tsplusTrace), identity, (a) => tsplus_module_2.ifIO(() => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace), () => tsplus_module_2.succeedNow(a, __tsplusTrace), __tsplusTrace)(tsplus_module_2.asJustError(f(a), __tsplusTrace)), tsplus_module_2.succeedNow, __tsplusTrace)(self);\n };\n}\n/**\n * Filters the `get` value of the `SRef` with the specified effectual predicate,\n * returning a `SRef` with a `get` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized filterOutputIO\n */\nexport function filterOutputIO(f, __tsplusTrace) {\n return (ref) => {\n return matchIO_1(identity, (eb) => tsplus_module_1.just(eb, __tsplusTrace), tsplus_module_2.succeedNow, (b) => tsplus_module_2.ifIO(() => tsplus_module_2.succeedNow(b, __tsplusTrace), () => tsplus_module_2.failNow(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace), __tsplusTrace)(tsplus_module_2.asJustError(f(b), __tsplusTrace)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, returning the\n * value immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdateIO\n */\nexport function getAndUpdateIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [a, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, returning the\n * value immediately before modification.\n */\nexport function getAndUpdateJustIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [a, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized matchIO\n */\nfunction matchIO_1(ea, eb, ca, bd, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.matchIO(ea, eb, ca, bd, __tsplusTrace);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized matchAllIO\n */\nexport function matchAllIO(ea, eb, ec, ca, bd, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.matchAllIO(ea, eb, ec, ca, bd, __tsplusTrace);\n };\n}\n/**\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyIO\n */\nfunction modifyIO_1(f, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.modifyIO(f, __tsplusTrace);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function, which computes\n * a return value for the modification if the function is defined in the current value\n * otherwise it returns a default value.\n * This is a more powerful version of `updateJust`.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyJustIO\n */\nexport function modifyJustIO(def, f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(tuple(def, a), __tsplusTrace))(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateAndGetIO\n */\nexport function updateAndGetIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [r, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `Synchronized` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateIO\n */\nexport function updateIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [undefined, r], __tsplusTrace)(f(a)), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustAndGetIO\n */\nexport function updateJustAndGetIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [r, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n/**\n * Atomically modifies the `SRef` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustIO\n */\nexport function updateJustIO(f, __tsplusTrace) {\n return (ref) => {\n return modifyIO_1((a) => tsplus_module_2.map((r) => [undefined, r], __tsplusTrace)(tsplus_module_3.getOrElse(() => tsplus_module_2.succeedNow(a, __tsplusTrace))(f(a))), __tsplusTrace)(ref);\n };\n}\n//# sourceMappingURL=api.js.map"],"mappings":";;;;;;AAGA,MAAa,UAAU;AACvB,MAAa,UAAU;AACvB,MAAa,WAAW;;;;;;;;;AAWxB,SAAgB,UAAU,GAAG,eAAe;CACxC,QAAQ,QAAQ;EACZ,OAAO,UAAU,WAAW,OAAO,gBAAgB,KAAK,IAAI,aAAa,GAAG,gBAAgB,aAAa,MAAM,gBAAgB,gBAAgB,gBAAgB,QAAQ,gBAAgB,QAAQ,aAAa,GAAG,aAAa,CAAC,CAAC,CAAC,gBAAgB,KAAK,MAAM,gBAAgB,YAAY,GAAG,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,GAAG;CACvU;AACJ;;;;;;;AAOA,SAAgB,YAAY,GAAG,eAAe;CAC1C,QAAQ,QAAQ;EACZ,OAAO,UAAU,GAAG,gBAAgB,YAAY,aAAa,CAAC,CAAC,GAAG;CACtE;AACJ;;;;;;;AAOA,SAAS,UAAU,GAAG,GAAG,eAAe;CACpC,QAAQ,QAAQ;EACZ,OAAO,WAAW,OAAO,KAAK,OAAO,IAAI,GAAG,GAAG,aAAa,CAAC,CAAC,GAAG;CACrE;AACJ;;;;;;;;AAQA,SAAgB,cAAc,GAAG,eAAe;CAC5C,QAAQ,SAAS;EACb,OAAO,WAAW,OAAO,gBAAgB,KAAK,IAAI,aAAa,GAAG,WAAW,MAAM,gBAAgB,WAAW,gBAAgB,QAAQ,gBAAgB,QAAQ,aAAa,GAAG,aAAa,SAAS,gBAAgB,WAAW,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC,gBAAgB,YAAY,EAAE,CAAC,GAAG,aAAa,CAAC,GAAG,gBAAgB,YAAY,aAAa,CAAC,CAAC,IAAI;CACvW;AACJ;;;;;;;;AAQA,SAAgB,eAAe,GAAG,eAAe;CAC7C,QAAQ,QAAQ;EACZ,OAAO,UAAU,WAAW,OAAO,gBAAgB,KAAK,IAAI,aAAa,GAAG,gBAAgB,aAAa,MAAM,gBAAgB,WAAW,gBAAgB,WAAW,GAAG,aAAa,SAAS,gBAAgB,QAAQ,gBAAgB,QAAQ,aAAa,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC,gBAAgB,YAAY,EAAE,CAAC,GAAG,aAAa,CAAC,GAAG,aAAa,CAAC,CAAC,GAAG;CACtW;AACJ;;;;;;;AAOA,SAAgB,eAAe,GAAG,eAAe;CAC7C,QAAQ,QAAQ;EACZ,OAAO,YAAY,MAAM,gBAAgB,KAAK,MAAM,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,GAAG;CACxG;AACJ;;;;;AAKA,SAAgB,mBAAmB,GAAG,eAAe;CACjD,QAAQ,QAAQ;EACZ,OAAO,YAAY,MAAM,gBAAgB,KAAK,MAAM,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,CAAC,gBAAgB,gBAAgB,gBAAgB,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,GAAG;CACvL;AACJ;;;;AAIA,SAAS,UAAU,IAAI,IAAI,IAAI,IAAI,eAAe;CAC9C,QAAQ,SAAS;EAEb,OAAO,KAAK,QAAQ,IAAI,IAAI,IAAI,IAAI,aAAa;CACrD;AACJ;;;;AAIA,SAAgB,WAAW,IAAI,IAAI,IAAI,IAAI,IAAI,eAAe;CAC1D,QAAQ,SAAS;EAEb,OAAO,KAAK,WAAW,IAAI,IAAI,IAAI,IAAI,IAAI,aAAa;CAC5D;AACJ;;;;AAIA,SAAS,WAAW,GAAG,eAAe;CAClC,QAAQ,SAAS;EAEb,OAAO,KAAK,SAAS,GAAG,aAAa;CACzC;AACJ;;;;;;;;;AASA,SAAgB,aAAa,KAAK,GAAG,eAAe;CAChD,QAAQ,QAAQ;EACZ,OAAO,YAAY,MAAM,gBAAgB,gBAAgB,gBAAgB,WAAW,MAAM,KAAK,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,GAAG;CAChJ;AACJ;;;;;;AAMA,SAAgB,eAAe,GAAG,eAAe;CAC7C,QAAQ,QAAQ;EACZ,OAAO,YAAY,MAAM,gBAAgB,KAAK,MAAM,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,GAAG;CACxG;AACJ;;;;;;AAMA,SAAgB,SAAS,GAAG,eAAe;CACvC,QAAQ,QAAQ;EACZ,OAAO,YAAY,MAAM,gBAAgB,KAAK,MAAM,CAAC,KAAA,GAAW,CAAC,GAAG,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,GAAG;CAChH;AACJ;;;;;;AAMA,SAAgB,mBAAmB,GAAG,eAAe;CACjD,QAAQ,QAAQ;EACZ,OAAO,YAAY,MAAM,gBAAgB,KAAK,MAAM,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,CAAC,gBAAgB,gBAAgB,gBAAgB,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,GAAG;CACvL;AACJ;;;;;;AAMA,SAAgB,aAAa,GAAG,eAAe;CAC3C,QAAQ,QAAQ;EACZ,OAAO,YAAY,MAAM,gBAAgB,KAAK,MAAM,CAAC,KAAA,GAAW,CAAC,GAAG,aAAa,CAAC,CAAC,gBAAgB,gBAAgB,gBAAgB,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,GAAG;CAC/L;AACJ"}
|
|
@@ -4,13 +4,14 @@ import * as tsplus_module_3 from "@fncts/io/Ref/api/get";
|
|
|
4
4
|
import * as tsplus_module_4 from "@fncts/io/Ref/api/set";
|
|
5
5
|
import * as tsplus_module_1 from "@fncts/io/Ref/constructors";
|
|
6
6
|
import * as tsplus_module_2 from "@fncts/io/Semaphore/constructors";
|
|
7
|
-
|
|
7
|
+
// build/esm/Ref/Synchronized/constructors.js
|
|
8
8
|
/**
|
|
9
9
|
* @tsplus static fncts.io.Ref.SynchronizedOps unsafeMake
|
|
10
10
|
*/
|
|
11
11
|
function unsafeMakeSynchronized(a, __tsplusTrace) {
|
|
12
12
|
const ref = tsplus_module_1.unsafeMake(a, __tsplusTrace);
|
|
13
|
-
|
|
13
|
+
const semaphore = tsplus_module_2.unsafeMakeSemaphore(1);
|
|
14
|
+
return new PSynchronizedInternal(semaphore, ref.get, (a) => ref.set(a));
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
17
|
* @tsplus static fncts.io.Ref.SynchronizedOps make
|
|
@@ -18,7 +19,6 @@ function unsafeMakeSynchronized(a, __tsplusTrace) {
|
|
|
18
19
|
function makeSynchronized(a, __tsplusTrace) {
|
|
19
20
|
return tsplus_module_5.flatMap((ref) => tsplus_module_5.map((semaphore) => new PSynchronizedInternal(semaphore, tsplus_module_3.get(ref, __tsplusTrace), (a) => tsplus_module_4.set(a, __tsplusTrace)(ref)), __tsplusTrace)(tsplus_module_2.makeSemaphore(1, __tsplusTrace)), __tsplusTrace)(tsplus_module_1.make(a, __tsplusTrace));
|
|
20
21
|
}
|
|
21
|
-
//#endregion
|
|
22
22
|
export { makeSynchronized, unsafeMakeSynchronized };
|
|
23
23
|
|
|
24
24
|
//# sourceMappingURL=constructors.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constructors.mjs","names":[],"sources":["../../../esm/Ref/Synchronized/constructors.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/Ref/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Semaphore/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/get\";\nimport * as tsplus_module_4 from \"@fncts/io/Ref/api/set\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api\";\nimport { PSynchronizedInternal } from \"./definition.js\";\n/**\n * @tsplus static fncts.io.Ref.SynchronizedOps unsafeMake\n */\nexport function unsafeMakeSynchronized(a, __tsplusTrace) {\n const ref = tsplus_module_1.unsafeMake(a, __tsplusTrace);\n const semaphore = tsplus_module_2.unsafeMakeSemaphore(1);\n return new PSynchronizedInternal(semaphore, ref.get, (a) => ref.set(a));\n}\n/**\n * @tsplus static fncts.io.Ref.SynchronizedOps make\n */\nexport function makeSynchronized(a, __tsplusTrace) {\n return tsplus_module_5.flatMap(ref => tsplus_module_5.map(semaphore => new PSynchronizedInternal(semaphore, tsplus_module_3.get(ref, __tsplusTrace), (a) => tsplus_module_4.set(a, __tsplusTrace)(ref)), __tsplusTrace)(tsplus_module_2.makeSemaphore(1, __tsplusTrace)), __tsplusTrace)(tsplus_module_1.make(a, __tsplusTrace));\n}\n//# sourceMappingURL=constructors.js.map"],"mappings":";;;;;;;;;;AASA,SAAgB,uBAAuB,GAAG,eAAe;CACrD,MAAM,MAAM,gBAAgB,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"constructors.mjs","names":[],"sources":["../../../esm/Ref/Synchronized/constructors.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/Ref/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Semaphore/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/get\";\nimport * as tsplus_module_4 from \"@fncts/io/Ref/api/set\";\nimport * as tsplus_module_5 from \"@fncts/io/IO/api\";\nimport { PSynchronizedInternal } from \"./definition.js\";\n/**\n * @tsplus static fncts.io.Ref.SynchronizedOps unsafeMake\n */\nexport function unsafeMakeSynchronized(a, __tsplusTrace) {\n const ref = tsplus_module_1.unsafeMake(a, __tsplusTrace);\n const semaphore = tsplus_module_2.unsafeMakeSemaphore(1);\n return new PSynchronizedInternal(semaphore, ref.get, (a) => ref.set(a));\n}\n/**\n * @tsplus static fncts.io.Ref.SynchronizedOps make\n */\nexport function makeSynchronized(a, __tsplusTrace) {\n return tsplus_module_5.flatMap(ref => tsplus_module_5.map(semaphore => new PSynchronizedInternal(semaphore, tsplus_module_3.get(ref, __tsplusTrace), (a) => tsplus_module_4.set(a, __tsplusTrace)(ref)), __tsplusTrace)(tsplus_module_2.makeSemaphore(1, __tsplusTrace)), __tsplusTrace)(tsplus_module_1.make(a, __tsplusTrace));\n}\n//# sourceMappingURL=constructors.js.map"],"mappings":";;;;;;;;;;AASA,SAAgB,uBAAuB,GAAG,eAAe;CACrD,MAAM,MAAM,gBAAgB,WAAW,GAAG,aAAa;CACvD,MAAM,YAAY,gBAAgB,oBAAoB,CAAC;CACvD,OAAO,IAAI,sBAAsB,WAAW,IAAI,MAAM,MAAM,IAAI,IAAI,CAAC,CAAC;AAC1E;;;;AAIA,SAAgB,iBAAiB,GAAG,eAAe;CAC/C,OAAO,gBAAgB,SAAQ,QAAO,gBAAgB,KAAI,cAAa,IAAI,sBAAsB,WAAW,gBAAgB,IAAI,KAAK,aAAa,IAAI,MAAM,gBAAgB,IAAI,GAAG,aAAa,CAAC,CAAC,GAAG,CAAC,GAAG,aAAa,CAAC,CAAC,gBAAgB,cAAc,GAAG,aAAa,CAAC,GAAG,aAAa,CAAC,CAAC,gBAAgB,KAAK,GAAG,aAAa,CAAC;AACnU"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RefInternal } from "../definition.mjs";
|
|
2
2
|
import * as tsplus_module_1 from "@fncts/io/IO/api";
|
|
3
|
-
|
|
3
|
+
// build/esm/Ref/Synchronized/definition.js
|
|
4
4
|
const fileName_1 = "(@fncts/io) src/Ref/Synchronized/definition.ts";
|
|
5
5
|
const SynchronizedTypeId = Symbol.for("fncts.io.Ref.Synchronized");
|
|
6
6
|
/**
|
|
@@ -53,7 +53,6 @@ var PSynchronizedInternal = class PSynchronizedInternal extends RefInternal {
|
|
|
53
53
|
* @tsplus macro remove
|
|
54
54
|
*/
|
|
55
55
|
function concreteSynchronized(self) {}
|
|
56
|
-
//#endregion
|
|
57
56
|
export { PSynchronizedInternal, Synchronized, SynchronizedTypeId, concreteSynchronized };
|
|
58
57
|
|
|
59
58
|
//# sourceMappingURL=definition.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.mjs","names":[],"sources":["../../../esm/Ref/Synchronized/definition.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/Synchronized/definition.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport { RefInternal } from \"../definition.js\";\nexport const SynchronizedTypeId = Symbol.for(\"fncts.io.Ref.Synchronized\");\n/**\n * @tsplus static fncts.io.RefOps Synchronized\n */\nexport const Synchronized = {};\n/**\n * @tsplus type fncts.io.Ref.Synchronized\n */\nexport class PSynchronizedInternal extends RefInternal {\n semaphore;\n unsafeGet;\n unsafeSet;\n [SynchronizedTypeId] = SynchronizedTypeId;\n constructor(semaphore, unsafeGet, unsafeSet) {\n super();\n this.semaphore = semaphore;\n this.unsafeGet = unsafeGet;\n this.unsafeSet = unsafeSet;\n }\n get get() {\n return this.withPermit(this.unsafeGet, fileName_1 + \":85:27\");\n }\n set(a, __tsplusTrace) {\n return this.withPermit(this.unsafeSet(a), fileName_1 + \":89:27\");\n }\n modify(f, __tsplusTrace) {\n return this.modifyIO((a) => tsplus_module_1.succeedNow(f(a), fileName_1 + \":93:46\"), fileName_1 + \":93:25\");\n }\n modifyIO(f, __tsplusTrace) {\n return this.withPermit(tsplus_module_1.flatMap(([c, a]) => tsplus_module_1.as(() => c, fileName_1 + \":100:94\")(this.unsafeSet(a)), fileName_1 + \":100:61\")(tsplus_module_1.flatMap(f, fileName_1 + \":100:50\")(this.unsafeGet)), fileName_1 + \":100:27\");\n }\n matchAllIO(mapSetError, mapGetError, mapSetGetError, mapSet, mapGet, __tsplusTrace) {\n return new PSynchronizedInternal(this.semaphore, tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapGetError(e), fileName_1 + \":113:41\"), mapGet, fileName_1 + \":113:23\")(this.get), (c) => tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapSetGetError(e), fileName_1 + \":116:28\"), (b) => tsplus_module_1.flatMap((a) => tsplus_module_1.mapError(mapSetError, fileName_1 + \":117:72\")(this.unsafeSet(a)), fileName_1 + \":117:38\")(mapSet(c)(b)), fileName_1 + \":115:25\")(this.get));\n }\n matchIO(mapSetError, mapGetError, mapSet, mapGet, __tsplusTrace) {\n return new PSynchronizedInternal(this.semaphore, tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapGetError(e), fileName_1 + \":131:47\"), mapGet, fileName_1 + \":131:29\")(this.unsafeGet), (c) => tsplus_module_1.flatMap((a) => tsplus_module_1.mapError(mapSetError, fileName_1 + \":132:65\")(this.unsafeSet(a)), fileName_1 + \":132:31\")(mapSet(c)));\n }\n match(mapSetError, mapGetError, mapSet, mapGet, __tsplusTrace) {\n return this.matchIO(mapSetError, mapGetError, (c) => tsplus_module_1.fromEitherNow(mapSet(c), fileName_1 + \":146:30\"), (b) => tsplus_module_1.fromEitherNow(mapGet(b), fileName_1 + \":147:30\"), fileName_1 + \":143:24\");\n }\n matchAll(mapSetError, mapGetError, mapSetGetError, mapSet, mapGet, __tsplusTrace) {\n return this.matchAllIO(mapSetError, mapGetError, mapSetGetError, (c) => (b) => tsplus_module_1.fromEitherNow(mapSet(c)(b), fileName_1 + \":163:37\"), (b) => tsplus_module_1.fromEitherNow(mapGet(b), fileName_1 + \":164:30\"), fileName_1 + \":159:27\");\n }\n withPermit(io, __tsplusTrace) {\n return this.semaphore.withPermit(io);\n }\n}\n/**\n * @tsplus macro remove\n */\nexport function concreteSynchronized(self) {\n //\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";;;AAAA,MAAM,aAAa;AAGnB,MAAa,qBAAqB,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"definition.mjs","names":[],"sources":["../../../esm/Ref/Synchronized/definition.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/Synchronized/definition.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api\";\nimport { RefInternal } from \"../definition.js\";\nexport const SynchronizedTypeId = Symbol.for(\"fncts.io.Ref.Synchronized\");\n/**\n * @tsplus static fncts.io.RefOps Synchronized\n */\nexport const Synchronized = {};\n/**\n * @tsplus type fncts.io.Ref.Synchronized\n */\nexport class PSynchronizedInternal extends RefInternal {\n semaphore;\n unsafeGet;\n unsafeSet;\n [SynchronizedTypeId] = SynchronizedTypeId;\n constructor(semaphore, unsafeGet, unsafeSet) {\n super();\n this.semaphore = semaphore;\n this.unsafeGet = unsafeGet;\n this.unsafeSet = unsafeSet;\n }\n get get() {\n return this.withPermit(this.unsafeGet, fileName_1 + \":85:27\");\n }\n set(a, __tsplusTrace) {\n return this.withPermit(this.unsafeSet(a), fileName_1 + \":89:27\");\n }\n modify(f, __tsplusTrace) {\n return this.modifyIO((a) => tsplus_module_1.succeedNow(f(a), fileName_1 + \":93:46\"), fileName_1 + \":93:25\");\n }\n modifyIO(f, __tsplusTrace) {\n return this.withPermit(tsplus_module_1.flatMap(([c, a]) => tsplus_module_1.as(() => c, fileName_1 + \":100:94\")(this.unsafeSet(a)), fileName_1 + \":100:61\")(tsplus_module_1.flatMap(f, fileName_1 + \":100:50\")(this.unsafeGet)), fileName_1 + \":100:27\");\n }\n matchAllIO(mapSetError, mapGetError, mapSetGetError, mapSet, mapGet, __tsplusTrace) {\n return new PSynchronizedInternal(this.semaphore, tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapGetError(e), fileName_1 + \":113:41\"), mapGet, fileName_1 + \":113:23\")(this.get), (c) => tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapSetGetError(e), fileName_1 + \":116:28\"), (b) => tsplus_module_1.flatMap((a) => tsplus_module_1.mapError(mapSetError, fileName_1 + \":117:72\")(this.unsafeSet(a)), fileName_1 + \":117:38\")(mapSet(c)(b)), fileName_1 + \":115:25\")(this.get));\n }\n matchIO(mapSetError, mapGetError, mapSet, mapGet, __tsplusTrace) {\n return new PSynchronizedInternal(this.semaphore, tsplus_module_1.matchIO((e) => tsplus_module_1.failNow(mapGetError(e), fileName_1 + \":131:47\"), mapGet, fileName_1 + \":131:29\")(this.unsafeGet), (c) => tsplus_module_1.flatMap((a) => tsplus_module_1.mapError(mapSetError, fileName_1 + \":132:65\")(this.unsafeSet(a)), fileName_1 + \":132:31\")(mapSet(c)));\n }\n match(mapSetError, mapGetError, mapSet, mapGet, __tsplusTrace) {\n return this.matchIO(mapSetError, mapGetError, (c) => tsplus_module_1.fromEitherNow(mapSet(c), fileName_1 + \":146:30\"), (b) => tsplus_module_1.fromEitherNow(mapGet(b), fileName_1 + \":147:30\"), fileName_1 + \":143:24\");\n }\n matchAll(mapSetError, mapGetError, mapSetGetError, mapSet, mapGet, __tsplusTrace) {\n return this.matchAllIO(mapSetError, mapGetError, mapSetGetError, (c) => (b) => tsplus_module_1.fromEitherNow(mapSet(c)(b), fileName_1 + \":163:37\"), (b) => tsplus_module_1.fromEitherNow(mapGet(b), fileName_1 + \":164:30\"), fileName_1 + \":159:27\");\n }\n withPermit(io, __tsplusTrace) {\n return this.semaphore.withPermit(io);\n }\n}\n/**\n * @tsplus macro remove\n */\nexport function concreteSynchronized(self) {\n //\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";;;AAAA,MAAM,aAAa;AAGnB,MAAa,qBAAqB,OAAO,IAAI,2BAA2B;;;;AAIxE,MAAa,eAAe,CAAC;;;;AAI7B,IAAa,wBAAb,MAAa,8BAA8B,YAAY;CACnD;CACA;CACA;CACA,CAAC,sBAAsB;CACvB,YAAY,WAAW,WAAW,WAAW;EACzC,MAAM;EACN,KAAK,YAAY;EACjB,KAAK,YAAY;EACjB,KAAK,YAAY;CACrB;CACA,IAAI,MAAM;EACN,OAAO,KAAK,WAAW,KAAK,WAAW,aAAa,QAAQ;CAChE;CACA,IAAI,GAAG,eAAe;EAClB,OAAO,KAAK,WAAW,KAAK,UAAU,CAAC,GAAG,aAAa,QAAQ;CACnE;CACA,OAAO,GAAG,eAAe;EACrB,OAAO,KAAK,UAAU,MAAM,gBAAgB,WAAW,EAAE,CAAC,GAAG,aAAa,QAAQ,GAAG,aAAa,QAAQ;CAC9G;CACA,SAAS,GAAG,eAAe;EACvB,OAAO,KAAK,WAAW,gBAAgB,SAAS,CAAC,GAAG,OAAO,gBAAgB,SAAS,GAAG,aAAa,SAAS,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,GAAG,aAAa,SAAS,CAAC,CAAC,gBAAgB,QAAQ,GAAG,aAAa,SAAS,CAAC,CAAC,KAAK,SAAS,CAAC,GAAG,aAAa,SAAS;CAC1P;CACA,WAAW,aAAa,aAAa,gBAAgB,QAAQ,QAAQ,eAAe;EAChF,OAAO,IAAI,sBAAsB,KAAK,WAAW,gBAAgB,SAAS,MAAM,gBAAgB,QAAQ,YAAY,CAAC,GAAG,aAAa,SAAS,GAAG,QAAQ,aAAa,SAAS,CAAC,CAAC,KAAK,GAAG,IAAI,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,QAAQ,eAAe,CAAC,GAAG,aAAa,SAAS,IAAI,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,SAAS,aAAa,aAAa,SAAS,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,GAAG,aAAa,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,aAAa,SAAS,CAAC,CAAC,KAAK,GAAG,CAAC;CAC1e;CACA,QAAQ,aAAa,aAAa,QAAQ,QAAQ,eAAe;EAC7D,OAAO,IAAI,sBAAsB,KAAK,WAAW,gBAAgB,SAAS,MAAM,gBAAgB,QAAQ,YAAY,CAAC,GAAG,aAAa,SAAS,GAAG,QAAQ,aAAa,SAAS,CAAC,CAAC,KAAK,SAAS,IAAI,MAAM,gBAAgB,SAAS,MAAM,gBAAgB,SAAS,aAAa,aAAa,SAAS,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,GAAG,aAAa,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;CAChW;CACA,MAAM,aAAa,aAAa,QAAQ,QAAQ,eAAe;EAC3D,OAAO,KAAK,QAAQ,aAAa,cAAc,MAAM,gBAAgB,cAAc,OAAO,CAAC,GAAG,aAAa,SAAS,IAAI,MAAM,gBAAgB,cAAc,OAAO,CAAC,GAAG,aAAa,SAAS,GAAG,aAAa,SAAS;CAC1N;CACA,SAAS,aAAa,aAAa,gBAAgB,QAAQ,QAAQ,eAAe;EAC9E,OAAO,KAAK,WAAW,aAAa,aAAa,iBAAiB,OAAO,MAAM,gBAAgB,cAAc,OAAO,CAAC,CAAC,CAAC,CAAC,GAAG,aAAa,SAAS,IAAI,MAAM,gBAAgB,cAAc,OAAO,CAAC,GAAG,aAAa,SAAS,GAAG,aAAa,SAAS;CACvP;CACA,WAAW,IAAI,eAAe;EAC1B,OAAO,KAAK,UAAU,WAAW,EAAE;CACvC;AACJ;;;;AAIA,SAAgB,qBAAqB,MAAM,CAE3C"}
|
package/_mjs/Ref/api/collect.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import * as tsplus_module_2 from "@fncts/base/data/Either/constructors";
|
|
|
2
2
|
import * as tsplus_module_1 from "@fncts/base/data/Maybe/constructors";
|
|
3
3
|
import { identity } from "@fncts/base/data/function";
|
|
4
4
|
import * as tsplus_module_3 from "@fncts/io/Ref/api/match";
|
|
5
|
-
|
|
5
|
+
// build/esm/Ref/api/collect.js
|
|
6
6
|
/**
|
|
7
7
|
* Maps and filters the `get` value of the `Ref` with the specified partial
|
|
8
8
|
* function, returning a `Ref` with a `get` value that succeeds with the
|
|
@@ -16,7 +16,6 @@ function collect(pf, __tsplusTrace) {
|
|
|
16
16
|
return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => tsplus_module_2.fromMaybe(() => tsplus_module_1.nothing(__tsplusTrace))(pf(b)))(ref);
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
//#endregion
|
|
20
19
|
export { collect };
|
|
21
20
|
|
|
22
21
|
//# sourceMappingURL=collect.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collect.mjs","names":[],"sources":["../../../esm/Ref/api/collect.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n/**\n * Maps and filters the `get` value of the `Ref` with the specified partial\n * function, returning a `Ref` with a `get` value that succeeds with the\n * result of the partial function if it is defined or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref collect\n * @tsplus pipeable fncts.io.Ref.Synchronized collect\n */\nexport function collect(pf, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => tsplus_module_2.fromMaybe(() => tsplus_module_1.nothing(__tsplusTrace))(pf(b)))(ref);\n };\n}\n//# sourceMappingURL=collect.js.map"],"mappings":";;;;;;;;;;;;;AAYA,SAAgB,QAAQ,IAAI,eAAe;
|
|
1
|
+
{"version":3,"file":"collect.mjs","names":[],"sources":["../../../esm/Ref/api/collect.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n/**\n * Maps and filters the `get` value of the `Ref` with the specified partial\n * function, returning a `Ref` with a `get` value that succeeds with the\n * result of the partial function if it is defined or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref collect\n * @tsplus pipeable fncts.io.Ref.Synchronized collect\n */\nexport function collect(pf, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => tsplus_module_2.fromMaybe(() => tsplus_module_1.nothing(__tsplusTrace))(pf(b)))(ref);\n };\n}\n//# sourceMappingURL=collect.js.map"],"mappings":";;;;;;;;;;;;;AAYA,SAAgB,QAAQ,IAAI,eAAe;CACvC,QAAQ,QAAQ;EACZ,OAAO,gBAAgB,MAAM,UAAU,gBAAgB,MAAM,gBAAgB,QAAQ,MAAM,gBAAgB,gBAAgB,gBAAgB,QAAQ,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;CAClL;AACJ"}
|
package/_mjs/Ref/api/dimap.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as tsplus_module_1 from "@fncts/base/data/Either/constructors";
|
|
2
2
|
import * as tsplus_module_2 from "@fncts/io/Ref/api/match";
|
|
3
|
-
|
|
3
|
+
// build/esm/Ref/api/dimap.js
|
|
4
4
|
const contramapEither = contramapEither_1;
|
|
5
5
|
const dimapEither = dimapEither_1;
|
|
6
6
|
const mapEither = mapEither_1;
|
|
@@ -86,7 +86,6 @@ function map(f, __tsplusTrace) {
|
|
|
86
86
|
return mapEither_1((b) => tsplus_module_1.right(f(b), __tsplusTrace), __tsplusTrace)(ref);
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
-
//#endregion
|
|
90
89
|
export { contramap, contramapEither, dimap, dimapEither, dimapError, map, mapEither };
|
|
91
90
|
|
|
92
91
|
//# sourceMappingURL=dimap.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dimap.mjs","names":[],"sources":["../../../esm/Ref/api/dimap.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Ref/api/match\";\nexport const contramapEither = contramapEither_1;\nexport const dimapEither = dimapEither_1;\nexport const mapEither = mapEither_1;\n/**\n * Transforms the `set` value of the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref contramap\n * @tsplus pipeable fncts.io.Ref.Synchronized contramap\n */\nexport function contramap(f, __tsplusTrace) {\n return (self) => {\n return contramapEither_1((c) => tsplus_module_1.right(f(c), __tsplusTrace), __tsplusTrace)(self);\n };\n}\n/**\n * Transforms the `set` value of the `Ref` with the specified fallible\n * function.\n *\n * @tsplus pipeable fncts.io.Ref contramapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized contramapEither\n */\nfunction contramapEither_1(f, __tsplusTrace) {\n return (self) => {\n return dimapEither_1(f, tsplus_module_1.right, __tsplusTrace)(self);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Ref` with the\n * specified functions.\n *\n * @tsplus pipeable fncts.io.Ref dimap\n * @tsplus pipeable fncts.io.Ref.Synchronized dimap\n */\nexport function dimap(f, g, __tsplusTrace) {\n return (self) => {\n return dimapEither_1((c) => tsplus_module_1.right(f(c), __tsplusTrace), (b) => tsplus_module_1.right(g(b), __tsplusTrace), __tsplusTrace)(self);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Ref` with the\n * specified fallible functions.\n *\n * @tsplus pipeable fncts.io.Ref dimapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapEither\n */\nfunction dimapEither_1(f, g, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_2.match((ea) => ea, (eb) => eb, f, g)(ref);\n };\n}\n/**\n * Transforms both the `set` and `get` errors of the `Ref` with the\n * specified functions.\n *\n * @tsplus pipeable fncts.io.Ref dimapError\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapError\n */\nexport function dimapError(f, g, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_2.match(f, g, tsplus_module_1.right, tsplus_module_1.right)(ref);\n };\n}\n/**\n * Transforms the `get` value of the `Ref` with the specified fallible\n * function.\n *\n * @tsplus pipeable fncts.io.Ref mapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized mapEither\n */\nfunction mapEither_1(f, __tsplusTrace) {\n return (ref) => {\n return dimapEither_1(tsplus_module_1.right, f, __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms the `get` value of the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref map\n * @tsplus pipeable fncts.io.Ref.Synchronized map\n */\nexport function map(f, __tsplusTrace) {\n return (ref) => {\n return mapEither_1((b) => tsplus_module_1.right(f(b), __tsplusTrace), __tsplusTrace)(ref);\n };\n}\n//# sourceMappingURL=dimap.js.map"],"mappings":";;;AAEA,MAAa,kBAAkB;AAC/B,MAAa,cAAc;AAC3B,MAAa,YAAY;;;;;;;AAOzB,SAAgB,UAAU,GAAG,eAAe;
|
|
1
|
+
{"version":3,"file":"dimap.mjs","names":[],"sources":["../../../esm/Ref/api/dimap.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Ref/api/match\";\nexport const contramapEither = contramapEither_1;\nexport const dimapEither = dimapEither_1;\nexport const mapEither = mapEither_1;\n/**\n * Transforms the `set` value of the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref contramap\n * @tsplus pipeable fncts.io.Ref.Synchronized contramap\n */\nexport function contramap(f, __tsplusTrace) {\n return (self) => {\n return contramapEither_1((c) => tsplus_module_1.right(f(c), __tsplusTrace), __tsplusTrace)(self);\n };\n}\n/**\n * Transforms the `set` value of the `Ref` with the specified fallible\n * function.\n *\n * @tsplus pipeable fncts.io.Ref contramapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized contramapEither\n */\nfunction contramapEither_1(f, __tsplusTrace) {\n return (self) => {\n return dimapEither_1(f, tsplus_module_1.right, __tsplusTrace)(self);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Ref` with the\n * specified functions.\n *\n * @tsplus pipeable fncts.io.Ref dimap\n * @tsplus pipeable fncts.io.Ref.Synchronized dimap\n */\nexport function dimap(f, g, __tsplusTrace) {\n return (self) => {\n return dimapEither_1((c) => tsplus_module_1.right(f(c), __tsplusTrace), (b) => tsplus_module_1.right(g(b), __tsplusTrace), __tsplusTrace)(self);\n };\n}\n/**\n * Transforms both the `set` and `get` values of the `Ref` with the\n * specified fallible functions.\n *\n * @tsplus pipeable fncts.io.Ref dimapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapEither\n */\nfunction dimapEither_1(f, g, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_2.match((ea) => ea, (eb) => eb, f, g)(ref);\n };\n}\n/**\n * Transforms both the `set` and `get` errors of the `Ref` with the\n * specified functions.\n *\n * @tsplus pipeable fncts.io.Ref dimapError\n * @tsplus pipeable fncts.io.Ref.Synchronized dimapError\n */\nexport function dimapError(f, g, __tsplusTrace) {\n return (ref) => {\n return tsplus_module_2.match(f, g, tsplus_module_1.right, tsplus_module_1.right)(ref);\n };\n}\n/**\n * Transforms the `get` value of the `Ref` with the specified fallible\n * function.\n *\n * @tsplus pipeable fncts.io.Ref mapEither\n * @tsplus pipeable fncts.io.Ref.Synchronized mapEither\n */\nfunction mapEither_1(f, __tsplusTrace) {\n return (ref) => {\n return dimapEither_1(tsplus_module_1.right, f, __tsplusTrace)(ref);\n };\n}\n/**\n * Transforms the `get` value of the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref map\n * @tsplus pipeable fncts.io.Ref.Synchronized map\n */\nexport function map(f, __tsplusTrace) {\n return (ref) => {\n return mapEither_1((b) => tsplus_module_1.right(f(b), __tsplusTrace), __tsplusTrace)(ref);\n };\n}\n//# sourceMappingURL=dimap.js.map"],"mappings":";;;AAEA,MAAa,kBAAkB;AAC/B,MAAa,cAAc;AAC3B,MAAa,YAAY;;;;;;;AAOzB,SAAgB,UAAU,GAAG,eAAe;CACxC,QAAQ,SAAS;EACb,OAAO,mBAAmB,MAAM,gBAAgB,MAAM,EAAE,CAAC,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC,IAAI;CACnG;AACJ;;;;;;;;AAQA,SAAS,kBAAkB,GAAG,eAAe;CACzC,QAAQ,SAAS;EACb,OAAO,cAAc,GAAG,gBAAgB,OAAO,aAAa,CAAC,CAAC,IAAI;CACtE;AACJ;;;;;;;;AAQA,SAAgB,MAAM,GAAG,GAAG,eAAe;CACvC,QAAQ,SAAS;EACb,OAAO,eAAe,MAAM,gBAAgB,MAAM,EAAE,CAAC,GAAG,aAAa,IAAI,MAAM,gBAAgB,MAAM,EAAE,CAAC,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC,IAAI;CAClJ;AACJ;;;;;;;;AAQA,SAAS,cAAc,GAAG,GAAG,eAAe;CACxC,QAAQ,QAAQ;EACZ,OAAO,gBAAgB,OAAO,OAAO,KAAK,OAAO,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG;CAClE;AACJ;;;;;;;;AAQA,SAAgB,WAAW,GAAG,GAAG,eAAe;CAC5C,QAAQ,QAAQ;EACZ,OAAO,gBAAgB,MAAM,GAAG,GAAG,gBAAgB,OAAO,gBAAgB,KAAK,CAAC,CAAC,GAAG;CACxF;AACJ;;;;;;;;AAQA,SAAS,YAAY,GAAG,eAAe;CACnC,QAAQ,QAAQ;EACZ,OAAO,cAAc,gBAAgB,OAAO,GAAG,aAAa,CAAC,CAAC,GAAG;CACrE;AACJ;;;;;;;AAOA,SAAgB,IAAI,GAAG,eAAe;CAClC,QAAQ,QAAQ;EACZ,OAAO,aAAa,MAAM,gBAAgB,MAAM,EAAE,CAAC,GAAG,aAAa,GAAG,aAAa,CAAC,CAAC,GAAG;CAC5F;AACJ"}
|
package/_mjs/Ref/api/filter.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import * as tsplus_module_2 from "@fncts/base/data/Either/constructors";
|
|
|
2
2
|
import * as tsplus_module_1 from "@fncts/base/data/Maybe/constructors";
|
|
3
3
|
import { identity } from "@fncts/base/data/function";
|
|
4
4
|
import * as tsplus_module_3 from "@fncts/io/Ref/api/match";
|
|
5
|
-
|
|
5
|
+
// build/esm/Ref/api/filter.js
|
|
6
6
|
/**
|
|
7
7
|
* Filters the `set` value of the `Ref` with the specified predicate,
|
|
8
8
|
* returning a `Ref` with a `set` value that succeeds if the predicate is
|
|
@@ -29,7 +29,6 @@ function filterOutput(p, __tsplusTrace) {
|
|
|
29
29
|
return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => p(b) ? tsplus_module_2.right(b, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace))(self);
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
//#endregion
|
|
33
32
|
export { filterInput, filterOutput };
|
|
34
33
|
|
|
35
34
|
//# sourceMappingURL=filter.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter.mjs","names":[],"sources":["../../../esm/Ref/api/filter.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n/**\n * Filters the `set` value of the `Ref` with the specified predicate,\n * returning a `Ref` with a `set` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref filterInput\n * @tsplus pipeable fncts.io.Ref.Synchronized filterInput\n */\nexport function filterInput(p, __tsplusTrace) {\n return (self) => {\n return tsplus_module_3.match(tsplus_module_1.just, identity, (a) => (p(a) ? tsplus_module_2.right(a, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace)), tsplus_module_2.right)(self);\n };\n}\n/**\n * Filters the `get` value of the `Ref` with the specified predicate,\n * returning a `Ref` with a `get` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref filterOutput\n * @tsplus pipeable fncts.io.Ref.Synchronized filterOutput\n */\nexport function filterOutput(p, __tsplusTrace) {\n return (self) => {\n return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => (p(b) ? tsplus_module_2.right(b, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace)))(self);\n };\n}\n//# sourceMappingURL=filter.js.map"],"mappings":";;;;;;;;;;;;;AAYA,SAAgB,YAAY,GAAG,eAAe;
|
|
1
|
+
{"version":3,"file":"filter.mjs","names":[],"sources":["../../../esm/Ref/api/filter.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/constructors\";\nimport * as tsplus_module_2 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_3 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n/**\n * Filters the `set` value of the `Ref` with the specified predicate,\n * returning a `Ref` with a `set` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref filterInput\n * @tsplus pipeable fncts.io.Ref.Synchronized filterInput\n */\nexport function filterInput(p, __tsplusTrace) {\n return (self) => {\n return tsplus_module_3.match(tsplus_module_1.just, identity, (a) => (p(a) ? tsplus_module_2.right(a, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace)), tsplus_module_2.right)(self);\n };\n}\n/**\n * Filters the `get` value of the `Ref` with the specified predicate,\n * returning a `Ref` with a `get` value that succeeds if the predicate is\n * satisfied or else fails with `None`.\n *\n * @tsplus pipeable fncts.io.Ref filterOutput\n * @tsplus pipeable fncts.io.Ref.Synchronized filterOutput\n */\nexport function filterOutput(p, __tsplusTrace) {\n return (self) => {\n return tsplus_module_3.match(identity, tsplus_module_1.just, tsplus_module_2.right, (b) => (p(b) ? tsplus_module_2.right(b, __tsplusTrace) : tsplus_module_2.left(tsplus_module_1.nothing(__tsplusTrace), __tsplusTrace)))(self);\n };\n}\n//# sourceMappingURL=filter.js.map"],"mappings":";;;;;;;;;;;;;AAYA,SAAgB,YAAY,GAAG,eAAe;CAC1C,QAAQ,SAAS;EACb,OAAO,gBAAgB,MAAM,gBAAgB,MAAM,WAAW,MAAO,EAAE,CAAC,IAAI,gBAAgB,MAAM,GAAG,aAAa,IAAI,gBAAgB,KAAK,gBAAgB,QAAQ,aAAa,GAAG,aAAa,GAAI,gBAAgB,KAAK,CAAC,CAAC,IAAI;CACnO;AACJ;;;;;;;;;AASA,SAAgB,aAAa,GAAG,eAAe;CAC3C,QAAQ,SAAS;EACb,OAAO,gBAAgB,MAAM,UAAU,gBAAgB,MAAM,gBAAgB,QAAQ,MAAO,EAAE,CAAC,IAAI,gBAAgB,MAAM,GAAG,aAAa,IAAI,gBAAgB,KAAK,gBAAgB,QAAQ,aAAa,GAAG,aAAa,CAAE,CAAC,CAAC,IAAI;CACnO;AACJ"}
|
package/_mjs/Ref/api/get.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// build/esm/Ref/api/get.js
|
|
2
2
|
/**
|
|
3
3
|
* Reads the value from the `Ref`.
|
|
4
4
|
*
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
function get(self, __tsplusTrace) {
|
|
9
9
|
return self.get;
|
|
10
10
|
}
|
|
11
|
-
//#endregion
|
|
12
11
|
export { get };
|
|
13
12
|
|
|
14
13
|
//# sourceMappingURL=get.mjs.map
|
package/_mjs/Ref/api/get.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.mjs","names":[],"sources":["../../../esm/Ref/api/get.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Reads the value from the `Ref`.\n *\n * @tsplus getter fncts.io.Ref get\n * @tsplus getter fncts.io.Ref.Synchronized get\n */\nexport function get(self, __tsplusTrace) {\n void 0;\n return self.get;\n}\n//# sourceMappingURL=get.js.map"],"mappings":";;;;;;;AAOA,SAAgB,IAAI,MAAM,eAAe;
|
|
1
|
+
{"version":3,"file":"get.mjs","names":[],"sources":["../../../esm/Ref/api/get.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Reads the value from the `Ref`.\n *\n * @tsplus getter fncts.io.Ref get\n * @tsplus getter fncts.io.Ref.Synchronized get\n */\nexport function get(self, __tsplusTrace) {\n void 0;\n return self.get;\n}\n//# sourceMappingURL=get.js.map"],"mappings":";;;;;;;AAOA,SAAgB,IAAI,MAAM,eAAe;CAErC,OAAO,KAAK;AAChB"}
|
package/_mjs/Ref/api/match.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// build/esm/Ref/api/match.js
|
|
2
2
|
/**
|
|
3
3
|
* Folds over the error and value types of the `Ref`. This is a highly
|
|
4
4
|
* polymorphic method that is capable of arbitrarily transforming the error
|
|
@@ -14,7 +14,6 @@ function match(ea, eb, ca, bd) {
|
|
|
14
14
|
return ref.match(ea, eb, ca, bd);
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
//#endregion
|
|
18
17
|
export { match };
|
|
19
18
|
|
|
20
19
|
//# sourceMappingURL=match.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"match.mjs","names":[],"sources":["../../../esm/Ref/api/match.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Folds over the error and value types of the `Ref`. This is a highly\n * polymorphic method that is capable of arbitrarily transforming the error\n * and value types of the `Ref`. For most use cases one of the more specific\n * combinators implemented in terms of `match` will be more ergonomic but this\n * method is extremely useful for implementing new combinators.\n *\n * @tsplus pipeable fncts.io.Ref match\n * @tsplus pipeable fncts.io.Ref.Synchronized match\n */\nexport function match(ea, eb, ca, bd) {\n return (ref) => {\n void 0;\n return ref.match(ea, eb, ca, bd);\n };\n}\n//# sourceMappingURL=match.js.map"],"mappings":";;;;;;;;;;;AAWA,SAAgB,MAAM,IAAI,IAAI,IAAI,IAAI;
|
|
1
|
+
{"version":3,"file":"match.mjs","names":[],"sources":["../../../esm/Ref/api/match.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Folds over the error and value types of the `Ref`. This is a highly\n * polymorphic method that is capable of arbitrarily transforming the error\n * and value types of the `Ref`. For most use cases one of the more specific\n * combinators implemented in terms of `match` will be more ergonomic but this\n * method is extremely useful for implementing new combinators.\n *\n * @tsplus pipeable fncts.io.Ref match\n * @tsplus pipeable fncts.io.Ref.Synchronized match\n */\nexport function match(ea, eb, ca, bd) {\n return (ref) => {\n void 0;\n return ref.match(ea, eb, ca, bd);\n };\n}\n//# sourceMappingURL=match.js.map"],"mappings":";;;;;;;;;;;AAWA,SAAgB,MAAM,IAAI,IAAI,IAAI,IAAI;CAClC,QAAQ,QAAQ;EAEZ,OAAO,IAAI,MAAM,IAAI,IAAI,IAAI,EAAE;CACnC;AACJ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// build/esm/Ref/api/matchAll.js
|
|
2
2
|
/**
|
|
3
3
|
* Folds over the error and value types of the `Ref`, allowing access to
|
|
4
4
|
* the state in transforming the `set` value. This is a more powerful version
|
|
@@ -12,7 +12,6 @@ function matchAll(ea, eb, ec, ca, bd) {
|
|
|
12
12
|
return ref.matchAll(ea, eb, ec, ca, bd);
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
//#endregion
|
|
16
15
|
export { matchAll };
|
|
17
16
|
|
|
18
17
|
//# sourceMappingURL=matchAll.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matchAll.mjs","names":[],"sources":["../../../esm/Ref/api/matchAll.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Folds over the error and value types of the `Ref`, allowing access to\n * the state in transforming the `set` value. This is a more powerful version\n * of `match` but requires unifying the error types.\n *\n * @tsplus fluent fncts.io.Ref matchAll\n * @tsplus fluent fncts.io.Ref.Synchronized matchAll\n */\nexport function matchAll(ea, eb, ec, ca, bd) {\n return (ref) => {\n void 0;\n return ref.matchAll(ea, eb, ec, ca, bd);\n };\n}\n//# sourceMappingURL=matchAll.js.map"],"mappings":";;;;;;;;;AASA,SAAgB,SAAS,IAAI,IAAI,IAAI,IAAI,IAAI;
|
|
1
|
+
{"version":3,"file":"matchAll.mjs","names":[],"sources":["../../../esm/Ref/api/matchAll.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Folds over the error and value types of the `Ref`, allowing access to\n * the state in transforming the `set` value. This is a more powerful version\n * of `match` but requires unifying the error types.\n *\n * @tsplus fluent fncts.io.Ref matchAll\n * @tsplus fluent fncts.io.Ref.Synchronized matchAll\n */\nexport function matchAll(ea, eb, ec, ca, bd) {\n return (ref) => {\n void 0;\n return ref.matchAll(ea, eb, ec, ca, bd);\n };\n}\n//# sourceMappingURL=matchAll.js.map"],"mappings":";;;;;;;;;AASA,SAAgB,SAAS,IAAI,IAAI,IAAI,IAAI,IAAI;CACzC,QAAQ,QAAQ;EAEZ,OAAO,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;CAC1C;AACJ"}
|
package/_mjs/Ref/api/modify.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as tsplus_module_1 from "@fncts/base/data/Maybe/api";
|
|
2
2
|
import { tuple } from "@fncts/base/data/function";
|
|
3
|
-
|
|
3
|
+
// build/esm/Ref/api/modify.js
|
|
4
4
|
const modify = modify_1;
|
|
5
5
|
/**
|
|
6
6
|
* Atomically modifies the `Ref` with the specified function, which
|
|
@@ -120,7 +120,6 @@ function updateJustAndGet(f, __tsplusTrace) {
|
|
|
120
120
|
}, __tsplusTrace)(self);
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
|
-
//#endregion
|
|
124
123
|
export { getAndSet, getAndUpdate, getAndUpdateJust, modify, modifyJust, update, updateAndGet, updateJust, updateJustAndGet };
|
|
125
124
|
|
|
126
125
|
//# sourceMappingURL=modify.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modify.mjs","names":[],"sources":["../../../esm/Ref/api/modify.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/api\";\nexport const modify = modify_1;\nimport { tuple } from \"@fncts/base/data/function\";\nimport { concrete } from \"../definition.js\";\n/**\n * Atomically modifies the `Ref` with the specified function, which\n * computes a return value for the modification. This is a more powerful\n * version of `update`.\n *\n * @tsplus pipeable fncts.io.Ref modify\n * @tsplus pipeable fncts.io.Ref.Synchronized modify\n */\nfunction modify_1(f, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.modify(f, __tsplusTrace);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function,\n * which computes a return value for the modification if the function is\n * defined on the current value otherwise it returns a default value. This\n * is a more powerful version of `updateJust`.\n *\n * @tsplus pipeable fncts.io.Ref modifyJust\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyJust\n */\nexport function modifyJust(def, f, __tsplusTrace) {\n return (self) => {\n return modify_1((a) => tsplus_module_1.getOrElse(() => tuple(def, a))(f(a)), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically writes the specified value to the `Ref`, returning the value\n * immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref getAndSet\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndSet\n */\nexport function getAndSet(a, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(a0, a), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified function, returning\n * the value immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref getAndUpdate\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdate\n */\nexport function getAndUpdate(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(a0, f(a0)), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function,\n * returning the value immediately before modification. If the function is\n * undefined on the current value it doesn't change it.\n *\n * @tsplus pipeable fncts.io.Ref getAndUpdateJust\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdateJust\n */\nexport function getAndUpdateJust(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(a0, tsplus_module_1.getOrElse(() => a0)(f(a0))), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref update\n * @tsplus pipeable fncts.io.Ref.Synchronized update\n */\nexport function update(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(undefined, f(a0)), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified function and returns\n * the updated value.\n *\n * @tsplus pipeable fncts.io.Ref updateAndGet\n * @tsplus pipeable fncts.io.Ref.Synchronized updateAndGet\n */\nexport function updateAndGet(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => {\n const r = f(a0);\n return tuple(r, r);\n }, __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function. If\n * the function is undefined on the current value it doesn't change it.\n *\n * @tsplus pipeable fncts.io.Ref updateJust\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJust\n */\nexport function updateJust(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(undefined, tsplus_module_1.getOrElse(() => a0)(f(a0))), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function. If\n * the function is undefined on the current value it returns the old value\n * without changing it.\n *\n * @tsplus pipeable fncts.io.Ref updateJustAndGet\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustAndGet\n */\nexport function updateJustAndGet(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => {\n const r = tsplus_module_1.getOrElse(() => a0)(f(a0));\n return tuple(r, r);\n }, __tsplusTrace)(self);\n };\n}\n//# sourceMappingURL=modify.js.map"],"mappings":";;;AACA,MAAa,SAAS;;;;;;;;;AAWtB,SAAS,SAAS,GAAG,eAAe;
|
|
1
|
+
{"version":3,"file":"modify.mjs","names":[],"sources":["../../../esm/Ref/api/modify.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/base/data/Maybe/api\";\nexport const modify = modify_1;\nimport { tuple } from \"@fncts/base/data/function\";\nimport { concrete } from \"../definition.js\";\n/**\n * Atomically modifies the `Ref` with the specified function, which\n * computes a return value for the modification. This is a more powerful\n * version of `update`.\n *\n * @tsplus pipeable fncts.io.Ref modify\n * @tsplus pipeable fncts.io.Ref.Synchronized modify\n */\nfunction modify_1(f, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.modify(f, __tsplusTrace);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function,\n * which computes a return value for the modification if the function is\n * defined on the current value otherwise it returns a default value. This\n * is a more powerful version of `updateJust`.\n *\n * @tsplus pipeable fncts.io.Ref modifyJust\n * @tsplus pipeable fncts.io.Ref.Synchronized modifyJust\n */\nexport function modifyJust(def, f, __tsplusTrace) {\n return (self) => {\n return modify_1((a) => tsplus_module_1.getOrElse(() => tuple(def, a))(f(a)), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically writes the specified value to the `Ref`, returning the value\n * immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref getAndSet\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndSet\n */\nexport function getAndSet(a, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(a0, a), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified function, returning\n * the value immediately before modification.\n *\n * @tsplus pipeable fncts.io.Ref getAndUpdate\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdate\n */\nexport function getAndUpdate(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(a0, f(a0)), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function,\n * returning the value immediately before modification. If the function is\n * undefined on the current value it doesn't change it.\n *\n * @tsplus pipeable fncts.io.Ref getAndUpdateJust\n * @tsplus pipeable fncts.io.Ref.Synchronized getAndUpdateJust\n */\nexport function getAndUpdateJust(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(a0, tsplus_module_1.getOrElse(() => a0)(f(a0))), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified function.\n *\n * @tsplus pipeable fncts.io.Ref update\n * @tsplus pipeable fncts.io.Ref.Synchronized update\n */\nexport function update(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(undefined, f(a0)), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified function and returns\n * the updated value.\n *\n * @tsplus pipeable fncts.io.Ref updateAndGet\n * @tsplus pipeable fncts.io.Ref.Synchronized updateAndGet\n */\nexport function updateAndGet(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => {\n const r = f(a0);\n return tuple(r, r);\n }, __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function. If\n * the function is undefined on the current value it doesn't change it.\n *\n * @tsplus pipeable fncts.io.Ref updateJust\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJust\n */\nexport function updateJust(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => tuple(undefined, tsplus_module_1.getOrElse(() => a0)(f(a0))), __tsplusTrace)(self);\n };\n}\n/**\n * Atomically modifies the `Ref` with the specified partial function. If\n * the function is undefined on the current value it returns the old value\n * without changing it.\n *\n * @tsplus pipeable fncts.io.Ref updateJustAndGet\n * @tsplus pipeable fncts.io.Ref.Synchronized updateJustAndGet\n */\nexport function updateJustAndGet(f, __tsplusTrace) {\n return (self) => {\n return modify_1((a0) => {\n const r = tsplus_module_1.getOrElse(() => a0)(f(a0));\n return tuple(r, r);\n }, __tsplusTrace)(self);\n };\n}\n//# sourceMappingURL=modify.js.map"],"mappings":";;;AACA,MAAa,SAAS;;;;;;;;;AAWtB,SAAS,SAAS,GAAG,eAAe;CAChC,QAAQ,SAAS;EAEb,OAAO,KAAK,OAAO,GAAG,aAAa;CACvC;AACJ;;;;;;;;;;AAUA,SAAgB,WAAW,KAAK,GAAG,eAAe;CAC9C,QAAQ,SAAS;EACb,OAAO,UAAU,MAAM,gBAAgB,gBAAgB,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CACpG;AACJ;;;;;;;;AAQA,SAAgB,UAAU,GAAG,eAAe;CACxC,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO,MAAM,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CAC7D;AACJ;;;;;;;;AAQA,SAAgB,aAAa,GAAG,eAAe;CAC3C,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO,MAAM,IAAI,EAAE,EAAE,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CACjE;AACJ;;;;;;;;;AASA,SAAgB,iBAAiB,GAAG,eAAe;CAC/C,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO,MAAM,IAAI,gBAAgB,gBAAgB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CACtG;AACJ;;;;;;;AAOA,SAAgB,OAAO,GAAG,eAAe;CACrC,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO,MAAM,KAAA,GAAW,EAAE,EAAE,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CACxE;AACJ;;;;;;;;AAQA,SAAgB,aAAa,GAAG,eAAe;CAC3C,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO;GACpB,MAAM,IAAI,EAAE,EAAE;GACd,OAAO,MAAM,GAAG,CAAC;EACrB,GAAG,aAAa,CAAC,CAAC,IAAI;CAC1B;AACJ;;;;;;;;AAQA,SAAgB,WAAW,GAAG,eAAe;CACzC,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO,MAAM,KAAA,GAAW,gBAAgB,gBAAgB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,IAAI;CAC7G;AACJ;;;;;;;;;AASA,SAAgB,iBAAiB,GAAG,eAAe;CAC/C,QAAQ,SAAS;EACb,OAAO,UAAU,OAAO;GACpB,MAAM,IAAI,gBAAgB,gBAAgB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;GACnD,OAAO,MAAM,GAAG,CAAC;EACrB,GAAG,aAAa,CAAC,CAAC,IAAI;CAC1B;AACJ"}
|
package/_mjs/Ref/api/set.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// build/esm/Ref/api/set.js
|
|
2
2
|
/**
|
|
3
3
|
* Writes a new value to the `Ref`, with a guarantee of immediate
|
|
4
4
|
* consistency (at some cost to performance).
|
|
@@ -11,7 +11,6 @@ function set(a, __tsplusTrace) {
|
|
|
11
11
|
return self.set(a, __tsplusTrace);
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
//#endregion
|
|
15
14
|
export { set };
|
|
16
15
|
|
|
17
16
|
//# sourceMappingURL=set.mjs.map
|
package/_mjs/Ref/api/set.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set.mjs","names":[],"sources":["../../../esm/Ref/api/set.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Writes a new value to the `Ref`, with a guarantee of immediate\n * consistency (at some cost to performance).\n *\n * @tsplus pipeable fncts.io.Ref set\n * @tsplus pipeable fncts.io.Ref.Synchronized set\n */\nexport function set(a, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.set(a, __tsplusTrace);\n };\n}\n//# sourceMappingURL=set.js.map"],"mappings":";;;;;;;;AAQA,SAAgB,IAAI,GAAG,eAAe;
|
|
1
|
+
{"version":3,"file":"set.mjs","names":[],"sources":["../../../esm/Ref/api/set.js"],"sourcesContent":["import { concrete } from \"../definition.js\";\n/**\n * Writes a new value to the `Ref`, with a guarantee of immediate\n * consistency (at some cost to performance).\n *\n * @tsplus pipeable fncts.io.Ref set\n * @tsplus pipeable fncts.io.Ref.Synchronized set\n */\nexport function set(a, __tsplusTrace) {\n return (self) => {\n void 0;\n return self.set(a, __tsplusTrace);\n };\n}\n//# sourceMappingURL=set.js.map"],"mappings":";;;;;;;;AAQA,SAAgB,IAAI,GAAG,eAAe;CAClC,QAAQ,SAAS;EAEb,OAAO,KAAK,IAAI,GAAG,aAAa;CACpC;AACJ"}
|
package/_mjs/Ref/api.mjs
CHANGED
|
@@ -9,8 +9,7 @@ import { set } from "./api/set.mjs";
|
|
|
9
9
|
import * as tsplus_module_1 from "@fncts/base/data/Either/constructors";
|
|
10
10
|
import { identity } from "@fncts/base/data/function";
|
|
11
11
|
import * as tsplus_module_2 from "@fncts/io/Ref/api/match";
|
|
12
|
-
|
|
13
|
-
const fileName_1 = "(@fncts/io) src/Ref/api.ts";
|
|
12
|
+
// build/esm/Ref/api.js
|
|
14
13
|
/**
|
|
15
14
|
* Returns a read only view of the `Ref`.
|
|
16
15
|
*
|
|
@@ -27,9 +26,8 @@ function readOnly(ref) {
|
|
|
27
26
|
* @tsplus getter fncts.io.Ref.Synchronized writeOnly
|
|
28
27
|
*/
|
|
29
28
|
function writeOnly(ref) {
|
|
30
|
-
return tsplus_module_2.match(identity, () => void 0, tsplus_module_1.right, () => tsplus_module_1.left(void 0,
|
|
29
|
+
return tsplus_module_2.match(identity, () => void 0, tsplus_module_1.right, () => tsplus_module_1.left(void 0, "(@fncts/io) src/Ref/api.ts:37:22"))(ref);
|
|
31
30
|
}
|
|
32
|
-
//#endregion
|
|
33
31
|
export { collect, contramap, contramapEither, dimap, dimapEither, dimapError, filterInput, filterOutput, get, getAndSet, getAndUpdate, getAndUpdateJust, map, mapEither, match, matchAll, modify, modifyJust, readOnly, set, update, updateAndGet, updateJust, updateJustAndGet, writeOnly };
|
|
34
32
|
|
|
35
33
|
//# sourceMappingURL=api.mjs.map
|
package/_mjs/Ref/api.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.mjs","names":[],"sources":["../../esm/Ref/api.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/api.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n// codegen:start { preset: barrel, include: api/*.ts }\nexport * from \"./api/collect.js\";\nexport * from \"./api/dimap.js\";\nexport * from \"./api/filter.js\";\nexport * from \"./api/get.js\";\nexport * from \"./api/match.js\";\nexport * from \"./api/matchAll.js\";\nexport * from \"./api/modify.js\";\nexport * from \"./api/set.js\";\n// codegen:end\n/**\n * Returns a read only view of the `Ref`.\n *\n * @tsplus getter fncts.io.Ref readOnly\n * @tsplus getter fncts.io.Ref.Synchronized readOnly\n */\nexport function readOnly(ref) {\n return ref;\n}\n/**\n * Returns a write only view of the `Ref`.\n *\n * @tsplus getter fncts.io.Ref writeOnly\n * @tsplus getter fncts.io.Ref.Synchronized writeOnly\n */\nexport function writeOnly(ref) {\n return tsplus_module_2.match(identity, () => undefined, tsplus_module_1.right, () => tsplus_module_1.left(undefined, fileName_1 + \":37:22\"))(ref);\n}\n//# sourceMappingURL=api.js.map"],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.mjs","names":[],"sources":["../../esm/Ref/api.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Ref/api.ts\";\nimport * as tsplus_module_1 from \"@fncts/base/data/Either/constructors\";\nimport * as tsplus_module_2 from \"@fncts/io/Ref/api/match\";\nimport { identity } from \"@fncts/base/data/function\";\n// codegen:start { preset: barrel, include: api/*.ts }\nexport * from \"./api/collect.js\";\nexport * from \"./api/dimap.js\";\nexport * from \"./api/filter.js\";\nexport * from \"./api/get.js\";\nexport * from \"./api/match.js\";\nexport * from \"./api/matchAll.js\";\nexport * from \"./api/modify.js\";\nexport * from \"./api/set.js\";\n// codegen:end\n/**\n * Returns a read only view of the `Ref`.\n *\n * @tsplus getter fncts.io.Ref readOnly\n * @tsplus getter fncts.io.Ref.Synchronized readOnly\n */\nexport function readOnly(ref) {\n return ref;\n}\n/**\n * Returns a write only view of the `Ref`.\n *\n * @tsplus getter fncts.io.Ref writeOnly\n * @tsplus getter fncts.io.Ref.Synchronized writeOnly\n */\nexport function writeOnly(ref) {\n return tsplus_module_2.match(identity, () => undefined, tsplus_module_1.right, () => tsplus_module_1.left(undefined, fileName_1 + \":37:22\"))(ref);\n}\n//# sourceMappingURL=api.js.map"],"mappings":";;;;;;;;;;;;;;;;;;AAoBA,SAAgB,SAAS,KAAK;CAC1B,OAAO;AACX;;;;;;;AAOA,SAAgB,UAAU,KAAK;CAC3B,OAAO,gBAAgB,MAAM,gBAAgB,KAAA,GAAW,gBAAgB,aAAa,gBAAgB,KAAK,KAAA,GAAW,kCAAqB,CAAC,CAAC,CAAC,GAAG;AACpJ"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Atomic } from "./Atomic.mjs";
|
|
2
2
|
import * as tsplus_module_1 from "@fncts/io/IO/api";
|
|
3
3
|
import { AtomicReference } from "@fncts/base/internal/AtomicReference";
|
|
4
|
-
|
|
4
|
+
// build/esm/Ref/constructors.js
|
|
5
5
|
const unsafeMake = unsafeMake_1;
|
|
6
6
|
/**
|
|
7
7
|
* @tsplus static fncts.io.RefOps make
|
|
@@ -15,7 +15,6 @@ function make(a, __tsplusTrace) {
|
|
|
15
15
|
function unsafeMake_1(a, __tsplusTrace) {
|
|
16
16
|
return new Atomic(new AtomicReference(a));
|
|
17
17
|
}
|
|
18
|
-
//#endregion
|
|
19
18
|
export { make, unsafeMake };
|
|
20
19
|
|
|
21
20
|
//# sourceMappingURL=constructors.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constructors.mjs","names":[],"sources":["../../esm/Ref/constructors.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/IO/api\";\nexport const unsafeMake = unsafeMake_1;\nimport { AtomicReference } from \"@fncts/base/internal/AtomicReference\";\nimport { Atomic } from \"./Atomic.js\";\n/**\n * @tsplus static fncts.io.RefOps make\n */\nexport function make(a, __tsplusTrace) {\n return tsplus_module_1.succeed(() => unsafeMake_1(a(), __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus static fncts.io.RefOps unsafeMake\n */\nfunction unsafeMake_1(a, __tsplusTrace) {\n return new Atomic(new AtomicReference(a));\n}\n//# sourceMappingURL=constructors.js.map"],"mappings":";;;;AACA,MAAa,aAAa;;;;AAM1B,SAAgB,KAAK,GAAG,eAAe;
|
|
1
|
+
{"version":3,"file":"constructors.mjs","names":[],"sources":["../../esm/Ref/constructors.js"],"sourcesContent":["import * as tsplus_module_1 from \"@fncts/io/IO/api\";\nexport const unsafeMake = unsafeMake_1;\nimport { AtomicReference } from \"@fncts/base/internal/AtomicReference\";\nimport { Atomic } from \"./Atomic.js\";\n/**\n * @tsplus static fncts.io.RefOps make\n */\nexport function make(a, __tsplusTrace) {\n return tsplus_module_1.succeed(() => unsafeMake_1(a(), __tsplusTrace), __tsplusTrace);\n}\n/**\n * @tsplus static fncts.io.RefOps unsafeMake\n */\nfunction unsafeMake_1(a, __tsplusTrace) {\n return new Atomic(new AtomicReference(a));\n}\n//# sourceMappingURL=constructors.js.map"],"mappings":";;;;AACA,MAAa,aAAa;;;;AAM1B,SAAgB,KAAK,GAAG,eAAe;CACnC,OAAO,gBAAgB,cAAc,aAAa,EAAE,GAAG,aAAa,GAAG,aAAa;AACxF;;;;AAIA,SAAS,aAAa,GAAG,eAAe;CACpC,OAAO,IAAI,OAAO,IAAI,gBAAgB,CAAC,CAAC;AAC5C"}
|
package/_mjs/Ref/definition.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// build/esm/Ref/definition.js
|
|
2
2
|
const RefVariance = Symbol.for("fncts.io.Ref.Variance");
|
|
3
3
|
const RefTypeId = Symbol.for("fncts.io.Ref");
|
|
4
4
|
const Ref = {};
|
|
@@ -9,7 +9,6 @@ var RefInternal = class {
|
|
|
9
9
|
* @tsplus macro remove
|
|
10
10
|
*/
|
|
11
11
|
function concrete(_) {}
|
|
12
|
-
//#endregion
|
|
13
12
|
export { Ref, RefInternal, RefTypeId, RefVariance, concrete };
|
|
14
13
|
|
|
15
14
|
//# sourceMappingURL=definition.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.mjs","names":[],"sources":["../../esm/Ref/definition.js"],"sourcesContent":["export const RefVariance = Symbol.for(\"fncts.io.Ref.Variance\");\nexport const RefTypeId = Symbol.for(\"fncts.io.Ref\");\nexport const Ref = {};\nexport class RefInternal {\n [RefTypeId] = RefTypeId;\n}\n/**\n * @tsplus macro remove\n */\nexport function concrete(_) {\n //\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";AAAA,MAAa,cAAc,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"definition.mjs","names":[],"sources":["../../esm/Ref/definition.js"],"sourcesContent":["export const RefVariance = Symbol.for(\"fncts.io.Ref.Variance\");\nexport const RefTypeId = Symbol.for(\"fncts.io.Ref\");\nexport const Ref = {};\nexport class RefInternal {\n [RefTypeId] = RefTypeId;\n}\n/**\n * @tsplus macro remove\n */\nexport function concrete(_) {\n //\n}\n//# sourceMappingURL=definition.js.map"],"mappings":";AAAA,MAAa,cAAc,OAAO,IAAI,uBAAuB;AAC7D,MAAa,YAAY,OAAO,IAAI,cAAc;AAClD,MAAa,MAAM,CAAC;AACpB,IAAa,cAAb,MAAyB;CACrB,CAAC,aAAa;AAClB;;;;AAIA,SAAgB,SAAS,GAAG,CAE5B"}
|
package/_mjs/Reloadable/api.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as tsplus_module_1 from "@fncts/io/IO/api/environment";
|
|
2
|
-
|
|
2
|
+
// build/esm/Reloadable/api.js
|
|
3
3
|
const fileName_1 = "(@fncts/io) src/Reloadable/api.ts";
|
|
4
4
|
/**
|
|
5
5
|
* @tsplus static fncts.io.ReloadableOps get
|
|
@@ -19,7 +19,6 @@ function reload(tag) {
|
|
|
19
19
|
function reloadFork(tag) {
|
|
20
20
|
return tsplus_module_1.serviceWithIO((service) => service.reloadFork, tag, fileName_1 + ":27:26");
|
|
21
21
|
}
|
|
22
|
-
//#endregion
|
|
23
22
|
export { get, reload, reloadFork };
|
|
24
23
|
|
|
25
24
|
//# sourceMappingURL=api.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.mjs","names":[],"sources":["../../esm/Reloadable/api.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Reloadable/api.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api/environment\";\n/**\n * @tsplus static fncts.io.ReloadableOps get\n */\nexport function get(\n/** @tsplus auto */ tag) {\n return tsplus_module_1.serviceWithIO((service) => service.get, tag, fileName_1 + \":9:26\");\n}\n/**\n * @tsplus static fncts.io.ReloadableOps reload\n */\nexport function reload(\n/** @tsplua auto */ tag) {\n return tsplus_module_1.serviceWithIO((service) => service.reload, tag, fileName_1 + \":18:26\");\n}\n/**\n * @tsplus static fncts.io.ReloadableOps reloadFork\n */\nexport function reloadFork(\n/** @tsplus auto */ tag) {\n return tsplus_module_1.serviceWithIO((service) => service.reloadFork, tag, fileName_1 + \":27:26\");\n}\n//# sourceMappingURL=api.js.map"],"mappings":";;AAAA,MAAM,aAAa;;;;AAKnB,SAAgB,IACI,KAAK;
|
|
1
|
+
{"version":3,"file":"api.mjs","names":[],"sources":["../../esm/Reloadable/api.js"],"sourcesContent":["const fileName_1 = \"(@fncts/io) src/Reloadable/api.ts\";\nimport * as tsplus_module_1 from \"@fncts/io/IO/api/environment\";\n/**\n * @tsplus static fncts.io.ReloadableOps get\n */\nexport function get(\n/** @tsplus auto */ tag) {\n return tsplus_module_1.serviceWithIO((service) => service.get, tag, fileName_1 + \":9:26\");\n}\n/**\n * @tsplus static fncts.io.ReloadableOps reload\n */\nexport function reload(\n/** @tsplua auto */ tag) {\n return tsplus_module_1.serviceWithIO((service) => service.reload, tag, fileName_1 + \":18:26\");\n}\n/**\n * @tsplus static fncts.io.ReloadableOps reloadFork\n */\nexport function reloadFork(\n/** @tsplus auto */ tag) {\n return tsplus_module_1.serviceWithIO((service) => service.reloadFork, tag, fileName_1 + \":27:26\");\n}\n//# sourceMappingURL=api.js.map"],"mappings":";;AAAA,MAAM,aAAa;;;;AAKnB,SAAgB,IACI,KAAK;CACrB,OAAO,gBAAgB,eAAe,YAAY,QAAQ,KAAK,KAAK,aAAa,OAAO;AAC5F;;;;AAIA,SAAgB,OACI,KAAK;CACrB,OAAO,gBAAgB,eAAe,YAAY,QAAQ,QAAQ,KAAK,aAAa,QAAQ;AAChG;;;;AAIA,SAAgB,WACI,KAAK;CACrB,OAAO,gBAAgB,eAAe,YAAY,QAAQ,YAAY,KAAK,aAAa,QAAQ;AACpG"}
|
|
@@ -9,7 +9,7 @@ import * as tsplus_module_7 from "@fncts/io/Layer/MemoMap";
|
|
|
9
9
|
import * as tsplus_module_8 from "@fncts/io/Layer/api";
|
|
10
10
|
import * as tsplus_module_1 from "@fncts/io/IO/api/schedule";
|
|
11
11
|
import * as tsplus_module_10 from "@fncts/io/ScopedRef/api";
|
|
12
|
-
|
|
12
|
+
// build/esm/Reloadable/constructors.js
|
|
13
13
|
const fileName_1 = "(@fncts/io) src/Reloadable/constructors.ts";
|
|
14
14
|
const auto = auto_1;
|
|
15
15
|
const manual = manual_1;
|
|
@@ -37,10 +37,10 @@ function autoFromConfig(layer, tag, scheduleFromConfig, reloadableTag) {
|
|
|
37
37
|
*/
|
|
38
38
|
function manual_1(layer, tag, reloadableTag) {
|
|
39
39
|
return tsplus_module_8.scoped(() => tsplus_module_5.flatMap((inp) => tsplus_module_5.map((ref) => {
|
|
40
|
-
|
|
40
|
+
const reload = tsplus_module_9.provideEnvironment(inp, fileName_1 + ":55:94")(ref.set(tsplus_module_5.map((env) => tsplus_module_6.unsafeGet(tag)(env), fileName_1 + ":55:45")(tsplus_module_7.build(layer, fileName_1 + ":55:35")), fileName_1 + ":55:29"));
|
|
41
|
+
return new Reloadable(ref, reload);
|
|
41
42
|
}, fileName_1 + ":54:23")(tsplus_module_10.fromAcquire(tsplus_module_5.map((env) => tsplus_module_6.unsafeGet(tag)(env), fileName_1 + ":54:61")(tsplus_module_7.build(layer, fileName_1 + ":54:51")), fileName_1 + ":54:45")), fileName_1 + ":53:23")(tsplus_module_9.environment(fileName_1 + ":53:38")), reloadableTag, fileName_1 + ":51:22");
|
|
42
43
|
}
|
|
43
|
-
//#endregion
|
|
44
44
|
export { auto, autoFromConfig, manual };
|
|
45
45
|
|
|
46
46
|
//# sourceMappingURL=constructors.mjs.map
|