@fncts/io 0.0.13 → 0.0.16
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/Cached/api.d.ts +2 -2
- package/Channel/UpstreamPullStrategy/definition.d.ts +1 -1
- package/Channel/api/mapOutIOC.d.ts +1 -1
- package/Channel/api/mergeAllWith.d.ts +2 -2
- package/Channel/api/mergeWith.d.ts +2 -2
- package/Channel/api/toPull.d.ts +1 -1
- package/Channel/api.d.ts +8 -8
- package/Channel/core-api.d.ts +2 -2
- package/Channel/definition.d.ts +24 -10
- package/Channel/internal/AsyncInputConsumer.d.ts +1 -1
- package/Channel/internal/AsyncInputProducer.d.ts +1 -1
- package/Channel/internal/ChannelExecutor.d.ts +5 -5
- package/Channel/internal/ChannelState.d.ts +1 -1
- package/Channel/internal/MergeDecision.d.ts +1 -1
- package/Channel/internal/MergeState.d.ts +2 -2
- package/Channel/internal/SingleProducerAsyncInput.d.ts +4 -4
- package/Clock/api.d.ts +2 -2
- package/Clock/definition.d.ts +2 -2
- package/Clock/live.d.ts +3 -3
- package/Console/api.d.ts +1 -1
- package/Fiber/FiberContext.d.ts +10 -10
- package/Fiber/api/await.d.ts +2 -2
- package/Fiber/api/awaitAll.d.ts +2 -2
- package/Fiber/api/children.d.ts +1 -1
- package/Fiber/api/collectAll.d.ts +3 -3
- package/Fiber/api/evalOn.d.ts +1 -1
- package/Fiber/api/evalOnIO.d.ts +1 -1
- package/Fiber/api/fromIO.d.ts +1 -1
- package/Fiber/api/id.d.ts +2 -2
- package/Fiber/api/inheritRefs.d.ts +1 -1
- package/Fiber/api/interrupt.d.ts +2 -2
- package/Fiber/api/interruptAll.d.ts +3 -3
- package/Fiber/api/interruptAs.d.ts +3 -3
- package/Fiber/api/join.d.ts +1 -1
- package/Fiber/api/joinAll.d.ts +1 -1
- package/Fiber/api/mapFiber.d.ts +1 -1
- package/Fiber/api/mapIO.d.ts +2 -2
- package/Fiber/api/poll.d.ts +3 -3
- package/Fiber/api/zipWith.d.ts +1 -1
- package/Fiber/constructors.d.ts +8 -8
- package/Fiber/definition.d.ts +3 -3
- package/FiberRef/api/locallyScoped.d.ts +1 -1
- package/FiberRef/api/locallyScopedWith.d.ts +1 -1
- package/FiberRef/api.d.ts +8 -8
- package/FiberRef/constructors.d.ts +2 -2
- package/FiberRef/unsafe.d.ts +5 -5
- package/FiberRefs/api.d.ts +4 -4
- package/FiberRefs/definition.d.ts +3 -3
- package/FiberRefs/join.d.ts +2 -2
- package/FiberScope/constructors.d.ts +1 -1
- package/FiberScope/definition.d.ts +1 -1
- package/FiberState/api.d.ts +1 -1
- package/FiberState/constructors.d.ts +3 -3
- package/FiberState/definition.d.ts +3 -3
- package/FiberStatus/constructors.d.ts +1 -1
- package/FiberStatus/definition.d.ts +1 -1
- package/Future/api.d.ts +18 -18
- package/Future/constructors.d.ts +3 -3
- package/Future/definition.d.ts +2 -2
- package/Hub/api.d.ts +22 -22
- package/Hub/internal.d.ts +1 -1
- package/IO/api/acquireRelease.d.ts +2 -2
- package/IO/api/acquireReleaseExit.d.ts +2 -2
- package/IO/api/acquireReleaseInterruptible.d.ts +1 -1
- package/IO/api/acquireReleaseInterruptibleExit.d.ts +2 -2
- package/IO/api/addFinalizer.d.ts +1 -1
- package/IO/api/addFinalizerExit.d.ts +2 -2
- package/IO/api/asyncIO.d.ts +1 -1
- package/IO/api/bracket.d.ts +2 -2
- package/IO/api/bracketExit.d.ts +3 -3
- package/IO/api/concurrency.d.ts +4 -4
- package/IO/api/concurrentFinalizers.d.ts +1 -1
- package/IO/api/consoleWith.d.ts +1 -1
- package/IO/api/core-scope.d.ts +3 -3
- package/IO/api/ensuringChildren.d.ts +1 -1
- package/IO/api/environment.d.ts +3 -3
- package/IO/api/foreachC.d.ts +2 -2
- package/IO/api/foreachExec.d.ts +1 -1
- package/IO/api/fulfill.d.ts +1 -1
- package/IO/api/interrupt.d.ts +7 -7
- package/IO/api/onExit.d.ts +2 -2
- package/IO/api/onTermination.d.ts +4 -4
- package/IO/api/provideLayer.d.ts +1 -1
- package/IO/api/race.d.ts +1 -1
- package/IO/api/raceFirst.d.ts +1 -1
- package/IO/api/randomWith.d.ts +1 -1
- package/IO/api/repeat.d.ts +6 -6
- package/IO/api/retry.d.ts +5 -5
- package/IO/api/schedule.d.ts +2 -2
- package/IO/api/scopeWith.d.ts +1 -1
- package/IO/api/scoped.d.ts +3 -3
- package/IO/api/sequenceT.d.ts +1 -1
- package/IO/api/sleep.d.ts +2 -2
- package/IO/api/stateful.d.ts +2 -2
- package/IO/api/timeout.d.ts +4 -4
- package/IO/api/withEarlyRelease.d.ts +1 -1
- package/IO/api/withFinalizer.d.ts +1 -1
- package/IO/api/withFinalizerExit.d.ts +2 -2
- package/IO/api/withRuntimeConfig.d.ts +2 -2
- package/IO/api/zipC.d.ts +4 -4
- package/IO/api.d.ts +53 -53
- package/IO/definition.d.ts +16 -10
- package/IO/runtime.d.ts +7 -7
- package/IOEnv/services.d.ts +1 -1
- package/IOSpec.d.ts +6 -6
- package/Layer/MemoMap.d.ts +8 -8
- package/Layer/api.d.ts +39 -39
- package/Layer/definition.d.ts +16 -9
- package/Logger/api.d.ts +2 -2
- package/Logger/definition.d.ts +4 -4
- package/Queue/api/dimapIO.d.ts +6 -6
- package/Queue/api/filterInputIO.d.ts +3 -3
- package/Queue/api/filterOutputIO.d.ts +3 -3
- package/Queue/api/operations.d.ts +10 -10
- package/Queue/api/poll.d.ts +2 -2
- package/Queue/api/takeBetween.d.ts +1 -1
- package/Queue/api/zipWithIO.d.ts +3 -3
- package/Queue/constructors.d.ts +4 -4
- package/Queue/definition.d.ts +3 -3
- package/Queue/strategy.d.ts +10 -10
- package/Random/api.d.ts +5 -5
- package/Random/definition.d.ts +5 -5
- package/Random/live.d.ts +4 -4
- package/Ref/Atomic/Atomic.d.ts +1 -1
- package/Ref/Atomic/api.d.ts +11 -11
- package/Ref/Derived.d.ts +1 -1
- package/Ref/DerivedAll.d.ts +1 -1
- package/Ref/Synchronized/api.d.ts +13 -13
- package/Ref/Synchronized/constructors.d.ts +2 -2
- package/Ref/Synchronized/definition.d.ts +1 -1
- package/Ref/api/collect.d.ts +2 -2
- package/Ref/api/dimap.d.ts +8 -8
- package/Ref/api/filter.d.ts +3 -3
- package/Ref/api/get.d.ts +1 -1
- package/Ref/api/match.d.ts +1 -1
- package/Ref/api/matchAll.d.ts +1 -1
- package/Ref/api/modify.d.ts +10 -10
- package/Ref/api/set.d.ts +1 -1
- package/Ref/constructors.d.ts +3 -3
- package/Ref/definition.d.ts +2 -2
- package/RuntimeConfig.d.ts +2 -2
- package/STM/api/core-api.d.ts +5 -5
- package/STM/api/core-constructors.d.ts +7 -7
- package/STM/api.d.ts +56 -56
- package/STM/definition.d.ts +2 -2
- package/STM/driver.d.ts +2 -2
- package/STM/internal/CommitState.d.ts +1 -1
- package/STM/internal/Journal.d.ts +3 -3
- package/STM/internal/TryCommit.d.ts +1 -1
- package/Schedule/Driver.d.ts +1 -1
- package/Schedule/api/driver.d.ts +1 -1
- package/Schedule/api.d.ts +73 -73
- package/Scope/Finalizer/definition.d.ts +1 -1
- package/Scope/ReleaseMap/api/releaseAll.d.ts +2 -2
- package/Scope/ReleaseMap/api.d.ts +7 -7
- package/Scope/ReleaseMap/definition.d.ts +2 -2
- package/Scope/api.d.ts +9 -9
- package/Scope/definition.d.ts +2 -2
- package/ScopedRef/api.d.ts +1 -1
- package/Sink/api.d.ts +18 -18
- package/State/api.d.ts +2 -2
- package/Stream/api/zipAllWith.d.ts +3 -3
- package/Stream/api/zipWith.d.ts +1 -1
- package/Stream/api/zipWithChunks.d.ts +4 -4
- package/Stream/api.d.ts +169 -162
- package/Stream/internal/Handoff.d.ts +2 -2
- package/Stream/internal/Pull.d.ts +2 -2
- package/Stream/internal/Take.d.ts +3 -3
- package/Stream/internal/util.d.ts +1 -1
- package/Supervisor/api.d.ts +3 -3
- package/Supervisor/constructors.d.ts +4 -4
- package/Supervisor/definition.d.ts +3 -3
- package/TExit/constructors.d.ts +1 -1
- package/TExit/definition.d.ts +1 -1
- package/TFuture/api.d.ts +7 -7
- package/TFuture/constructors.d.ts +4 -4
- package/TFuture/definition.d.ts +2 -2
- package/TReentrantLock/api.d.ts +16 -16
- package/TReentrantLock/definition.d.ts +2 -2
- package/TRef/api.d.ts +15 -15
- package/TRef/constructors.d.ts +5 -5
- package/TRef/definition.d.ts +2 -2
- package/TSemaphore/api.d.ts +7 -7
- package/TSemaphore/constructors.d.ts +1 -1
- package/_cjs/Cached/api.cjs +5 -5
- package/_cjs/Cached/api.cjs.map +1 -1
- package/_cjs/Channel/api/interruptWhen.cjs +1 -1
- package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
- package/_cjs/Channel/api/mapOutIOC.cjs +2 -2
- package/_cjs/Channel/api/mapOutIOC.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllWith.cjs +11 -11
- package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeWith.cjs +5 -5
- package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
- package/_cjs/Channel/api/run.cjs +3 -1
- package/_cjs/Channel/api/run.cjs.map +1 -1
- package/_cjs/Channel/api.cjs +7 -7
- package/_cjs/Channel/api.cjs.map +1 -1
- package/_cjs/Channel/core-api.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelExecutor.cjs +6 -6
- package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelState.cjs +2 -1
- package/_cjs/Channel/internal/ChannelState.cjs.map +1 -1
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +16 -16
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
- package/_cjs/Clock/definition.cjs +1 -1
- package/_cjs/Clock/definition.cjs.map +1 -1
- package/_cjs/Console/api.cjs +5 -3
- package/_cjs/Console/api.cjs.map +1 -1
- package/_cjs/Console/definition.cjs +1 -1
- package/_cjs/Console/definition.cjs.map +1 -1
- package/_cjs/Fiber/FiberContext.cjs +3 -3
- package/_cjs/Fiber/FiberContext.cjs.map +1 -1
- package/_cjs/Fiber/api/await.cjs +1 -1
- package/_cjs/Fiber/api/await.cjs.map +1 -1
- package/_cjs/Fiber/api/awaitAll.cjs +2 -4
- package/_cjs/Fiber/api/awaitAll.cjs.map +1 -1
- package/_cjs/Fiber/api/children.cjs +1 -1
- package/_cjs/Fiber/api/children.cjs.map +1 -1
- package/_cjs/Fiber/api/collectAll.cjs +2 -4
- package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
- package/_cjs/Fiber/api/evalOn.cjs +1 -1
- package/_cjs/Fiber/api/evalOn.cjs.map +1 -1
- package/_cjs/Fiber/api/evalOnIO.cjs +2 -4
- package/_cjs/Fiber/api/evalOnIO.cjs.map +1 -1
- package/_cjs/Fiber/api/fromIO.cjs +2 -4
- package/_cjs/Fiber/api/fromIO.cjs.map +1 -1
- package/_cjs/Fiber/api/id.cjs +1 -1
- package/_cjs/Fiber/api/id.cjs.map +1 -1
- package/_cjs/Fiber/api/inheritRefs.cjs +1 -1
- package/_cjs/Fiber/api/inheritRefs.cjs.map +1 -1
- package/_cjs/Fiber/api/interrupt.cjs +2 -4
- package/_cjs/Fiber/api/interrupt.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAll.cjs +4 -5
- package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAs.cjs +1 -1
- package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs.map +1 -1
- package/_cjs/Fiber/api/join.cjs +2 -4
- package/_cjs/Fiber/api/join.cjs.map +1 -1
- package/_cjs/Fiber/api/joinAll.cjs +2 -4
- package/_cjs/Fiber/api/joinAll.cjs.map +1 -1
- package/_cjs/Fiber/api/mapFiber.cjs +2 -4
- package/_cjs/Fiber/api/mapFiber.cjs.map +1 -1
- package/_cjs/Fiber/api/mapIO.cjs +4 -5
- package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
- package/_cjs/Fiber/api/poll.cjs +1 -1
- package/_cjs/Fiber/api/poll.cjs.map +1 -1
- package/_cjs/Fiber/api/zipWith.cjs +2 -4
- package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
- package/_cjs/Fiber/constructors.cjs +10 -11
- package/_cjs/Fiber/constructors.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScoped.cjs +2 -4
- package/_cjs/FiberRef/api/locallyScoped.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScopedWith.cjs +2 -4
- package/_cjs/FiberRef/api/locallyScopedWith.cjs.map +1 -1
- package/_cjs/FiberRef/api.cjs +13 -14
- package/_cjs/FiberRef/api.cjs.map +1 -1
- package/_cjs/FiberRef/constructors.cjs +4 -6
- package/_cjs/FiberRef/constructors.cjs.map +1 -1
- package/_cjs/Future/api.cjs +30 -31
- 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/Hub/api.cjs +44 -44
- package/_cjs/Hub/api.cjs.map +1 -1
- package/_cjs/Hub/internal.cjs +14 -14
- package/_cjs/Hub/internal.cjs.map +1 -1
- package/_cjs/IO/api/acquireRelease.cjs +2 -4
- package/_cjs/IO/api/acquireRelease.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseExit.cjs +1 -1
- package/_cjs/IO/api/acquireReleaseExit.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizer.cjs +1 -1
- package/_cjs/IO/api/addFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizerExit.cjs +2 -4
- package/_cjs/IO/api/addFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/asyncIO.cjs +5 -7
- package/_cjs/IO/api/asyncIO.cjs.map +1 -1
- package/_cjs/IO/api/bracket.cjs +2 -2
- package/_cjs/IO/api/bracket.cjs.map +1 -1
- package/_cjs/IO/api/bracketExit.cjs +2 -4
- package/_cjs/IO/api/bracketExit.cjs.map +1 -1
- package/_cjs/IO/api/concurrency.cjs +7 -7
- package/_cjs/IO/api/concurrency.cjs.map +1 -1
- package/_cjs/IO/api/concurrentFinalizers.cjs +2 -4
- package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
- package/_cjs/IO/api/consoleWith.cjs +3 -3
- package/_cjs/IO/api/consoleWith.cjs.map +1 -1
- package/_cjs/IO/api/core-scope.cjs +4 -4
- package/_cjs/IO/api/core-scope.cjs.map +1 -1
- package/_cjs/IO/api/ensuringChildren.cjs +2 -4
- package/_cjs/IO/api/ensuringChildren.cjs.map +1 -1
- package/_cjs/IO/api/environment.cjs +5 -6
- package/_cjs/IO/api/environment.cjs.map +1 -1
- package/_cjs/IO/api/foreachC.cjs +25 -27
- package/_cjs/IO/api/foreachC.cjs.map +1 -1
- package/_cjs/IO/api/foreachExec.cjs +2 -4
- package/_cjs/IO/api/foreachExec.cjs.map +1 -1
- package/_cjs/IO/api/forkIn.cjs +1 -1
- package/_cjs/IO/api/forkIn.cjs.map +1 -1
- package/_cjs/IO/api/forkScoped.cjs +1 -1
- package/_cjs/IO/api/forkScoped.cjs.map +1 -1
- package/_cjs/IO/api/fulfill.cjs +2 -4
- package/_cjs/IO/api/fulfill.cjs.map +1 -1
- package/_cjs/IO/api/interrupt.cjs +12 -12
- package/_cjs/IO/api/interrupt.cjs.map +1 -1
- package/_cjs/IO/api/memoize.cjs +1 -1
- package/_cjs/IO/api/memoize.cjs.map +1 -1
- package/_cjs/IO/api/onExit.cjs +2 -2
- package/_cjs/IO/api/onExit.cjs.map +1 -1
- package/_cjs/IO/api/onTermination.cjs +2 -2
- package/_cjs/IO/api/onTermination.cjs.map +1 -1
- package/_cjs/IO/api/once.cjs +1 -1
- package/_cjs/IO/api/once.cjs.map +1 -1
- package/_cjs/IO/api/provideLayer.cjs +2 -4
- package/_cjs/IO/api/provideLayer.cjs.map +1 -1
- package/_cjs/IO/api/provideSomeLayer.cjs +1 -1
- package/_cjs/IO/api/provideSomeLayer.cjs.map +1 -1
- package/_cjs/IO/api/race.cjs +4 -6
- package/_cjs/IO/api/race.cjs.map +1 -1
- package/_cjs/IO/api/raceFirst.cjs +2 -4
- package/_cjs/IO/api/raceFirst.cjs.map +1 -1
- package/_cjs/IO/api/randomWith.cjs +3 -3
- package/_cjs/IO/api/randomWith.cjs.map +1 -1
- package/_cjs/IO/api/repeat.cjs +10 -11
- package/_cjs/IO/api/repeat.cjs.map +1 -1
- package/_cjs/IO/api/retry.cjs +8 -9
- package/_cjs/IO/api/retry.cjs.map +1 -1
- package/_cjs/IO/api/schedule.cjs +6 -7
- package/_cjs/IO/api/schedule.cjs.map +1 -1
- package/_cjs/IO/api/scopeWith.cjs +2 -4
- 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/stateful.cjs +1 -1
- package/_cjs/IO/api/stateful.cjs.map +1 -1
- package/_cjs/IO/api/timeout.cjs +3 -4
- package/_cjs/IO/api/timeout.cjs.map +1 -1
- package/_cjs/IO/api/withEarlyRelease.cjs +2 -4
- package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizer.cjs +2 -2
- package/_cjs/IO/api/withFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizerExit.cjs +2 -4
- package/_cjs/IO/api/withFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/withRuntimeConfig.cjs +2 -4
- package/_cjs/IO/api/withRuntimeConfig.cjs.map +1 -1
- package/_cjs/IO/api/zipC.cjs +5 -6
- package/_cjs/IO/api/zipC.cjs.map +1 -1
- package/_cjs/IO/api.cjs +112 -112
- package/_cjs/IO/api.cjs.map +1 -1
- package/_cjs/IOEnv/live.cjs +3 -1
- package/_cjs/IOEnv/live.cjs.map +1 -1
- package/_cjs/Layer/MemoMap.cjs +39 -40
- package/_cjs/Layer/MemoMap.cjs.map +1 -1
- package/_cjs/Layer/api.cjs +81 -82
- package/_cjs/Layer/api.cjs.map +1 -1
- package/_cjs/Layer/definition.cjs +14 -7
- package/_cjs/Layer/definition.cjs.map +1 -1
- package/_cjs/Queue/api/dimapIO.cjs +14 -14
- package/_cjs/Queue/api/dimapIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterInputIO.cjs +6 -6
- package/_cjs/Queue/api/filterInputIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterOutputIO.cjs +6 -6
- package/_cjs/Queue/api/filterOutputIO.cjs.map +1 -1
- package/_cjs/Queue/api/operations.cjs +13 -13
- package/_cjs/Queue/api/operations.cjs.map +1 -1
- package/_cjs/Queue/api/poll.cjs +2 -4
- package/_cjs/Queue/api/poll.cjs.map +1 -1
- package/_cjs/Queue/api/takeBetween.cjs +10 -12
- package/_cjs/Queue/api/takeBetween.cjs.map +1 -1
- package/_cjs/Queue/api/zipWithIO.cjs +12 -12
- package/_cjs/Queue/api/zipWithIO.cjs.map +1 -1
- package/_cjs/Queue/constructors.cjs +8 -10
- package/_cjs/Queue/constructors.cjs.map +1 -1
- package/_cjs/Queue/internal.cjs +15 -15
- package/_cjs/Queue/internal.cjs.map +1 -1
- package/_cjs/Queue/strategy.cjs +16 -16
- package/_cjs/Queue/strategy.cjs.map +1 -1
- package/_cjs/Random/api.cjs +15 -13
- package/_cjs/Random/api.cjs.map +1 -1
- package/_cjs/Random/definition.cjs +1 -1
- package/_cjs/Random/definition.cjs.map +1 -1
- package/_cjs/Random/live.cjs +4 -4
- package/_cjs/Random/live.cjs.map +1 -1
- package/_cjs/Ref/Atomic/api.cjs +19 -21
- package/_cjs/Ref/Atomic/api.cjs.map +1 -1
- package/_cjs/Ref/DerivedAll.cjs +1 -1
- package/_cjs/Ref/DerivedAll.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/api.cjs +25 -26
- package/_cjs/Ref/Synchronized/api.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/constructors.cjs +2 -4
- package/_cjs/Ref/Synchronized/constructors.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/definition.cjs +1 -1
- package/_cjs/Ref/Synchronized/definition.cjs.map +1 -1
- package/_cjs/Ref/api/collect.cjs +1 -1
- package/_cjs/Ref/api/collect.cjs.map +1 -1
- package/_cjs/Ref/api/dimap.cjs +12 -12
- package/_cjs/Ref/api/dimap.cjs.map +1 -1
- package/_cjs/Ref/api/filter.cjs +2 -2
- package/_cjs/Ref/api/filter.cjs.map +1 -1
- package/_cjs/Ref/api/get.cjs +1 -1
- package/_cjs/Ref/api/get.cjs.map +1 -1
- package/_cjs/Ref/api/modify.cjs +29 -30
- package/_cjs/Ref/api/modify.cjs.map +1 -1
- package/_cjs/Ref/api/set.cjs +1 -1
- package/_cjs/Ref/api/set.cjs.map +1 -1
- package/_cjs/Ref/constructors.cjs +3 -4
- package/_cjs/Ref/constructors.cjs.map +1 -1
- package/_cjs/STM/api/core-api.cjs +8 -8
- package/_cjs/STM/api/core-api.cjs.map +1 -1
- package/_cjs/STM/api/core-constructors.cjs +6 -6
- package/_cjs/STM/api/core-constructors.cjs.map +1 -1
- package/_cjs/STM/api.cjs +110 -110
- package/_cjs/STM/api.cjs.map +1 -1
- package/_cjs/STM/driver.cjs +3 -1
- package/_cjs/STM/driver.cjs.map +1 -1
- package/_cjs/Schedule/api/driver.cjs +5 -9
- package/_cjs/Schedule/api/driver.cjs.map +1 -1
- package/_cjs/Schedule/api.cjs +156 -156
- package/_cjs/Schedule/api.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +3 -5
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api.cjs +14 -15
- package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/constructors.cjs +1 -1
- package/_cjs/Scope/ReleaseMap/constructors.cjs.map +1 -1
- package/_cjs/Scope/api.cjs +20 -20
- package/_cjs/Scope/api.cjs.map +1 -1
- package/_cjs/Scope/definition.cjs +1 -1
- package/_cjs/Scope/definition.cjs.map +1 -1
- package/_cjs/ScopedRef/api.cjs +5 -5
- package/_cjs/ScopedRef/api.cjs.map +1 -1
- package/_cjs/Sink/api.cjs +92 -88
- package/_cjs/Sink/api.cjs.map +1 -1
- package/_cjs/State/api.cjs +5 -7
- package/_cjs/State/api.cjs.map +1 -1
- package/_cjs/Stream/api/zipAllWith.cjs +22 -24
- package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWith.cjs +2 -2
- package/_cjs/Stream/api/zipWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWithChunks.cjs +20 -22
- package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
- package/_cjs/Stream/api.cjs +436 -419
- package/_cjs/Stream/api.cjs.map +1 -1
- package/_cjs/Stream/internal/Handoff.cjs +12 -12
- package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
- package/_cjs/Stream/internal/Pull.cjs +1 -1
- package/_cjs/Stream/internal/Pull.cjs.map +1 -1
- package/_cjs/Stream/internal/Take.cjs +1 -1
- package/_cjs/Stream/internal/Take.cjs.map +1 -1
- package/_cjs/Supervisor/api.cjs +3 -1
- package/_cjs/Supervisor/api.cjs.map +1 -1
- package/_cjs/TFuture/api.cjs +10 -10
- package/_cjs/TFuture/api.cjs.map +1 -1
- package/_cjs/TFuture/constructors.cjs +4 -4
- package/_cjs/TFuture/constructors.cjs.map +1 -1
- package/_cjs/TReentrantLock/api.cjs +41 -42
- package/_cjs/TReentrantLock/api.cjs.map +1 -1
- package/_cjs/TRef/api.cjs +40 -40
- package/_cjs/TRef/api.cjs.map +1 -1
- package/_cjs/TRef/constructors.cjs +6 -6
- package/_cjs/TRef/constructors.cjs.map +1 -1
- package/_cjs/TSemaphore/api.cjs +16 -17
- package/_cjs/TSemaphore/api.cjs.map +1 -1
- package/_cjs/TSemaphore/constructors.cjs +2 -2
- package/_cjs/TSemaphore/constructors.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +1 -1
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +1 -1
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/filterIO.cjs +5 -7
- package/_cjs/collection/immutable/Conc/filterIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/findIO.cjs +7 -9
- package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/mapIO.cjs +3 -5
- package/_cjs/collection/immutable/Conc/mapIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +7 -9
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc.cjs +26 -0
- package/_cjs/collection/immutable/Conc.cjs.map +1 -1
- package/_cjs/data/Exit/foreachIO.cjs +2 -4
- package/_cjs/data/Exit/foreachIO.cjs.map +1 -1
- package/_cjs/global.cjs +6 -0
- package/_cjs/global.cjs.map +1 -0
- package/_cjs/index.cjs +6 -0
- package/_cjs/index.cjs.map +1 -0
- package/_mjs/Cached/api.mjs +5 -5
- package/_mjs/Cached/api.mjs.map +1 -1
- package/_mjs/Channel/api/interruptWhen.mjs +1 -1
- package/_mjs/Channel/api/interruptWhen.mjs.map +1 -1
- package/_mjs/Channel/api/mapOutIOC.mjs +2 -2
- package/_mjs/Channel/api/mapOutIOC.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllWith.mjs +11 -11
- package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeWith.mjs +6 -5
- package/_mjs/Channel/api/mergeWith.mjs.map +1 -1
- package/_mjs/Channel/api/run.mjs +2 -1
- package/_mjs/Channel/api/run.mjs.map +1 -1
- package/_mjs/Channel/api.mjs +7 -7
- package/_mjs/Channel/api.mjs.map +1 -1
- package/_mjs/Channel/core-api.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelExecutor.mjs +6 -6
- package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelState.mjs +2 -1
- package/_mjs/Channel/internal/ChannelState.mjs.map +1 -1
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +16 -16
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -1
- package/_mjs/Clock/definition.mjs +1 -1
- package/_mjs/Clock/definition.mjs.map +1 -1
- package/_mjs/Console/api.mjs +4 -3
- package/_mjs/Console/api.mjs.map +1 -1
- package/_mjs/Console/definition.mjs +1 -1
- package/_mjs/Console/definition.mjs.map +1 -1
- package/_mjs/Fiber/FiberContext.mjs +4 -3
- package/_mjs/Fiber/FiberContext.mjs.map +1 -1
- package/_mjs/Fiber/api/await.mjs +1 -1
- package/_mjs/Fiber/api/await.mjs.map +1 -1
- package/_mjs/Fiber/api/awaitAll.mjs +2 -3
- package/_mjs/Fiber/api/awaitAll.mjs.map +1 -1
- package/_mjs/Fiber/api/children.mjs +1 -1
- package/_mjs/Fiber/api/children.mjs.map +1 -1
- package/_mjs/Fiber/api/collectAll.mjs +2 -3
- package/_mjs/Fiber/api/collectAll.mjs.map +1 -1
- package/_mjs/Fiber/api/evalOn.mjs +1 -1
- package/_mjs/Fiber/api/evalOn.mjs.map +1 -1
- package/_mjs/Fiber/api/evalOnIO.mjs +2 -3
- package/_mjs/Fiber/api/evalOnIO.mjs.map +1 -1
- package/_mjs/Fiber/api/fromIO.mjs +2 -3
- package/_mjs/Fiber/api/fromIO.mjs.map +1 -1
- package/_mjs/Fiber/api/id.mjs +1 -1
- package/_mjs/Fiber/api/id.mjs.map +1 -1
- package/_mjs/Fiber/api/inheritRefs.mjs +1 -1
- package/_mjs/Fiber/api/inheritRefs.mjs.map +1 -1
- package/_mjs/Fiber/api/interrupt.mjs +2 -3
- package/_mjs/Fiber/api/interrupt.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAll.mjs +4 -5
- package/_mjs/Fiber/api/interruptAll.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAs.mjs +1 -1
- package/_mjs/Fiber/api/interruptAs.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptFork.mjs +1 -1
- package/_mjs/Fiber/api/interruptFork.mjs.map +1 -1
- package/_mjs/Fiber/api/join.mjs +2 -3
- package/_mjs/Fiber/api/join.mjs.map +1 -1
- package/_mjs/Fiber/api/joinAll.mjs +2 -3
- package/_mjs/Fiber/api/joinAll.mjs.map +1 -1
- package/_mjs/Fiber/api/mapFiber.mjs +2 -3
- package/_mjs/Fiber/api/mapFiber.mjs.map +1 -1
- package/_mjs/Fiber/api/mapIO.mjs +4 -5
- package/_mjs/Fiber/api/mapIO.mjs.map +1 -1
- package/_mjs/Fiber/api/poll.mjs +1 -1
- package/_mjs/Fiber/api/poll.mjs.map +1 -1
- package/_mjs/Fiber/api/zipWith.mjs +2 -3
- package/_mjs/Fiber/api/zipWith.mjs.map +1 -1
- package/_mjs/Fiber/constructors.mjs +10 -11
- package/_mjs/Fiber/constructors.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScoped.mjs +2 -3
- package/_mjs/FiberRef/api/locallyScoped.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScopedWith.mjs +2 -3
- package/_mjs/FiberRef/api/locallyScopedWith.mjs.map +1 -1
- package/_mjs/FiberRef/api.mjs +13 -14
- package/_mjs/FiberRef/api.mjs.map +1 -1
- package/_mjs/FiberRef/constructors.mjs +4 -5
- package/_mjs/FiberRef/constructors.mjs.map +1 -1
- package/_mjs/Future/api.mjs +30 -31
- package/_mjs/Future/api.mjs.map +1 -1
- package/_mjs/Future/constructors.mjs +4 -5
- package/_mjs/Future/constructors.mjs.map +1 -1
- package/_mjs/Hub/api.mjs +44 -44
- package/_mjs/Hub/api.mjs.map +1 -1
- package/_mjs/Hub/internal.mjs +14 -14
- package/_mjs/Hub/internal.mjs.map +1 -1
- package/_mjs/IO/api/acquireRelease.mjs +2 -3
- package/_mjs/IO/api/acquireRelease.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseExit.mjs +1 -1
- package/_mjs/IO/api/acquireReleaseExit.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs.map +1 -1
- package/_mjs/IO/api/addFinalizer.mjs +1 -1
- package/_mjs/IO/api/addFinalizer.mjs.map +1 -1
- package/_mjs/IO/api/addFinalizerExit.mjs +2 -3
- package/_mjs/IO/api/addFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/asyncIO.mjs +5 -6
- package/_mjs/IO/api/asyncIO.mjs.map +1 -1
- package/_mjs/IO/api/bracket.mjs +2 -2
- package/_mjs/IO/api/bracket.mjs.map +1 -1
- package/_mjs/IO/api/bracketExit.mjs +2 -3
- package/_mjs/IO/api/bracketExit.mjs.map +1 -1
- package/_mjs/IO/api/concurrency.mjs +7 -7
- package/_mjs/IO/api/concurrency.mjs.map +1 -1
- package/_mjs/IO/api/concurrentFinalizers.mjs +2 -3
- package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -1
- package/_mjs/IO/api/consoleWith.mjs +3 -3
- package/_mjs/IO/api/consoleWith.mjs.map +1 -1
- package/_mjs/IO/api/core-scope.mjs +4 -4
- package/_mjs/IO/api/core-scope.mjs.map +1 -1
- package/_mjs/IO/api/ensuringChildren.mjs +2 -3
- package/_mjs/IO/api/ensuringChildren.mjs.map +1 -1
- package/_mjs/IO/api/environment.mjs +5 -6
- package/_mjs/IO/api/environment.mjs.map +1 -1
- package/_mjs/IO/api/foreachC.mjs +25 -26
- package/_mjs/IO/api/foreachC.mjs.map +1 -1
- package/_mjs/IO/api/foreachExec.mjs +2 -3
- package/_mjs/IO/api/foreachExec.mjs.map +1 -1
- package/_mjs/IO/api/forkIn.mjs +1 -1
- package/_mjs/IO/api/forkIn.mjs.map +1 -1
- package/_mjs/IO/api/forkScoped.mjs +1 -1
- package/_mjs/IO/api/forkScoped.mjs.map +1 -1
- package/_mjs/IO/api/fulfill.mjs +2 -3
- package/_mjs/IO/api/fulfill.mjs.map +1 -1
- package/_mjs/IO/api/interrupt.mjs +12 -12
- package/_mjs/IO/api/interrupt.mjs.map +1 -1
- package/_mjs/IO/api/memoize.mjs +1 -1
- package/_mjs/IO/api/memoize.mjs.map +1 -1
- package/_mjs/IO/api/onExit.mjs +2 -2
- package/_mjs/IO/api/onExit.mjs.map +1 -1
- package/_mjs/IO/api/onTermination.mjs +2 -2
- package/_mjs/IO/api/onTermination.mjs.map +1 -1
- package/_mjs/IO/api/once.mjs +1 -1
- package/_mjs/IO/api/once.mjs.map +1 -1
- package/_mjs/IO/api/provideLayer.mjs +2 -3
- package/_mjs/IO/api/provideLayer.mjs.map +1 -1
- package/_mjs/IO/api/provideSomeLayer.mjs +1 -1
- package/_mjs/IO/api/provideSomeLayer.mjs.map +1 -1
- package/_mjs/IO/api/race.mjs +4 -5
- package/_mjs/IO/api/race.mjs.map +1 -1
- package/_mjs/IO/api/raceFirst.mjs +2 -3
- package/_mjs/IO/api/raceFirst.mjs.map +1 -1
- package/_mjs/IO/api/randomWith.mjs +3 -3
- package/_mjs/IO/api/randomWith.mjs.map +1 -1
- package/_mjs/IO/api/repeat.mjs +10 -11
- package/_mjs/IO/api/repeat.mjs.map +1 -1
- package/_mjs/IO/api/retry.mjs +8 -9
- package/_mjs/IO/api/retry.mjs.map +1 -1
- package/_mjs/IO/api/schedule.mjs +6 -7
- package/_mjs/IO/api/schedule.mjs.map +1 -1
- package/_mjs/IO/api/scopeWith.mjs +2 -3
- package/_mjs/IO/api/scopeWith.mjs.map +1 -1
- package/_mjs/IO/api/scoped.mjs +4 -5
- package/_mjs/IO/api/scoped.mjs.map +1 -1
- package/_mjs/IO/api/stateful.mjs +1 -1
- package/_mjs/IO/api/stateful.mjs.map +1 -1
- package/_mjs/IO/api/timeout.mjs +3 -4
- package/_mjs/IO/api/timeout.mjs.map +1 -1
- package/_mjs/IO/api/withEarlyRelease.mjs +2 -3
- package/_mjs/IO/api/withEarlyRelease.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizer.mjs +2 -2
- package/_mjs/IO/api/withFinalizer.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizerExit.mjs +2 -3
- package/_mjs/IO/api/withFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/withRuntimeConfig.mjs +2 -3
- package/_mjs/IO/api/withRuntimeConfig.mjs.map +1 -1
- package/_mjs/IO/api/zipC.mjs +5 -6
- package/_mjs/IO/api/zipC.mjs.map +1 -1
- package/_mjs/IO/api.mjs +112 -112
- package/_mjs/IO/api.mjs.map +1 -1
- package/_mjs/IOEnv/live.mjs +2 -1
- package/_mjs/IOEnv/live.mjs.map +1 -1
- package/_mjs/Layer/MemoMap.mjs +37 -38
- package/_mjs/Layer/MemoMap.mjs.map +1 -1
- package/_mjs/Layer/api.mjs +82 -83
- package/_mjs/Layer/api.mjs.map +1 -1
- package/_mjs/Layer/definition.mjs +14 -7
- package/_mjs/Layer/definition.mjs.map +1 -1
- package/_mjs/Queue/api/dimapIO.mjs +14 -14
- package/_mjs/Queue/api/dimapIO.mjs.map +1 -1
- package/_mjs/Queue/api/filterInputIO.mjs +6 -6
- package/_mjs/Queue/api/filterInputIO.mjs.map +1 -1
- package/_mjs/Queue/api/filterOutputIO.mjs +6 -6
- package/_mjs/Queue/api/filterOutputIO.mjs.map +1 -1
- package/_mjs/Queue/api/operations.mjs +13 -13
- package/_mjs/Queue/api/operations.mjs.map +1 -1
- package/_mjs/Queue/api/poll.mjs +2 -3
- package/_mjs/Queue/api/poll.mjs.map +1 -1
- package/_mjs/Queue/api/takeBetween.mjs +10 -11
- package/_mjs/Queue/api/takeBetween.mjs.map +1 -1
- package/_mjs/Queue/api/zipWithIO.mjs +12 -12
- package/_mjs/Queue/api/zipWithIO.mjs.map +1 -1
- package/_mjs/Queue/constructors.mjs +8 -9
- package/_mjs/Queue/constructors.mjs.map +1 -1
- package/_mjs/Queue/internal.mjs +15 -15
- package/_mjs/Queue/internal.mjs.map +1 -1
- package/_mjs/Queue/strategy.mjs +16 -16
- package/_mjs/Queue/strategy.mjs.map +1 -1
- package/_mjs/Random/api.mjs +14 -13
- package/_mjs/Random/api.mjs.map +1 -1
- package/_mjs/Random/definition.mjs +1 -1
- package/_mjs/Random/definition.mjs.map +1 -1
- package/_mjs/Random/live.mjs +4 -4
- package/_mjs/Random/live.mjs.map +1 -1
- package/_mjs/Ref/Atomic/api.mjs +19 -20
- package/_mjs/Ref/Atomic/api.mjs.map +1 -1
- package/_mjs/Ref/DerivedAll.mjs +1 -1
- package/_mjs/Ref/DerivedAll.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/api.mjs +25 -26
- package/_mjs/Ref/Synchronized/api.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/constructors.mjs +2 -3
- package/_mjs/Ref/Synchronized/constructors.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/definition.mjs +1 -1
- package/_mjs/Ref/Synchronized/definition.mjs.map +1 -1
- package/_mjs/Ref/api/collect.mjs +1 -1
- package/_mjs/Ref/api/collect.mjs.map +1 -1
- package/_mjs/Ref/api/dimap.mjs +12 -12
- package/_mjs/Ref/api/dimap.mjs.map +1 -1
- package/_mjs/Ref/api/filter.mjs +2 -2
- package/_mjs/Ref/api/filter.mjs.map +1 -1
- package/_mjs/Ref/api/get.mjs +1 -1
- package/_mjs/Ref/api/get.mjs.map +1 -1
- package/_mjs/Ref/api/modify.mjs +29 -30
- package/_mjs/Ref/api/modify.mjs.map +1 -1
- package/_mjs/Ref/api/set.mjs +1 -1
- package/_mjs/Ref/api/set.mjs.map +1 -1
- package/_mjs/Ref/constructors.mjs +3 -4
- package/_mjs/Ref/constructors.mjs.map +1 -1
- package/_mjs/STM/api/core-api.mjs +8 -8
- package/_mjs/STM/api/core-api.mjs.map +1 -1
- package/_mjs/STM/api/core-constructors.mjs +6 -6
- package/_mjs/STM/api/core-constructors.mjs.map +1 -1
- package/_mjs/STM/api.mjs +110 -110
- package/_mjs/STM/api.mjs.map +1 -1
- package/_mjs/STM/driver.mjs +3 -1
- package/_mjs/STM/driver.mjs.map +1 -1
- package/_mjs/Schedule/api/driver.mjs +6 -9
- package/_mjs/Schedule/api/driver.mjs.map +1 -1
- package/_mjs/Schedule/api.mjs +156 -156
- package/_mjs/Schedule/api.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs +3 -4
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api.mjs +14 -15
- package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/constructors.mjs +1 -1
- package/_mjs/Scope/ReleaseMap/constructors.mjs.map +1 -1
- package/_mjs/Scope/api.mjs +20 -20
- package/_mjs/Scope/api.mjs.map +1 -1
- package/_mjs/Scope/definition.mjs +1 -1
- package/_mjs/Scope/definition.mjs.map +1 -1
- package/_mjs/ScopedRef/api.mjs +5 -5
- package/_mjs/ScopedRef/api.mjs.map +1 -1
- package/_mjs/Sink/api.mjs +92 -88
- package/_mjs/Sink/api.mjs.map +1 -1
- package/_mjs/State/api.mjs +5 -6
- package/_mjs/State/api.mjs.map +1 -1
- package/_mjs/Stream/api/zipAllWith.mjs +22 -23
- package/_mjs/Stream/api/zipAllWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWith.mjs +2 -2
- package/_mjs/Stream/api/zipWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWithChunks.mjs +20 -21
- package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -1
- package/_mjs/Stream/api.mjs +430 -417
- package/_mjs/Stream/api.mjs.map +1 -1
- package/_mjs/Stream/internal/Handoff.mjs +12 -12
- package/_mjs/Stream/internal/Handoff.mjs.map +1 -1
- package/_mjs/Stream/internal/Pull.mjs +1 -1
- package/_mjs/Stream/internal/Pull.mjs.map +1 -1
- package/_mjs/Stream/internal/Take.mjs +1 -1
- package/_mjs/Stream/internal/Take.mjs.map +1 -1
- package/_mjs/Supervisor/api.mjs +2 -1
- package/_mjs/Supervisor/api.mjs.map +1 -1
- package/_mjs/TFuture/api.mjs +10 -10
- package/_mjs/TFuture/api.mjs.map +1 -1
- package/_mjs/TFuture/constructors.mjs +4 -4
- package/_mjs/TFuture/constructors.mjs.map +1 -1
- package/_mjs/TReentrantLock/api.mjs +41 -42
- package/_mjs/TReentrantLock/api.mjs.map +1 -1
- package/_mjs/TRef/api.mjs +40 -40
- package/_mjs/TRef/api.mjs.map +1 -1
- package/_mjs/TRef/constructors.mjs +6 -6
- package/_mjs/TRef/constructors.mjs.map +1 -1
- package/_mjs/TSemaphore/api.mjs +16 -17
- package/_mjs/TSemaphore/api.mjs.map +1 -1
- package/_mjs/TSemaphore/constructors.mjs +2 -2
- package/_mjs/TSemaphore/constructors.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs +1 -1
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs +1 -1
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/filterIO.mjs +5 -6
- package/_mjs/collection/immutable/Conc/filterIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/findIO.mjs +7 -8
- package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/mapIO.mjs +3 -4
- package/_mjs/collection/immutable/Conc/mapIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs +7 -8
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc.mjs +2 -0
- package/_mjs/collection/immutable/Conc.mjs.map +1 -1
- package/_mjs/data/Exit/foreachIO.mjs +2 -3
- package/_mjs/data/Exit/foreachIO.mjs.map +1 -1
- package/_mjs/global.mjs +2 -0
- package/_mjs/global.mjs.map +1 -0
- package/_mjs/index.mjs +2 -0
- package/_mjs/index.mjs.map +1 -0
- package/_src/Cached/api.ts +1 -0
- package/_src/Channel/api.ts +4 -4
- package/_src/Channel/core-api.ts +1 -3
- package/_src/Channel/definition.ts +7 -7
- package/_src/Clock/definition.ts +1 -1
- package/_src/Console/api.ts +1 -1
- package/_src/Console/definition.ts +1 -1
- package/_src/Fiber/api/await.ts +1 -1
- package/_src/Fiber/api/awaitAll.ts +1 -1
- package/_src/Fiber/api/children.ts +1 -1
- package/_src/Fiber/api/collectAll.ts +4 -1
- package/_src/Fiber/api/evalOn.ts +6 -1
- package/_src/Fiber/api/evalOnIO.ts +1 -0
- package/_src/Fiber/api/fromIO.ts +1 -1
- package/_src/Fiber/api/id.ts +1 -1
- package/_src/Fiber/api/inheritRefs.ts +1 -1
- package/_src/Fiber/api/interrupt.ts +1 -1
- package/_src/Fiber/api/interruptAll.ts +2 -2
- package/_src/Fiber/api/interruptAs.ts +1 -1
- package/_src/Fiber/api/join.ts +1 -1
- package/_src/Fiber/api/joinAll.ts +1 -1
- package/_src/Fiber/api/mapFiber.ts +5 -1
- package/_src/Fiber/api/mapIO.ts +6 -2
- package/_src/Fiber/api/poll.ts +1 -1
- package/_src/Fiber/api/zipWith.ts +1 -0
- package/_src/Fiber/constructors.ts +5 -5
- package/_src/FiberRef/api/locallyScoped.ts +1 -1
- package/_src/FiberRef/api/locallyScopedWith.ts +5 -1
- package/_src/FiberRef/api.ts +7 -7
- package/_src/FiberRef/constructors.ts +2 -0
- package/_src/Future/api.ts +23 -15
- package/_src/Future/constructors.ts +2 -2
- package/_src/Hub/api.ts +39 -12
- package/_src/IO/api/acquireRelease.ts +1 -0
- package/_src/IO/api/addFinalizer.ts +1 -4
- package/_src/IO/api/addFinalizerExit.ts +4 -1
- package/_src/IO/api/asyncIO.ts +4 -1
- package/_src/IO/api/bracket.ts +1 -0
- package/_src/IO/api/bracketExit.ts +1 -0
- package/_src/IO/api/concurrency.ts +6 -3
- package/_src/IO/api/concurrentFinalizers.ts +1 -1
- package/_src/IO/api/consoleWith.ts +1 -1
- package/_src/IO/api/ensuringChildren.ts +1 -0
- package/_src/IO/api/environment.ts +1 -1
- package/_src/IO/api/foreachC.ts +33 -6
- package/_src/IO/api/foreachExec.ts +1 -0
- package/_src/IO/api/fulfill.ts +1 -1
- package/_src/IO/api/interrupt.ts +10 -2
- package/_src/IO/api/onExit.ts +1 -0
- package/_src/IO/api/onTermination.ts +1 -1
- package/_src/IO/api/provideLayer.ts +1 -0
- package/_src/IO/api/provideSomeLayer.ts +1 -2
- package/_src/IO/api/race.ts +6 -2
- package/_src/IO/api/raceFirst.ts +6 -2
- package/_src/IO/api/randomWith.ts +1 -1
- package/_src/IO/api/repeat.ts +3 -3
- package/_src/IO/api/retry.ts +3 -3
- package/_src/IO/api/schedule.ts +1 -0
- package/_src/IO/api/scopeWith.ts +1 -1
- package/_src/IO/api/scoped.ts +2 -2
- package/_src/IO/api/timeout.ts +5 -1
- package/_src/IO/api/withEarlyRelease.ts +4 -1
- package/_src/IO/api/withFinalizer.ts +1 -0
- package/_src/IO/api/withFinalizerExit.ts +1 -0
- package/_src/IO/api/withRuntimeConfig.ts +5 -1
- package/_src/IO/api/zipC.ts +6 -1
- package/_src/IO/api.ts +82 -32
- package/_src/IO/definition.ts +3 -3
- package/_src/Layer/MemoMap.ts +25 -18
- package/_src/Layer/api.ts +61 -28
- package/_src/Layer/definition.ts +7 -4
- package/_src/Queue/api/dimapIO.ts +11 -1
- package/_src/Queue/api/filterInputIO.ts +2 -0
- package/_src/Queue/api/filterOutputIO.ts +2 -0
- package/_src/Queue/api/operations.ts +28 -10
- package/_src/Queue/api/poll.ts +4 -1
- package/_src/Queue/api/takeBetween.ts +6 -1
- package/_src/Queue/api/zipWithIO.ts +3 -0
- package/_src/Queue/constructors.ts +4 -4
- package/_src/Queue/definition.ts +3 -3
- package/_src/Queue/internal.ts +3 -3
- package/_src/Queue/strategy.ts +14 -6
- package/_src/Random/api.ts +5 -5
- package/_src/Random/definition.ts +6 -6
- package/_src/Random/live.ts +4 -4
- package/_src/Ref/Atomic/api.ts +10 -10
- package/_src/Ref/Synchronized/api.ts +18 -3
- package/_src/Ref/Synchronized/constructors.ts +1 -1
- package/_src/Ref/api/collect.ts +1 -0
- package/_src/Ref/api/dimap.ts +7 -0
- package/_src/Ref/api/filter.ts +2 -0
- package/_src/Ref/api/get.ts +4 -1
- package/_src/Ref/api/modify.ts +13 -1
- package/_src/Ref/api/set.ts +5 -1
- package/_src/Ref/constructors.ts +2 -2
- package/_src/Ref/definition.ts +1 -1
- package/_src/STM/api/core-api.ts +17 -4
- package/_src/STM/api/core-constructors.ts +5 -5
- package/_src/STM/api.ts +106 -41
- package/_src/Schedule/api.ts +98 -18
- package/_src/Scope/ReleaseMap/api/releaseAll.ts +6 -1
- package/_src/Scope/ReleaseMap/api.ts +15 -5
- package/_src/Scope/api.ts +15 -7
- package/_src/Scope/definition.ts +1 -1
- package/_src/Sink/api.ts +39 -10
- package/_src/State/api.ts +1 -1
- package/_src/Stream/api/zipAllWith.ts +3 -0
- package/_src/Stream/api/zipWith.ts +1 -0
- package/_src/Stream/api/zipWithChunks.ts +3 -0
- package/_src/Stream/api.ts +363 -96
- package/_src/TFuture/api.ts +5 -5
- package/_src/TFuture/constructors.ts +2 -2
- package/_src/TReentrantLock/api.ts +16 -16
- package/_src/TRef/api.ts +35 -13
- package/_src/TRef/constructors.ts +4 -4
- package/_src/TSemaphore/api.ts +7 -7
- package/_src/TSemaphore/constructors.ts +1 -1
- package/_src/collection/immutable/Conc/filterIO.ts +5 -1
- package/_src/collection/immutable/Conc/findIO.ts +6 -1
- package/_src/collection/immutable/Conc/mapIO.ts +1 -1
- package/_src/collection/immutable/Conc/takeWhileIO.ts +5 -1
- package/_src/collection/immutable/Conc.ts +2 -0
- package/_src/data/Exit/foreachIO.ts +1 -0
- package/_src/global.ts +149 -0
- package/_src/index.ts +42 -0
- package/collection/immutable/Conc/filterIO.d.ts +1 -1
- package/collection/immutable/Conc/findIO.d.ts +2 -2
- package/collection/immutable/Conc/mapIO.d.ts +1 -1
- package/collection/immutable/Conc/takeWhileIO.d.ts +1 -1
- package/collection/immutable/Conc.d.ts +2 -0
- package/data/Exit/foreachIO.d.ts +2 -2
- package/global.d.ts +149 -0
- package/index.d.ts +40 -0
- package/package.json +7 -3
package/_mjs/IO/api.mjs
CHANGED
|
@@ -164,8 +164,8 @@ function apSecond_1(self, fb, __tsplusTrace) {
|
|
|
164
164
|
*/
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
function as_1(self, b) {
|
|
168
|
-
return map_1(self, () => b(),
|
|
167
|
+
function as_1(self, b, __tsplusTrace) {
|
|
168
|
+
return map_1(self, () => b(), __tsplusTrace);
|
|
169
169
|
}
|
|
170
170
|
/**
|
|
171
171
|
* Maps the success value of this effect to an optional value.
|
|
@@ -190,8 +190,8 @@ export function asJustError(ma, __tsplusTrace) {
|
|
|
190
190
|
* @tsplus getter fncts.io.IO asUnit
|
|
191
191
|
*/
|
|
192
192
|
|
|
193
|
-
function asUnit_1(self) {
|
|
194
|
-
return as_1(self, () => undefined);
|
|
193
|
+
function asUnit_1(self, __tsplusTrace) {
|
|
194
|
+
return as_1(self, () => undefined, __tsplusTrace);
|
|
195
195
|
}
|
|
196
196
|
/**
|
|
197
197
|
* Returns an IO whose failure and success channels have been mapped by
|
|
@@ -266,8 +266,8 @@ export function catchJust_(ma, f, __tsplusTrace) {
|
|
|
266
266
|
* @tsplus fluent fncts.io.IO catchJustCause
|
|
267
267
|
*/
|
|
268
268
|
|
|
269
|
-
export function catchJustCause_(ma, f) {
|
|
270
|
-
return matchCauseIO_1(ma, cause => tsplus_module_7.getOrElse_(f(cause), () => failCauseNow_1(cause,
|
|
269
|
+
export function catchJustCause_(ma, f, __tsplusTrace) {
|
|
270
|
+
return matchCauseIO_1(ma, cause => tsplus_module_7.getOrElse_(f(cause), () => failCauseNow_1(cause, __tsplusTrace)), succeedNow_1, __tsplusTrace);
|
|
271
271
|
}
|
|
272
272
|
/**
|
|
273
273
|
* Recovers from some or all of the defects with provided partial function.
|
|
@@ -281,7 +281,7 @@ export function catchJustCause_(ma, f) {
|
|
|
281
281
|
*/
|
|
282
282
|
|
|
283
283
|
export function catchJustDefect_(ma, f, __tsplusTrace) {
|
|
284
|
-
return catchAll_1(unrefineWith_1(ma, f, failNow_1, __tsplusTrace),
|
|
284
|
+
return catchAll_1(unrefineWith_1(ma, f, failNow_1, __tsplusTrace), a => a, __tsplusTrace);
|
|
285
285
|
}
|
|
286
286
|
/**
|
|
287
287
|
* Recovers from the specified error
|
|
@@ -322,8 +322,8 @@ function flatMap_1(ma, f, __tsplusTrace) {
|
|
|
322
322
|
*/
|
|
323
323
|
|
|
324
324
|
|
|
325
|
-
export function flatMapError_(ma, f) {
|
|
326
|
-
return swapWith_1(ma, effect => flatMap_1(effect, f,
|
|
325
|
+
export function flatMapError_(ma, f, __tsplusTrace) {
|
|
326
|
+
return swapWith_1(ma, effect => flatMap_1(effect, f, __tsplusTrace), __tsplusTrace);
|
|
327
327
|
}
|
|
328
328
|
/**
|
|
329
329
|
* Checks the interrupt status, and produces the IO returned by the
|
|
@@ -354,8 +354,8 @@ function collectIO_1(ma, f, pf, __tsplusTrace) {
|
|
|
354
354
|
*/
|
|
355
355
|
|
|
356
356
|
|
|
357
|
-
export function condIO_(b, onTrue, onFalse) {
|
|
358
|
-
return b ? onTrue : flatMap_1(onFalse, failNow_1,
|
|
357
|
+
export function condIO_(b, onTrue, onFalse, __tsplusTrace) {
|
|
358
|
+
return b ? onTrue : flatMap_1(onFalse, failNow_1, __tsplusTrace);
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
361
361
|
* Returns a lazily constructed effect, whose construction may itself require
|
|
@@ -406,14 +406,14 @@ export function deferTry(io, __tsplusTrace) {
|
|
|
406
406
|
* @tsplus static IOOps deferTryWith
|
|
407
407
|
*/
|
|
408
408
|
|
|
409
|
-
export function deferTryWith(io) {
|
|
409
|
+
export function deferTryWith(io, __tsplusTrace) {
|
|
410
410
|
return deferWith_1((runtimeConfig, id) => {
|
|
411
411
|
try {
|
|
412
412
|
return io(runtimeConfig, id);
|
|
413
413
|
} catch (u) {
|
|
414
414
|
throw new IOError(tsplus_module_8.fail(u));
|
|
415
415
|
}
|
|
416
|
-
},
|
|
416
|
+
}, __tsplusTrace);
|
|
417
417
|
}
|
|
418
418
|
/**
|
|
419
419
|
* Returns a lazily constructed effect, whose construction may itself require effects,
|
|
@@ -424,14 +424,14 @@ export function deferTryWith(io) {
|
|
|
424
424
|
* @tsplus static IOOps deferTryCatch
|
|
425
425
|
*/
|
|
426
426
|
|
|
427
|
-
export function deferTryCatch(io, onThrow) {
|
|
427
|
+
export function deferTryCatch(io, onThrow, __tsplusTrace) {
|
|
428
428
|
return defer_1(() => {
|
|
429
429
|
try {
|
|
430
430
|
return io();
|
|
431
431
|
} catch (u) {
|
|
432
432
|
throw new IOError(tsplus_module_8.fail(onThrow(u)));
|
|
433
433
|
}
|
|
434
|
-
},
|
|
434
|
+
}, __tsplusTrace);
|
|
435
435
|
}
|
|
436
436
|
/**
|
|
437
437
|
* Returns a lazily constructed effect, whose construction may itself require effects,
|
|
@@ -442,20 +442,20 @@ export function deferTryCatch(io, onThrow) {
|
|
|
442
442
|
* @tsplus static IOOps deferTryCatchWith
|
|
443
443
|
*/
|
|
444
444
|
|
|
445
|
-
export function deferTryCatchWith(io, onThrow) {
|
|
445
|
+
export function deferTryCatchWith(io, onThrow, __tsplusTrace) {
|
|
446
446
|
return deferWith_1((runtimeConfig, id) => {
|
|
447
447
|
try {
|
|
448
448
|
return io(runtimeConfig, id);
|
|
449
449
|
} catch (u) {
|
|
450
450
|
throw new IOError(tsplus_module_8.fail(onThrow(u)));
|
|
451
451
|
}
|
|
452
|
-
},
|
|
452
|
+
}, __tsplusTrace);
|
|
453
453
|
}
|
|
454
454
|
/**
|
|
455
455
|
* @tsplus static fncts.io.IOOps descriptor
|
|
456
456
|
*/
|
|
457
457
|
|
|
458
|
-
export const descriptor = /*#__PURE__*/descriptorWith_1(succeedNow_1, fileName_1 + ":
|
|
458
|
+
export const descriptor = /*#__PURE__*/descriptorWith_1(succeedNow_1, fileName_1 + ":509:41");
|
|
459
459
|
/**
|
|
460
460
|
* Constructs an IO based on information about the current fiber, such as
|
|
461
461
|
* its identity.
|
|
@@ -548,7 +548,7 @@ function failCause_1(cause, __tsplusTrace) {
|
|
|
548
548
|
*/
|
|
549
549
|
|
|
550
550
|
|
|
551
|
-
export const fiberId = /*#__PURE__*/descriptorWith_1(d => succeedNow_1(d.id, fileName_1 + ":
|
|
551
|
+
export const fiberId = /*#__PURE__*/descriptorWith_1(d => succeedNow_1(d.id, fileName_1 + ":599:89"), fileName_1 + ":599:68");
|
|
552
552
|
/**
|
|
553
553
|
* Filters the collection using the specified effectual predicate.
|
|
554
554
|
*
|
|
@@ -562,7 +562,7 @@ function filter_1(as, f, __tsplusTrace) {
|
|
|
562
562
|
}
|
|
563
563
|
|
|
564
564
|
return builder;
|
|
565
|
-
})), b => b.result(), __tsplusTrace);
|
|
565
|
+
}, __tsplusTrace)), b => b.result(), __tsplusTrace);
|
|
566
566
|
}
|
|
567
567
|
/**
|
|
568
568
|
* @tsplus static fncts.io.IOOps filterMap
|
|
@@ -583,7 +583,7 @@ function filterMapWithIndex_1(as, f, __tsplusTrace) {
|
|
|
583
583
|
if (tsplus_module_12.isJust(b)) {
|
|
584
584
|
bs.push(b.value);
|
|
585
585
|
}
|
|
586
|
-
}, __tsplusTrace)), () => tsplus_module_11.from(bs));
|
|
586
|
+
}, __tsplusTrace), __tsplusTrace), () => tsplus_module_11.from(bs), __tsplusTrace);
|
|
587
587
|
}, __tsplusTrace);
|
|
588
588
|
}
|
|
589
589
|
/**
|
|
@@ -602,8 +602,8 @@ function filterOrElse_1(fa, predicate, or, __tsplusTrace) {
|
|
|
602
602
|
return flatMap_1(fa, a => predicate(a) ? succeedNow_1(a, __tsplusTrace) : defer_1(() => or(a), __tsplusTrace), __tsplusTrace);
|
|
603
603
|
}
|
|
604
604
|
|
|
605
|
-
export function filterOrFail_(fa, predicate, failWith) {
|
|
606
|
-
return filterOrElse_1(fa, predicate, a => failNow_1(failWith(a),
|
|
605
|
+
export function filterOrFail_(fa, predicate, failWith, __tsplusTrace) {
|
|
606
|
+
return filterOrElse_1(fa, predicate, a => failNow_1(failWith(a), __tsplusTrace), __tsplusTrace);
|
|
607
607
|
}
|
|
608
608
|
/**
|
|
609
609
|
* Returns an `IO` that yields the value of the first
|
|
@@ -612,8 +612,8 @@ export function filterOrFail_(fa, predicate, failWith) {
|
|
|
612
612
|
* @tsplus static fncts.io.IOOps firstSuccess
|
|
613
613
|
*/
|
|
614
614
|
|
|
615
|
-
export function firstSuccess(mas) {
|
|
616
|
-
return mas.reduce((b, a) => orElse_1(b, () => a,
|
|
615
|
+
export function firstSuccess(mas, __tsplusTrace) {
|
|
616
|
+
return mas.reduce((b, a) => orElse_1(b, () => a, __tsplusTrace));
|
|
617
617
|
}
|
|
618
618
|
export function filterOrHalt_(fa, predicate, haltWith, __tsplusTrace) {
|
|
619
619
|
return filterOrElse_1(fa, predicate, a => haltNow_1(haltWith(a), __tsplusTrace), __tsplusTrace);
|
|
@@ -622,8 +622,8 @@ export function filterOrHalt_(fa, predicate, haltWith, __tsplusTrace) {
|
|
|
622
622
|
* @tsplus getter fncts.io.IO flatten
|
|
623
623
|
*/
|
|
624
624
|
|
|
625
|
-
export function flatten(self) {
|
|
626
|
-
return flatMap_1(self, identity,
|
|
625
|
+
export function flatten(self, __tsplusTrace) {
|
|
626
|
+
return flatMap_1(self, identity, __tsplusTrace);
|
|
627
627
|
}
|
|
628
628
|
/**
|
|
629
629
|
* Folds an `Iterable<A>` using an effectful function f, working sequentially from left to right.
|
|
@@ -644,12 +644,12 @@ function foldLeft_1(as, b, f, __tsplusTrace) {
|
|
|
644
644
|
export function foldMap_(as, f,
|
|
645
645
|
/** @tsplus auto */
|
|
646
646
|
M) {
|
|
647
|
-
return foldLeft_1(as, M.nat, (m, a) => map_1(a, a => M.combine(m, f(a)), fileName_1 + ":
|
|
647
|
+
return foldLeft_1(as, M.nat, (m, a) => map_1(a, a => M.combine(m, f(a)), fileName_1 + ":788:48"), fileName_1 + ":788:21");
|
|
648
648
|
}
|
|
649
649
|
|
|
650
|
-
function foldRightLoop(iterator, b, f) {
|
|
650
|
+
function foldRightLoop(iterator, b, f, __tsplusTrace) {
|
|
651
651
|
const next = iterator.next();
|
|
652
|
-
return next.done ? b : f(next.value, foldRightLoop(iterator, b, f));
|
|
652
|
+
return next.done ? b : f(next.value, foldRightLoop(iterator, b, f, __tsplusTrace));
|
|
653
653
|
}
|
|
654
654
|
/**
|
|
655
655
|
* Performs a right-associative fold of an `Iterable<A>`
|
|
@@ -658,13 +658,13 @@ function foldRightLoop(iterator, b, f) {
|
|
|
658
658
|
*/
|
|
659
659
|
|
|
660
660
|
|
|
661
|
-
export function foldRight_(as, b, f) {
|
|
662
|
-
return foldRightLoop(as[Symbol.iterator](), b, f);
|
|
661
|
+
export function foldRight_(as, b, f, __tsplusTrace) {
|
|
662
|
+
return foldRightLoop(as[Symbol.iterator](), b, f, __tsplusTrace);
|
|
663
663
|
}
|
|
664
664
|
|
|
665
|
-
function foreachWithIndexDiscardLoop(iterator, f, i = 0) {
|
|
665
|
+
function foreachWithIndexDiscardLoop(iterator, f, i = 0, __tsplusTrace) {
|
|
666
666
|
const next = iterator.next();
|
|
667
|
-
return next.done ? unit_1 : flatMap_1(f(i, next.value), () => foreachWithIndexDiscardLoop(iterator, f, i + 1),
|
|
667
|
+
return next.done ? unit_1 : flatMap_1(f(i, next.value), () => foreachWithIndexDiscardLoop(iterator, f, i + 1, __tsplusTrace), __tsplusTrace);
|
|
668
668
|
}
|
|
669
669
|
/**
|
|
670
670
|
* Applies the function `f` to each element of the `Iterable<A>` and
|
|
@@ -683,7 +683,7 @@ function foreach_1(as, f, __tsplusTrace) {
|
|
|
683
683
|
return as_1(foreachWithIndexDiscard_1(as, (_, a) => flatMap_1(f(a), b => {
|
|
684
684
|
acc.push(b);
|
|
685
685
|
return unit_1;
|
|
686
|
-
}, __tsplusTrace)), () => tsplus_module_11.from(acc));
|
|
686
|
+
}, __tsplusTrace), __tsplusTrace), () => tsplus_module_11.from(acc), __tsplusTrace);
|
|
687
687
|
}, __tsplusTrace);
|
|
688
688
|
}
|
|
689
689
|
/**
|
|
@@ -697,21 +697,21 @@ function foreach_1(as, f, __tsplusTrace) {
|
|
|
697
697
|
*/
|
|
698
698
|
|
|
699
699
|
|
|
700
|
-
export function foreachWithIndex_(as, f) {
|
|
700
|
+
export function foreachWithIndex_(as, f, __tsplusTrace) {
|
|
701
701
|
return defer_1(() => {
|
|
702
702
|
const acc = [];
|
|
703
703
|
return as_1(foreachWithIndexDiscard_1(as, (i, a) => flatMap_1(f(i, a), b => {
|
|
704
704
|
acc.push(b);
|
|
705
705
|
return unit_1;
|
|
706
|
-
},
|
|
707
|
-
},
|
|
706
|
+
}, __tsplusTrace), __tsplusTrace), () => tsplus_module_11.from(acc), __tsplusTrace);
|
|
707
|
+
}, __tsplusTrace);
|
|
708
708
|
}
|
|
709
709
|
/**
|
|
710
710
|
* @tsplus static fncts.io.IOOps foreachWithIndexDiscard
|
|
711
711
|
*/
|
|
712
712
|
|
|
713
|
-
function foreachWithIndexDiscard_1(as, f) {
|
|
714
|
-
return defer_1(() => foreachWithIndexDiscardLoop(as[Symbol.iterator](), f),
|
|
713
|
+
function foreachWithIndexDiscard_1(as, f, __tsplusTrace) {
|
|
714
|
+
return defer_1(() => foreachWithIndexDiscardLoop(as[Symbol.iterator](), f), __tsplusTrace);
|
|
715
715
|
}
|
|
716
716
|
/**
|
|
717
717
|
* Applies the function `f` to each element of the `Iterable<A>` and runs
|
|
@@ -721,8 +721,8 @@ function foreachWithIndexDiscard_1(as, f) {
|
|
|
721
721
|
*/
|
|
722
722
|
|
|
723
723
|
|
|
724
|
-
function foreachDiscard_1(as, f) {
|
|
725
|
-
return defer_1(() => foreachWithIndexDiscardLoop(as[Symbol.iterator](), (_, a) => f(a)),
|
|
724
|
+
function foreachDiscard_1(as, f, __tsplusTrace) {
|
|
725
|
+
return defer_1(() => foreachWithIndexDiscardLoop(as[Symbol.iterator](), (_, a) => f(a)), __tsplusTrace);
|
|
726
726
|
}
|
|
727
727
|
/**
|
|
728
728
|
* Repeats this effect forever (until the first failure).
|
|
@@ -731,8 +731,8 @@ function foreachDiscard_1(as, f) {
|
|
|
731
731
|
*/
|
|
732
732
|
|
|
733
733
|
|
|
734
|
-
function forever_1(ma) {
|
|
735
|
-
return flatMap_1(apSecond_1(ma, yieldNow_1,
|
|
734
|
+
function forever_1(ma, __tsplusTrace) {
|
|
735
|
+
return flatMap_1(apSecond_1(ma, yieldNow_1, __tsplusTrace), () => forever_1(ma, __tsplusTrace), __tsplusTrace);
|
|
736
736
|
}
|
|
737
737
|
/**
|
|
738
738
|
* Returns an IO that forks this IO into its own separate fiber,
|
|
@@ -865,8 +865,8 @@ export function fromPromiseHalt(promise, __tsplusTrace) {
|
|
|
865
865
|
* @tsplus getter fncts.io.IO get
|
|
866
866
|
*/
|
|
867
867
|
|
|
868
|
-
export function get(ma) {
|
|
869
|
-
return matchCauseIO_1(ma, cause => failCauseNow_1(tsplus_module_5.map_(cause, tsplus_module_2.just),
|
|
868
|
+
export function get(ma, __tsplusTrace) {
|
|
869
|
+
return matchCauseIO_1(ma, cause => failCauseNow_1(tsplus_module_5.map_(cause, tsplus_module_2.just), __tsplusTrace), ma => tsplus_module_4.match_(ma, () => failNow_1(tsplus_module_2.nothing(), __tsplusTrace), succeedNow_1), __tsplusTrace);
|
|
870
870
|
}
|
|
871
871
|
/**
|
|
872
872
|
* Extracts the optional value, or returns the given 'orElse'.
|
|
@@ -874,8 +874,8 @@ export function get(ma) {
|
|
|
874
874
|
* @tsplus fluent fncts.io.IO getOrElse
|
|
875
875
|
*/
|
|
876
876
|
|
|
877
|
-
export function getOrElse_(ma, orElse) {
|
|
878
|
-
return map_1(ma, ma => tsplus_module_7.getOrElse_(ma, orElse),
|
|
877
|
+
export function getOrElse_(ma, orElse, __tsplusTrace) {
|
|
878
|
+
return map_1(ma, ma => tsplus_module_7.getOrElse_(ma, orElse), __tsplusTrace);
|
|
879
879
|
}
|
|
880
880
|
/**
|
|
881
881
|
* Extracts the optional value, or executes the effect 'orElse'.
|
|
@@ -883,8 +883,8 @@ export function getOrElse_(ma, orElse) {
|
|
|
883
883
|
* @tsplus fluent fncts.io.IO getOrElseIO
|
|
884
884
|
*/
|
|
885
885
|
|
|
886
|
-
export function getOrElseIO_(ma, orElse) {
|
|
887
|
-
return flatMap_1(ma, mab => tsplus_module_7.getOrElse_(tsplus_module_7.map_(mab, succeedNow_1), orElse),
|
|
886
|
+
export function getOrElseIO_(ma, orElse, __tsplusTrace) {
|
|
887
|
+
return flatMap_1(ma, mab => tsplus_module_7.getOrElse_(tsplus_module_7.map_(mab, succeedNow_1), orElse), __tsplusTrace);
|
|
888
888
|
}
|
|
889
889
|
/**
|
|
890
890
|
* Lifts a Maybe into an IO. If the option is `Nothing`, fail with `onNothing`.
|
|
@@ -892,8 +892,8 @@ export function getOrElseIO_(ma, orElse) {
|
|
|
892
892
|
* @tsplus static fncts.io.IOOps getOrFailWith
|
|
893
893
|
*/
|
|
894
894
|
|
|
895
|
-
function getOrFailWith_1(maybe, onNothing) {
|
|
896
|
-
return defer_1(() => tsplus_module_4.match_(maybe, () => fail_1(onNothing,
|
|
895
|
+
function getOrFailWith_1(maybe, onNothing, __tsplusTrace) {
|
|
896
|
+
return defer_1(() => tsplus_module_4.match_(maybe, () => fail_1(onNothing, __tsplusTrace), succeedNow_1), __tsplusTrace);
|
|
897
897
|
}
|
|
898
898
|
/**
|
|
899
899
|
* Lifts a Maybe into a IO, if the Maybe is `Nothing` it fails with Unit.
|
|
@@ -902,8 +902,8 @@ function getOrFailWith_1(maybe, onNothing) {
|
|
|
902
902
|
*/
|
|
903
903
|
|
|
904
904
|
|
|
905
|
-
export function getOrFailUnit(option) {
|
|
906
|
-
return getOrFailWith_1(option, () => undefined);
|
|
905
|
+
export function getOrFailUnit(option, __tsplusTrace) {
|
|
906
|
+
return getOrFailWith_1(option, () => undefined, __tsplusTrace);
|
|
907
907
|
}
|
|
908
908
|
/**
|
|
909
909
|
* Creates an `IO` that halts with the specified lazily-evaluated defect.
|
|
@@ -932,8 +932,8 @@ function haltNow_1(e, __tsplusTrace) {
|
|
|
932
932
|
*/
|
|
933
933
|
|
|
934
934
|
|
|
935
|
-
function ifIO_1(self, onFalse, onTrue) {
|
|
936
|
-
return flatMap_1(self, b => b ? onTrue() : onFalse(),
|
|
935
|
+
function ifIO_1(self, onFalse, onTrue, __tsplusTrace) {
|
|
936
|
+
return flatMap_1(self, b => b ? onTrue() : onFalse(), __tsplusTrace);
|
|
937
937
|
}
|
|
938
938
|
/**
|
|
939
939
|
* @tsplus static fncts.io.IOOps if
|
|
@@ -941,14 +941,14 @@ function ifIO_1(self, onFalse, onTrue) {
|
|
|
941
941
|
|
|
942
942
|
|
|
943
943
|
export function if_(b, onTrue, onFalse, __tsplusTrace) {
|
|
944
|
-
return ifIO_1(succeedNow_1(b, __tsplusTrace), onTrue, onFalse);
|
|
944
|
+
return ifIO_1(succeedNow_1(b, __tsplusTrace), onTrue, onFalse, __tsplusTrace);
|
|
945
945
|
}
|
|
946
946
|
/**
|
|
947
947
|
* @tsplus getter fncts.io.IO ignore
|
|
948
948
|
*/
|
|
949
949
|
|
|
950
|
-
export function ignore(fa) {
|
|
951
|
-
return match_1(fa, () => undefined, () => undefined,
|
|
950
|
+
export function ignore(fa, __tsplusTrace) {
|
|
951
|
+
return match_1(fa, () => undefined, () => undefined, __tsplusTrace);
|
|
952
952
|
}
|
|
953
953
|
/**
|
|
954
954
|
* Folds a `IO` to a boolean describing whether or not it is a failure
|
|
@@ -956,8 +956,8 @@ export function ignore(fa) {
|
|
|
956
956
|
* @tsplus getter fncts.io.IO isFailure
|
|
957
957
|
*/
|
|
958
958
|
|
|
959
|
-
export function isFailure(ma) {
|
|
960
|
-
return match_1(ma, () => true, () => false,
|
|
959
|
+
export function isFailure(ma, __tsplusTrace) {
|
|
960
|
+
return match_1(ma, () => true, () => false, __tsplusTrace);
|
|
961
961
|
}
|
|
962
962
|
/**
|
|
963
963
|
* Folds a `IO` to a boolean describing whether or not it is a success
|
|
@@ -965,8 +965,8 @@ export function isFailure(ma) {
|
|
|
965
965
|
* @tsplus getter fncts.io.IO isSuccess
|
|
966
966
|
*/
|
|
967
967
|
|
|
968
|
-
export function isSuccess(ma) {
|
|
969
|
-
return match_1(ma, () => false, () => true,
|
|
968
|
+
export function isSuccess(ma, __tsplusTrace) {
|
|
969
|
+
return match_1(ma, () => false, () => true, __tsplusTrace);
|
|
970
970
|
}
|
|
971
971
|
/**
|
|
972
972
|
* Iterates with the specified effectual function. The moral equivalent of:
|
|
@@ -994,8 +994,8 @@ function iterate_1(initial, cont, body, __tsplusTrace) {
|
|
|
994
994
|
*/
|
|
995
995
|
|
|
996
996
|
|
|
997
|
-
export function left(a) {
|
|
998
|
-
return flatMap_1(succeed_1(a,
|
|
997
|
+
export function left(a, __tsplusTrace) {
|
|
998
|
+
return flatMap_1(succeed_1(a, __tsplusTrace), a => succeedNow_1(tsplus_module_3.left(a), __tsplusTrace), __tsplusTrace);
|
|
999
999
|
}
|
|
1000
1000
|
/**
|
|
1001
1001
|
* @tsplus static fncts.io.IOOps log
|
|
@@ -1049,7 +1049,7 @@ function loop_1(initial, cont, inc, body, __tsplusTrace) {
|
|
|
1049
1049
|
|
|
1050
1050
|
export function loopUnit_(initial, cont, inc, body, __tsplusTrace) {
|
|
1051
1051
|
if (cont(initial)) {
|
|
1052
|
-
return asUnit_1(flatMap_1(body(initial), () => loop_1(inc(initial), cont, inc, body, __tsplusTrace), __tsplusTrace));
|
|
1052
|
+
return asUnit_1(flatMap_1(body(initial), () => loop_1(inc(initial), cont, inc, body, __tsplusTrace), __tsplusTrace), __tsplusTrace);
|
|
1053
1053
|
} else {
|
|
1054
1054
|
return unit_1;
|
|
1055
1055
|
}
|
|
@@ -1166,7 +1166,7 @@ export function merge(io, __tsplusTrace) {
|
|
|
1166
1166
|
*/
|
|
1167
1167
|
|
|
1168
1168
|
export function mergeAll_(fas, b, f, __tsplusTrace) {
|
|
1169
|
-
return tsplus_module_10.foldLeft_(fas, succeed_1(() => b, __tsplusTrace), (b, a) => zipWith_1(b, a, f));
|
|
1169
|
+
return tsplus_module_10.foldLeft_(fas, succeed_1(() => b, __tsplusTrace), (b, a) => zipWith_1(b, a, f, __tsplusTrace));
|
|
1170
1170
|
}
|
|
1171
1171
|
/**
|
|
1172
1172
|
* Returns a `IO` that will never produce anything. The moral equivalent of
|
|
@@ -1180,16 +1180,16 @@ export const never = /*#__PURE__*/defer_1(() => asyncInterrupt_1(() => {
|
|
|
1180
1180
|
}, 60000);
|
|
1181
1181
|
return tsplus_module_3.left(succeed_1(() => {
|
|
1182
1182
|
clearInterval(interval);
|
|
1183
|
-
}, fileName_1 + ":
|
|
1184
|
-
}), fileName_1 + ":
|
|
1183
|
+
}, fileName_1 + ":1444:17"));
|
|
1184
|
+
}), fileName_1 + ":1438:39");
|
|
1185
1185
|
/**
|
|
1186
1186
|
* Converts an option on errors into an option on values.
|
|
1187
1187
|
*
|
|
1188
1188
|
* @tsplus getter fncts.io.IO optional
|
|
1189
1189
|
*/
|
|
1190
1190
|
|
|
1191
|
-
export function optional(ma) {
|
|
1192
|
-
return matchIO_1(ma, me => tsplus_module_4.match_(me, () => succeedNow_1(tsplus_module_2.nothing(),
|
|
1191
|
+
export function optional(ma, __tsplusTrace) {
|
|
1192
|
+
return matchIO_1(ma, me => tsplus_module_4.match_(me, () => succeedNow_1(tsplus_module_2.nothing(), __tsplusTrace), failNow_1), a => succeedNow_1(tsplus_module_2.just(a), __tsplusTrace), __tsplusTrace);
|
|
1193
1193
|
}
|
|
1194
1194
|
/**
|
|
1195
1195
|
* Returns the logical disjunction of the `Boolean` value returned by this
|
|
@@ -1222,8 +1222,8 @@ export function orElseEither_(self, that, __tsplusTrace) {
|
|
|
1222
1222
|
* @tsplus fluent fncts.io.IO orElseFail
|
|
1223
1223
|
*/
|
|
1224
1224
|
|
|
1225
|
-
export function orElseFail_(ma, e) {
|
|
1226
|
-
return orElse_1(ma, () => fail_1(e,
|
|
1225
|
+
export function orElseFail_(ma, e, __tsplusTrace) {
|
|
1226
|
+
return orElse_1(ma, () => fail_1(e, __tsplusTrace), __tsplusTrace);
|
|
1227
1227
|
}
|
|
1228
1228
|
/**
|
|
1229
1229
|
* @tsplus fluent fncts.io.IO orElseMaybe
|
|
@@ -1250,8 +1250,8 @@ export function orHalt(ma, __tsplusTrace) {
|
|
|
1250
1250
|
* @tsplus getter fncts.io.IO orHaltKeep
|
|
1251
1251
|
*/
|
|
1252
1252
|
|
|
1253
|
-
export function orHaltKeep(ma) {
|
|
1254
|
-
return matchCauseIO_1(ma, cause => failCauseNow_1(tsplus_module_5.flatMap_(cause, tsplus_module_5.halt),
|
|
1253
|
+
export function orHaltKeep(ma, __tsplusTrace) {
|
|
1254
|
+
return matchCauseIO_1(ma, cause => failCauseNow_1(tsplus_module_5.flatMap_(cause, tsplus_module_5.halt), __tsplusTrace), succeedNow_1, __tsplusTrace);
|
|
1255
1255
|
}
|
|
1256
1256
|
/**
|
|
1257
1257
|
* @tsplus fluent fncts.io.IO orHaltWith
|
|
@@ -1267,16 +1267,16 @@ function orHaltWith_1(ma, f, __tsplusTrace) {
|
|
|
1267
1267
|
*/
|
|
1268
1268
|
|
|
1269
1269
|
|
|
1270
|
-
export function parallelErrors(io) {
|
|
1270
|
+
export function parallelErrors(io, __tsplusTrace) {
|
|
1271
1271
|
return matchCauseIO_1(io, cause => {
|
|
1272
1272
|
const f = tsplus_module_5.failures(cause);
|
|
1273
1273
|
|
|
1274
1274
|
if (tsplus_module_17.length(f) === 0) {
|
|
1275
|
-
return failCauseNow_1(cause,
|
|
1275
|
+
return failCauseNow_1(cause, __tsplusTrace);
|
|
1276
1276
|
} else {
|
|
1277
|
-
return failNow_1(f,
|
|
1277
|
+
return failNow_1(f, __tsplusTrace);
|
|
1278
1278
|
}
|
|
1279
|
-
}, succeedNow_1,
|
|
1279
|
+
}, succeedNow_1, __tsplusTrace);
|
|
1280
1280
|
}
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Feeds elements of type `A` to a function `f` that returns an IO.
|
|
@@ -1295,7 +1295,7 @@ export function partition_(as, f, __tsplusTrace) {
|
|
|
1295
1295
|
*/
|
|
1296
1296
|
|
|
1297
1297
|
export function refineOrHalt_(fa, pf, __tsplusTrace) {
|
|
1298
|
-
return refineOrHaltWith_1(fa, pf, identity);
|
|
1298
|
+
return refineOrHaltWith_1(fa, pf, identity, __tsplusTrace);
|
|
1299
1299
|
}
|
|
1300
1300
|
/**
|
|
1301
1301
|
* Keeps some of the errors, and terminates the fiber with the rest, using
|
|
@@ -1304,8 +1304,8 @@ export function refineOrHalt_(fa, pf, __tsplusTrace) {
|
|
|
1304
1304
|
* @tsplus fluent fncts.io.IO refineOrHaltWith
|
|
1305
1305
|
*/
|
|
1306
1306
|
|
|
1307
|
-
function refineOrHaltWith_1(fa, pf, f) {
|
|
1308
|
-
return catchAll_1(fa, e => tsplus_module_4.match_(pf(e), () => haltNow_1(f(e),
|
|
1307
|
+
function refineOrHaltWith_1(fa, pf, f, __tsplusTrace) {
|
|
1308
|
+
return catchAll_1(fa, e => tsplus_module_4.match_(pf(e), () => haltNow_1(f(e), __tsplusTrace), failNow_1), __tsplusTrace);
|
|
1309
1309
|
}
|
|
1310
1310
|
/**
|
|
1311
1311
|
* Fail with the returned value if the partial function `pf` matches, otherwise
|
|
@@ -1365,8 +1365,8 @@ function repeatUntilIO_1(ma, f, __tsplusTrace) {
|
|
|
1365
1365
|
*/
|
|
1366
1366
|
|
|
1367
1367
|
|
|
1368
|
-
export function repeatWhile_(ma, f) {
|
|
1369
|
-
return repeatWhileIO_1(ma, a => succeedNow_1(f(a),
|
|
1368
|
+
export function repeatWhile_(ma, f, __tsplusTrace) {
|
|
1369
|
+
return repeatWhileIO_1(ma, a => succeedNow_1(f(a), __tsplusTrace), __tsplusTrace);
|
|
1370
1370
|
}
|
|
1371
1371
|
/**
|
|
1372
1372
|
* Repeats this effect while its error satisfies the specified effectful predicate.
|
|
@@ -1408,8 +1408,8 @@ export function result(ma, __tsplusTrace) {
|
|
|
1408
1408
|
* @trace call
|
|
1409
1409
|
*/
|
|
1410
1410
|
|
|
1411
|
-
export function resurrect(io) {
|
|
1412
|
-
return unrefineWith_1(io, tsplus_module_2.just, identity,
|
|
1411
|
+
export function resurrect(io, __tsplusTrace) {
|
|
1412
|
+
return unrefineWith_1(io, tsplus_module_2.just, identity, __tsplusTrace);
|
|
1413
1413
|
}
|
|
1414
1414
|
/**
|
|
1415
1415
|
* Retries this effect until its error satisfies the specified predicate.
|
|
@@ -1455,7 +1455,7 @@ function retryWhileIO_1(fa, f, __tsplusTrace) {
|
|
|
1455
1455
|
*/
|
|
1456
1456
|
|
|
1457
1457
|
|
|
1458
|
-
export const runtimeConfig = /*#__PURE__*/deferWith_1(runtimeConfig => succeedNow_1(runtimeConfig, fileName_1 + ":
|
|
1458
|
+
export const runtimeConfig = /*#__PURE__*/deferWith_1(runtimeConfig => succeedNow_1(runtimeConfig, fileName_1 + ":1777:95"), fileName_1 + ":1777:62");
|
|
1459
1459
|
/**
|
|
1460
1460
|
* Exposes the full cause of failure of this effect.
|
|
1461
1461
|
*
|
|
@@ -1471,7 +1471,7 @@ function sandbox_1(fa, __tsplusTrace) {
|
|
|
1471
1471
|
|
|
1472
1472
|
|
|
1473
1473
|
export function sandboxWith_(ma, f, __tsplusTrace) {
|
|
1474
|
-
return unsandbox_1(f(sandbox_1(ma, __tsplusTrace)));
|
|
1474
|
+
return unsandbox_1(f(sandbox_1(ma, __tsplusTrace)), __tsplusTrace);
|
|
1475
1475
|
}
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Sets the runtime configuration to the specified value.
|
|
@@ -1485,15 +1485,15 @@ export function setRuntimeConfig(runtimeConfig, __tsplusTrace) {
|
|
|
1485
1485
|
* @tsplus static fncts.io.IOOps sequenceIterable
|
|
1486
1486
|
*/
|
|
1487
1487
|
|
|
1488
|
-
export function sequenceIterable(as) {
|
|
1489
|
-
return foreach_1(as, identity,
|
|
1488
|
+
export function sequenceIterable(as, __tsplusTrace) {
|
|
1489
|
+
return foreach_1(as, identity, __tsplusTrace);
|
|
1490
1490
|
}
|
|
1491
1491
|
/**
|
|
1492
1492
|
* @tsplus static fncts.io.IOOps sequenceIterableDiscard
|
|
1493
1493
|
*/
|
|
1494
1494
|
|
|
1495
1495
|
export function sequenceIterableDiscard(as, __tsplusTrace) {
|
|
1496
|
-
return foreachDiscard_1(as, identity);
|
|
1496
|
+
return foreachDiscard_1(as, identity, __tsplusTrace);
|
|
1497
1497
|
}
|
|
1498
1498
|
/**
|
|
1499
1499
|
* Creates a `IO` that has succeeded with a pure value
|
|
@@ -1539,7 +1539,7 @@ function summarized_1(ma, summary, f, __tsplusTrace) {
|
|
|
1539
1539
|
const value = yield* _(ma, __tsplusTrace);
|
|
1540
1540
|
const end = yield* _(summary, __tsplusTrace);
|
|
1541
1541
|
return tuple(f(start, end), value);
|
|
1542
|
-
});
|
|
1542
|
+
}, __tsplusTrace);
|
|
1543
1543
|
}
|
|
1544
1544
|
/**
|
|
1545
1545
|
* Swaps the positions of a Bifunctor's arguments
|
|
@@ -1548,8 +1548,8 @@ function summarized_1(ma, summary, f, __tsplusTrace) {
|
|
|
1548
1548
|
*/
|
|
1549
1549
|
|
|
1550
1550
|
|
|
1551
|
-
function swap_1(pab) {
|
|
1552
|
-
return matchIO_1(pab, succeedNow_1, failNow_1,
|
|
1551
|
+
function swap_1(pab, __tsplusTrace) {
|
|
1552
|
+
return matchIO_1(pab, succeedNow_1, failNow_1, __tsplusTrace);
|
|
1553
1553
|
}
|
|
1554
1554
|
/**
|
|
1555
1555
|
* Swaps the error/value parameters, applies the function `f` and flips the parameters back
|
|
@@ -1558,8 +1558,8 @@ function swap_1(pab) {
|
|
|
1558
1558
|
*/
|
|
1559
1559
|
|
|
1560
1560
|
|
|
1561
|
-
function swapWith_1(fa, f) {
|
|
1562
|
-
return swap_1(f(swap_1(fa)));
|
|
1561
|
+
function swapWith_1(fa, f, __tsplusTrace) {
|
|
1562
|
+
return swap_1(f(swap_1(fa, __tsplusTrace)), __tsplusTrace);
|
|
1563
1563
|
}
|
|
1564
1564
|
/**
|
|
1565
1565
|
* A more powerful variation of `timed` that allows specifying the clock.
|
|
@@ -1649,7 +1649,7 @@ function tryOrElse_1(ma, that, onSuccess, __tsplusTrace) {
|
|
|
1649
1649
|
*/
|
|
1650
1650
|
|
|
1651
1651
|
|
|
1652
|
-
const unit_1 = /*#__PURE__*/succeedNow_1(undefined, fileName_1 + ":
|
|
1652
|
+
const unit_1 = /*#__PURE__*/succeedNow_1(undefined, fileName_1 + ":2004:45");
|
|
1653
1653
|
export const unit = unit_1;
|
|
1654
1654
|
/**
|
|
1655
1655
|
* Converts an option on errors into an option on values.
|
|
@@ -1657,8 +1657,8 @@ export const unit = unit_1;
|
|
|
1657
1657
|
* @tsplus getter fncts.io.IO unjust
|
|
1658
1658
|
*/
|
|
1659
1659
|
|
|
1660
|
-
export function unjust(self) {
|
|
1661
|
-
return matchIO_1(self, e => tsplus_module_4.match_(e, () => succeedNow_1(tsplus_module_2.nothing(),
|
|
1660
|
+
export function unjust(self, __tsplusTrace) {
|
|
1661
|
+
return matchIO_1(self, e => tsplus_module_4.match_(e, () => succeedNow_1(tsplus_module_2.nothing(), __tsplusTrace), failNow_1), a => succeedNow_1(tsplus_module_2.just(a), __tsplusTrace), __tsplusTrace);
|
|
1662
1662
|
}
|
|
1663
1663
|
/**
|
|
1664
1664
|
* Takes some fiber failures and converts them into errors, using the
|
|
@@ -1677,8 +1677,8 @@ function unrefineWith_1(fa, pf, f, __tsplusTrace) {
|
|
|
1677
1677
|
*/
|
|
1678
1678
|
|
|
1679
1679
|
|
|
1680
|
-
function unsandbox_1(ma) {
|
|
1681
|
-
return mapErrorCause_1(ma, cause => tsplus_module_5.flatten(cause),
|
|
1680
|
+
function unsandbox_1(ma, __tsplusTrace) {
|
|
1681
|
+
return mapErrorCause_1(ma, cause => tsplus_module_5.flatten(cause), __tsplusTrace);
|
|
1682
1682
|
}
|
|
1683
1683
|
/**
|
|
1684
1684
|
* Updates the `FiberRef` values for the fiber running this effect using the
|
|
@@ -1701,7 +1701,7 @@ export const via = pipe;
|
|
|
1701
1701
|
*/
|
|
1702
1702
|
|
|
1703
1703
|
export function when_(ma, b, __tsplusTrace) {
|
|
1704
|
-
return whenIO_1(ma, succeed_1(b, __tsplusTrace));
|
|
1704
|
+
return whenIO_1(ma, succeed_1(b, __tsplusTrace), __tsplusTrace);
|
|
1705
1705
|
}
|
|
1706
1706
|
/**
|
|
1707
1707
|
* The moral equivalent of `if (p) exp` when `p` has side-effects
|
|
@@ -1709,8 +1709,8 @@ export function when_(ma, b, __tsplusTrace) {
|
|
|
1709
1709
|
* @tsplus fluent fncts.io.IO whenIO
|
|
1710
1710
|
*/
|
|
1711
1711
|
|
|
1712
|
-
function whenIO_1(ma, mb) {
|
|
1713
|
-
return flatMap_1(mb, b => b ? asUnit_1(ma) : unit_1,
|
|
1712
|
+
function whenIO_1(ma, mb, __tsplusTrace) {
|
|
1713
|
+
return flatMap_1(mb, b => b ? asUnit_1(ma, __tsplusTrace) : unit_1, __tsplusTrace);
|
|
1714
1714
|
}
|
|
1715
1715
|
/**
|
|
1716
1716
|
* Returns an effect that yields to the runtime system, starting on a fresh
|
|
@@ -1727,15 +1727,15 @@ export const yieldNow = yieldNow_1;
|
|
|
1727
1727
|
* @tsplus fluent fncts.io.IO zip
|
|
1728
1728
|
*/
|
|
1729
1729
|
|
|
1730
|
-
export function zip_(self, that) {
|
|
1731
|
-
return zipWith_1(self, that, tuple);
|
|
1730
|
+
export function zip_(self, that, __tsplusTrace) {
|
|
1731
|
+
return zipWith_1(self, that, tuple, __tsplusTrace);
|
|
1732
1732
|
}
|
|
1733
1733
|
/**
|
|
1734
1734
|
* @tsplus fluent fncts.io.IO zipWith
|
|
1735
1735
|
*/
|
|
1736
1736
|
|
|
1737
|
-
function zipWith_1(self, that, f) {
|
|
1738
|
-
return flatMap_1(self, a => map_1(that, b => f(a, b),
|
|
1737
|
+
function zipWith_1(self, that, f, __tsplusTrace) {
|
|
1738
|
+
return flatMap_1(self, a => map_1(that, b => f(a, b), __tsplusTrace), __tsplusTrace);
|
|
1739
1739
|
}
|
|
1740
1740
|
|
|
1741
1741
|
export class GenIO {
|
|
@@ -1782,14 +1782,14 @@ const adapter = (_, __tsplusTrace) => {
|
|
|
1782
1782
|
*/
|
|
1783
1783
|
|
|
1784
1784
|
|
|
1785
|
-
function gen_1(f) {
|
|
1785
|
+
function gen_1(f, __tsplusTrace) {
|
|
1786
1786
|
return defer_1(() => {
|
|
1787
1787
|
const iterator = f(adapter);
|
|
1788
1788
|
const state = iterator.next();
|
|
1789
1789
|
|
|
1790
1790
|
const run = state => {
|
|
1791
1791
|
if (state.done) {
|
|
1792
|
-
return succeed_1(() => state.value,
|
|
1792
|
+
return succeed_1(() => state.value, __tsplusTrace);
|
|
1793
1793
|
}
|
|
1794
1794
|
|
|
1795
1795
|
const f = val => {
|
|
@@ -1797,10 +1797,10 @@ function gen_1(f) {
|
|
|
1797
1797
|
return run(next);
|
|
1798
1798
|
};
|
|
1799
1799
|
|
|
1800
|
-
return flatMap_1(state.value.effect, f,
|
|
1800
|
+
return flatMap_1(state.value.effect, f, __tsplusTrace);
|
|
1801
1801
|
};
|
|
1802
1802
|
|
|
1803
1803
|
return run(state);
|
|
1804
|
-
},
|
|
1804
|
+
}, __tsplusTrace);
|
|
1805
1805
|
}
|
|
1806
1806
|
//# sourceMappingURL=api.mjs.map
|