@fncts/io 0.0.12 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- package/Cached/api.d.ts +3 -4
- package/Channel/UpstreamPullStrategy/definition.d.ts +1 -1
- package/Channel/api/interruptWhen.d.ts +1 -1
- package/Channel/api/mapOutIOC.d.ts +2 -2
- package/Channel/api/mergeAll.d.ts +1 -1
- package/Channel/api/mergeAllUnboundedWith.d.ts +1 -1
- package/Channel/api/mergeAllWith.d.ts +3 -3
- package/Channel/api/mergeMap.d.ts +1 -1
- package/Channel/api/mergeWith.d.ts +3 -3
- package/Channel/api/runScoped.d.ts +1 -2
- package/Channel/api/toPull.d.ts +2 -3
- package/Channel/api/zipC.d.ts +3 -3
- package/Channel/api.d.ts +56 -57
- package/Channel/core-api.d.ts +12 -12
- package/Channel/definition.d.ts +36 -22
- 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 +2 -2
- package/Channel/internal/MergeState.d.ts +2 -2
- package/Channel/internal/SingleProducerAsyncInput.d.ts +5 -5
- package/Clock/api.d.ts +3 -3
- 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 +12 -12
- 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 +4 -4
- package/FiberRef/api/locallyScoped.d.ts +1 -2
- package/FiberRef/api/locallyScopedWith.d.ts +1 -2
- package/FiberRef/api.d.ts +8 -8
- package/FiberRef/constructors.d.ts +2 -3
- package/FiberRef/unsafe.d.ts +11 -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 -23
- package/Hub/definition.d.ts +6 -7
- package/Hub/internal.d.ts +1 -2
- package/IO/api/acquireRelease.d.ts +2 -3
- package/IO/api/acquireReleaseExit.d.ts +3 -4
- package/IO/api/acquireReleaseInterruptible.d.ts +2 -3
- package/IO/api/acquireReleaseInterruptibleExit.d.ts +3 -4
- package/IO/api/addFinalizer.d.ts +2 -3
- package/IO/api/addFinalizerExit.d.ts +2 -3
- 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/clockWith.d.ts +1 -1
- package/IO/api/concurrency.d.ts +4 -4
- package/IO/api/concurrentFinalizers.d.ts +1 -2
- package/IO/api/consoleWith.d.ts +2 -2
- package/IO/api/core-scope.d.ts +4 -4
- package/IO/api/ensuringChildren.d.ts +1 -1
- package/IO/api/environment.d.ts +10 -12
- package/IO/api/foreachC.d.ts +2 -2
- package/IO/api/foreachExec.d.ts +1 -1
- package/IO/api/forkScoped.d.ts +1 -2
- package/IO/api/fulfill.d.ts +1 -1
- package/IO/api/interrupt.d.ts +8 -8
- 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/provideSomeLayer.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 +2 -2
- package/IO/api/repeat.d.ts +6 -6
- package/IO/api/retry.d.ts +5 -5
- package/IO/api/schedule.d.ts +3 -3
- package/IO/api/scope.d.ts +1 -2
- package/IO/api/scopeWith.d.ts +1 -2
- package/IO/api/scoped.d.ts +3 -4
- package/IO/api/sequenceT.d.ts +4 -4
- package/IO/api/sleep.d.ts +2 -2
- package/IO/api/stateful.d.ts +3 -4
- package/IO/api/timeout.d.ts +4 -4
- package/IO/api/withEarlyRelease.d.ts +1 -2
- package/IO/api/withFinalizer.d.ts +1 -2
- package/IO/api/withFinalizerExit.d.ts +2 -3
- package/IO/api/withRuntimeConfig.d.ts +2 -2
- package/IO/api/zipC.d.ts +4 -4
- package/IO/api.d.ts +94 -94
- package/IO/definition.d.ts +44 -34
- package/IO/runtime.d.ts +23 -17
- package/IOEnv/definition.d.ts +2 -3
- package/IOEnv/live.d.ts +1 -1
- package/IOEnv/services.d.ts +1 -1
- package/IOSpec.d.ts +7 -8
- package/Layer/MemoMap.d.ts +8 -9
- package/Layer/api.d.ts +41 -43
- package/Layer/definition.d.ts +22 -16
- 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 +6 -6
- package/Queue/api/filterOutputIO.d.ts +8 -8
- 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 +9 -9
- package/Queue/constructors.d.ts +4 -4
- package/Queue/definition.d.ts +10 -10
- package/Queue/internal.d.ts +1 -1
- package/Queue/strategy.d.ts +10 -10
- package/Random/api.d.ts +8 -8
- package/Random/definition.d.ts +5 -5
- package/Random/live.d.ts +5 -5
- package/Ref/Atomic/Atomic.d.ts +4 -4
- package/Ref/Atomic/api.d.ts +11 -11
- package/Ref/Derived.d.ts +4 -4
- package/Ref/DerivedAll.d.ts +4 -4
- package/Ref/Synchronized/api.d.ts +16 -16
- package/Ref/Synchronized/constructors.d.ts +2 -2
- package/Ref/Synchronized/definition.d.ts +3 -3
- 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 +15 -15
- package/RuntimeConfig.d.ts +2 -2
- package/STM/api/core-api.d.ts +5 -5
- package/STM/api/core-constructors.d.ts +9 -9
- package/STM/api.d.ts +60 -72
- package/STM/definition.d.ts +10 -9
- package/STM/driver.d.ts +2 -2
- package/STM/internal/CommitState.d.ts +1 -1
- package/STM/internal/Journal.d.ts +7 -6
- package/STM/internal/TryCommit.d.ts +1 -1
- package/Schedule/Decision.d.ts +10 -4
- package/Schedule/Driver.d.ts +4 -4
- package/Schedule/api/driver.d.ts +1 -1
- package/Schedule/api.d.ts +85 -73
- package/Schedule/definition.d.ts +1 -1
- package/Scope/Finalizer/definition.d.ts +3 -3
- package/Scope/ReleaseMap/api/releaseAll.d.ts +2 -2
- package/Scope/ReleaseMap/api.d.ts +7 -7
- package/Scope/ReleaseMap/definition.d.ts +3 -3
- package/Scope/api.d.ts +9 -10
- package/Scope/definition.d.ts +2 -2
- package/ScopedRef/api.d.ts +2 -3
- package/ScopedRef/definition.d.ts +1 -2
- package/Sink/api.d.ts +73 -74
- package/State/api.d.ts +2 -3
- 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 +171 -166
- package/Stream/definition.d.ts +3 -3
- package/Stream/internal/Handoff.d.ts +2 -2
- package/Stream/internal/Pull.d.ts +2 -2
- package/Stream/internal/Take.d.ts +4 -4
- package/Stream/internal/util.d.ts +1 -1
- package/Supervisor/api.d.ts +3 -3
- package/Supervisor/constructors.d.ts +6 -6
- 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 +3 -3
- package/TReentrantLock/api.d.ts +18 -19
- 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/TSemaphore/definition.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/definition.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/live.cjs.map +1 -1
- package/_cjs/Console/api.cjs +5 -3
- package/_cjs/Console/api.cjs.map +1 -1
- package/_cjs/Fiber/FiberContext.cjs +8 -10
- 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/FiberRef/unsafe.cjs +9 -1
- package/_cjs/FiberRef/unsafe.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 +16 -24
- 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 +5 -11
- 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 +6 -8
- 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 +13 -13
- package/_cjs/IO/api/interrupt.cjs.map +1 -1
- package/_cjs/IO/api/memoize.cjs +4 -8
- 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 +2 -3
- 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/scope.cjs +1 -1
- package/_cjs/IO/api/scope.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/withChildren.cjs +1 -1
- package/_cjs/IO/api/withChildren.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/IO/definition.cjs +5 -8
- package/_cjs/IO/definition.cjs.map +1 -1
- package/_cjs/IO/runtime.cjs +57 -20
- package/_cjs/IO/runtime.cjs.map +1 -1
- package/_cjs/IOEnv/live.cjs +3 -1
- package/_cjs/IOEnv/live.cjs.map +1 -1
- package/_cjs/Layer/MemoMap.cjs +45 -62
- package/_cjs/Layer/MemoMap.cjs.map +1 -1
- package/_cjs/Layer/api.cjs +84 -83
- 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 +17 -17
- package/_cjs/Queue/internal.cjs.map +1 -1
- package/_cjs/Queue/strategy.cjs +16 -20
- 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/live.cjs +4 -4
- package/_cjs/Random/live.cjs.map +1 -1
- package/_cjs/Ref/Atomic/Atomic.cjs.map +1 -1
- package/_cjs/Ref/Atomic/api.cjs +19 -21
- package/_cjs/Ref/Atomic/api.cjs.map +1 -1
- package/_cjs/Ref/Derived.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 +8 -14
- 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 +129 -148
- package/_cjs/STM/api.cjs.map +1 -1
- package/_cjs/STM/definition.cjs.map +1 -1
- package/_cjs/STM/driver.cjs +10 -6
- package/_cjs/STM/driver.cjs.map +1 -1
- package/_cjs/STM/internal/Journal.cjs +20 -22
- package/_cjs/STM/internal/Journal.cjs.map +1 -1
- package/_cjs/Schedule/Decision.cjs +17 -0
- package/_cjs/Schedule/Decision.cjs.map +1 -1
- package/_cjs/Schedule/api/driver.cjs +18 -21
- package/_cjs/Schedule/api/driver.cjs.map +1 -1
- package/_cjs/Schedule/api.cjs +205 -180
- package/_cjs/Schedule/api.cjs.map +1 -1
- package/_cjs/Scope/Finalizer/definition.cjs +4 -6
- package/_cjs/Scope/Finalizer/definition.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/ReleaseMap/definition.cjs +2 -4
- package/_cjs/Scope/ReleaseMap/definition.cjs.map +1 -1
- package/_cjs/Scope/api.cjs +20 -30
- package/_cjs/Scope/api.cjs.map +1 -1
- package/_cjs/ScopedRef/api.cjs +14 -22
- 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/Supervisor/constructors.cjs +14 -8
- package/_cjs/Supervisor/constructors.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/TFuture/definition.cjs +2 -4
- package/_cjs/TFuture/definition.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 +20 -21
- 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/TSemaphore/definition.cjs +2 -4
- package/_cjs/TSemaphore/definition.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/_cjs/internal/Scheduler.cjs +64 -14
- package/_cjs/internal/Scheduler.cjs.map +1 -1
- 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/definition.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/live.mjs.map +1 -1
- package/_mjs/Console/api.mjs +4 -3
- package/_mjs/Console/api.mjs.map +1 -1
- package/_mjs/Fiber/FiberContext.mjs +9 -9
- 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/FiberRef/unsafe.mjs +6 -0
- package/_mjs/FiberRef/unsafe.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 +16 -24
- 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 +5 -10
- 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 +6 -8
- 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 +13 -13
- package/_mjs/IO/api/interrupt.mjs.map +1 -1
- package/_mjs/IO/api/memoize.mjs +4 -8
- 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 +2 -3
- 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/scope.mjs +1 -1
- package/_mjs/IO/api/scope.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/withChildren.mjs +1 -1
- package/_mjs/IO/api/withChildren.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/IO/definition.mjs +3 -5
- package/_mjs/IO/definition.mjs.map +1 -1
- package/_mjs/IO/runtime.mjs +51 -18
- package/_mjs/IO/runtime.mjs.map +1 -1
- package/_mjs/IOEnv/live.mjs +2 -1
- package/_mjs/IOEnv/live.mjs.map +1 -1
- package/_mjs/Layer/MemoMap.mjs +43 -60
- package/_mjs/Layer/MemoMap.mjs.map +1 -1
- package/_mjs/Layer/api.mjs +84 -84
- 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 +17 -17
- package/_mjs/Queue/internal.mjs.map +1 -1
- package/_mjs/Queue/strategy.mjs +16 -20
- 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/live.mjs +4 -4
- package/_mjs/Random/live.mjs.map +1 -1
- package/_mjs/Ref/Atomic/Atomic.mjs.map +1 -1
- package/_mjs/Ref/Atomic/api.mjs +19 -20
- package/_mjs/Ref/Atomic/api.mjs.map +1 -1
- package/_mjs/Ref/Derived.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 +8 -13
- 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 +122 -142
- package/_mjs/STM/api.mjs.map +1 -1
- package/_mjs/STM/definition.mjs.map +1 -1
- package/_mjs/STM/driver.mjs +9 -6
- package/_mjs/STM/driver.mjs.map +1 -1
- package/_mjs/STM/internal/Journal.mjs +20 -21
- package/_mjs/STM/internal/Journal.mjs.map +1 -1
- package/_mjs/Schedule/Decision.mjs +9 -0
- package/_mjs/Schedule/Decision.mjs.map +1 -1
- package/_mjs/Schedule/api/driver.mjs +17 -20
- package/_mjs/Schedule/api/driver.mjs.map +1 -1
- package/_mjs/Schedule/api.mjs +198 -177
- package/_mjs/Schedule/api.mjs.map +1 -1
- package/_mjs/Scope/Finalizer/definition.mjs +4 -5
- package/_mjs/Scope/Finalizer/definition.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/ReleaseMap/definition.mjs +2 -3
- package/_mjs/Scope/ReleaseMap/definition.mjs.map +1 -1
- package/_mjs/Scope/api.mjs +20 -30
- package/_mjs/Scope/api.mjs.map +1 -1
- package/_mjs/ScopedRef/api.mjs +14 -22
- 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/Supervisor/constructors.mjs +9 -6
- package/_mjs/Supervisor/constructors.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/TFuture/definition.mjs +2 -3
- package/_mjs/TFuture/definition.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 +17 -18
- 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/TSemaphore/definition.mjs +2 -3
- package/_mjs/TSemaphore/definition.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/_mjs/internal/Scheduler.mjs +62 -15
- package/_mjs/internal/Scheduler.mjs.map +1 -1
- package/_src/Cached/api.ts +4 -3
- package/_src/Channel/api/interruptWhen.ts +1 -1
- package/_src/Channel/api/mapOutIOC.ts +2 -2
- package/_src/Channel/api/mergeAll.ts +1 -1
- package/_src/Channel/api/mergeAllUnboundedWith.ts +1 -1
- package/_src/Channel/api/mergeAllWith.ts +3 -3
- package/_src/Channel/api/mergeMap.ts +1 -1
- package/_src/Channel/api/mergeWith.ts +9 -9
- package/_src/Channel/api/runScoped.ts +1 -1
- package/_src/Channel/api/toPull.ts +1 -1
- package/_src/Channel/api/zipC.ts +3 -3
- package/_src/Channel/api.ts +73 -73
- package/_src/Channel/core-api.ts +11 -13
- package/_src/Channel/definition.ts +19 -19
- package/_src/Channel/internal/MergeDecision.ts +1 -1
- package/_src/Clock/live.ts +1 -1
- package/_src/Console/api.ts +1 -1
- package/_src/Fiber/FiberContext.ts +10 -8
- 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 +2 -1
- 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/Fiber/definition.ts +1 -1
- 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 +4 -2
- package/_src/FiberRef/unsafe.ts +7 -0
- package/_src/Future/api.ts +24 -16
- package/_src/Future/constructors.ts +2 -2
- package/_src/Hub/api.ts +50 -23
- package/_src/Hub/definition.ts +6 -6
- package/_src/Hub/internal.ts +15 -15
- package/_src/IO/api/acquireRelease.ts +2 -1
- package/_src/IO/api/acquireReleaseExit.ts +1 -1
- package/_src/IO/api/acquireReleaseInterruptible.ts +1 -1
- package/_src/IO/api/acquireReleaseInterruptibleExit.ts +1 -1
- package/_src/IO/api/addFinalizer.ts +1 -4
- package/_src/IO/api/addFinalizerExit.ts +6 -5
- package/_src/IO/api/asyncIO.ts +4 -1
- package/_src/IO/api/bracket.ts +2 -1
- package/_src/IO/api/bracketExit.ts +2 -1
- 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/core-scope.ts +1 -1
- package/_src/IO/api/ensuringChildren.ts +3 -2
- package/_src/IO/api/environment.ts +9 -11
- package/_src/IO/api/foreachC.ts +33 -6
- package/_src/IO/api/foreachExec.ts +1 -0
- package/_src/IO/api/forkScoped.ts +1 -1
- package/_src/IO/api/fulfill.ts +1 -1
- package/_src/IO/api/interrupt.ts +13 -5
- package/_src/IO/api/memoize.ts +3 -3
- package/_src/IO/api/onExit.ts +2 -1
- package/_src/IO/api/onTermination.ts +2 -2
- package/_src/IO/api/provideLayer.ts +1 -0
- package/_src/IO/api/provideSomeLayer.ts +1 -3
- 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 +7 -7
- package/_src/IO/api/retry.ts +7 -7
- package/_src/IO/api/schedule.ts +4 -3
- package/_src/IO/api/scope.ts +1 -1
- package/_src/IO/api/scopeWith.ts +1 -1
- package/_src/IO/api/scoped.ts +2 -2
- package/_src/IO/api/sequenceT.ts +1 -1
- package/_src/IO/api/stateful.ts +1 -1
- package/_src/IO/api/timeout.ts +5 -1
- package/_src/IO/api/withChildren.ts +1 -1
- package/_src/IO/api/withEarlyRelease.ts +4 -1
- package/_src/IO/api/withFinalizer.ts +2 -1
- package/_src/IO/api/withFinalizerExit.ts +2 -1
- package/_src/IO/api/withRuntimeConfig.ts +5 -1
- package/_src/IO/api/zipC.ts +7 -2
- package/_src/IO/api.ts +125 -75
- package/_src/IO/definition.ts +32 -27
- package/_src/IO/runtime.ts +48 -1
- package/_src/IOEnv/definition.ts +1 -1
- package/_src/Layer/MemoMap.ts +41 -34
- package/_src/Layer/api.ts +82 -49
- package/_src/Layer/definition.ts +11 -8
- package/_src/Queue/api/dimapIO.ts +21 -11
- package/_src/Queue/api/filterInputIO.ts +6 -4
- package/_src/Queue/api/filterOutputIO.ts +8 -6
- 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 +13 -10
- package/_src/Queue/constructors.ts +4 -4
- package/_src/Queue/definition.ts +10 -10
- package/_src/Queue/internal.ts +7 -7
- package/_src/Queue/strategy.ts +18 -10
- package/_src/Random/api.ts +5 -5
- package/_src/Random/definition.ts +5 -5
- package/_src/Random/live.ts +4 -4
- package/_src/Ref/Atomic/Atomic.ts +3 -3
- package/_src/Ref/Atomic/api.ts +10 -10
- package/_src/Ref/Derived.ts +3 -3
- package/_src/Ref/DerivedAll.ts +3 -3
- package/_src/Ref/Synchronized/api.ts +33 -18
- package/_src/Ref/Synchronized/constructors.ts +5 -5
- package/_src/Ref/Synchronized/definition.ts +2 -2
- 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 +5 -2
- package/_src/Ref/api/modify.ts +21 -9
- package/_src/Ref/api/set.ts +5 -1
- package/_src/Ref/constructors.ts +2 -2
- package/_src/Ref/definition.ts +14 -14
- package/_src/STM/api/core-api.ts +20 -7
- package/_src/STM/api/core-constructors.ts +7 -7
- package/_src/STM/api.ts +150 -116
- package/_src/STM/definition.ts +6 -6
- package/_src/STM/driver.ts +3 -3
- package/_src/STM/internal/Journal.ts +25 -16
- package/_src/Schedule/Decision.ts +10 -3
- package/_src/Schedule/Driver.ts +2 -2
- package/_src/Schedule/api/driver.ts +6 -6
- package/_src/Schedule/api.ts +182 -82
- package/_src/Schedule/definition.ts +1 -1
- package/_src/Scope/Finalizer/definition.ts +2 -2
- package/_src/Scope/ReleaseMap/api/releaseAll.ts +6 -1
- package/_src/Scope/ReleaseMap/api.ts +15 -5
- package/_src/Scope/ReleaseMap/definition.ts +1 -1
- package/_src/Scope/api.ts +23 -15
- package/_src/ScopedRef/api.ts +12 -17
- package/_src/ScopedRef/definition.ts +1 -1
- package/_src/Sink/api.ts +111 -85
- package/_src/State/api.ts +1 -1
- package/_src/Stream/api/zipAllWith.ts +5 -2
- package/_src/Stream/api/zipWith.ts +2 -1
- package/_src/Stream/api/zipWithChunks.ts +5 -2
- package/_src/Stream/api.ts +484 -216
- package/_src/Stream/definition.ts +3 -3
- package/_src/Stream/internal/Take.ts +1 -1
- package/_src/Supervisor/constructors.ts +7 -3
- package/_src/TFuture/api.ts +5 -5
- package/_src/TFuture/constructors.ts +2 -2
- package/_src/TFuture/definition.ts +1 -1
- package/_src/TReentrantLock/api.ts +18 -18
- package/_src/TRef/api.ts +36 -14
- package/_src/TRef/constructors.ts +4 -4
- package/_src/TSemaphore/api.ts +7 -7
- package/_src/TSemaphore/constructors.ts +1 -1
- package/_src/TSemaphore/definition.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/_src/internal/Scheduler.ts +59 -15
- 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/internal/Scheduler.d.ts +18 -1
- package/package.json +7 -3
- package/_cjs/demo.cjs +0 -15
- package/_cjs/demo.cjs.map +0 -1
- package/_mjs/demo.mjs +0 -7
- package/_mjs/demo.mjs.map +0 -1
- package/_src/demo.ts +0 -6
- package/demo.d.ts +0 -1
package/_cjs/Schedule/api.cjs
CHANGED
@@ -14,6 +14,8 @@ exports.delays = delays;
|
|
14
14
|
exports.dimapIO_ = dimapIO_;
|
15
15
|
exports.dimap_ = dimap_;
|
16
16
|
exports.duration = duration;
|
17
|
+
exports.either = void 0;
|
18
|
+
exports.eitherWith = eitherWith;
|
17
19
|
exports.elapsed = void 0;
|
18
20
|
exports.ensuring_ = ensuring_;
|
19
21
|
exports.exponential = exponential;
|
@@ -42,9 +44,7 @@ exports.spaced = spaced;
|
|
42
44
|
exports.succeed = succeed;
|
43
45
|
exports.tapInput_ = tapInput_;
|
44
46
|
exports.tapOutput_ = tapOutput_;
|
45
|
-
exports.unfold = void 0;
|
46
|
-
exports.unionWith_ = unionWith_;
|
47
|
-
exports.untilInput_ = exports.untilInputIO_ = void 0;
|
47
|
+
exports.untilInput_ = exports.untilInputIO_ = exports.unionWith_ = exports.unfold = void 0;
|
48
48
|
exports.untilOutputIO_ = untilOutputIO_;
|
49
49
|
exports.untilOutput_ = untilOutput_;
|
50
50
|
exports.upTo = upTo;
|
@@ -67,25 +67,29 @@ var tsplus_module_4 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require
|
|
67
67
|
|
68
68
|
var tsplus_module_5 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/Schedule/Decision"));
|
69
69
|
|
70
|
-
var tsplus_module_6 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/
|
70
|
+
var tsplus_module_6 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Intervals"));
|
71
71
|
|
72
72
|
var tsplus_module_7 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/IO/api/environment"));
|
73
73
|
|
74
|
-
var tsplus_module_8 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/
|
74
|
+
var tsplus_module_8 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Interval"));
|
75
|
+
|
76
|
+
var tsplus_module_9 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/function/api"));
|
75
77
|
|
76
|
-
var
|
78
|
+
var tsplus_module_10 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/constructors"));
|
77
79
|
|
78
|
-
var
|
80
|
+
var tsplus_module_11 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/destructors"));
|
79
81
|
|
80
|
-
var
|
82
|
+
var tsplus_module_12 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Either/destructors"));
|
81
83
|
|
82
|
-
var
|
84
|
+
var tsplus_module_13 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/typeclass/Equatable/api"));
|
83
85
|
|
84
|
-
var
|
86
|
+
var tsplus_module_14 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/List/definition"));
|
85
87
|
|
86
|
-
var
|
88
|
+
var tsplus_module_15 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Conc/api"));
|
87
89
|
|
88
|
-
var
|
90
|
+
var tsplus_module_16 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/List/constructors"));
|
91
|
+
|
92
|
+
var tsplus_module_17 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Conc/api/empty"));
|
89
93
|
|
90
94
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
91
95
|
|
@@ -114,6 +118,8 @@ const delayed = delayed_1;
|
|
114
118
|
exports.delayed = delayed;
|
115
119
|
const delayedIO_ = delayedIO_1;
|
116
120
|
exports.delayedIO_ = delayedIO_;
|
121
|
+
const either = either_1;
|
122
|
+
exports.either = either;
|
117
123
|
const fold_ = fold_1;
|
118
124
|
exports.fold_ = fold_;
|
119
125
|
const foldIO_ = foldIO_1;
|
@@ -132,6 +138,8 @@ const reconsiderIO_ = reconsiderIO_1;
|
|
132
138
|
exports.reconsiderIO_ = reconsiderIO_;
|
133
139
|
const resetWhen_ = resetWhen_1;
|
134
140
|
exports.resetWhen_ = resetWhen_;
|
141
|
+
const unionWith_ = unionWith_1;
|
142
|
+
exports.unionWith_ = unionWith_;
|
135
143
|
const unfold = unfold_1;
|
136
144
|
exports.unfold = unfold;
|
137
145
|
const untilInput_ = untilInput_1;
|
@@ -151,7 +159,7 @@ const zip_ = zip_1;
|
|
151
159
|
|
152
160
|
exports.zip_ = zip_;
|
153
161
|
|
154
|
-
function make_1(initial, step) {
|
162
|
+
function make_1(initial, step, __tsplusTrace) {
|
155
163
|
return new class extends tsplus_module_1.Schedule {
|
156
164
|
constructor() {
|
157
165
|
super(...arguments);
|
@@ -166,170 +174,187 @@ function make_1(initial, step) {
|
|
166
174
|
*/
|
167
175
|
|
168
176
|
|
169
|
-
function addDelay_1(self, f) {
|
170
|
-
return addDelayIO_1(self, out => tsplus_module_2.succeed(() => f(out),
|
177
|
+
function addDelay_1(self, f, __tsplusTrace) {
|
178
|
+
return addDelayIO_1(self, out => tsplus_module_2.succeed(() => f(out), __tsplusTrace), __tsplusTrace);
|
171
179
|
}
|
172
180
|
/**
|
173
181
|
* @tsplus fluent fncts.io.Schedule addDelayIO
|
174
182
|
*/
|
175
183
|
|
176
184
|
|
177
|
-
function addDelayIO_1(self, f) {
|
178
|
-
return modifyDelayIO_1(self, (out, duration) => tsplus_module_2.map_(f(out), d => duration + d,
|
185
|
+
function addDelayIO_1(self, f, __tsplusTrace) {
|
186
|
+
return modifyDelayIO_1(self, (out, duration) => tsplus_module_2.map_(f(out), d => duration + d, __tsplusTrace), __tsplusTrace);
|
179
187
|
}
|
180
188
|
/**
|
181
189
|
* @tsplus fluent fncts.io.Schedule andThen
|
182
190
|
*/
|
183
191
|
|
184
192
|
|
185
|
-
function andThen(self, that) {
|
186
|
-
return map_1(andThenEither_1(self, that), out => tsplus_module_3.merge(out));
|
193
|
+
function andThen(self, that, __tsplusTrace) {
|
194
|
+
return map_1(andThenEither_1(self, that, __tsplusTrace), out => tsplus_module_3.merge(out), __tsplusTrace);
|
187
195
|
}
|
188
196
|
/**
|
189
197
|
* @tsplus fluent fncts.io.Schedule andThenEither
|
190
198
|
*/
|
191
199
|
|
192
200
|
|
193
|
-
function andThenEither_1(self, that) {
|
201
|
+
function andThenEither_1(self, that, __tsplusTrace) {
|
194
202
|
return make_1([self.initial, that.initial, true], (now, inp, [s1, s2, onLeft]) => {
|
195
203
|
if (onLeft) {
|
196
|
-
return tsplus_module_2.flatMap_(self.step(now, inp, s1,
|
204
|
+
return tsplus_module_2.flatMap_(self.step(now, inp, s1, __tsplusTrace), ([lState, out, decision]) => tsplus_module_5.match_(decision, () => tsplus_module_2.map_(that.step(now, inp, s2, __tsplusTrace), ([rState, out, decision]) => [[lState, rState, false], tsplus_module_4.right(out), decision], __tsplusTrace), interval => tsplus_module_2.succeedNow([[lState, s2, true], tsplus_module_4.left(out), tsplus_module_5.continue_(interval)], __tsplusTrace)), __tsplusTrace);
|
197
205
|
} else {
|
198
|
-
return tsplus_module_2.map_(that.step(now, inp, s2,
|
206
|
+
return tsplus_module_2.map_(that.step(now, inp, s2, __tsplusTrace), ([rState, out, decision]) => [[s1, rState, false], tsplus_module_4.right(out), decision], __tsplusTrace);
|
199
207
|
}
|
200
|
-
});
|
208
|
+
}, __tsplusTrace);
|
201
209
|
}
|
202
210
|
/**
|
203
211
|
* @tsplus fluent fncts.io.Schedule as
|
204
212
|
*/
|
205
213
|
|
206
214
|
|
207
|
-
function as_1(self, out2) {
|
208
|
-
return map_1(self, () => out2());
|
215
|
+
function as_1(self, out2, __tsplusTrace) {
|
216
|
+
return map_1(self, () => out2(), __tsplusTrace);
|
209
217
|
}
|
210
218
|
/**
|
211
219
|
* @tsplus fluent fncts.io.Schedule check
|
212
220
|
*/
|
213
221
|
|
214
222
|
|
215
|
-
function check_1(self, test) {
|
216
|
-
return checkIO_1(self, (inp, out) => tsplus_module_2.succeed(() => test(inp, out),
|
223
|
+
function check_1(self, test, __tsplusTrace) {
|
224
|
+
return checkIO_1(self, (inp, out) => tsplus_module_2.succeed(() => test(inp, out), __tsplusTrace), __tsplusTrace);
|
217
225
|
}
|
218
226
|
/**
|
219
227
|
* @tsplus fluent fncts.io.Schedule checkIO
|
220
228
|
*/
|
221
229
|
|
222
230
|
|
223
|
-
function checkIO_1(self, test) {
|
224
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state,
|
231
|
+
function checkIO_1(self, test, __tsplusTrace) {
|
232
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state, __tsplusTrace), ([state, out, decision]) => tsplus_module_5.match_(decision, () => tsplus_module_2.succeedNow([state, out, decision], __tsplusTrace), interval => tsplus_module_2.map_(test(inp, out), b => b ? [state, out, tsplus_module_5.continue_(interval)] : [state, out, tsplus_module_5.done], __tsplusTrace)), __tsplusTrace), __tsplusTrace);
|
225
233
|
}
|
226
234
|
/**
|
227
235
|
* @tsplus fluent fncts.io.Schedule compose_
|
228
236
|
*/
|
229
237
|
|
230
238
|
|
231
|
-
function compose_(self, that) {
|
232
|
-
return make_1([self.initial, that.initial], (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state[0],
|
239
|
+
function compose_(self, that, __tsplusTrace) {
|
240
|
+
return make_1([self.initial, that.initial], (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state[0], __tsplusTrace), ([lState, out, decision]) => tsplus_module_5.match_(decision, () => tsplus_module_2.map_(that.step(now, out, state[1], __tsplusTrace), ([rState, out2]) => [[lState, rState], out2, tsplus_module_5.done], __tsplusTrace), interval => tsplus_module_2.map_(that.step(now, out, state[1], __tsplusTrace), ([rState, out2, decision]) => tsplus_module_5.match_(decision, () => [[lState, rState], out2, tsplus_module_5.done], interval2 => [[lState, rState], out2, tsplus_module_5.continue_(tsplus_module_6.max(interval, interval2))]), __tsplusTrace)), __tsplusTrace), __tsplusTrace);
|
233
241
|
}
|
234
242
|
/**
|
235
243
|
* @tsplus fluent fncts.io.Schedule contramap
|
236
244
|
*/
|
237
245
|
|
238
246
|
|
239
|
-
function contramap_1(self, f) {
|
240
|
-
return contramapIO_1(self, inp2 => tsplus_module_2.succeed(() => f(inp2),
|
247
|
+
function contramap_1(self, f, __tsplusTrace) {
|
248
|
+
return contramapIO_1(self, inp2 => tsplus_module_2.succeed(() => f(inp2), __tsplusTrace), __tsplusTrace);
|
241
249
|
}
|
242
250
|
/**
|
243
251
|
* @tsplus fluent fncts.io.Schedule contramapEnvironment
|
244
252
|
*/
|
245
253
|
|
246
254
|
|
247
|
-
function contramapEnvironment_(self, f) {
|
248
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_7.contramapEnvironment_(self.step(now, inp, state,
|
255
|
+
function contramapEnvironment_(self, f, __tsplusTrace) {
|
256
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_7.contramapEnvironment_(self.step(now, inp, state, __tsplusTrace), f, __tsplusTrace), __tsplusTrace);
|
249
257
|
}
|
250
258
|
/**
|
251
259
|
* @tsplus fluent fncts.io.Schedule contramapIO
|
252
260
|
*/
|
253
261
|
|
254
262
|
|
255
|
-
function contramapIO_1(self, f) {
|
256
|
-
return make_1(self.initial, (now, inp2, state) => tsplus_module_2.flatMap_(f(inp2), inp => self.step(now, inp, state,
|
263
|
+
function contramapIO_1(self, f, __tsplusTrace) {
|
264
|
+
return make_1(self.initial, (now, inp2, state) => tsplus_module_2.flatMap_(f(inp2), inp => self.step(now, inp, state, __tsplusTrace), __tsplusTrace), __tsplusTrace);
|
257
265
|
}
|
258
266
|
/**
|
259
267
|
* @tsplus static fncts.io.ScheduleOps delayed
|
260
268
|
*/
|
261
269
|
|
262
270
|
|
263
|
-
function delayed_1(schedule) {
|
264
|
-
return addDelay_1(schedule, x => x);
|
271
|
+
function delayed_1(schedule, __tsplusTrace) {
|
272
|
+
return addDelay_1(schedule, x => x, __tsplusTrace);
|
265
273
|
}
|
266
274
|
/**
|
267
275
|
* @tsplus fluent fncts.io.Schedule delayed
|
268
276
|
*/
|
269
277
|
|
270
278
|
|
271
|
-
function delayedSelf_(self, f) {
|
272
|
-
return delayedIO_1(self, delay => tsplus_module_2.succeed(() => f(delay),
|
279
|
+
function delayedSelf_(self, f, __tsplusTrace) {
|
280
|
+
return delayedIO_1(self, delay => tsplus_module_2.succeed(() => f(delay), __tsplusTrace), __tsplusTrace);
|
273
281
|
}
|
274
282
|
/**
|
275
283
|
* @tsplus fluent fncts.io.Schedule delayedIO
|
276
284
|
*/
|
277
285
|
|
278
286
|
|
279
|
-
function delayedIO_1(self, f) {
|
280
|
-
return modifyDelayIO_1(self, (_, delay) => f(delay));
|
287
|
+
function delayedIO_1(self, f, __tsplusTrace) {
|
288
|
+
return modifyDelayIO_1(self, (_, delay) => f(delay), __tsplusTrace);
|
281
289
|
}
|
282
290
|
/**
|
283
291
|
* @tsplus getter fncts.io.Schedule delays
|
284
292
|
*/
|
285
293
|
|
286
294
|
|
287
|
-
function delays(self) {
|
288
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state,
|
289
|
-
const delay = interval
|
290
|
-
return tsplus_module_2.succeedNow([state, delay, tsplus_module_5.continue_(interval)],
|
291
|
-
}),
|
295
|
+
function delays(self, __tsplusTrace) {
|
296
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state, __tsplusTrace), ([state, _, decision]) => tsplus_module_5.match_(decision, () => tsplus_module_2.succeedNow([state, 0, tsplus_module_5.done], __tsplusTrace), interval => {
|
297
|
+
const delay = tsplus_module_6.start(interval) - now;
|
298
|
+
return tsplus_module_2.succeedNow([state, delay, tsplus_module_5.continue_(interval)], __tsplusTrace);
|
299
|
+
}), __tsplusTrace), __tsplusTrace);
|
292
300
|
}
|
293
301
|
/**
|
294
302
|
* @tsplus fluent fncts.io.Schedule dimap
|
295
303
|
*/
|
296
304
|
|
297
305
|
|
298
|
-
function dimap_(self, f, g) {
|
299
|
-
return map_1(contramap_1(self, f), g);
|
306
|
+
function dimap_(self, f, g, __tsplusTrace) {
|
307
|
+
return map_1(contramap_1(self, f, __tsplusTrace), g, __tsplusTrace);
|
300
308
|
}
|
301
309
|
/**
|
302
310
|
* @tsplus fluent fncts.io.Schedule dimapIO
|
303
311
|
*/
|
304
312
|
|
305
313
|
|
306
|
-
function dimapIO_(self, f, g) {
|
307
|
-
return mapIO_1(contramapIO_1(self, f), g);
|
314
|
+
function dimapIO_(self, f, g, __tsplusTrace) {
|
315
|
+
return mapIO_1(contramapIO_1(self, f, __tsplusTrace), g, __tsplusTrace);
|
308
316
|
}
|
309
317
|
/**
|
310
318
|
* @tsplus static fncts.io.ScheduleOps duration
|
311
319
|
*/
|
312
320
|
|
313
321
|
|
314
|
-
function duration(duration) {
|
322
|
+
function duration(duration, __tsplusTrace) {
|
315
323
|
return make_1(true, (now, _, state) => tsplus_module_2.succeed(() => {
|
316
324
|
if (state) {
|
317
|
-
const interval =
|
318
|
-
return [false, duration, tsplus_module_5.
|
325
|
+
const interval = tsplus_module_8.after(now + duration);
|
326
|
+
return [false, duration, tsplus_module_5.continueWith(interval)];
|
319
327
|
} else {
|
320
328
|
return [false, 0, tsplus_module_5.done];
|
321
329
|
}
|
322
|
-
},
|
330
|
+
}, __tsplusTrace), __tsplusTrace);
|
331
|
+
}
|
332
|
+
/**
|
333
|
+
* @tsplus fluent fncts.io.Schedule either
|
334
|
+
* @tsplus operator fncts.io.Schedule ||
|
335
|
+
*/
|
336
|
+
|
337
|
+
|
338
|
+
function either_1(self, that, __tsplusTrace) {
|
339
|
+
return unionWith_1(self, that, (interval1, interval2) => tsplus_module_6.union(interval1, interval2), __tsplusTrace);
|
340
|
+
}
|
341
|
+
/**
|
342
|
+
* @tsplus fluent fncts.io.Schedule eitherWith
|
343
|
+
*/
|
344
|
+
|
345
|
+
|
346
|
+
function eitherWith(self, that, f, __tsplusTrace) {
|
347
|
+
return map_1(either_1(self, that, __tsplusTrace), tsplus_module_9.tupled(f), __tsplusTrace);
|
323
348
|
}
|
324
349
|
/**
|
325
350
|
* @tsplus static fncts.io.ScheduleOps elapsed
|
326
351
|
*/
|
327
352
|
|
328
353
|
|
329
|
-
const elapsed_1 = /*#__PURE__*/make_1( /*#__PURE__*/
|
354
|
+
const elapsed_1 = /*#__PURE__*/make_1( /*#__PURE__*/tsplus_module_10.nothing(), (now, _, state) => tsplus_module_2.succeed(() => tsplus_module_11.match_(state, () => [tsplus_module_10.just(now), 0, tsplus_module_5.continueWith(tsplus_module_8.makeInterval(now, Number.MAX_SAFE_INTEGER))], start => {
|
330
355
|
const duration = now - start;
|
331
|
-
return [
|
332
|
-
}), fileName_1 + ":
|
356
|
+
return [tsplus_module_10.just(start), duration, tsplus_module_5.continueWith(tsplus_module_8.makeInterval(now, Number.MAX_SAFE_INTEGER))];
|
357
|
+
}), fileName_1 + ":302:13"), fileName_1 + ":301:91");
|
333
358
|
const elapsed = elapsed_1;
|
334
359
|
/**
|
335
360
|
* @tsplus fluent fncts.io.Schedule ensuring
|
@@ -337,16 +362,16 @@ const elapsed = elapsed_1;
|
|
337
362
|
|
338
363
|
exports.elapsed = elapsed;
|
339
364
|
|
340
|
-
function ensuring_(self, finalizer) {
|
341
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state,
|
365
|
+
function ensuring_(self, finalizer, __tsplusTrace) {
|
366
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state, __tsplusTrace), ([state, out, decision]) => tsplus_module_5.match_(decision, () => tsplus_module_2.as_(finalizer, () => [state, out, tsplus_module_5.done], __tsplusTrace), interval => tsplus_module_2.succeedNow([state, out, tsplus_module_5.continue_(interval)], __tsplusTrace)), __tsplusTrace), __tsplusTrace);
|
342
367
|
}
|
343
368
|
/**
|
344
369
|
* @tsplus static fncts.io.ScheduleOps exponential
|
345
370
|
*/
|
346
371
|
|
347
372
|
|
348
|
-
function exponential(base, factor = 2) {
|
349
|
-
return delayed_1(map_1(forever_1, i => base * Math.pow(factor, i)));
|
373
|
+
function exponential(base, factor = 2, __tsplusTrace) {
|
374
|
+
return delayed_1(map_1(forever_1, i => base * Math.pow(factor, i), __tsplusTrace), __tsplusTrace);
|
350
375
|
}
|
351
376
|
/**
|
352
377
|
* A schedule that recurs on a fixed interval. Returns the number of
|
@@ -364,48 +389,48 @@ function exponential(base, factor = 2) {
|
|
364
389
|
*/
|
365
390
|
|
366
391
|
|
367
|
-
function fixed(interval) {
|
368
|
-
return make_1([
|
392
|
+
function fixed(interval, __tsplusTrace) {
|
393
|
+
return make_1([tsplus_module_10.nothing(), 0], (now, inp, [ms, n]) => tsplus_module_2.succeed(() => tsplus_module_11.match_(ms, () => {
|
369
394
|
const nextRun = now + interval;
|
370
|
-
return [[
|
395
|
+
return [[tsplus_module_10.just([now, nextRun]), n + 1], n, tsplus_module_5.continueWith(tsplus_module_8.after(nextRun))];
|
371
396
|
}, ([startMillis, lastRun]) => {
|
372
397
|
const runningBehind = now > lastRun + interval;
|
373
398
|
const boundary = interval === 0 ? interval : interval - (now - startMillis) % interval;
|
374
399
|
const sleepTime = boundary === 0 ? interval : boundary;
|
375
400
|
const nextRun = runningBehind ? now : now + sleepTime;
|
376
|
-
return [[
|
377
|
-
}),
|
401
|
+
return [[tsplus_module_10.just([startMillis, nextRun]), n + 1], n, tsplus_module_5.continueWith(tsplus_module_8.after(nextRun))];
|
402
|
+
}), __tsplusTrace), __tsplusTrace);
|
378
403
|
}
|
379
404
|
/**
|
380
405
|
* @tsplus fluent fncts.io.Schedule fold
|
381
406
|
*/
|
382
407
|
|
383
408
|
|
384
|
-
function fold_1(self, z, f) {
|
385
|
-
return foldIO_1(self, z, (z, out) => tsplus_module_2.succeed(() => f(z, out),
|
409
|
+
function fold_1(self, z, f, __tsplusTrace) {
|
410
|
+
return foldIO_1(self, z, (z, out) => tsplus_module_2.succeed(() => f(z, out), __tsplusTrace), __tsplusTrace);
|
386
411
|
}
|
387
412
|
/**
|
388
413
|
* @tsplus fluent fncts.io.Schedule foldIO
|
389
414
|
*/
|
390
415
|
|
391
416
|
|
392
|
-
function foldIO_1(self, z, f) {
|
393
|
-
return make_1([self.initial, z], (now, inp, [s, z]) => tsplus_module_2.flatMap_(self.step(now, inp, s,
|
417
|
+
function foldIO_1(self, z, f, __tsplusTrace) {
|
418
|
+
return make_1([self.initial, z], (now, inp, [s, z]) => tsplus_module_2.flatMap_(self.step(now, inp, s, __tsplusTrace), ([s, out, decision]) => tsplus_module_5.match_(decision, () => tsplus_module_2.succeedNow([[s, z], z, tsplus_module_5.done], __tsplusTrace), interval => tsplus_module_2.map_(f(z, out), z2 => [[s, z2], z, tsplus_module_5.continue_(interval)], __tsplusTrace)), __tsplusTrace), __tsplusTrace);
|
394
419
|
}
|
395
420
|
/**
|
396
421
|
* @tsplus getter fncts.io.Schedule forever
|
397
422
|
*/
|
398
423
|
|
399
424
|
|
400
|
-
function foreverSelf(self) {
|
401
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state,
|
425
|
+
function foreverSelf(self, __tsplusTrace) {
|
426
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state, __tsplusTrace), ([state, out, decision]) => tsplus_module_5.match_(decision, () => self.step(now, inp, self.initial, __tsplusTrace), interval => tsplus_module_2.succeed(() => [state, out, tsplus_module_5.continue_(interval)], __tsplusTrace)), __tsplusTrace), __tsplusTrace);
|
402
427
|
}
|
403
428
|
/**
|
404
429
|
* @tsplus static fncts.io.ScheduleOps forever
|
405
430
|
*/
|
406
431
|
|
407
432
|
|
408
|
-
const forever_1 = /*#__PURE__*/unfold_1(() => 0, n => n + 1);
|
433
|
+
const forever_1 = /*#__PURE__*/unfold_1(() => 0, n => n + 1, fileName_1 + ":430:39");
|
409
434
|
const forever = forever_1;
|
410
435
|
/**
|
411
436
|
* @tsplus static fncts.io.ScheduleOps identity
|
@@ -413,19 +438,19 @@ const forever = forever_1;
|
|
413
438
|
|
414
439
|
exports.forever = forever;
|
415
440
|
|
416
|
-
function identity_1() {
|
417
|
-
return make_1(undefined, (now, inp, state) => tsplus_module_2.succeed(() => [state, inp, tsplus_module_5.
|
441
|
+
function identity_1(__tsplusTrace) {
|
442
|
+
return make_1(undefined, (now, inp, state) => tsplus_module_2.succeed(() => [state, inp, tsplus_module_5.continueWith(tsplus_module_8.after(now))], __tsplusTrace), __tsplusTrace);
|
418
443
|
}
|
419
444
|
|
420
|
-
function intersectWithLoop(self, that, inp, lState, out, lInterval, rState, out2, rInterval, f) {
|
445
|
+
function intersectWithLoop(self, that, inp, lState, out, lInterval, rState, out2, rInterval, f, __tsplusTrace) {
|
421
446
|
const combined = f(lInterval, rInterval);
|
422
447
|
|
423
448
|
if (tsplus_module_6.isNonEmpty(combined)) {
|
424
|
-
return tsplus_module_2.succeedNow([[lState, rState], [out, out2], tsplus_module_5.continue_(combined)],
|
425
|
-
} else if (tsplus_module_6.
|
426
|
-
return tsplus_module_2.flatMap_(self.step(lInterval
|
449
|
+
return tsplus_module_2.succeedNow([[lState, rState], [out, out2], tsplus_module_5.continue_(combined)], __tsplusTrace);
|
450
|
+
} else if (tsplus_module_6.lt(lInterval, rInterval)) {
|
451
|
+
return tsplus_module_2.flatMap_(self.step(tsplus_module_6.end(lInterval), inp, lState, __tsplusTrace), ([lState, out, decision]) => tsplus_module_5.match_(decision, () => tsplus_module_2.succeedNow([[lState, rState], [out, out2], tsplus_module_5.done], __tsplusTrace), lInterval => intersectWithLoop(self, that, inp, lState, out, lInterval, rState, out2, rInterval, f, __tsplusTrace)), __tsplusTrace);
|
427
452
|
} else {
|
428
|
-
return tsplus_module_2.flatMap_(that.step(rInterval
|
453
|
+
return tsplus_module_2.flatMap_(that.step(tsplus_module_6.end(rInterval), inp, rState, __tsplusTrace), ([rState, out2, decision]) => tsplus_module_5.match_(decision, () => tsplus_module_2.succeedNow([[lState, rState], [out, out2], tsplus_module_5.done], __tsplusTrace), rInterval => intersectWithLoop(self, that, inp, lState, out, lInterval, rState, out2, rInterval, f, __tsplusTrace)), __tsplusTrace);
|
429
454
|
}
|
430
455
|
}
|
431
456
|
/**
|
@@ -433,358 +458,358 @@ function intersectWithLoop(self, that, inp, lState, out, lInterval, rState, out2
|
|
433
458
|
*/
|
434
459
|
|
435
460
|
|
436
|
-
function intersectWith_1(self, that, f) {
|
461
|
+
function intersectWith_1(self, that, f, __tsplusTrace) {
|
437
462
|
return make_1([self.initial, that.initial], (now, inp, state) => {
|
438
|
-
const left = self.step(now, inp, state[0],
|
439
|
-
const right = that.step(now, inp, state[1],
|
463
|
+
const left = self.step(now, inp, state[0], __tsplusTrace);
|
464
|
+
const right = that.step(now, inp, state[1], __tsplusTrace);
|
440
465
|
return tsplus_module_2.flatten(tsplus_module_2.zipWith_(left, right, ([lState, out, lDecision], [rState, out2, rDecision]) => {
|
441
466
|
if (lDecision._tag === "Continue"
|
442
467
|
/* DecisionTag.Continue */
|
443
468
|
&& rDecision._tag === "Continue"
|
444
469
|
/* DecisionTag.Continue */
|
445
470
|
) {
|
446
|
-
return intersectWithLoop(self, that, inp, lState, out, lDecision.interval, rState, out2, rDecision.interval, f);
|
471
|
+
return intersectWithLoop(self, that, inp, lState, out, lDecision.interval, rState, out2, rDecision.interval, f, __tsplusTrace);
|
447
472
|
} else {
|
448
|
-
return tsplus_module_2.succeedNow([[lState, rState], [out, out2], tsplus_module_5.done],
|
473
|
+
return tsplus_module_2.succeedNow([[lState, rState], [out, out2], tsplus_module_5.done], __tsplusTrace);
|
449
474
|
}
|
450
|
-
}));
|
451
|
-
});
|
475
|
+
}, __tsplusTrace), __tsplusTrace);
|
476
|
+
}, __tsplusTrace);
|
452
477
|
}
|
453
478
|
/**
|
454
479
|
* @tsplus static fncts.io.Schedule linear
|
455
480
|
*/
|
456
481
|
|
457
482
|
|
458
|
-
function linear(base) {
|
459
|
-
return delayed_1(map_1(forever_1, i => base * (i + 1)));
|
483
|
+
function linear(base, __tsplusTrace) {
|
484
|
+
return delayed_1(map_1(forever_1, i => base * (i + 1), __tsplusTrace), __tsplusTrace);
|
460
485
|
}
|
461
486
|
/**
|
462
487
|
* @tsplus fluent fncts.io.Schedule map
|
463
488
|
*/
|
464
489
|
|
465
490
|
|
466
|
-
function map_1(self, f) {
|
467
|
-
return mapIO_1(self, out => tsplus_module_2.succeedNow(f(out),
|
491
|
+
function map_1(self, f, __tsplusTrace) {
|
492
|
+
return mapIO_1(self, out => tsplus_module_2.succeedNow(f(out), __tsplusTrace), __tsplusTrace);
|
468
493
|
}
|
469
494
|
/**
|
470
495
|
* @tsplus fluent fncts.io.Schedule mapIO
|
471
496
|
*/
|
472
497
|
|
473
498
|
|
474
|
-
function mapIO_1(self, f) {
|
475
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state,
|
499
|
+
function mapIO_1(self, f, __tsplusTrace) {
|
500
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state, __tsplusTrace), ([state, out, decision]) => tsplus_module_2.map_(f(out), out1 => [state, out1, decision], __tsplusTrace), __tsplusTrace), __tsplusTrace);
|
476
501
|
}
|
477
502
|
/**
|
478
503
|
* @tsplus fluent fncts.io.Schedule modifyDelayIO
|
479
504
|
*/
|
480
505
|
|
481
506
|
|
482
|
-
function modifyDelayIO_1(self, f) {
|
483
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state,
|
484
|
-
const delay =
|
507
|
+
function modifyDelayIO_1(self, f, __tsplusTrace) {
|
508
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state, __tsplusTrace), ([state, out, decision]) => tsplus_module_5.match_(decision, () => tsplus_module_2.succeedNow([state, out, decision], __tsplusTrace), interval => {
|
509
|
+
const delay = tsplus_module_8.size(tsplus_module_8.makeInterval(now, tsplus_module_6.start(interval)));
|
485
510
|
return tsplus_module_2.map_(f(out, delay), duration => {
|
486
|
-
const oldStart = interval
|
511
|
+
const oldStart = tsplus_module_6.start(interval);
|
487
512
|
const newStart = now + duration;
|
488
513
|
const delta = newStart - oldStart;
|
489
|
-
const newEnd = interval
|
490
|
-
const newInterval =
|
491
|
-
return [state, out, tsplus_module_5.
|
492
|
-
},
|
493
|
-
}),
|
514
|
+
const newEnd = tsplus_module_6.end(interval) + delta;
|
515
|
+
const newInterval = tsplus_module_8.makeInterval(newStart, newEnd);
|
516
|
+
return [state, out, tsplus_module_5.continueWith(newInterval)];
|
517
|
+
}, __tsplusTrace);
|
518
|
+
}), __tsplusTrace), __tsplusTrace);
|
494
519
|
}
|
495
520
|
/**
|
496
521
|
* @tsplus fluent fncts.io.Schedule onDecision
|
497
522
|
*/
|
498
523
|
|
499
524
|
|
500
|
-
function onDecision_(self, f) {
|
501
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state,
|
525
|
+
function onDecision_(self, f, __tsplusTrace) {
|
526
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state, __tsplusTrace), ([state, out, decision]) => tsplus_module_2.as_(f(state, out, decision), () => [state, out, decision], __tsplusTrace), __tsplusTrace), __tsplusTrace);
|
502
527
|
}
|
503
528
|
/**
|
504
529
|
* @tsplus fluent fncts.io.Schedule provideEnvironment
|
505
530
|
*/
|
506
531
|
|
507
532
|
|
508
|
-
function provideEnvironment_(self, env) {
|
509
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_7.provideEnvironment_(self.step(now, inp, state,
|
533
|
+
function provideEnvironment_(self, env, __tsplusTrace) {
|
534
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_7.provideEnvironment_(self.step(now, inp, state, __tsplusTrace), env, __tsplusTrace), __tsplusTrace);
|
510
535
|
}
|
511
536
|
/**
|
512
537
|
* @tsplus fluent fncts.io.Schedule reconsider
|
513
538
|
*/
|
514
539
|
|
515
540
|
|
516
|
-
function reconsider_(self, f) {
|
517
|
-
return reconsiderIO_1(self, (state, out, decision) => tsplus_module_2.succeed(() => f(state, out, decision),
|
541
|
+
function reconsider_(self, f, __tsplusTrace) {
|
542
|
+
return reconsiderIO_1(self, (state, out, decision) => tsplus_module_2.succeed(() => f(state, out, decision), __tsplusTrace), __tsplusTrace);
|
518
543
|
}
|
519
544
|
/**
|
520
545
|
* @tsplus fluent fncts.io.Schedule reconsiderIO
|
521
546
|
*/
|
522
547
|
|
523
548
|
|
524
|
-
function reconsiderIO_1(self, f) {
|
525
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state,
|
549
|
+
function reconsiderIO_1(self, f, __tsplusTrace) {
|
550
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state, __tsplusTrace), ([state, out, decision]) => tsplus_module_5.match_(decision, () => tsplus_module_2.map_(f(state, out, decision), r => tsplus_module_12.match_(r, out1 => [state, out1, tsplus_module_5.done], ([out1, _]) => [state, out1, tsplus_module_5.done]), __tsplusTrace), () => tsplus_module_2.map_(f(state, out, decision), r => tsplus_module_12.match_(r, out1 => [state, out1, tsplus_module_5.done], ([out1, interval]) => [state, out1, tsplus_module_5.continueWith(interval)]), __tsplusTrace)), __tsplusTrace), __tsplusTrace);
|
526
551
|
}
|
527
552
|
/**
|
528
553
|
* @tsplus static fncts.io.Schedule recurs
|
529
554
|
*/
|
530
555
|
|
531
556
|
|
532
|
-
function recurs(n) {
|
533
|
-
return whileOutput_1(forever_1, _ => _ < n);
|
557
|
+
function recurs(n, __tsplusTrace) {
|
558
|
+
return whileOutput_1(forever_1, _ => _ < n, __tsplusTrace);
|
534
559
|
}
|
535
560
|
/**
|
536
561
|
* @tsplus static fncts.io.Schedule recurWhile
|
537
562
|
*/
|
538
563
|
|
539
564
|
|
540
|
-
function recurWhile(f) {
|
541
|
-
return whileInput_1(identity_1(), f);
|
565
|
+
function recurWhile(f, __tsplusTrace) {
|
566
|
+
return whileInput_1(identity_1(__tsplusTrace), f, __tsplusTrace);
|
542
567
|
}
|
543
568
|
/**
|
544
569
|
* @tsplus static fncts.io.Schedule recurWhileIO
|
545
570
|
*/
|
546
571
|
|
547
572
|
|
548
|
-
function recurWhileIO(f) {
|
549
|
-
return whileInputIO_1(identity_1(), f);
|
573
|
+
function recurWhileIO(f, __tsplusTrace) {
|
574
|
+
return whileInputIO_1(identity_1(__tsplusTrace), f, __tsplusTrace);
|
550
575
|
}
|
551
576
|
/**
|
552
577
|
* @tsplus static fncts.io.Schedule recurWhileEquals
|
553
578
|
*/
|
554
579
|
|
555
580
|
|
556
|
-
function recurWhileEquals(value) {
|
557
|
-
return whileInput_1(identity_1(), a =>
|
581
|
+
function recurWhileEquals(value, __tsplusTrace) {
|
582
|
+
return whileInput_1(identity_1(__tsplusTrace), a => tsplus_module_13.strictEquals(a, value()), __tsplusTrace);
|
558
583
|
}
|
559
584
|
/**
|
560
585
|
* @tsplus static fncts.io.Schedule recurUntil
|
561
586
|
*/
|
562
587
|
|
563
588
|
|
564
|
-
function recurUntil(f) {
|
565
|
-
return untilInput_1(identity_1(), f);
|
589
|
+
function recurUntil(f, __tsplusTrace) {
|
590
|
+
return untilInput_1(identity_1(__tsplusTrace), f, __tsplusTrace);
|
566
591
|
}
|
567
592
|
/**
|
568
593
|
* @tsplus static fncts.io.Schedule recurUntilIO
|
569
594
|
*/
|
570
595
|
|
571
596
|
|
572
|
-
function recurUntilIO(f) {
|
573
|
-
return untilInputIO_1(identity_1(), f);
|
597
|
+
function recurUntilIO(f, __tsplusTrace) {
|
598
|
+
return untilInputIO_1(identity_1(__tsplusTrace), f, __tsplusTrace);
|
574
599
|
}
|
575
600
|
/**
|
576
601
|
* @tsplus static fncts.io.Schedule recurUntilEquals
|
577
602
|
*/
|
578
603
|
|
579
604
|
|
580
|
-
function recurUntilEquals(value) {
|
581
|
-
return untilInput_1(identity_1(), a =>
|
605
|
+
function recurUntilEquals(value, __tsplusTrace) {
|
606
|
+
return untilInput_1(identity_1(__tsplusTrace), a => tsplus_module_13.strictEquals(a, value()), __tsplusTrace);
|
582
607
|
}
|
583
608
|
/**
|
584
609
|
* @tsplus getter fncts.io.Schedule repetitions
|
585
610
|
*/
|
586
611
|
|
587
612
|
|
588
|
-
function repetitions(self) {
|
589
|
-
return fold_1(self, 0, (n, _) => n + 1);
|
613
|
+
function repetitions(self, __tsplusTrace) {
|
614
|
+
return fold_1(self, 0, (n, _) => n + 1, __tsplusTrace);
|
590
615
|
}
|
591
616
|
/**
|
592
617
|
* @tsplus fluent fncts.io.Schedule resetAfter
|
593
618
|
*/
|
594
619
|
|
595
620
|
|
596
|
-
function resetAfter_(self, duration) {
|
597
|
-
return map_1(resetWhen_1(zip_1(self, elapsed_1), ([_, d]) => d >= duration), ([out, _]) => out);
|
621
|
+
function resetAfter_(self, duration, __tsplusTrace) {
|
622
|
+
return map_1(resetWhen_1(zip_1(self, elapsed_1, __tsplusTrace), ([_, d]) => d >= duration, __tsplusTrace), ([out, _]) => out, __tsplusTrace);
|
598
623
|
}
|
599
624
|
/**
|
600
625
|
* @tsplus fluent fncts.io.Schedule resetWhen
|
601
626
|
*/
|
602
627
|
|
603
628
|
|
604
|
-
function resetWhen_1(self, f) {
|
605
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state,
|
629
|
+
function resetWhen_1(self, f, __tsplusTrace) {
|
630
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_2.flatMap_(self.step(now, inp, state, __tsplusTrace), ([state, out, decision]) => f(out) ? self.step(now, inp, self.initial, __tsplusTrace) : tsplus_module_2.succeedNow([state, out, decision], __tsplusTrace), __tsplusTrace), __tsplusTrace);
|
606
631
|
}
|
607
632
|
/**
|
608
633
|
* @tsplus fluent fncts.io.Schedule run
|
609
634
|
*/
|
610
635
|
|
611
636
|
|
612
|
-
function run_(self, now, input) {
|
637
|
+
function run_(self, now, input, __tsplusTrace) {
|
613
638
|
const loop = (now, xs, state, acc) => {
|
614
|
-
if (
|
615
|
-
return tsplus_module_2.succeedNow(acc,
|
639
|
+
if (tsplus_module_14.isEmpty(xs)) {
|
640
|
+
return tsplus_module_2.succeedNow(acc, __tsplusTrace);
|
616
641
|
} else {
|
617
|
-
return tsplus_module_2.flatMap_(self.step(now, xs.head, state,
|
642
|
+
return tsplus_module_2.flatMap_(self.step(now, xs.head, state, __tsplusTrace), ([state, out, decision]) => tsplus_module_5.match_(decision, () => tsplus_module_2.succeed(() => tsplus_module_15.append_(acc, out), __tsplusTrace), interval => loop(tsplus_module_6.start(interval), xs.tail, state, tsplus_module_15.append_(acc, out))), __tsplusTrace);
|
618
643
|
}
|
619
644
|
};
|
620
645
|
|
621
|
-
return loop(now,
|
646
|
+
return loop(now, tsplus_module_16.from(input), self.initial, tsplus_module_17.empty());
|
622
647
|
}
|
623
648
|
/**
|
624
649
|
* @tsplus static fncts.io.Schedule spaced
|
625
650
|
*/
|
626
651
|
|
627
652
|
|
628
|
-
function spaced(duration) {
|
629
|
-
return addDelay_1(forever_1, () => duration);
|
653
|
+
function spaced(duration, __tsplusTrace) {
|
654
|
+
return addDelay_1(forever_1, () => duration, __tsplusTrace);
|
630
655
|
}
|
631
656
|
/**
|
632
657
|
* @tsplus static fncts.io.Schedule succeed
|
633
658
|
*/
|
634
659
|
|
635
660
|
|
636
|
-
function succeed(a) {
|
637
|
-
return as_1(forever_1, a);
|
661
|
+
function succeed(a, __tsplusTrace) {
|
662
|
+
return as_1(forever_1, a, __tsplusTrace);
|
638
663
|
}
|
639
664
|
/**
|
640
665
|
* @tsplus fluent fncts.io.Schedule tapInput
|
641
666
|
*/
|
642
667
|
|
643
668
|
|
644
|
-
function tapInput_(self, f) {
|
645
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_2.apSecond_(f(inp), self.step(now, inp, state,
|
669
|
+
function tapInput_(self, f, __tsplusTrace) {
|
670
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_2.apSecond_(f(inp), self.step(now, inp, state, __tsplusTrace), __tsplusTrace), __tsplusTrace);
|
646
671
|
}
|
647
672
|
/**
|
648
673
|
* @tsplus fluent fncts.io.Schedule tapOutput
|
649
674
|
*/
|
650
675
|
|
651
676
|
|
652
|
-
function tapOutput_(self, f) {
|
653
|
-
return make_1(self.initial, (now, inp, state) => tsplus_module_2.tap_(self.step(now, inp, state,
|
677
|
+
function tapOutput_(self, f, __tsplusTrace) {
|
678
|
+
return make_1(self.initial, (now, inp, state) => tsplus_module_2.tap_(self.step(now, inp, state, __tsplusTrace), ([_, out]) => f(out), __tsplusTrace), __tsplusTrace);
|
654
679
|
}
|
655
680
|
/**
|
656
681
|
* @tsplus fluent fncts.io.Schedule unionWith
|
657
682
|
*/
|
658
683
|
|
659
684
|
|
660
|
-
function
|
685
|
+
function unionWith_1(self, that, f, __tsplusTrace) {
|
661
686
|
return make_1([self.initial, that.initial], (now, inp, state) => {
|
662
|
-
const left = self.step(now, inp, state[0],
|
663
|
-
const right = that.step(now, inp, state[1],
|
687
|
+
const left = self.step(now, inp, state[0], __tsplusTrace);
|
688
|
+
const right = that.step(now, inp, state[1], __tsplusTrace);
|
664
689
|
return tsplus_module_2.zipWith_(left, right, ([lstate, l, d1], [rstate, r, d2]) => tsplus_module_5.match_(d1, () => tsplus_module_5.match_(d2, () => [[lstate, rstate], [l, r], tsplus_module_5.done], interval => [[lstate, rstate], [l, r], tsplus_module_5.continue_(interval)]), linterval => tsplus_module_5.match_(d2, () => [[lstate, rstate], [l, r], tsplus_module_5.continue_(linterval)], rinterval => {
|
665
690
|
const combined = f(linterval, rinterval);
|
666
691
|
return [[lstate, rstate], [l, r], tsplus_module_5.continue_(combined)];
|
667
|
-
})));
|
668
|
-
});
|
692
|
+
})), __tsplusTrace);
|
693
|
+
}, __tsplusTrace);
|
669
694
|
}
|
670
695
|
/**
|
671
696
|
* @tsplus static fncts.io.ScheduleOps unfold
|
672
697
|
*/
|
673
698
|
|
674
699
|
|
675
|
-
function unfold_1(a, f) {
|
676
|
-
return make_1(a(), (now, inp, state) => tsplus_module_2.succeed(() => [f(state), state, tsplus_module_5.
|
700
|
+
function unfold_1(a, f, __tsplusTrace) {
|
701
|
+
return make_1(a(), (now, inp, state) => tsplus_module_2.succeed(() => [f(state), state, tsplus_module_5.continueWith(tsplus_module_8.makeInterval(now, Number.MAX_SAFE_INTEGER))], __tsplusTrace), __tsplusTrace);
|
677
702
|
}
|
678
703
|
/**
|
679
704
|
* @tsplus fluent fncts.io.Schedule untilInput
|
680
705
|
*/
|
681
706
|
|
682
707
|
|
683
|
-
function untilInput_1(self, f) {
|
684
|
-
return check_1(self, inp => !f(inp));
|
708
|
+
function untilInput_1(self, f, __tsplusTrace) {
|
709
|
+
return check_1(self, inp => !f(inp), __tsplusTrace);
|
685
710
|
}
|
686
711
|
/**
|
687
712
|
* @tsplus fluent fncts.io.Schedule untilInputIO
|
688
713
|
*/
|
689
714
|
|
690
715
|
|
691
|
-
function untilInputIO_1(self, f) {
|
692
|
-
return checkIO_1(self, inp => tsplus_module_2.map_(f(inp), b => !b,
|
716
|
+
function untilInputIO_1(self, f, __tsplusTrace) {
|
717
|
+
return checkIO_1(self, inp => tsplus_module_2.map_(f(inp), b => !b, __tsplusTrace), __tsplusTrace);
|
693
718
|
}
|
694
719
|
/**
|
695
720
|
* @tsplus fluent fncts.io.Schedule untilOutput
|
696
721
|
*/
|
697
722
|
|
698
723
|
|
699
|
-
function untilOutput_(self, f) {
|
700
|
-
return check_1(self, (_, out) => !f(out));
|
724
|
+
function untilOutput_(self, f, __tsplusTrace) {
|
725
|
+
return check_1(self, (_, out) => !f(out), __tsplusTrace);
|
701
726
|
}
|
702
727
|
/**
|
703
728
|
* @tsplus fluent fncts.io.Schedule untilOutputIO
|
704
729
|
*/
|
705
730
|
|
706
731
|
|
707
|
-
function untilOutputIO_(self, f) {
|
708
|
-
return checkIO_1(self, (_, out) => tsplus_module_2.map_(f(out), b => !b,
|
732
|
+
function untilOutputIO_(self, f, __tsplusTrace) {
|
733
|
+
return checkIO_1(self, (_, out) => tsplus_module_2.map_(f(out), b => !b, __tsplusTrace), __tsplusTrace);
|
709
734
|
}
|
710
735
|
/**
|
711
736
|
* @tsplus static fncts.io.Schedule upTo
|
712
737
|
*/
|
713
738
|
|
714
739
|
|
715
|
-
function upTo(duration) {
|
716
|
-
return whileOutput_1(elapsed_1, n => n < duration);
|
740
|
+
function upTo(duration, __tsplusTrace) {
|
741
|
+
return whileOutput_1(elapsed_1, n => n < duration, __tsplusTrace);
|
717
742
|
}
|
718
743
|
/**
|
719
744
|
* @tsplus fluent fncts.io.Schedule whileInput
|
720
745
|
*/
|
721
746
|
|
722
747
|
|
723
|
-
function whileInput_1(self, f) {
|
724
|
-
return check_1(self, inp => f(inp));
|
748
|
+
function whileInput_1(self, f, __tsplusTrace) {
|
749
|
+
return check_1(self, inp => f(inp), __tsplusTrace);
|
725
750
|
}
|
726
751
|
/**
|
727
752
|
* @tsplus fluent fncts.io.Schedule whileInputIO
|
728
753
|
*/
|
729
754
|
|
730
755
|
|
731
|
-
function whileInputIO_1(self, f) {
|
732
|
-
return checkIO_1(self, inp => f(inp));
|
756
|
+
function whileInputIO_1(self, f, __tsplusTrace) {
|
757
|
+
return checkIO_1(self, inp => f(inp), __tsplusTrace);
|
733
758
|
}
|
734
759
|
/**
|
735
760
|
* @tsplus fluent fncts.io.Schedule whileOutput
|
736
761
|
*/
|
737
762
|
|
738
763
|
|
739
|
-
function whileOutput_1(self, f) {
|
740
|
-
return check_1(self, (_, out) => f(out));
|
764
|
+
function whileOutput_1(self, f, __tsplusTrace) {
|
765
|
+
return check_1(self, (_, out) => f(out), __tsplusTrace);
|
741
766
|
}
|
742
767
|
/**
|
743
768
|
* @tsplus fluent fncts.io.Schedule whileOutputIO
|
744
769
|
*/
|
745
770
|
|
746
771
|
|
747
|
-
function whileOutputIO_(self, f) {
|
748
|
-
return checkIO_1(self, (_, out) => f(out));
|
772
|
+
function whileOutputIO_(self, f, __tsplusTrace) {
|
773
|
+
return checkIO_1(self, (_, out) => f(out), __tsplusTrace);
|
749
774
|
}
|
750
775
|
/**
|
751
776
|
* @tsplus static fncts.io.Schedule windowed
|
752
777
|
*/
|
753
778
|
|
754
779
|
|
755
|
-
function windowed(interval) {
|
756
|
-
return make_1([
|
780
|
+
function windowed(interval, __tsplusTrace) {
|
781
|
+
return make_1([tsplus_module_10.nothing(), 0], (now, inp, [m, n]) => tsplus_module_2.succeed(() => tsplus_module_11.match_(m, () => [[tsplus_module_10.just(now), n + 1], n, tsplus_module_5.continueWith(tsplus_module_8.after(now + interval))], startMillis => [[tsplus_module_10.just(startMillis), n + 1], n, tsplus_module_5.continueWith(tsplus_module_8.after(now + (interval - (now - startMillis) % interval)))]), __tsplusTrace), __tsplusTrace);
|
757
782
|
}
|
758
783
|
/**
|
759
784
|
* @tsplus fluent fncts.io.Schedule zip
|
760
785
|
*/
|
761
786
|
|
762
787
|
|
763
|
-
function zip_1(self, that) {
|
764
|
-
return intersectWith_1(self, that, (lInterval, rInterval) => tsplus_module_6.
|
788
|
+
function zip_1(self, that, __tsplusTrace) {
|
789
|
+
return intersectWith_1(self, that, (lInterval, rInterval) => tsplus_module_6.intersect(lInterval, rInterval), __tsplusTrace);
|
765
790
|
}
|
766
791
|
/**
|
767
792
|
* @tsplus fluent fncts.io.Schedule zipLeft
|
768
793
|
*/
|
769
794
|
|
770
795
|
|
771
|
-
function zipLeft_(self, that) {
|
772
|
-
return map_1(zip_1(self, that), ([out]) => out);
|
796
|
+
function zipLeft_(self, that, __tsplusTrace) {
|
797
|
+
return map_1(zip_1(self, that, __tsplusTrace), ([out]) => out, __tsplusTrace);
|
773
798
|
}
|
774
799
|
/**
|
775
800
|
* @tsplus fluent fncts.io.Schedule zipRight
|
776
801
|
*/
|
777
802
|
|
778
803
|
|
779
|
-
function zipRight_(self, that) {
|
780
|
-
return map_1(zip_1(self, that), ([_, out1]) => out1);
|
804
|
+
function zipRight_(self, that, __tsplusTrace) {
|
805
|
+
return map_1(zip_1(self, that, __tsplusTrace), ([_, out1]) => out1, __tsplusTrace);
|
781
806
|
}
|
782
807
|
/**
|
783
808
|
* @tsplus fluent fncts.io.Schedule zipWith
|
784
809
|
*/
|
785
810
|
|
786
811
|
|
787
|
-
function zipWith_(self, that, f) {
|
788
|
-
return map_1(zip_1(self, that), ([out1, out2]) => f(out1, out2));
|
812
|
+
function zipWith_(self, that, f, __tsplusTrace) {
|
813
|
+
return map_1(zip_1(self, that, __tsplusTrace), ([out1, out2]) => f(out1, out2), __tsplusTrace);
|
789
814
|
}
|
790
815
|
//# sourceMappingURL=api.cjs.map
|