@fncts/io 0.0.11 → 0.0.14
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 +29 -16
- 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 +69 -21
- 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 +61 -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 +66 -12
- 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 +3 -3
package/_mjs/Stream/api.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api.mjs","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAqDgBA,qBAAqB;aAsBrBC,2BAA2B;aAiJ3BC,SAAS;aAmBTC,cAAc;aA4CdC,UAAU;aA2IVC,kBAAkB;aAqBlBC,yBAAyB;aAgIzBC,SAAS;aAcTC,cAAc;aA2CdC,QAAQ;aAgORC,OAAO;aA6BPC,UAAU;aA+JVC,uBAAuB;aAkHvBC,KAAK;aAULC,UAAU;aAoEVC,SAAS;aAOTC,WAAW;aAoCXC,OAAO;aAkBPC,YAAY;aAyDZC,UAAU;aAsFVC,OAAO;aAWPC,iBAAiB;aAgCjBC,WAAW;aAUXC,aAAa;aASbC,OAAO;aASPC,YAAY;aASZC,SAAS;aASTC,MAAM;aASNC,MAAM;aASNC,WAAW;aAuFXC,QAAQ;aASRC,UAAU;aAuBVC,qBAAqB;aAqBrBC,IAAI;aA+FJC,eAAe;aA4GfC,IAAI;aAuBJC,SAAS;aA2CTC,WAAW;aAaXC,UAAU;aAgCVC,eAAe;aAmCfC,SAAS;aAkBTC,MAAM;aAkDNC,SAAS;aA4BTC,YAAY;aAmBZC,UAAU;aAuCVC,OAAO;aA6DPC,YAAY;aAaZC,mBAAmB;aAOnBC,aAAa;aA0HbC,aAAa;aAkBbC,kBAAkB;aAalBC,IAAI;aA4BJC,iBAAiB;aAajBC,sBAAsB;aAwBtBC,mBAAmB;aAmBnBC,iBAAiB;aAYjBC,UAAU;aAuBVC,OAAO;aAwBPC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Ab,CAFF,CADP,CATJ,CAHJ,GAmBGuF,cAnBH,CAHF,CADF,CAPF,CAFS,CADD,EAqCPxP,uBArCO,CAFP,EAuCAA,uBAvCA,EAAP;AA2CD","names":["aggregateAsyncWithin_","aggregateAsyncWithinEither_","apSecond_","asyncInterrupt","asyncMaybe","broadcastedQueues_","broadcastedQueuesDynamic_","catchAll_","catchAllCause_","flatMap_","concat_","crossWith_","distributedWithDynamic_","drop_","dropWhile_","ensuring_","environment","failNow","failCauseNow","filterMap_","flatten","flattenExitOption","flattenTake","flattenChunks","forever","fromChunkNow","fromChunk","scoped","fromIO","fromIOMaybe","fromPull","fromQueue_","fromQueueWithShutdown","halt","interleaveWith_","map_","mapAccum_","mapAccumIO_","mapChunks_","mapConcatChunk_","mapError_","mapIO_","mergeMap_","mergeEither_","mergeWith_","orElse_","pipeThrough_","provideEnvironment_","provideLayer_","repeatIOMaybe","repeatIOChunkMaybe","run_","runForeachScoped_","runIntoElementsScoped_","runIntoQueueScoped_","runIntoHubScoped_","runScoped_","scanIO_","scanReduceIO_","succeedNow","throttleEnforceIO_","toHub_","toPull","toQueue_","toQueueOfElements_","toQueueUnbounded","unfoldChunkIO","unfoldIO","unfoldChunk","unwrap","unwrapScoped","constVoid","identity","tuple","DEFAULT_CHUNK_SIZE","Stream","ScheduleEnd","UpstreamEnd","absolve","self","mapIO_1","either","tsplus_module_1","fileName_1","aggregateAsync_","stream","sink","aggregateAsyncWithin_1","tsplus_module_2","schedule","filterMap_1","cb","tsplus_module_4","tsplus_module_3","deps","tsplus_module_9","tsplus_module_5","tsplus_module_6","tsplus_module_7","tsplus_module_8","flatMap_1","handoff","sinkEndReason","sinkLeftovers","scheduleDriver","consumed","handoffProducer","tsplus_module_10","_in","tsplus_module_11","cause","_","handoffConsumer","leftovers","tsplus_module_13","signal","Emit","els","Halt","error","End","reason","_tag","p","timeout","lastB","next","scheduledAggregator","sinkFiber","scheduleFiber","forkSink","tsplus_module_17","channel","handleSide","b","c","tsplus_module_12","tsplus_module_21","consumed_","toWrite","tsplus_module_20","tsplus_module_19","tsplus_module_18","tsplus_module_24","sinkExit","scheduleExit","unwrapScoped_1","apFirst_","that","crossWith_1","a","as_","map_1","register","outputBuffer","tsplus_module_30","tsplus_module_29","queue","tsplus_module_27","output","tsplus_module_28","runtime","k","effect","unsafeRunAsyncWith","eitherStream","canceler","loop","take","tsplus_module_26","maybeError","undefined","as","ensuring_1","unwrap_1","asyncInterrupt_1","async","asyncMaybe_1","asyncIO","bimap_","f","g","acquireRelease_","acquire","release","scoped_1","acquireReleaseExit_","tsplus_module_31","broadcast_","n","maximumLag","hub","flattenTake_1","fromQueueWithShutdown_1","broadcastDynamic_","fromQueue_1","tsplus_module_32","tsplus_module_33","queues","runIntoHubScoped_1","buffer_","capacity","toQueueOfElements_1","process","exit","tsplus_module_34","value","bufferChunks_","toQueue_1","bufferUnbounded","bufferSignalProducer","ref","terminate","latch","tsplus_module_36","inp","added","e","bufferSignalConsumer","promise","tsplus_module_35","catchAllCause_1","failCauseNow_1","catchJust_","pf","catchAll_1","tsplus_module_37","failNow_1","catchJustCause_","s","chunks","mapChunks_1","changesWithWriter","last","chunk","newLast","newChunk","maybeLast","os","o1","o","changesWith_","collectWhile_","mapped","length","collectWhileIO_","collectWhileIOLoop","tsplus_module_38","Symbol","iterator","done","elem","combineProducer","tsplus_module_39","tsplus_module_25","combine_","left","right","latchL","latchR","pullLeft","pullRight","unfoldIO_1","combineChunksProducer","combineChunks_","unfoldChunkIO_1","cross_","bs","fa","fb","contramapEnvironment_","ra","r0","provideEnvironment_1","debounce_","duration","grafter","enqueue","consumer","tsplus_module_40","producer","state","NotStarted","Current","fiber","Previous","ex","current","previous","apSecond_1","defaultIfEmptyWriter","i","defaultIfEmpty_","distributedWith_","decide","id","key","entries","mappings","tsplus_module_42","mapping","offer","queuesRef","shouldProcess","ids","tsplus_module_15","map","qs","q","tsplus_module_44","queuesLock","newQueue","finalize","endTake","tsplus_module_43","add","drain","dropLoop","r","dropped","leftover","Math","max","more","pipeThrough_1","tsplus_module_46","dropUntil_","drop_1","tsplus_module_47","succeedNow_1","empty_1","fromChunkNow_1","empty","endWhenWriter","maybeExit","endWhen_","io","finalizer","fromIO_1","tsplus_module_49","environmentWith","environmentWithIO","environmentWithStream","fail","failCause","filter_","predicate","filterIO_","filterIOLoop","filterMapIO_","filterMapIOLoop","find_","findIO_","maybeA","processChunk","cont","toEmit","rest","tsplus_module_51","fromIOMaybe_1","fromAsyncIterableLoop","then","result","fromAsyncIterable","iterable","asyncIterator","fromIterable","maxChunkSize","out","Array","count","fromIterableSingle","repeatIOMaybe_1","scopedPull","pull","repeatIOChunkMaybe_1","down","tsplus_module_52","haltNow","u","haltWhenWriter","haltWhen_","haltWhenFutureWriter","future","maybeIO","haltWhenFuture_","interleave_","sa","sb","interleaveWith_1","forever_1","fromChunk_1","interleaveWithProducer","leftDone","rightDone","intersperseWriter","middle","isFirst","builder","flagResult","append","intersperse_","interruptWhen_","tsplus_module_54","interruptWhenFuture_","mapAccumAccumulator","currS","nextS","mapAccumIOAccumulator","outputChunk","emit","s1","s2","partialResult","mapChunksIO_","mapConcat_","mapConcatChunk_1","mapConcatChunkIO_","mapConcatIO_","mapErrorCause_","mapIOLoop","mapIOC_","ma","bufferSize","tsplus_module_56","mergeMapIO_","mergeMap_1","mergeWith_1","mergeWithHandler","tsplus_module_57","l","strategy","tsplus_module_58","onError_","cleanup","orElseEither_","orElse_1","orElseFail_","orElseOptional_","orElseSucceed_","layer","__tsplusTrace","provideSomeLayer_","provideLayer_1","tsplus_module_60","Rechunker","constructor","write","push","pos","emitOfNotEmpty","isEmpty","rechunkProcess","rechunker","target","rechunk_","repeatValue","repeatIO","repeatIOChunk","runCollect","run_1","runDrain","runScoped_1","writer","err","runIntoQueueScoped_1","scan_","scanIO_1","concat_1","mapAccumIO_1","scanReduce_","scanReduceIO_1","succeed","takeLoop","taken","take_","Number","isInteger","halt_1","IllegalArgumentError","takeUntilIO_","takeUntilIOLoop","takeUntilLoop","takeUntil_","tap_","throttleEnforce_","costFn","units","burst","throttleEnforceIO_1","throttleEnforceIOLoop","tokens","timestamp","tsplus_module_41","weight","elapsed","cycles","available","sum","MAX_SAFE_INTEGER","min","toQueueDropping_","runIntoElementsScoped_1","toQueueSliding_","unfoldChunkIOLoop","m","unfoldChunkLoop","unfold","unfoldChunk_1","zipWithIndex_","__tsPlusTrace","mapAccum_1","index","zipWithLatest_","pullNonEmpty","fromPull_1","rightFiber","tsplus_module_22","leftFiber","leftFirst","latest","ab","leftChunk","rightLatest","rightChunk","leftLatest"],"sourceRoot":"","sources":["../../_src/Stream/api.ts"],"sourcesContent":[null]}
|
1
|
+
{"version":3,"file":"api.mjs","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAsDgBA,qBAAqB;aAuBrBC,2BAA2B;aAmJ3BC,SAAS;aAoBTC,cAAc;aA6CdC,UAAU;aAuJVC,kBAAkB;aAsBlBC,yBAAyB;aAoIzBC,SAAS;aAeTC,cAAc;aA8CdC,QAAQ;aAqBRC,MAAM;aAyONC,OAAO;aA+BPC,UAAU;aA2KVC,uBAAuB;aAmHvBC,KAAK;aAULC,UAAU;aAyEVC,SAAS;aAWTC,WAAW;aA0CXC,OAAO;aAkBPC,YAAY;aA+DZC,UAAU;aA6FVC,OAAO;aAcPC,iBAAiB;aAmCjBC,WAAW;aAaXC,aAAa;aASbC,OAAO;aASPC,YAAY;aASZC,SAAS;aASTC,MAAM;aASNC,MAAM;aASNC,WAAW;aA4FXC,QAAQ;aAgBRC,UAAU;aAwBVC,qBAAqB;aAsBrBC,IAAI;aA6GJC,eAAe;aAoHfC,IAAI;aAwBJC,SAAS;aA6CTC,WAAW;aAcXC,UAAU;aAyCVC,eAAe;aAyCfC,SAAS;aA0BTC,MAAM;aAqDNC,SAAS;aA8BTC,YAAY;aAqBZC,UAAU;aAyCVC,OAAO;aAwEPC,YAAY;aAcZC,mBAAmB;aAWnB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asyncMaybe","broadcastedQueues_","broadcastedQueuesDynamic_","catchAll_","catchAllCause_","flatMap_","chunks","concat_","crossWith_","distributedWithDynamic_","drop_","dropWhile_","ensuring_","environment","failNow","failCauseNow","filterMap_","flatten","flattenExitOption","flattenTake","flattenChunks","forever","fromChunkNow","fromChunk","scoped","fromIO","fromIOMaybe","fromPull","fromQueue_","fromQueueWithShutdown","halt","interleaveWith_","map_","mapAccum_","mapAccumIO_","mapChunks_","mapConcatChunk_","mapError_","mapIO_","mergeMap_","mergeEither_","mergeWith_","orElse_","pipeThrough_","provideEnvironment_","provideLayer_","repeatIOMaybe","repeatIOChunkMaybe","run_","runForeachScoped_","runIntoElementsScoped_","runIntoQueueScoped_","runIntoHubScoped_","runScoped_","scanIO_","scanReduceIO_","succeedNow","throttleEnforceIO_","toHub_","toPull","toQueue_","toQueueOfElements_","toQueueUnbounded","unfoldChunkIO","unfoldIO","unfoldChunk","unwrap","unwrapScoped","constVoid","identity","tuple","DEFAULT_CHUNK_SIZE","Stream","Handoff","ScheduleEnd","UpstreamEnd","absolve","self","__tsplusTrace","mapIO_1","either","tsplus_module_1","aggregateAsync_","stream","sink","aggregateAsyncWithin_1","tsplus_module_2","schedule","filterMap_1","cb","tsplus_module_4","tsplus_module_3","deps","tsplus_module_9","tsplus_module_5","tsplus_module_6","tsplus_module_7","tsplus_module_8","flatMap_1","handoff","sinkEndReason","sinkLeftovers","scheduleDriver","consumed","handoffProducer","tsplus_module_10","_in","tsplus_module_11","cause","_","handoffConsumer","leftovers","tsplus_module_13","signal","Emit","els","Halt","error","End","reason","_tag","p","timeout","lastB","next","scheduledAggregator","sinkFiber","scheduleFiber","forkSink","tsplus_module_17","channel","handleSide","b","c","tsplus_module_12","tsplus_module_21","consumed_","toWrite","tsplus_module_20","tsplus_module_19","tsplus_module_18","tsplus_module_24","sinkExit","scheduleExit","unwrapScoped_1","apFirst_","that","crossWith_1","a","as_","map_1","register","outputBuffer","tsplus_module_30","tsplus_module_29","queue","tsplus_module_27","output","tsplus_module_28","runtime","k","effect","unsafeRunAsyncWith","eitherStream","canceler","loop","take","tsplus_module_26","maybeError","undefined","as","ensuring_1","unwrap_1","asyncInterrupt_1","async","asyncMaybe_1","asyncIO","bimap_","f","g","acquireRelease_","acquire","release","scoped_1","acquireReleaseExit_","tsplus_module_31","broadcast_","n","maximumLag","hub","flattenTake_1","fromQueueWithShutdown_1","broadcastDynamic_","fromQueue_1","tsplus_module_32","tsplus_module_33","queues","runIntoHubScoped_1","buffer_","capacity","toQueueOfElements_1","process","exit","tsplus_module_34","value","bufferChunks_","toQueue_1","bufferUnbounded","bufferSignalProducer","ref","terminate","latch","tsplus_module_36","inp","added","e","bufferSignalConsumer","promise","tsplus_module_35","catchAllCause_1","failCauseNow_1","catchJust_","pf","catchAll_1","tsplus_module_37","failNow_1","catchJustCause_","s","mapChunks_1","chunksWith","changesWithWriter","last","chunk","newLast","newChunk","maybeLast","os","o1","o","changesWith_","collectWhile_","mapped","length","collectWhileIO_","collectWhileIOLoop","tsplus_module_38","Symbol","iterator","done","elem","combineProducer","tsplus_module_39","tsplus_module_25","combine_","left","right","latchL","latchR","pullLeft","pullRight","unfoldIO_1","combineChunksProducer","combineChunks_","unfoldChunkIO_1","cross_","bs","fa","fb","contramapEnvironment_","ra","r0","provideEnvironment_1","debounce_","duration","grafter","enqueue","consumer","tsplus_module_40","producer","state","NotStarted","Current","fiber","Previous","ex","current","previous","apSecond_1","defaultIfEmptyWriter","i","defaultIfEmpty_","distributedWith_","decide","id","key","entries","mappings","tsplus_module_42","mapping","offer","queuesRef","shouldProcess","ids","tsplus_module_15","map","qs","q","tsplus_module_44","queuesLock","newQueue","finalize","endTake","tsplus_module_43","add","drain","dropLoop","r","dropped","leftover","Math","max","more","pipeThrough_1","tsplus_module_46","dropUntil_","drop_1","tsplus_module_47","succeedNow_1","empty_1","fromChunkNow_1","fileName_1","empty","endWhenWriter","maybeExit","endWhen_","io","finalizer","fromIO_1","tsplus_module_49","environmentWith","environmentWithIO","environmentWithStream","fail","failCause","filter_","predicate","filterIO_","filterIOLoop","filterMapIO_","filterMapIOLoop","find_","findIO_","maybeA","processChunk","cont","toEmit","rest","tsplus_module_51","fromIOMaybe_1","fromAsyncIterableLoop","then","result","fromAsyncIterable","iterable","asyncIterator","fromIterable","maxChunkSize","out","Array","count","fromIterableSingle","repeatIOMaybe_1","scopedPull","pull","repeatIOChunkMaybe_1","down","tsplus_module_52","haltNow","u","haltWhenWriter","haltWhen_","haltWhenFutureWriter","future","maybeIO","haltWhenFuture_","interleave_","sa","sb","interleaveWith_1","forever_1","fromChunk_1","interleaveWithProducer","leftDone","rightDone","intersperseWriter","middle","isFirst","builder","flagResult","append","intersperse_","interruptWhen_","tsplus_module_54","interruptWhenFuture_","mapAccumAccumulator","currS","nextS","mapAccumIOAccumulator","outputChunk","emit","s1","s2","partialResult","mapChunksIO_","mapConcat_","mapConcatChunk_1","mapConcatChunkIO_","mapConcatIO_","mapErrorCause_","mapIOLoop","mapIOC_","ma","bufferSize","tsplus_module_56","mergeMapIO_","mergeMap_1","mergeWith_1","mergeWithHandler","tsplus_module_57","l","strategy","tsplus_module_58","onError_","cleanup","orElseEither_","orElse_1","orElseFail_","orElseOptional_","orElseSucceed_","layer","provideSomeLayer_","provideLayer_1","tsplus_module_60","Rechunker","constructor","write","push","pos","emitOfNotEmpty","isEmpty","rechunkProcess","rechunker","target","rechunk_","repeatValue","repeatIO","repeatIOChunk","runCollect","run_1","runDrain","runScoped_1","writer","err","runIntoQueueScoped_1","scan_","scanIO_1","concat_1","mapAccumIO_1","scanReduce_","scanReduceIO_1","succeed","takeLoop","taken","take_","Number","isInteger","halt_1","IllegalArgumentError","takeUntilIO_","takeUntilIOLoop","takeUntilLoop","takeUntil_","tap_","throttleEnforce_","costFn","units","burst","throttleEnforceIO_1","throttleEnforceIOLoop","tokens","timestamp","tsplus_module_41","weight","elapsed","cycles","available","sum","MAX_SAFE_INTEGER","min","toQueueDropping_","runIntoElementsScoped_1","toQueueSliding_","unfoldChunkIOLoop","m","unfoldChunkLoop","unfold","unfoldChunk_1","zipWithIndex_","mapAccum_1","index","zipWithLatest_","pullNonEmpty","fromPull_1","rightFiber","tsplus_module_22","leftFiber","leftFirst","latest","ab","leftChunk","rightLatest","rightChunk","leftLatest"],"sourceRoot":"","sources":["../../_src/Stream/api.ts"],"sourcesContent":[null]}
|
@@ -44,22 +44,22 @@ export class Full {
|
|
44
44
|
*/
|
45
45
|
|
46
46
|
export function make() {
|
47
|
-
return tsplus_module_3.map_(tsplus_module_3.flatMap_(tsplus_module_2.make(), p => tsplus_module_1.make(() => new Empty(p)), fileName_1 + ":38:13"), refState => new Handoff(refState), fileName_1 + ":39:9");
|
47
|
+
return tsplus_module_3.map_(tsplus_module_3.flatMap_(tsplus_module_2.make(fileName_1 + ":37:21"), p => tsplus_module_1.make(() => new Empty(p), fileName_1 + ":38:29"), fileName_1 + ":38:13"), refState => new Handoff(refState), fileName_1 + ":39:9");
|
48
48
|
}
|
49
49
|
/**
|
50
50
|
* @tsplus fluent fncts.io.Stream.Handoff offer
|
51
51
|
*/
|
52
52
|
|
53
53
|
function offer_1(handoff, a) {
|
54
|
-
return tsplus_module_3.flatMap_(tsplus_module_2.make(), p => tsplus_module_3.flatten(tsplus_module_5.modify_(handoff.ref, s => {
|
54
|
+
return tsplus_module_3.flatMap_(tsplus_module_2.make(fileName_1 + ":46:21"), p => tsplus_module_3.flatten(tsplus_module_5.modify_(handoff.ref, s => {
|
55
55
|
switch (s._tag) {
|
56
56
|
case FullTypeId:
|
57
|
-
return tuple(tsplus_module_3.apSecond_(tsplus_module_4.wait(s.notifyProducer), offer_1(handoff, a), fileName_1 + ":51:57"), s);
|
57
|
+
return tuple(tsplus_module_3.apSecond_(tsplus_module_4.wait(s.notifyProducer, fileName_1 + ":51:42"), offer_1(handoff, a), fileName_1 + ":51:57"), s);
|
58
58
|
|
59
59
|
case EmptyTypeId:
|
60
|
-
return tuple(tsplus_module_3.apSecond_(tsplus_module_4.succeed_(s.notifyConsumer, undefined), tsplus_module_4.wait(p), fileName_1 + ":53:70"), new Full(a, p));
|
60
|
+
return tuple(tsplus_module_3.apSecond_(tsplus_module_4.succeed_(s.notifyConsumer, undefined, fileName_1 + ":53:50"), tsplus_module_4.wait(p, fileName_1 + ":53:72"), fileName_1 + ":53:70"), new Full(a, p));
|
61
61
|
}
|
62
|
-
})), fileName_1 + ":46:44");
|
62
|
+
}, fileName_1 + ":48:25"), fileName_1 + ":55:9"), fileName_1 + ":46:44");
|
63
63
|
}
|
64
64
|
/**
|
65
65
|
* @tsplus getter fncts.io.Stream.Handoff take
|
@@ -67,15 +67,15 @@ function offer_1(handoff, a) {
|
|
67
67
|
|
68
68
|
|
69
69
|
function take_1(handoff) {
|
70
|
-
return tsplus_module_3.flatMap_(tsplus_module_2.make(), p => tsplus_module_3.flatten(tsplus_module_5.modify_(handoff.ref, s => {
|
70
|
+
return tsplus_module_3.flatMap_(tsplus_module_2.make(fileName_1 + ":63:21"), p => tsplus_module_3.flatten(tsplus_module_5.modify_(handoff.ref, s => {
|
71
71
|
switch (s._tag) {
|
72
72
|
case FullTypeId:
|
73
|
-
return tuple(tsplus_module_3.as_(tsplus_module_4.succeed_(s.notifyProducer, undefined), () => s.a), new Empty(p));
|
73
|
+
return tuple(tsplus_module_3.as_(tsplus_module_4.succeed_(s.notifyProducer, undefined, fileName_1 + ":68:50"), () => s.a, fileName_1 + ":68:64"), new Empty(p));
|
74
74
|
|
75
75
|
case EmptyTypeId:
|
76
|
-
return tuple(tsplus_module_3.apSecond_(tsplus_module_4.wait(s.notifyConsumer), take_1(handoff), fileName_1 + ":70:57"), s);
|
76
|
+
return tuple(tsplus_module_3.apSecond_(tsplus_module_4.wait(s.notifyConsumer, fileName_1 + ":70:42"), take_1(handoff), fileName_1 + ":70:57"), s);
|
77
77
|
}
|
78
|
-
})), fileName_1 + ":63:44");
|
78
|
+
}, fileName_1 + ":65:25"), fileName_1 + ":72:9"), fileName_1 + ":63:44");
|
79
79
|
}
|
80
80
|
/**
|
81
81
|
* @tsplus getter fncts.io.Stream.Handoff poll
|
@@ -83,15 +83,15 @@ function take_1(handoff) {
|
|
83
83
|
|
84
84
|
|
85
85
|
export function poll(handoff) {
|
86
|
-
return tsplus_module_3.flatMap_(tsplus_module_2.make(), p => tsplus_module_3.flatten(tsplus_module_5.modify_(handoff.ref, s => {
|
86
|
+
return tsplus_module_3.flatMap_(tsplus_module_2.make(fileName_1 + ":80:21"), p => tsplus_module_3.flatten(tsplus_module_5.modify_(handoff.ref, s => {
|
87
87
|
switch (s._tag) {
|
88
88
|
case FullTypeId:
|
89
|
-
return tuple(tsplus_module_3.as_(tsplus_module_4.succeed_(s.notifyProducer, undefined), () => tsplus_module_6.just(s.a)), new Empty(p));
|
89
|
+
return tuple(tsplus_module_3.as_(tsplus_module_4.succeed_(s.notifyProducer, undefined, fileName_1 + ":85:50"), () => tsplus_module_6.just(s.a), fileName_1 + ":85:64"), new Empty(p));
|
90
90
|
|
91
91
|
case EmptyTypeId:
|
92
92
|
return tuple(tsplus_module_3.succeedNow(tsplus_module_6.nothing(), fileName_1 + ":87:39"), s);
|
93
93
|
}
|
94
|
-
})), fileName_1 + ":80:44");
|
94
|
+
}, fileName_1 + ":82:25"), fileName_1 + ":89:9"), fileName_1 + ":80:44");
|
95
95
|
}
|
96
96
|
export const HandoffSignalTypeId = /*#__PURE__*/Symbol.for("fncts.io.Stream.HandoffSignal");
|
97
97
|
export const EmitTypeId = /*#__PURE__*/Symbol.for("fncts.io.Stream.HandoffSignal.Emit");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Handoff.mjs","mappings":";;;;;;;aA4CgBA,KAAK;aAiBLC,IAAI;AA3DpB,SAASC,KAAT,QAAsB,2BAAtB;AAEA;;;;;AAIA,OAAM,MAAOC,OAAP,CAAc;EAClBC,YAAqBC,GAArB,EAAuC;IAAlB;EAAsB;;AADzB;AAIpB,OAAO,MAAMC,WAAW,gBAAGC,MAAM,CAACC,GAAP,CAAW,+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AAJzB;AAOjB,OAAO,MAAMG,SAAS,gBAAGhC,MAAM,CAAC,mCAAD,CAAxB;AAEP,OAAM,MAAOiC,GAAP,CAAU;EAIdpC,YAAqBqC,MAArB,EAA0C;IAArB;IAHZ,eAAsCT,mBAAtC;IACA,YAAsCO,SAAtC;EAEqC;;AAJhC;AAiBhB,OAAO,MAAMG,aAAa,GAAqB,EAAxC;AAEP;;;;AAGA,OAAM,SAAUC,IAAV,CAAkBR,GAAlB,EAA8B;EAClC,OAAO,IAAID,IAAJ,CAASC,GAAT,CAAP;AACD;AAED;;;;AAGA,OAAM,SAAUS,IAAV,CAAkBN,KAAlB,EAAiC;EACrC,OAAO,IAAID,IAAJ,CAASC,KAAT,CAAP;AACD;AAED;;;;AAGA,OAAM,SAAUO,GAAV,CAAiBJ,MAAjB,EAAsC;EAC1C,OAAO,IAAID,GAAJ,CAAQC,MAAR,CAAP;AACD;AAED;;;;AAGA,OAAM,SAAUK,YAAV,CACJC,MADI,EAEJC,KAFI,EAMH;EAED,QAAQD,MAAM,CAACtB,IAAf;IACE,KAAKQ,UAAL;MACE,OAAOe,KAAK,CAACd,IAAN,CAAWa,MAAX,CAAP;;IACF,KAAKX,UAAL;MACE,OAAOY,KAAK,CAACX,IAAN,CAAWU,MAAX,CAAP;;IACF,KAAKR,SAAL;MACE,OAAOS,KAAK,CAACR,GAAN,CAAUO,MAAV,CAAP;EANJ;AAQD","names":["offer","take","tuple","Handoff","constructor","ref","StateTypeId","Symbol","for","EmptyTypeId","Empty","notifyConsumer","FullTypeId","Full","a","notifyProducer","make","tsplus_module_3","p","tsplus_module_1","fileName_1","refState","handoff","tsplus_module_5","s","_tag","offer_1","undefined","tsplus_module_4","take_1","poll","tsplus_module_6","HandoffSignalTypeId","EmitTypeId","Emit","els","HaltTypeId","Halt","error","EndTypeId","End","reason","HandoffSignal","emit","halt","end","matchSignal_","signal","cases"],"sourceRoot":"","sources":["../../../_src/Stream/internal/Handoff.ts"],"sourcesContent":[null]}
|
@@ -25,7 +25,7 @@ export function emitChunk(as) {
|
|
25
25
|
*/
|
26
26
|
|
27
27
|
export function fromQueue(d) {
|
28
|
-
return tsplus_module_2.flatMap_(tsplus_module_4.take(d), take => tsplus_module_3.done(take), fileName_1 + ":31:24");
|
28
|
+
return tsplus_module_2.flatMap_(tsplus_module_4.take(d, fileName_1 + ":31:11"), take => tsplus_module_3.done(take), fileName_1 + ":31:24");
|
29
29
|
}
|
30
30
|
/**
|
31
31
|
* @tsplus static fncts.io.Stream.PullOps fail
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Pull.mjs","mappings":";;;;;;;AAUA,OAAO,MAAMA,IAAI,GAAY,EAAtB;AAEP;;;;AAGA,OAAM,SAAUC,IAAV,CAAkBC,CAAlB,EAAsB;EAC1B,OAAOC,2BAAcC,uBAAYF,CAAZ,CAAd,EAA4BG,qBAA5B,CAAP;AACD;AAED;;;;AAGA,OAAM,SAAUC,SAAV,CAAuBC,EAAvB,EAAkC;EACtC,OAAOJ,2BAAcI,EAAd,EAAgBF,qBAAhB,CAAP;AACD;AAED;;;;AAGA,OAAM,SAAUG,SAAV,CAA0BC,CAA1B,EAAsD;EAC1D,OAAON,
|
1
|
+
{"version":3,"file":"Pull.mjs","mappings":";;;;;;;AAUA,OAAO,MAAMA,IAAI,GAAY,EAAtB;AAEP;;;;AAGA,OAAM,SAAUC,IAAV,CAAkBC,CAAlB,EAAsB;EAC1B,OAAOC,2BAAcC,uBAAYF,CAAZ,CAAd,EAA4BG,qBAA5B,CAAP;AACD;AAED;;;;AAGA,OAAM,SAAUC,SAAV,CAAuBC,EAAvB,EAAkC;EACtC,OAAOJ,2BAAcI,EAAd,EAAgBF,qBAAhB,CAAP;AACD;AAED;;;;AAGA,OAAM,SAAUG,SAAV,CAA0BC,CAA1B,EAAsD;EAC1D,OAAON,iDAACE,qBAAD,GAAgBK,IAAD,IAASC,qBAACD,IAAD,CAAxB,EAAkCL,qBAAlC,CAAP;AACD;AAED;;;;AAGA,OAAM,SAAUO,IAAV,CAAkBC,CAAlB,EAAsB;EAC1B,OAAOV,wBAAWW,qBAAKD,CAAL,CAAX,EAAkBR,qBAAlB,CAAP;AACD;AAED;;;;AAGA,OAAM,SAAUU,SAAV,CAAuBC,CAAvB,EAAkC;EACtC,OAAOb,uDAAgBa,CAAhB,EAAiBX,qBAAjB,GAAkBS,oBAAlB,EAAkBT,qBAAlB,CAAP;AACD;AAED;;;;AAGA,OAAM,SAAUY,KAAV,GAAe;EACnB,OAAOd,2BAAce,uBAAd,EAA6Bb,qBAA7B,CAAP;AACD;AAED;;;;AAGA,OAAO,MAAMc,GAAG,gBAA6BhB,sCAAWW,yBAAX,EAAoBT,qBAApB,CAAtC","names":["Pull","emit","a","tsplus_module_2","tsplus_module_1","fileName_1","emitChunk","as","fromQueue","d","take","tsplus_module_3","fail","e","tsplus_module_5","failCause","c","empty","tsplus_module_6","end"],"sourceRoot":"","sources":["../../../_src/Stream/internal/Pull.ts"],"sourcesContent":[null]}
|
@@ -101,7 +101,7 @@ export function map_(self, f) {
|
|
101
101
|
*/
|
102
102
|
|
103
103
|
export function tap_(self, f) {
|
104
|
-
return tsplus_module_7.foreachIO_(self.exit, f);
|
104
|
+
return tsplus_module_7.foreachIO_(self.exit, f, fileName_1 + ":110:29");
|
105
105
|
}
|
106
106
|
/**
|
107
107
|
* Creates a `Take<never, A>` with a singleton chunk.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Take.mjs","mappings":";;;;;;;;;;;aAqHgBA,MAAM;aASNC,KAAK;aAsCLC,SAAS;AAlKzB;;;;;;;;;AAQA,OAAM,MAAOC,IAAP,CAAW;EAIfC,YAAqBC,IAArB,EAAkD;IAA7B;EAAiC;;AAJvC;AAOjB;;;;;;AAKA,OAAM,SAAUC,IAAV,CAAqBC,IAArB,EAAqC;EACzC,OAAOC,4BAAeD,IAAI,CAACF,IAApB,EAAwBI,qBAAxB,CAAP;AACD;AAED;;;;;;;AAMA,OAAM,SAAUC,MAAV,C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T,CAAP;AACD;AAED;;;;;;AAKA,OAAM,SAAUa,QAAV,CAAyBxC,IAAzB,EAAyC;EAC7C,OAAO,IAAIF,IAAJ,CAASW,6BAAImB,qBAAJ,EAAIJ,sBAAJ,CAAT,CAAP;AACD;AAED;;;;;;AAKO,MAAMW,qBAA0B,IAAIrC,IAAJ,eAASyB,mCAAUK,0BAAV,CAAT,CAAhC;aAAMtB,GAAG","names":["single","chunk","failCause","Take","constructor","exit","done","self","tsplus_module_1","fileName_1","match_","end","error","value","tsplus_module_4","cause","tsplus_module_3","matchIO_","isDone","tsplus_module_5","isFailure","isSuccess","map_","f","tsplus_module_6","tap_","tsplus_module_7","a","tsplus_module_9","tsplus_module_8","as","fail","e","tsplus_module_10","fromIO","effect","failCause_1","single_1","fromPull","pull","end_1","chunk_1","c","tsplus_module_2","halt","fromExit"],"sourceRoot":"","sources":["../../../_src/Stream/internal/Take.ts"],"sourcesContent":[null]}
|
package/_mjs/Supervisor/api.mjs
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
const fileName_1 = "(@fncts/io) src/Supervisor/api.ts";
|
1
2
|
import * as tsplus_module_1 from "@fncts/io/Supervisor/definition";
|
2
3
|
import * as tsplus_module_2 from "@fncts/io/IO/api";
|
3
4
|
/**
|
@@ -8,7 +9,7 @@ export function zip_(fa, fb) {
|
|
8
9
|
return new class extends tsplus_module_1.Supervisor {
|
9
10
|
constructor() {
|
10
11
|
super(...arguments);
|
11
|
-
this.value = tsplus_module_2.zip_(fa.value, fb.value);
|
12
|
+
this.value = tsplus_module_2.zip_(fa.value, fb.value, fileName_1 + ":6:25");
|
12
13
|
}
|
13
14
|
|
14
15
|
unsafeOnStart(environment, effect, parent, fiber) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api.mjs","mappings":"
|
1
|
+
{"version":3,"file":"api.mjs","mappings":";;;AAAA;;;;AAGA,OAAM,SAAUA,IAAV,CAAqBC,EAArB,EAAwCC,EAAxC,EAAyD;EAC7D,OAAO,IAAK,cAAcC,0BAAd,CAAyC;IAAzCC;;MACV,aAAQC,uBAAE,CAACC,KAAH,EAAaJ,EAAE,CAACI,KAAhB,EAAqBC,oBAArB,CAAR;IA6BD;;IA5BCC,aAAa,CACXC,WADW,EAEXC,MAFW,EAGXC,MAHW,EAIXC,KAJW,EAIe;MAE1B,IAAI;QACFX,EAAE,CAACO,aAAH,CAAiBC,WAAjB,EAA8BC,MAA9B,EAAsCC,MAAtC,EAA8CC,KAA9C;MACD,CAFD,SAEU;QACRV,EAAE,CAACM,aAAH,CAAiBC,WAAjB,EAA8BC,MAA9B,EAAsCC,MAAtC,EAA8CC,KAA9C;MACD;IACF;;IACDC,WAAW,CAAOP,KAAP,EAA0BM,KAA1B,EAAoD;MAC7DX,EAAE,CAACY,WAAH,CAAeP,KAAf,EAAsBM,KAAtB;MACAV,EAAE,CAACW,WAAH,CAAeP,KAAf,EAAsBM,KAAtB;IACD;;IACDE,cAAc,CAAOF,KAAP,EAAmCF,MAAnC,EAA4D;MACxET,EAAE,CAACa,cAAH,CAAkBF,KAAlB,EAAyBF,MAAzB;MACAR,EAAE,CAACY,cAAH,CAAkBF,KAAlB,EAAyBF,MAAzB;IACD;;IACDK,eAAe,CAAOH,KAAP,EAAiC;MAC9CX,EAAE,CAACc,eAAH,CAAmBH,KAAnB;MACAV,EAAE,CAACa,eAAH,CAAmBH,KAAnB;IACD;;IACDI,cAAc,CAAOJ,KAAP,EAAiC;MAC7CX,EAAE,CAACe,cAAH,CAAkBJ,KAAlB;MACAV,EAAE,CAACc,cAAH,CAAkBJ,KAAlB;IACD;;EA7BkD,CAA9C,EAAP;AA+BD","names":["zip_","fa","fb","tsplus_module_1","constructor","tsplus_module_2","value","fileName_1","unsafeOnStart","environment","effect","parent","fiber","unsafeOnEnd","unsafeOnEffect","unsafeOnSuspend","unsafeOnResume"],"sourceRoot":"","sources":["../../_src/Supervisor/api.ts"],"sourcesContent":[null]}
|
@@ -4,17 +4,18 @@ import * as tsplus_module_2 from "@fncts/base/collection/immutable/Conc/construc
|
|
4
4
|
import * as tsplus_module_3 from "@fncts/io/IO/api";
|
5
5
|
import * as tsplus_module_4 from "@fncts/base/collection/immutable/HashSet/api";
|
6
6
|
export const unsafeTrack = unsafeTrack_1;
|
7
|
+
import { IterableWeakSet } from "@fncts/base/collection/weak/IterableWeakSet";
|
7
8
|
import { ConstSupervisor } from "./definition.mjs";
|
8
9
|
/**
|
9
10
|
* @tsplus static fncts.io.SupervisorOps unsafeTrack
|
10
11
|
*/
|
11
12
|
|
12
|
-
function unsafeTrack_1() {
|
13
|
-
const set = new Set();
|
13
|
+
function unsafeTrack_1(weak) {
|
14
|
+
const set = weak ? new IterableWeakSet() : new Set();
|
14
15
|
return new class extends tsplus_module_1.Supervisor {
|
15
16
|
constructor() {
|
16
17
|
super(...arguments);
|
17
|
-
this.value = tsplus_module_3.succeed(() => tsplus_module_2.from(set), fileName_1 + ":
|
18
|
+
this.value = tsplus_module_3.succeed(() => tsplus_module_2.from(set), fileName_1 + ":13:23");
|
18
19
|
}
|
19
20
|
|
20
21
|
unsafeOnStart(_environment, _effect, _parent, fiber) {
|
@@ -36,7 +37,7 @@ export function fibersIn(ref) {
|
|
36
37
|
return tsplus_module_3.succeed(() => new class extends tsplus_module_1.Supervisor {
|
37
38
|
constructor() {
|
38
39
|
super(...arguments);
|
39
|
-
this.value = tsplus_module_3.succeed(() => ref.get, fileName_1 + ":
|
40
|
+
this.value = tsplus_module_3.succeed(() => ref.get, fileName_1 + ":36:25");
|
40
41
|
}
|
41
42
|
|
42
43
|
unsafeOnStart(_environment, _effect, _parent, fiber) {
|
@@ -47,7 +48,7 @@ export function fibersIn(ref) {
|
|
47
48
|
ref.set(tsplus_module_4.remove_(ref.get, fiber));
|
48
49
|
}
|
49
50
|
|
50
|
-
}(), fileName_1 + ":
|
51
|
+
}(), fileName_1 + ":34:20");
|
51
52
|
}
|
52
53
|
/**
|
53
54
|
* @tsplus static fncts.io.SupervisorOps fromIO
|
@@ -65,5 +66,7 @@ export const none = /*#__PURE__*/new ConstSupervisor(tsplus_module_3.unit);
|
|
65
66
|
* @tsplus static fncts.io.SupervisorOps track
|
66
67
|
*/
|
67
68
|
|
68
|
-
export
|
69
|
+
export function track(weak, __tsplusTrace) {
|
70
|
+
return tsplus_module_3.succeed(() => unsafeTrack_1(weak), __tsplusTrace);
|
71
|
+
}
|
69
72
|
//# sourceMappingURL=constructors.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constructors.mjs","mappings":";;;;;
|
1
|
+
{"version":3,"file":"constructors.mjs","mappings":";;;;;aASgBA,WAAW;AAP3B,SAASC,eAAT,QAAgC,6CAAhC;AAEA,SAASC,eAAT,QAAgC,kBAAhC;AAEA;;;;AAGA,uBAA4BC,IAA5B,EAAyC;EACvC,MAAMC,GAAG,GAAGD,IAAI,GAAG,IAAIF,eAAJ,EAAH,GAAoD,IAAII,GAAJ,EAApE;EACA,OAAO,IAAK,cAAcC,0BAAd,CAAuD;IAAvDC;;MACV,aAAQC,8BAAWC,qBAAUL,GAAV,CAAX,EAAyBM,qBAAzB,CAAR;IAYD;;IAXCC,aAAa,CACXC,YADW,EAEXC,OAFW,EAGXC,OAHW,EAIXC,KAJW,EAIe;MAE1BX,GAAG,CAACY,GAAJ,CAAQD,KAAR;IACD;;IACDE,WAAW,CAAOC,MAAP,EAA2BH,KAA3B,EAAqD;MAC9DX,GAAG,CAACe,MAAJ,CAAWJ,KAAX;IACD;;EAZgE,CAA5D,EAAP;AAcD;AAED;;;;;AAGA,OAAM,SAAUK,QAAV,CACJC,GADI,EACkD;EAEtD,OAAOb,8BACL,IAAK,cAAcF,0BAAd,CAA0D;IAA1DC;;MACH,aAAQC,8BAAWa,GAAG,CAACC,GAAf,EAAkBZ,qBAAlB,CAAR;IAYD;;IAXCC,aAAa,CACXC,YADW,EAEXC,OAFW,EAGXC,OAHW,EAIXC,KAJW,EAIe;MAE1BM,GAAG,CAACjB,GAAJ,CAAQmB,wBAAG,CAACD,GAAJ,EAAYP,KAAZ,CAAR;IACD;;IACDE,WAAW,CAAOO,KAAP,EAA0BT,KAA1B,EAAoD;MAC7DM,GAAG,CAACjB,GAAJ,CAAQmB,2BAAG,CAACD,GAAJ,EAAeP,KAAf,CAAR;IACD;;EAZ4D,CAA/D,EADK,EAcDL,qBAdC,CAAP;AAgBD;AAED;;;;AAGA,OAAM,SAAUe,MAAV,CAAoBC,EAApB,EAA8B;EAClC,OAAO,IAAIxB,eAAJ,CAAoBwB,EAApB,CAAP;AACD;AAED;;;;AAGA,OAAO,MAAMC,IAAI,gBAAG,IAAIzB,eAAJ,CAAmBM,oBAAnB,CAAb;AAEP;;;;AAGA,OAAM,SAAUoB,KAAV,CAAgBzB,IAAhB,EAA+B0B,aAA/B,EAAqD;EACzD,OAAOrB,8BAAWsB,cAAY3B,IAAZ,CAAX,EAD4B0B,aAC5B,CAAP;AACD","names":["unsafeTrack","IterableWeakSet","ConstSupervisor","weak","set","Set","tsplus_module_1","constructor","tsplus_module_3","tsplus_module_2","fileName_1","unsafeOnStart","_environment","_effect","_parent","fiber","add","unsafeOnEnd","_value","delete","fibersIn","ref","get","tsplus_module_4","value","fromIO","ma","none","track","__tsplusTrace","unsafeTrack_1"],"sourceRoot":"","sources":["../../_src/Supervisor/constructors.ts"],"sourcesContent":[null]}
|