@fncts/io 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cached/api.d.ts +2 -2
- package/Channel/UpstreamPullStrategy/definition.d.ts +1 -1
- package/Channel/api/mapOutIOC.d.ts +1 -1
- package/Channel/api/mergeAllWith.d.ts +2 -2
- package/Channel/api/mergeWith.d.ts +2 -2
- package/Channel/api/toPull.d.ts +1 -1
- package/Channel/api.d.ts +8 -8
- package/Channel/core-api.d.ts +2 -2
- package/Channel/definition.d.ts +24 -10
- package/Channel/internal/AsyncInputConsumer.d.ts +1 -1
- package/Channel/internal/AsyncInputProducer.d.ts +1 -1
- package/Channel/internal/ChannelExecutor.d.ts +5 -5
- package/Channel/internal/ChannelState.d.ts +1 -1
- package/Channel/internal/MergeDecision.d.ts +1 -1
- package/Channel/internal/MergeState.d.ts +2 -2
- package/Channel/internal/SingleProducerAsyncInput.d.ts +4 -4
- package/Clock/api.d.ts +2 -2
- package/Clock/definition.d.ts +2 -2
- package/Clock/live.d.ts +3 -3
- package/Console/api.d.ts +1 -1
- package/Fiber/FiberContext.d.ts +10 -10
- package/Fiber/api/await.d.ts +2 -2
- package/Fiber/api/awaitAll.d.ts +2 -2
- package/Fiber/api/children.d.ts +1 -1
- package/Fiber/api/collectAll.d.ts +3 -3
- package/Fiber/api/evalOn.d.ts +1 -1
- package/Fiber/api/evalOnIO.d.ts +1 -1
- package/Fiber/api/fromIO.d.ts +1 -1
- package/Fiber/api/id.d.ts +2 -2
- package/Fiber/api/inheritRefs.d.ts +1 -1
- package/Fiber/api/interrupt.d.ts +2 -2
- package/Fiber/api/interruptAll.d.ts +3 -3
- package/Fiber/api/interruptAs.d.ts +3 -3
- package/Fiber/api/join.d.ts +1 -1
- package/Fiber/api/joinAll.d.ts +1 -1
- package/Fiber/api/mapFiber.d.ts +1 -1
- package/Fiber/api/mapIO.d.ts +2 -2
- package/Fiber/api/poll.d.ts +3 -3
- package/Fiber/api/zipWith.d.ts +1 -1
- package/Fiber/constructors.d.ts +8 -8
- package/Fiber/definition.d.ts +3 -3
- package/FiberRef/api/locallyScoped.d.ts +1 -1
- package/FiberRef/api/locallyScopedWith.d.ts +1 -1
- package/FiberRef/api.d.ts +8 -8
- package/FiberRef/constructors.d.ts +2 -2
- package/FiberRef/unsafe.d.ts +5 -5
- package/FiberRefs/api.d.ts +4 -4
- package/FiberRefs/definition.d.ts +3 -3
- package/FiberRefs/join.d.ts +2 -2
- package/FiberScope/constructors.d.ts +1 -1
- package/FiberScope/definition.d.ts +1 -1
- package/FiberState/api.d.ts +1 -1
- package/FiberState/constructors.d.ts +3 -3
- package/FiberState/definition.d.ts +3 -3
- package/FiberStatus/constructors.d.ts +1 -1
- package/FiberStatus/definition.d.ts +1 -1
- package/Future/api.d.ts +18 -18
- package/Future/constructors.d.ts +3 -3
- package/Future/definition.d.ts +2 -2
- package/Hub/api.d.ts +22 -22
- package/Hub/internal.d.ts +1 -1
- package/IO/api/acquireRelease.d.ts +2 -2
- package/IO/api/acquireReleaseExit.d.ts +2 -2
- package/IO/api/acquireReleaseInterruptible.d.ts +1 -1
- package/IO/api/acquireReleaseInterruptibleExit.d.ts +2 -2
- package/IO/api/addFinalizer.d.ts +1 -1
- package/IO/api/addFinalizerExit.d.ts +2 -2
- package/IO/api/asyncIO.d.ts +1 -1
- package/IO/api/bracket.d.ts +2 -2
- package/IO/api/bracketExit.d.ts +3 -3
- package/IO/api/concurrency.d.ts +4 -4
- package/IO/api/concurrentFinalizers.d.ts +1 -1
- package/IO/api/consoleWith.d.ts +1 -1
- package/IO/api/core-scope.d.ts +3 -3
- package/IO/api/ensuringChildren.d.ts +1 -1
- package/IO/api/environment.d.ts +3 -3
- package/IO/api/foreachC.d.ts +2 -2
- package/IO/api/foreachExec.d.ts +1 -1
- package/IO/api/fulfill.d.ts +1 -1
- package/IO/api/interrupt.d.ts +7 -7
- package/IO/api/onExit.d.ts +2 -2
- package/IO/api/onTermination.d.ts +4 -4
- package/IO/api/provideLayer.d.ts +1 -1
- package/IO/api/race.d.ts +1 -1
- package/IO/api/raceFirst.d.ts +1 -1
- package/IO/api/randomWith.d.ts +1 -1
- package/IO/api/repeat.d.ts +6 -6
- package/IO/api/retry.d.ts +5 -5
- package/IO/api/schedule.d.ts +2 -2
- package/IO/api/scopeWith.d.ts +1 -1
- package/IO/api/scoped.d.ts +3 -3
- package/IO/api/sequenceT.d.ts +1 -1
- package/IO/api/sleep.d.ts +2 -2
- package/IO/api/stateful.d.ts +2 -2
- package/IO/api/timeout.d.ts +4 -4
- package/IO/api/withEarlyRelease.d.ts +1 -1
- package/IO/api/withFinalizer.d.ts +1 -1
- package/IO/api/withFinalizerExit.d.ts +2 -2
- package/IO/api/withRuntimeConfig.d.ts +2 -2
- package/IO/api/zipC.d.ts +4 -4
- package/IO/api.d.ts +53 -53
- package/IO/definition.d.ts +16 -10
- package/IO/runtime.d.ts +7 -7
- package/IOEnv/services.d.ts +1 -1
- package/IOSpec.d.ts +6 -6
- package/Layer/MemoMap.d.ts +8 -8
- package/Layer/api.d.ts +39 -39
- package/Layer/definition.d.ts +16 -9
- package/Logger/api.d.ts +2 -2
- package/Logger/definition.d.ts +4 -4
- package/Queue/api/dimapIO.d.ts +6 -6
- package/Queue/api/filterInputIO.d.ts +3 -3
- package/Queue/api/filterOutputIO.d.ts +3 -3
- package/Queue/api/operations.d.ts +10 -10
- package/Queue/api/poll.d.ts +2 -2
- package/Queue/api/takeBetween.d.ts +1 -1
- package/Queue/api/zipWithIO.d.ts +3 -3
- package/Queue/constructors.d.ts +4 -4
- package/Queue/definition.d.ts +3 -3
- package/Queue/strategy.d.ts +10 -10
- package/Random/api.d.ts +5 -5
- package/Random/definition.d.ts +5 -5
- package/Random/live.d.ts +4 -4
- package/Ref/Atomic/Atomic.d.ts +1 -1
- package/Ref/Atomic/api.d.ts +11 -11
- package/Ref/Derived.d.ts +1 -1
- package/Ref/DerivedAll.d.ts +1 -1
- package/Ref/Synchronized/api.d.ts +13 -13
- package/Ref/Synchronized/constructors.d.ts +2 -2
- package/Ref/Synchronized/definition.d.ts +1 -1
- package/Ref/api/collect.d.ts +2 -2
- package/Ref/api/dimap.d.ts +8 -8
- package/Ref/api/filter.d.ts +3 -3
- package/Ref/api/get.d.ts +1 -1
- package/Ref/api/match.d.ts +1 -1
- package/Ref/api/matchAll.d.ts +1 -1
- package/Ref/api/modify.d.ts +10 -10
- package/Ref/api/set.d.ts +1 -1
- package/Ref/constructors.d.ts +3 -3
- package/Ref/definition.d.ts +2 -2
- package/RuntimeConfig.d.ts +2 -2
- package/STM/api/core-api.d.ts +5 -5
- package/STM/api/core-constructors.d.ts +7 -7
- package/STM/api.d.ts +56 -56
- package/STM/definition.d.ts +2 -2
- package/STM/driver.d.ts +2 -2
- package/STM/internal/CommitState.d.ts +1 -1
- package/STM/internal/Journal.d.ts +3 -3
- package/STM/internal/TryCommit.d.ts +1 -1
- package/Schedule/Driver.d.ts +1 -1
- package/Schedule/api/driver.d.ts +1 -1
- package/Schedule/api.d.ts +73 -73
- package/Scope/Finalizer/definition.d.ts +1 -1
- package/Scope/ReleaseMap/api/releaseAll.d.ts +2 -2
- package/Scope/ReleaseMap/api.d.ts +7 -7
- package/Scope/ReleaseMap/definition.d.ts +2 -2
- package/Scope/api.d.ts +9 -9
- package/Scope/definition.d.ts +2 -2
- package/ScopedRef/api.d.ts +1 -1
- package/Sink/api.d.ts +18 -18
- package/State/api.d.ts +2 -2
- package/Stream/api/zipAllWith.d.ts +3 -3
- package/Stream/api/zipWith.d.ts +1 -1
- package/Stream/api/zipWithChunks.d.ts +4 -4
- package/Stream/api.d.ts +169 -162
- package/Stream/internal/Handoff.d.ts +2 -2
- package/Stream/internal/Pull.d.ts +2 -2
- package/Stream/internal/Take.d.ts +3 -3
- package/Stream/internal/util.d.ts +1 -1
- package/Supervisor/api.d.ts +3 -3
- package/Supervisor/constructors.d.ts +4 -4
- package/Supervisor/definition.d.ts +3 -3
- package/TExit/constructors.d.ts +1 -1
- package/TExit/definition.d.ts +1 -1
- package/TFuture/api.d.ts +7 -7
- package/TFuture/constructors.d.ts +4 -4
- package/TFuture/definition.d.ts +2 -2
- package/TReentrantLock/api.d.ts +16 -16
- package/TReentrantLock/definition.d.ts +2 -2
- package/TRef/api.d.ts +15 -15
- package/TRef/constructors.d.ts +5 -5
- package/TRef/definition.d.ts +2 -2
- package/TSemaphore/api.d.ts +7 -7
- package/TSemaphore/constructors.d.ts +1 -1
- package/_cjs/Cached/api.cjs +5 -5
- package/_cjs/Cached/api.cjs.map +1 -1
- package/_cjs/Channel/api/interruptWhen.cjs +1 -1
- package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
- package/_cjs/Channel/api/mapOutIOC.cjs +2 -2
- package/_cjs/Channel/api/mapOutIOC.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllWith.cjs +11 -11
- package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeWith.cjs +5 -5
- package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
- package/_cjs/Channel/api/run.cjs +3 -1
- package/_cjs/Channel/api/run.cjs.map +1 -1
- package/_cjs/Channel/api.cjs +7 -7
- package/_cjs/Channel/api.cjs.map +1 -1
- package/_cjs/Channel/core-api.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelExecutor.cjs +6 -6
- package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelState.cjs +2 -1
- package/_cjs/Channel/internal/ChannelState.cjs.map +1 -1
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +16 -16
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
- package/_cjs/Console/api.cjs +5 -3
- package/_cjs/Console/api.cjs.map +1 -1
- package/_cjs/Fiber/FiberContext.cjs +3 -3
- package/_cjs/Fiber/FiberContext.cjs.map +1 -1
- package/_cjs/Fiber/api/await.cjs +1 -1
- package/_cjs/Fiber/api/await.cjs.map +1 -1
- package/_cjs/Fiber/api/awaitAll.cjs +2 -4
- package/_cjs/Fiber/api/awaitAll.cjs.map +1 -1
- package/_cjs/Fiber/api/children.cjs +1 -1
- package/_cjs/Fiber/api/children.cjs.map +1 -1
- package/_cjs/Fiber/api/collectAll.cjs +2 -4
- package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
- package/_cjs/Fiber/api/evalOn.cjs +1 -1
- package/_cjs/Fiber/api/evalOn.cjs.map +1 -1
- package/_cjs/Fiber/api/evalOnIO.cjs +2 -4
- package/_cjs/Fiber/api/evalOnIO.cjs.map +1 -1
- package/_cjs/Fiber/api/fromIO.cjs +2 -4
- package/_cjs/Fiber/api/fromIO.cjs.map +1 -1
- package/_cjs/Fiber/api/id.cjs +1 -1
- package/_cjs/Fiber/api/id.cjs.map +1 -1
- package/_cjs/Fiber/api/inheritRefs.cjs +1 -1
- package/_cjs/Fiber/api/inheritRefs.cjs.map +1 -1
- package/_cjs/Fiber/api/interrupt.cjs +2 -4
- package/_cjs/Fiber/api/interrupt.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAll.cjs +4 -5
- package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAs.cjs +1 -1
- package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs.map +1 -1
- package/_cjs/Fiber/api/join.cjs +2 -4
- package/_cjs/Fiber/api/join.cjs.map +1 -1
- package/_cjs/Fiber/api/joinAll.cjs +2 -4
- package/_cjs/Fiber/api/joinAll.cjs.map +1 -1
- package/_cjs/Fiber/api/mapFiber.cjs +2 -4
- package/_cjs/Fiber/api/mapFiber.cjs.map +1 -1
- package/_cjs/Fiber/api/mapIO.cjs +4 -5
- package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
- package/_cjs/Fiber/api/poll.cjs +1 -1
- package/_cjs/Fiber/api/poll.cjs.map +1 -1
- package/_cjs/Fiber/api/zipWith.cjs +2 -4
- package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
- package/_cjs/Fiber/constructors.cjs +10 -11
- package/_cjs/Fiber/constructors.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScoped.cjs +2 -4
- package/_cjs/FiberRef/api/locallyScoped.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScopedWith.cjs +2 -4
- package/_cjs/FiberRef/api/locallyScopedWith.cjs.map +1 -1
- package/_cjs/FiberRef/api.cjs +13 -14
- package/_cjs/FiberRef/api.cjs.map +1 -1
- package/_cjs/FiberRef/constructors.cjs +4 -6
- package/_cjs/FiberRef/constructors.cjs.map +1 -1
- package/_cjs/Future/api.cjs +30 -31
- package/_cjs/Future/api.cjs.map +1 -1
- package/_cjs/Future/constructors.cjs +4 -5
- package/_cjs/Future/constructors.cjs.map +1 -1
- package/_cjs/Hub/api.cjs +44 -44
- package/_cjs/Hub/api.cjs.map +1 -1
- package/_cjs/Hub/internal.cjs +14 -14
- package/_cjs/Hub/internal.cjs.map +1 -1
- package/_cjs/IO/api/acquireRelease.cjs +2 -4
- package/_cjs/IO/api/acquireRelease.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseExit.cjs +1 -1
- package/_cjs/IO/api/acquireReleaseExit.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizer.cjs +1 -1
- package/_cjs/IO/api/addFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizerExit.cjs +2 -4
- package/_cjs/IO/api/addFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/asyncIO.cjs +5 -7
- package/_cjs/IO/api/asyncIO.cjs.map +1 -1
- package/_cjs/IO/api/bracket.cjs +2 -2
- package/_cjs/IO/api/bracket.cjs.map +1 -1
- package/_cjs/IO/api/bracketExit.cjs +2 -4
- package/_cjs/IO/api/bracketExit.cjs.map +1 -1
- package/_cjs/IO/api/concurrency.cjs +7 -7
- package/_cjs/IO/api/concurrency.cjs.map +1 -1
- package/_cjs/IO/api/concurrentFinalizers.cjs +2 -4
- package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
- package/_cjs/IO/api/consoleWith.cjs +3 -3
- package/_cjs/IO/api/consoleWith.cjs.map +1 -1
- package/_cjs/IO/api/core-scope.cjs +4 -4
- package/_cjs/IO/api/core-scope.cjs.map +1 -1
- package/_cjs/IO/api/ensuringChildren.cjs +2 -4
- package/_cjs/IO/api/ensuringChildren.cjs.map +1 -1
- package/_cjs/IO/api/environment.cjs +5 -6
- package/_cjs/IO/api/environment.cjs.map +1 -1
- package/_cjs/IO/api/foreachC.cjs +25 -27
- package/_cjs/IO/api/foreachC.cjs.map +1 -1
- package/_cjs/IO/api/foreachExec.cjs +2 -4
- package/_cjs/IO/api/foreachExec.cjs.map +1 -1
- package/_cjs/IO/api/forkIn.cjs +1 -1
- package/_cjs/IO/api/forkIn.cjs.map +1 -1
- package/_cjs/IO/api/forkScoped.cjs +1 -1
- package/_cjs/IO/api/forkScoped.cjs.map +1 -1
- package/_cjs/IO/api/fulfill.cjs +2 -4
- package/_cjs/IO/api/fulfill.cjs.map +1 -1
- package/_cjs/IO/api/interrupt.cjs +12 -12
- package/_cjs/IO/api/interrupt.cjs.map +1 -1
- package/_cjs/IO/api/memoize.cjs +1 -1
- package/_cjs/IO/api/memoize.cjs.map +1 -1
- package/_cjs/IO/api/onExit.cjs +2 -2
- package/_cjs/IO/api/onExit.cjs.map +1 -1
- package/_cjs/IO/api/onTermination.cjs +2 -2
- package/_cjs/IO/api/onTermination.cjs.map +1 -1
- package/_cjs/IO/api/once.cjs +1 -1
- package/_cjs/IO/api/once.cjs.map +1 -1
- package/_cjs/IO/api/provideLayer.cjs +2 -4
- package/_cjs/IO/api/provideLayer.cjs.map +1 -1
- package/_cjs/IO/api/provideSomeLayer.cjs +1 -1
- package/_cjs/IO/api/provideSomeLayer.cjs.map +1 -1
- package/_cjs/IO/api/race.cjs +4 -6
- package/_cjs/IO/api/race.cjs.map +1 -1
- package/_cjs/IO/api/raceFirst.cjs +2 -4
- package/_cjs/IO/api/raceFirst.cjs.map +1 -1
- package/_cjs/IO/api/randomWith.cjs +3 -3
- package/_cjs/IO/api/randomWith.cjs.map +1 -1
- package/_cjs/IO/api/repeat.cjs +10 -11
- package/_cjs/IO/api/repeat.cjs.map +1 -1
- package/_cjs/IO/api/retry.cjs +8 -9
- package/_cjs/IO/api/retry.cjs.map +1 -1
- package/_cjs/IO/api/schedule.cjs +6 -7
- package/_cjs/IO/api/schedule.cjs.map +1 -1
- package/_cjs/IO/api/scopeWith.cjs +2 -4
- package/_cjs/IO/api/scopeWith.cjs.map +1 -1
- package/_cjs/IO/api/scoped.cjs +4 -5
- package/_cjs/IO/api/scoped.cjs.map +1 -1
- package/_cjs/IO/api/stateful.cjs +1 -1
- package/_cjs/IO/api/stateful.cjs.map +1 -1
- package/_cjs/IO/api/timeout.cjs +3 -4
- package/_cjs/IO/api/timeout.cjs.map +1 -1
- package/_cjs/IO/api/withEarlyRelease.cjs +2 -4
- package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizer.cjs +2 -2
- package/_cjs/IO/api/withFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizerExit.cjs +2 -4
- package/_cjs/IO/api/withFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/withRuntimeConfig.cjs +2 -4
- package/_cjs/IO/api/withRuntimeConfig.cjs.map +1 -1
- package/_cjs/IO/api/zipC.cjs +5 -6
- package/_cjs/IO/api/zipC.cjs.map +1 -1
- package/_cjs/IO/api.cjs +112 -112
- package/_cjs/IO/api.cjs.map +1 -1
- package/_cjs/IOEnv/live.cjs +3 -1
- package/_cjs/IOEnv/live.cjs.map +1 -1
- package/_cjs/Layer/MemoMap.cjs +39 -40
- package/_cjs/Layer/MemoMap.cjs.map +1 -1
- package/_cjs/Layer/api.cjs +80 -81
- package/_cjs/Layer/api.cjs.map +1 -1
- package/_cjs/Layer/definition.cjs +14 -7
- package/_cjs/Layer/definition.cjs.map +1 -1
- package/_cjs/Queue/api/dimapIO.cjs +14 -14
- package/_cjs/Queue/api/dimapIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterInputIO.cjs +6 -6
- package/_cjs/Queue/api/filterInputIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterOutputIO.cjs +6 -6
- package/_cjs/Queue/api/filterOutputIO.cjs.map +1 -1
- package/_cjs/Queue/api/operations.cjs +13 -13
- package/_cjs/Queue/api/operations.cjs.map +1 -1
- package/_cjs/Queue/api/poll.cjs +2 -4
- package/_cjs/Queue/api/poll.cjs.map +1 -1
- package/_cjs/Queue/api/takeBetween.cjs +10 -12
- package/_cjs/Queue/api/takeBetween.cjs.map +1 -1
- package/_cjs/Queue/api/zipWithIO.cjs +12 -12
- package/_cjs/Queue/api/zipWithIO.cjs.map +1 -1
- package/_cjs/Queue/constructors.cjs +8 -10
- package/_cjs/Queue/constructors.cjs.map +1 -1
- package/_cjs/Queue/internal.cjs +15 -15
- package/_cjs/Queue/internal.cjs.map +1 -1
- package/_cjs/Queue/strategy.cjs +16 -16
- package/_cjs/Queue/strategy.cjs.map +1 -1
- package/_cjs/Random/api.cjs +15 -13
- package/_cjs/Random/api.cjs.map +1 -1
- package/_cjs/Random/live.cjs +4 -4
- package/_cjs/Random/live.cjs.map +1 -1
- package/_cjs/Ref/Atomic/api.cjs +19 -21
- package/_cjs/Ref/Atomic/api.cjs.map +1 -1
- package/_cjs/Ref/DerivedAll.cjs +1 -1
- package/_cjs/Ref/DerivedAll.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/api.cjs +25 -26
- package/_cjs/Ref/Synchronized/api.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/constructors.cjs +2 -4
- package/_cjs/Ref/Synchronized/constructors.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/definition.cjs +1 -1
- package/_cjs/Ref/Synchronized/definition.cjs.map +1 -1
- package/_cjs/Ref/api/collect.cjs +1 -1
- package/_cjs/Ref/api/collect.cjs.map +1 -1
- package/_cjs/Ref/api/dimap.cjs +12 -12
- package/_cjs/Ref/api/dimap.cjs.map +1 -1
- package/_cjs/Ref/api/filter.cjs +2 -2
- package/_cjs/Ref/api/filter.cjs.map +1 -1
- package/_cjs/Ref/api/get.cjs +1 -1
- package/_cjs/Ref/api/get.cjs.map +1 -1
- package/_cjs/Ref/api/modify.cjs +29 -30
- package/_cjs/Ref/api/modify.cjs.map +1 -1
- package/_cjs/Ref/api/set.cjs +1 -1
- package/_cjs/Ref/api/set.cjs.map +1 -1
- package/_cjs/Ref/constructors.cjs +3 -4
- package/_cjs/Ref/constructors.cjs.map +1 -1
- package/_cjs/STM/api/core-api.cjs +8 -8
- package/_cjs/STM/api/core-api.cjs.map +1 -1
- package/_cjs/STM/api/core-constructors.cjs +6 -6
- package/_cjs/STM/api/core-constructors.cjs.map +1 -1
- package/_cjs/STM/api.cjs +110 -110
- package/_cjs/STM/api.cjs.map +1 -1
- package/_cjs/STM/driver.cjs +3 -1
- package/_cjs/STM/driver.cjs.map +1 -1
- package/_cjs/Schedule/api/driver.cjs +5 -9
- package/_cjs/Schedule/api/driver.cjs.map +1 -1
- package/_cjs/Schedule/api.cjs +156 -156
- package/_cjs/Schedule/api.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +3 -5
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api.cjs +14 -15
- package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/constructors.cjs +1 -1
- package/_cjs/Scope/ReleaseMap/constructors.cjs.map +1 -1
- package/_cjs/Scope/api.cjs +20 -20
- package/_cjs/Scope/api.cjs.map +1 -1
- package/_cjs/ScopedRef/api.cjs +5 -5
- package/_cjs/ScopedRef/api.cjs.map +1 -1
- package/_cjs/Sink/api.cjs +92 -88
- package/_cjs/Sink/api.cjs.map +1 -1
- package/_cjs/State/api.cjs +5 -7
- package/_cjs/State/api.cjs.map +1 -1
- package/_cjs/Stream/api/zipAllWith.cjs +22 -24
- package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWith.cjs +2 -2
- package/_cjs/Stream/api/zipWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWithChunks.cjs +20 -22
- package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
- package/_cjs/Stream/api.cjs +436 -419
- package/_cjs/Stream/api.cjs.map +1 -1
- package/_cjs/Stream/internal/Handoff.cjs +12 -12
- package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
- package/_cjs/Stream/internal/Pull.cjs +1 -1
- package/_cjs/Stream/internal/Pull.cjs.map +1 -1
- package/_cjs/Stream/internal/Take.cjs +1 -1
- package/_cjs/Stream/internal/Take.cjs.map +1 -1
- package/_cjs/Supervisor/api.cjs +3 -1
- package/_cjs/Supervisor/api.cjs.map +1 -1
- package/_cjs/TFuture/api.cjs +10 -10
- package/_cjs/TFuture/api.cjs.map +1 -1
- package/_cjs/TFuture/constructors.cjs +4 -4
- package/_cjs/TFuture/constructors.cjs.map +1 -1
- package/_cjs/TReentrantLock/api.cjs +41 -42
- package/_cjs/TReentrantLock/api.cjs.map +1 -1
- package/_cjs/TRef/api.cjs +40 -40
- package/_cjs/TRef/api.cjs.map +1 -1
- package/_cjs/TRef/constructors.cjs +6 -6
- package/_cjs/TRef/constructors.cjs.map +1 -1
- package/_cjs/TSemaphore/api.cjs +16 -17
- package/_cjs/TSemaphore/api.cjs.map +1 -1
- package/_cjs/TSemaphore/constructors.cjs +2 -2
- package/_cjs/TSemaphore/constructors.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +1 -1
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +1 -1
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/filterIO.cjs +5 -7
- package/_cjs/collection/immutable/Conc/filterIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/findIO.cjs +7 -9
- package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/mapIO.cjs +3 -5
- package/_cjs/collection/immutable/Conc/mapIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +7 -9
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc.cjs +26 -0
- package/_cjs/collection/immutable/Conc.cjs.map +1 -1
- package/_cjs/data/Exit/foreachIO.cjs +2 -4
- package/_cjs/data/Exit/foreachIO.cjs.map +1 -1
- package/_cjs/global.cjs +6 -0
- package/_cjs/global.cjs.map +1 -0
- package/_cjs/index.cjs +6 -0
- package/_cjs/index.cjs.map +1 -0
- package/_mjs/Cached/api.mjs +5 -5
- package/_mjs/Cached/api.mjs.map +1 -1
- package/_mjs/Channel/api/interruptWhen.mjs +1 -1
- package/_mjs/Channel/api/interruptWhen.mjs.map +1 -1
- package/_mjs/Channel/api/mapOutIOC.mjs +2 -2
- package/_mjs/Channel/api/mapOutIOC.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllWith.mjs +11 -11
- package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeWith.mjs +6 -5
- package/_mjs/Channel/api/mergeWith.mjs.map +1 -1
- package/_mjs/Channel/api/run.mjs +2 -1
- package/_mjs/Channel/api/run.mjs.map +1 -1
- package/_mjs/Channel/api.mjs +7 -7
- package/_mjs/Channel/api.mjs.map +1 -1
- package/_mjs/Channel/core-api.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelExecutor.mjs +6 -6
- package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelState.mjs +2 -1
- package/_mjs/Channel/internal/ChannelState.mjs.map +1 -1
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +16 -16
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -1
- package/_mjs/Console/api.mjs +4 -3
- package/_mjs/Console/api.mjs.map +1 -1
- package/_mjs/Fiber/FiberContext.mjs +4 -3
- package/_mjs/Fiber/FiberContext.mjs.map +1 -1
- package/_mjs/Fiber/api/await.mjs +1 -1
- package/_mjs/Fiber/api/await.mjs.map +1 -1
- package/_mjs/Fiber/api/awaitAll.mjs +2 -3
- package/_mjs/Fiber/api/awaitAll.mjs.map +1 -1
- package/_mjs/Fiber/api/children.mjs +1 -1
- package/_mjs/Fiber/api/children.mjs.map +1 -1
- package/_mjs/Fiber/api/collectAll.mjs +2 -3
- package/_mjs/Fiber/api/collectAll.mjs.map +1 -1
- package/_mjs/Fiber/api/evalOn.mjs +1 -1
- package/_mjs/Fiber/api/evalOn.mjs.map +1 -1
- package/_mjs/Fiber/api/evalOnIO.mjs +2 -3
- package/_mjs/Fiber/api/evalOnIO.mjs.map +1 -1
- package/_mjs/Fiber/api/fromIO.mjs +2 -3
- package/_mjs/Fiber/api/fromIO.mjs.map +1 -1
- package/_mjs/Fiber/api/id.mjs +1 -1
- package/_mjs/Fiber/api/id.mjs.map +1 -1
- package/_mjs/Fiber/api/inheritRefs.mjs +1 -1
- package/_mjs/Fiber/api/inheritRefs.mjs.map +1 -1
- package/_mjs/Fiber/api/interrupt.mjs +2 -3
- package/_mjs/Fiber/api/interrupt.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAll.mjs +4 -5
- package/_mjs/Fiber/api/interruptAll.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAs.mjs +1 -1
- package/_mjs/Fiber/api/interruptAs.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptFork.mjs +1 -1
- package/_mjs/Fiber/api/interruptFork.mjs.map +1 -1
- package/_mjs/Fiber/api/join.mjs +2 -3
- package/_mjs/Fiber/api/join.mjs.map +1 -1
- package/_mjs/Fiber/api/joinAll.mjs +2 -3
- package/_mjs/Fiber/api/joinAll.mjs.map +1 -1
- package/_mjs/Fiber/api/mapFiber.mjs +2 -3
- package/_mjs/Fiber/api/mapFiber.mjs.map +1 -1
- package/_mjs/Fiber/api/mapIO.mjs +4 -5
- package/_mjs/Fiber/api/mapIO.mjs.map +1 -1
- package/_mjs/Fiber/api/poll.mjs +1 -1
- package/_mjs/Fiber/api/poll.mjs.map +1 -1
- package/_mjs/Fiber/api/zipWith.mjs +2 -3
- package/_mjs/Fiber/api/zipWith.mjs.map +1 -1
- package/_mjs/Fiber/constructors.mjs +10 -11
- package/_mjs/Fiber/constructors.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScoped.mjs +2 -3
- package/_mjs/FiberRef/api/locallyScoped.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScopedWith.mjs +2 -3
- package/_mjs/FiberRef/api/locallyScopedWith.mjs.map +1 -1
- package/_mjs/FiberRef/api.mjs +13 -14
- package/_mjs/FiberRef/api.mjs.map +1 -1
- package/_mjs/FiberRef/constructors.mjs +4 -5
- package/_mjs/FiberRef/constructors.mjs.map +1 -1
- package/_mjs/Future/api.mjs +30 -31
- package/_mjs/Future/api.mjs.map +1 -1
- package/_mjs/Future/constructors.mjs +4 -5
- package/_mjs/Future/constructors.mjs.map +1 -1
- package/_mjs/Hub/api.mjs +44 -44
- package/_mjs/Hub/api.mjs.map +1 -1
- package/_mjs/Hub/internal.mjs +14 -14
- package/_mjs/Hub/internal.mjs.map +1 -1
- package/_mjs/IO/api/acquireRelease.mjs +2 -3
- package/_mjs/IO/api/acquireRelease.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseExit.mjs +1 -1
- package/_mjs/IO/api/acquireReleaseExit.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs.map +1 -1
- package/_mjs/IO/api/addFinalizer.mjs +1 -1
- package/_mjs/IO/api/addFinalizer.mjs.map +1 -1
- package/_mjs/IO/api/addFinalizerExit.mjs +2 -3
- package/_mjs/IO/api/addFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/asyncIO.mjs +5 -6
- package/_mjs/IO/api/asyncIO.mjs.map +1 -1
- package/_mjs/IO/api/bracket.mjs +2 -2
- package/_mjs/IO/api/bracket.mjs.map +1 -1
- package/_mjs/IO/api/bracketExit.mjs +2 -3
- package/_mjs/IO/api/bracketExit.mjs.map +1 -1
- package/_mjs/IO/api/concurrency.mjs +7 -7
- package/_mjs/IO/api/concurrency.mjs.map +1 -1
- package/_mjs/IO/api/concurrentFinalizers.mjs +2 -3
- package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -1
- package/_mjs/IO/api/consoleWith.mjs +3 -3
- package/_mjs/IO/api/consoleWith.mjs.map +1 -1
- package/_mjs/IO/api/core-scope.mjs +4 -4
- package/_mjs/IO/api/core-scope.mjs.map +1 -1
- package/_mjs/IO/api/ensuringChildren.mjs +2 -3
- package/_mjs/IO/api/ensuringChildren.mjs.map +1 -1
- package/_mjs/IO/api/environment.mjs +5 -6
- package/_mjs/IO/api/environment.mjs.map +1 -1
- package/_mjs/IO/api/foreachC.mjs +25 -26
- package/_mjs/IO/api/foreachC.mjs.map +1 -1
- package/_mjs/IO/api/foreachExec.mjs +2 -3
- package/_mjs/IO/api/foreachExec.mjs.map +1 -1
- package/_mjs/IO/api/forkIn.mjs +1 -1
- package/_mjs/IO/api/forkIn.mjs.map +1 -1
- package/_mjs/IO/api/forkScoped.mjs +1 -1
- package/_mjs/IO/api/forkScoped.mjs.map +1 -1
- package/_mjs/IO/api/fulfill.mjs +2 -3
- package/_mjs/IO/api/fulfill.mjs.map +1 -1
- package/_mjs/IO/api/interrupt.mjs +12 -12
- package/_mjs/IO/api/interrupt.mjs.map +1 -1
- package/_mjs/IO/api/memoize.mjs +1 -1
- package/_mjs/IO/api/memoize.mjs.map +1 -1
- package/_mjs/IO/api/onExit.mjs +2 -2
- package/_mjs/IO/api/onExit.mjs.map +1 -1
- package/_mjs/IO/api/onTermination.mjs +2 -2
- package/_mjs/IO/api/onTermination.mjs.map +1 -1
- package/_mjs/IO/api/once.mjs +1 -1
- package/_mjs/IO/api/once.mjs.map +1 -1
- package/_mjs/IO/api/provideLayer.mjs +2 -3
- package/_mjs/IO/api/provideLayer.mjs.map +1 -1
- package/_mjs/IO/api/provideSomeLayer.mjs +1 -1
- package/_mjs/IO/api/provideSomeLayer.mjs.map +1 -1
- package/_mjs/IO/api/race.mjs +4 -5
- package/_mjs/IO/api/race.mjs.map +1 -1
- package/_mjs/IO/api/raceFirst.mjs +2 -3
- package/_mjs/IO/api/raceFirst.mjs.map +1 -1
- package/_mjs/IO/api/randomWith.mjs +3 -3
- package/_mjs/IO/api/randomWith.mjs.map +1 -1
- package/_mjs/IO/api/repeat.mjs +10 -11
- package/_mjs/IO/api/repeat.mjs.map +1 -1
- package/_mjs/IO/api/retry.mjs +8 -9
- package/_mjs/IO/api/retry.mjs.map +1 -1
- package/_mjs/IO/api/schedule.mjs +6 -7
- package/_mjs/IO/api/schedule.mjs.map +1 -1
- package/_mjs/IO/api/scopeWith.mjs +2 -3
- package/_mjs/IO/api/scopeWith.mjs.map +1 -1
- package/_mjs/IO/api/scoped.mjs +4 -5
- package/_mjs/IO/api/scoped.mjs.map +1 -1
- package/_mjs/IO/api/stateful.mjs +1 -1
- package/_mjs/IO/api/stateful.mjs.map +1 -1
- package/_mjs/IO/api/timeout.mjs +3 -4
- package/_mjs/IO/api/timeout.mjs.map +1 -1
- package/_mjs/IO/api/withEarlyRelease.mjs +2 -3
- package/_mjs/IO/api/withEarlyRelease.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizer.mjs +2 -2
- package/_mjs/IO/api/withFinalizer.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizerExit.mjs +2 -3
- package/_mjs/IO/api/withFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/withRuntimeConfig.mjs +2 -3
- package/_mjs/IO/api/withRuntimeConfig.mjs.map +1 -1
- package/_mjs/IO/api/zipC.mjs +5 -6
- package/_mjs/IO/api/zipC.mjs.map +1 -1
- package/_mjs/IO/api.mjs +112 -112
- package/_mjs/IO/api.mjs.map +1 -1
- package/_mjs/IOEnv/live.mjs +2 -1
- package/_mjs/IOEnv/live.mjs.map +1 -1
- package/_mjs/Layer/MemoMap.mjs +37 -38
- package/_mjs/Layer/MemoMap.mjs.map +1 -1
- package/_mjs/Layer/api.mjs +81 -82
- package/_mjs/Layer/api.mjs.map +1 -1
- package/_mjs/Layer/definition.mjs +14 -7
- package/_mjs/Layer/definition.mjs.map +1 -1
- package/_mjs/Queue/api/dimapIO.mjs +14 -14
- package/_mjs/Queue/api/dimapIO.mjs.map +1 -1
- package/_mjs/Queue/api/filterInputIO.mjs +6 -6
- package/_mjs/Queue/api/filterInputIO.mjs.map +1 -1
- package/_mjs/Queue/api/filterOutputIO.mjs +6 -6
- package/_mjs/Queue/api/filterOutputIO.mjs.map +1 -1
- package/_mjs/Queue/api/operations.mjs +13 -13
- package/_mjs/Queue/api/operations.mjs.map +1 -1
- package/_mjs/Queue/api/poll.mjs +2 -3
- package/_mjs/Queue/api/poll.mjs.map +1 -1
- package/_mjs/Queue/api/takeBetween.mjs +10 -11
- package/_mjs/Queue/api/takeBetween.mjs.map +1 -1
- package/_mjs/Queue/api/zipWithIO.mjs +12 -12
- package/_mjs/Queue/api/zipWithIO.mjs.map +1 -1
- package/_mjs/Queue/constructors.mjs +8 -9
- package/_mjs/Queue/constructors.mjs.map +1 -1
- package/_mjs/Queue/internal.mjs +15 -15
- package/_mjs/Queue/internal.mjs.map +1 -1
- package/_mjs/Queue/strategy.mjs +16 -16
- package/_mjs/Queue/strategy.mjs.map +1 -1
- package/_mjs/Random/api.mjs +14 -13
- package/_mjs/Random/api.mjs.map +1 -1
- package/_mjs/Random/live.mjs +4 -4
- package/_mjs/Random/live.mjs.map +1 -1
- package/_mjs/Ref/Atomic/api.mjs +19 -20
- package/_mjs/Ref/Atomic/api.mjs.map +1 -1
- package/_mjs/Ref/DerivedAll.mjs +1 -1
- package/_mjs/Ref/DerivedAll.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/api.mjs +25 -26
- package/_mjs/Ref/Synchronized/api.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/constructors.mjs +2 -3
- package/_mjs/Ref/Synchronized/constructors.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/definition.mjs +1 -1
- package/_mjs/Ref/Synchronized/definition.mjs.map +1 -1
- package/_mjs/Ref/api/collect.mjs +1 -1
- package/_mjs/Ref/api/collect.mjs.map +1 -1
- package/_mjs/Ref/api/dimap.mjs +12 -12
- package/_mjs/Ref/api/dimap.mjs.map +1 -1
- package/_mjs/Ref/api/filter.mjs +2 -2
- package/_mjs/Ref/api/filter.mjs.map +1 -1
- package/_mjs/Ref/api/get.mjs +1 -1
- package/_mjs/Ref/api/get.mjs.map +1 -1
- package/_mjs/Ref/api/modify.mjs +29 -30
- package/_mjs/Ref/api/modify.mjs.map +1 -1
- package/_mjs/Ref/api/set.mjs +1 -1
- package/_mjs/Ref/api/set.mjs.map +1 -1
- package/_mjs/Ref/constructors.mjs +3 -4
- package/_mjs/Ref/constructors.mjs.map +1 -1
- package/_mjs/STM/api/core-api.mjs +8 -8
- package/_mjs/STM/api/core-api.mjs.map +1 -1
- package/_mjs/STM/api/core-constructors.mjs +6 -6
- package/_mjs/STM/api/core-constructors.mjs.map +1 -1
- package/_mjs/STM/api.mjs +110 -110
- package/_mjs/STM/api.mjs.map +1 -1
- package/_mjs/STM/driver.mjs +3 -1
- package/_mjs/STM/driver.mjs.map +1 -1
- package/_mjs/Schedule/api/driver.mjs +6 -9
- package/_mjs/Schedule/api/driver.mjs.map +1 -1
- package/_mjs/Schedule/api.mjs +156 -156
- package/_mjs/Schedule/api.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs +3 -4
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api.mjs +14 -15
- package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/constructors.mjs +1 -1
- package/_mjs/Scope/ReleaseMap/constructors.mjs.map +1 -1
- package/_mjs/Scope/api.mjs +20 -20
- package/_mjs/Scope/api.mjs.map +1 -1
- package/_mjs/ScopedRef/api.mjs +5 -5
- package/_mjs/ScopedRef/api.mjs.map +1 -1
- package/_mjs/Sink/api.mjs +92 -88
- package/_mjs/Sink/api.mjs.map +1 -1
- package/_mjs/State/api.mjs +5 -6
- package/_mjs/State/api.mjs.map +1 -1
- package/_mjs/Stream/api/zipAllWith.mjs +22 -23
- package/_mjs/Stream/api/zipAllWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWith.mjs +2 -2
- package/_mjs/Stream/api/zipWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWithChunks.mjs +20 -21
- package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -1
- package/_mjs/Stream/api.mjs +430 -417
- package/_mjs/Stream/api.mjs.map +1 -1
- package/_mjs/Stream/internal/Handoff.mjs +12 -12
- package/_mjs/Stream/internal/Handoff.mjs.map +1 -1
- package/_mjs/Stream/internal/Pull.mjs +1 -1
- package/_mjs/Stream/internal/Pull.mjs.map +1 -1
- package/_mjs/Stream/internal/Take.mjs +1 -1
- package/_mjs/Stream/internal/Take.mjs.map +1 -1
- package/_mjs/Supervisor/api.mjs +2 -1
- package/_mjs/Supervisor/api.mjs.map +1 -1
- package/_mjs/TFuture/api.mjs +10 -10
- package/_mjs/TFuture/api.mjs.map +1 -1
- package/_mjs/TFuture/constructors.mjs +4 -4
- package/_mjs/TFuture/constructors.mjs.map +1 -1
- package/_mjs/TReentrantLock/api.mjs +41 -42
- package/_mjs/TReentrantLock/api.mjs.map +1 -1
- package/_mjs/TRef/api.mjs +40 -40
- package/_mjs/TRef/api.mjs.map +1 -1
- package/_mjs/TRef/constructors.mjs +6 -6
- package/_mjs/TRef/constructors.mjs.map +1 -1
- package/_mjs/TSemaphore/api.mjs +16 -17
- package/_mjs/TSemaphore/api.mjs.map +1 -1
- package/_mjs/TSemaphore/constructors.mjs +2 -2
- package/_mjs/TSemaphore/constructors.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs +1 -1
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs +1 -1
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/filterIO.mjs +5 -6
- package/_mjs/collection/immutable/Conc/filterIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/findIO.mjs +7 -8
- package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/mapIO.mjs +3 -4
- package/_mjs/collection/immutable/Conc/mapIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs +7 -8
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc.mjs +2 -0
- package/_mjs/collection/immutable/Conc.mjs.map +1 -1
- package/_mjs/data/Exit/foreachIO.mjs +2 -3
- package/_mjs/data/Exit/foreachIO.mjs.map +1 -1
- package/_mjs/global.mjs +2 -0
- package/_mjs/global.mjs.map +1 -0
- package/_mjs/index.mjs +2 -0
- package/_mjs/index.mjs.map +1 -0
- package/_src/Cached/api.ts +1 -0
- package/_src/Channel/api.ts +4 -4
- package/_src/Channel/core-api.ts +1 -3
- package/_src/Channel/definition.ts +7 -7
- package/_src/Console/api.ts +1 -1
- package/_src/Fiber/api/await.ts +1 -1
- package/_src/Fiber/api/awaitAll.ts +1 -1
- package/_src/Fiber/api/children.ts +1 -1
- package/_src/Fiber/api/collectAll.ts +4 -1
- package/_src/Fiber/api/evalOn.ts +6 -1
- package/_src/Fiber/api/evalOnIO.ts +1 -0
- package/_src/Fiber/api/fromIO.ts +1 -1
- package/_src/Fiber/api/id.ts +1 -1
- package/_src/Fiber/api/inheritRefs.ts +1 -1
- package/_src/Fiber/api/interrupt.ts +1 -1
- package/_src/Fiber/api/interruptAll.ts +2 -2
- package/_src/Fiber/api/interruptAs.ts +1 -1
- package/_src/Fiber/api/join.ts +1 -1
- package/_src/Fiber/api/joinAll.ts +1 -1
- package/_src/Fiber/api/mapFiber.ts +5 -1
- package/_src/Fiber/api/mapIO.ts +6 -2
- package/_src/Fiber/api/poll.ts +1 -1
- package/_src/Fiber/api/zipWith.ts +1 -0
- package/_src/Fiber/constructors.ts +5 -5
- package/_src/FiberRef/api/locallyScoped.ts +1 -1
- package/_src/FiberRef/api/locallyScopedWith.ts +5 -1
- package/_src/FiberRef/api.ts +7 -7
- package/_src/FiberRef/constructors.ts +2 -0
- package/_src/Future/api.ts +23 -15
- package/_src/Future/constructors.ts +2 -2
- package/_src/Hub/api.ts +39 -12
- package/_src/IO/api/acquireRelease.ts +1 -0
- package/_src/IO/api/addFinalizer.ts +1 -4
- package/_src/IO/api/addFinalizerExit.ts +4 -1
- package/_src/IO/api/asyncIO.ts +4 -1
- package/_src/IO/api/bracket.ts +1 -0
- package/_src/IO/api/bracketExit.ts +1 -0
- package/_src/IO/api/concurrency.ts +6 -3
- package/_src/IO/api/concurrentFinalizers.ts +1 -1
- package/_src/IO/api/consoleWith.ts +1 -1
- package/_src/IO/api/ensuringChildren.ts +1 -0
- package/_src/IO/api/environment.ts +1 -1
- package/_src/IO/api/foreachC.ts +33 -6
- package/_src/IO/api/foreachExec.ts +1 -0
- package/_src/IO/api/fulfill.ts +1 -1
- package/_src/IO/api/interrupt.ts +10 -2
- package/_src/IO/api/onExit.ts +1 -0
- package/_src/IO/api/onTermination.ts +1 -1
- package/_src/IO/api/provideLayer.ts +1 -0
- package/_src/IO/api/provideSomeLayer.ts +1 -2
- package/_src/IO/api/race.ts +6 -2
- package/_src/IO/api/raceFirst.ts +6 -2
- package/_src/IO/api/randomWith.ts +1 -1
- package/_src/IO/api/repeat.ts +3 -3
- package/_src/IO/api/retry.ts +3 -3
- package/_src/IO/api/schedule.ts +1 -0
- package/_src/IO/api/scopeWith.ts +1 -1
- package/_src/IO/api/scoped.ts +2 -2
- package/_src/IO/api/timeout.ts +5 -1
- package/_src/IO/api/withEarlyRelease.ts +4 -1
- package/_src/IO/api/withFinalizer.ts +1 -0
- package/_src/IO/api/withFinalizerExit.ts +1 -0
- package/_src/IO/api/withRuntimeConfig.ts +5 -1
- package/_src/IO/api/zipC.ts +6 -1
- package/_src/IO/api.ts +82 -32
- package/_src/IO/definition.ts +3 -3
- package/_src/Layer/MemoMap.ts +25 -18
- package/_src/Layer/api.ts +60 -27
- package/_src/Layer/definition.ts +7 -4
- package/_src/Queue/api/dimapIO.ts +11 -1
- package/_src/Queue/api/filterInputIO.ts +2 -0
- package/_src/Queue/api/filterOutputIO.ts +2 -0
- package/_src/Queue/api/operations.ts +28 -10
- package/_src/Queue/api/poll.ts +4 -1
- package/_src/Queue/api/takeBetween.ts +6 -1
- package/_src/Queue/api/zipWithIO.ts +3 -0
- package/_src/Queue/constructors.ts +4 -4
- package/_src/Queue/definition.ts +3 -3
- package/_src/Queue/internal.ts +3 -3
- package/_src/Queue/strategy.ts +14 -6
- package/_src/Random/api.ts +5 -5
- package/_src/Random/definition.ts +5 -5
- package/_src/Random/live.ts +4 -4
- package/_src/Ref/Atomic/api.ts +10 -10
- package/_src/Ref/Synchronized/api.ts +18 -3
- package/_src/Ref/Synchronized/constructors.ts +1 -1
- package/_src/Ref/api/collect.ts +1 -0
- package/_src/Ref/api/dimap.ts +7 -0
- package/_src/Ref/api/filter.ts +2 -0
- package/_src/Ref/api/get.ts +4 -1
- package/_src/Ref/api/modify.ts +13 -1
- package/_src/Ref/api/set.ts +5 -1
- package/_src/Ref/constructors.ts +2 -2
- package/_src/Ref/definition.ts +1 -1
- package/_src/STM/api/core-api.ts +17 -4
- package/_src/STM/api/core-constructors.ts +5 -5
- package/_src/STM/api.ts +106 -41
- package/_src/Schedule/api.ts +98 -18
- package/_src/Scope/ReleaseMap/api/releaseAll.ts +6 -1
- package/_src/Scope/ReleaseMap/api.ts +15 -5
- package/_src/Scope/api.ts +15 -7
- package/_src/Sink/api.ts +39 -10
- package/_src/State/api.ts +1 -1
- package/_src/Stream/api/zipAllWith.ts +3 -0
- package/_src/Stream/api/zipWith.ts +1 -0
- package/_src/Stream/api/zipWithChunks.ts +3 -0
- package/_src/Stream/api.ts +363 -96
- package/_src/TFuture/api.ts +5 -5
- package/_src/TFuture/constructors.ts +2 -2
- package/_src/TReentrantLock/api.ts +16 -16
- package/_src/TRef/api.ts +35 -13
- package/_src/TRef/constructors.ts +4 -4
- package/_src/TSemaphore/api.ts +7 -7
- package/_src/TSemaphore/constructors.ts +1 -1
- package/_src/collection/immutable/Conc/filterIO.ts +5 -1
- package/_src/collection/immutable/Conc/findIO.ts +6 -1
- package/_src/collection/immutable/Conc/mapIO.ts +1 -1
- package/_src/collection/immutable/Conc/takeWhileIO.ts +5 -1
- package/_src/collection/immutable/Conc.ts +2 -0
- package/_src/data/Exit/foreachIO.ts +1 -0
- package/_src/global.ts +149 -0
- package/_src/index.ts +42 -0
- package/collection/immutable/Conc/filterIO.d.ts +1 -1
- package/collection/immutable/Conc/findIO.d.ts +2 -2
- package/collection/immutable/Conc/mapIO.d.ts +1 -1
- package/collection/immutable/Conc/takeWhileIO.d.ts +1 -1
- package/collection/immutable/Conc.d.ts +2 -0
- package/data/Exit/foreachIO.d.ts +2 -2
- package/global.d.ts +149 -0
- package/index.d.ts +40 -0
- package/package.json +2 -2
package/_cjs/Future/api.cjs
CHANGED
|
@@ -34,7 +34,6 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
34
34
|
|
|
35
35
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
36
36
|
|
|
37
|
-
const fileName_1 = "(@fncts/io) src/Future/api.ts";
|
|
38
37
|
const done_ = done_1;
|
|
39
38
|
exports.done_ = done_;
|
|
40
39
|
const fulfillWith_ = fulfillWith_1;
|
|
@@ -48,8 +47,8 @@ exports.unsafeDone_ = unsafeDone_;
|
|
|
48
47
|
*
|
|
49
48
|
* @tsplus fluent fncts.io.Future done
|
|
50
49
|
*/
|
|
51
|
-
function done_1(future, exit) {
|
|
52
|
-
return fulfillWith_1(future, tsplus_module_1.fromExitNow(exit,
|
|
50
|
+
function done_1(future, exit, __tsplusTrace) {
|
|
51
|
+
return fulfillWith_1(future, tsplus_module_1.fromExitNow(exit, __tsplusTrace), __tsplusTrace);
|
|
53
52
|
}
|
|
54
53
|
/**
|
|
55
54
|
* Fails the future with the specified error, which will be propagated to all
|
|
@@ -59,8 +58,8 @@ function done_1(future, exit) {
|
|
|
59
58
|
*/
|
|
60
59
|
|
|
61
60
|
|
|
62
|
-
function fail_(future, e) {
|
|
63
|
-
return fulfillWith_1(future, tsplus_module_1.failNow(e,
|
|
61
|
+
function fail_(future, e, __tsplusTrace) {
|
|
62
|
+
return fulfillWith_1(future, tsplus_module_1.failNow(e, __tsplusTrace), __tsplusTrace);
|
|
64
63
|
}
|
|
65
64
|
/**
|
|
66
65
|
* Halts the future with the specified cause, which will be propagated to all
|
|
@@ -70,8 +69,8 @@ function fail_(future, e) {
|
|
|
70
69
|
*/
|
|
71
70
|
|
|
72
71
|
|
|
73
|
-
function failCause_(future, cause) {
|
|
74
|
-
return fulfillWith_1(future, tsplus_module_1.failCauseNow(cause,
|
|
72
|
+
function failCause_(future, cause, __tsplusTrace) {
|
|
73
|
+
return fulfillWith_1(future, tsplus_module_1.failCauseNow(cause, __tsplusTrace), __tsplusTrace);
|
|
75
74
|
}
|
|
76
75
|
/**
|
|
77
76
|
* Completes the future with the result of the specified effect. If the
|
|
@@ -84,10 +83,10 @@ function failCause_(future, cause) {
|
|
|
84
83
|
*/
|
|
85
84
|
|
|
86
85
|
|
|
87
|
-
function fulfill_(future, io) {
|
|
86
|
+
function fulfill_(future, io, __tsplusTrace) {
|
|
88
87
|
return tsplus_module_2.uninterruptibleMask(({
|
|
89
88
|
restore
|
|
90
|
-
}) => tsplus_module_1.flatMap_(tsplus_module_1.result(restore(io),
|
|
89
|
+
}) => tsplus_module_1.flatMap_(tsplus_module_1.result(restore(io), __tsplusTrace), exit => done_1(future, exit, __tsplusTrace), __tsplusTrace), __tsplusTrace);
|
|
91
90
|
}
|
|
92
91
|
/**
|
|
93
92
|
* Completes the future with the specified effect. If the future has
|
|
@@ -106,7 +105,7 @@ function fulfill_(future, io) {
|
|
|
106
105
|
*/
|
|
107
106
|
|
|
108
107
|
|
|
109
|
-
function fulfillWith_1(future, io) {
|
|
108
|
+
function fulfillWith_1(future, io, __tsplusTrace) {
|
|
110
109
|
return tsplus_module_1.succeed(() => {
|
|
111
110
|
switch (future.state._tag) {
|
|
112
111
|
case "Done"
|
|
@@ -128,7 +127,7 @@ function fulfillWith_1(future, io) {
|
|
|
128
127
|
return true;
|
|
129
128
|
}
|
|
130
129
|
}
|
|
131
|
-
},
|
|
130
|
+
}, __tsplusTrace);
|
|
132
131
|
}
|
|
133
132
|
/**
|
|
134
133
|
* Kills the future with the specified error, which will be propagated to all
|
|
@@ -138,8 +137,8 @@ function fulfillWith_1(future, io) {
|
|
|
138
137
|
*/
|
|
139
138
|
|
|
140
139
|
|
|
141
|
-
function halt_(future, defect) {
|
|
142
|
-
return fulfillWith_1(future, tsplus_module_1.haltNow(defect,
|
|
140
|
+
function halt_(future, defect, __tsplusTrace) {
|
|
141
|
+
return fulfillWith_1(future, tsplus_module_1.haltNow(defect, __tsplusTrace), __tsplusTrace);
|
|
143
142
|
}
|
|
144
143
|
/**
|
|
145
144
|
* Completes the future with interruption. This will interrupt all fibers
|
|
@@ -149,8 +148,8 @@ function halt_(future, defect) {
|
|
|
149
148
|
*/
|
|
150
149
|
|
|
151
150
|
|
|
152
|
-
function interrupt(future) {
|
|
153
|
-
return tsplus_module_1.flatMap_(tsplus_module_1.fiberId, id => fulfillWith_1(future, tsplus_module_2.interruptAs(id,
|
|
151
|
+
function interrupt(future, __tsplusTrace) {
|
|
152
|
+
return tsplus_module_1.flatMap_(tsplus_module_1.fiberId, id => fulfillWith_1(future, tsplus_module_2.interruptAs(id, __tsplusTrace), __tsplusTrace), __tsplusTrace);
|
|
154
153
|
}
|
|
155
154
|
/**
|
|
156
155
|
* Completes the future with interruption. This will interrupt all fibers
|
|
@@ -160,8 +159,8 @@ function interrupt(future) {
|
|
|
160
159
|
*/
|
|
161
160
|
|
|
162
161
|
|
|
163
|
-
function interruptAs_(future, id) {
|
|
164
|
-
return fulfillWith_1(future, tsplus_module_2.interruptAs(id,
|
|
162
|
+
function interruptAs_(future, id, __tsplusTrace) {
|
|
163
|
+
return fulfillWith_1(future, tsplus_module_2.interruptAs(id, __tsplusTrace), __tsplusTrace);
|
|
165
164
|
}
|
|
166
165
|
/**
|
|
167
166
|
* Checks for completion of this Future. Produces true if this future has
|
|
@@ -171,10 +170,10 @@ function interruptAs_(future, id) {
|
|
|
171
170
|
*/
|
|
172
171
|
|
|
173
172
|
|
|
174
|
-
function isDone(future) {
|
|
173
|
+
function isDone(future, __tsplusTrace) {
|
|
175
174
|
return tsplus_module_1.succeed(() => future.state._tag === "Done"
|
|
176
175
|
/* FutureStateTag.Done */
|
|
177
|
-
,
|
|
176
|
+
, __tsplusTrace);
|
|
178
177
|
}
|
|
179
178
|
/**
|
|
180
179
|
* Checks for completion of this Future. Returns the result effect if this
|
|
@@ -184,7 +183,7 @@ function isDone(future) {
|
|
|
184
183
|
*/
|
|
185
184
|
|
|
186
185
|
|
|
187
|
-
function poll(future) {
|
|
186
|
+
function poll(future, __tsplusTrace) {
|
|
188
187
|
return tsplus_module_1.succeed(() => {
|
|
189
188
|
switch (future.state._tag) {
|
|
190
189
|
case "Done"
|
|
@@ -201,7 +200,7 @@ function poll(future) {
|
|
|
201
200
|
return tsplus_module_4.nothing();
|
|
202
201
|
}
|
|
203
202
|
}
|
|
204
|
-
},
|
|
203
|
+
}, __tsplusTrace);
|
|
205
204
|
}
|
|
206
205
|
/**
|
|
207
206
|
* Completes the future with the specified value.
|
|
@@ -210,8 +209,8 @@ function poll(future) {
|
|
|
210
209
|
*/
|
|
211
210
|
|
|
212
211
|
|
|
213
|
-
function succeed_(future, a) {
|
|
214
|
-
return fulfillWith_1(future, tsplus_module_1.succeedNow(a,
|
|
212
|
+
function succeed_(future, a, __tsplusTrace) {
|
|
213
|
+
return fulfillWith_1(future, tsplus_module_1.succeedNow(a, __tsplusTrace), __tsplusTrace);
|
|
215
214
|
}
|
|
216
215
|
/**
|
|
217
216
|
* Retrieves the value of the future, suspending the fiber running the action
|
|
@@ -221,7 +220,7 @@ function succeed_(future, a) {
|
|
|
221
220
|
*/
|
|
222
221
|
|
|
223
222
|
|
|
224
|
-
function unsafeDone_1(future, io) {
|
|
223
|
+
function unsafeDone_1(future, io, __tsplusTrace) {
|
|
225
224
|
if (future.state._tag === "Pending"
|
|
226
225
|
/* FutureStateTag.Pending */
|
|
227
226
|
) {
|
|
@@ -237,8 +236,8 @@ function unsafeDone_1(future, io) {
|
|
|
237
236
|
*/
|
|
238
237
|
|
|
239
238
|
|
|
240
|
-
function unsafeSucceed_(future, a) {
|
|
241
|
-
unsafeDone_1(future, tsplus_module_1.succeedNow(a,
|
|
239
|
+
function unsafeSucceed_(future, a, __tsplusTrace) {
|
|
240
|
+
unsafeDone_1(future, tsplus_module_1.succeedNow(a, __tsplusTrace), __tsplusTrace);
|
|
242
241
|
}
|
|
243
242
|
/**
|
|
244
243
|
* Retrieves the value of the future, suspending the fiber running the action
|
|
@@ -248,7 +247,7 @@ function unsafeSucceed_(future, a) {
|
|
|
248
247
|
*/
|
|
249
248
|
|
|
250
249
|
|
|
251
|
-
function wait(future) {
|
|
250
|
+
function wait(future, __tsplusTrace) {
|
|
252
251
|
return tsplus_module_1.asyncInterrupt(k => {
|
|
253
252
|
switch (future.state._tag) {
|
|
254
253
|
case "Done"
|
|
@@ -263,13 +262,13 @@ function wait(future) {
|
|
|
263
262
|
:
|
|
264
263
|
{
|
|
265
264
|
future.state = new _definition.Pending(tsplus_module_3.prepend_(future.state.joiners, k));
|
|
266
|
-
return tsplus_module_5.left(interruptJoiner(future, k));
|
|
265
|
+
return tsplus_module_5.left(interruptJoiner(future, k, __tsplusTrace));
|
|
267
266
|
}
|
|
268
267
|
}
|
|
269
|
-
}, future.blockingOn,
|
|
268
|
+
}, future.blockingOn, __tsplusTrace);
|
|
270
269
|
}
|
|
271
270
|
|
|
272
|
-
function interruptJoiner(future, joiner) {
|
|
271
|
+
function interruptJoiner(future, joiner, __tsplusTrace) {
|
|
273
272
|
return tsplus_module_1.succeed(() => {
|
|
274
273
|
switch (future.state._tag) {
|
|
275
274
|
case "Pending"
|
|
@@ -287,6 +286,6 @@ function interruptJoiner(future, joiner) {
|
|
|
287
286
|
break;
|
|
288
287
|
}
|
|
289
288
|
}
|
|
290
|
-
},
|
|
289
|
+
}, __tsplusTrace);
|
|
291
290
|
}
|
|
292
291
|
//# sourceMappingURL=api.cjs.map
|
package/_cjs/Future/api.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.cjs","mappings":";;;;;;;;;;;;;;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CAVM,EAUJF,MAAM,CAACsC,UAVH,EADwCpC,aACxC,CAAP;AAWD;;AAED,SAASmC,eAAT,CACErC,MADF,EAEEuC,MAFF,EAGErC,aAHF,EAGwB;EAEtB,OAAOE,wBAAW,MAAK;IACrB,QAAQJ,MAAM,CAACc,KAAP,CAAaC,IAArB;MACE;MAAA;MAAA;QAA6B;UAC3Bf,MAAM,CAACc,KAAP,GAAe,IAAIsB,mBAAJ,CAAYnB,8BAAM,CAACH,KAAP,CAAaI,OAAb,EAA6BsB,CAAD,IAAOA,CAAC,KAAKD,MAAzC,CAAZ,CAAf;UACA;QACD;;MACD;MAAA;MAAA;QAA0B;UACxB;QACD;IAPH;EASD,CAVM,EAFPrC,aAEO,CAAP;AAWD","names":["done_","fulfillWith_","unsafeDone_","future","exit","__tsplusTrace","fulfillWith_1","tsplus_module_1","fail_","e","failCause_","cause","fulfill_","io","tsplus_module_2","restore","done_1","state","_tag","Done","tsplus_module_3","joiners","f","halt_","defect","interrupt","id","interruptAs_","isDone","poll","tsplus_module_4","value","succeed_","a","unsafeSucceed_","unsafeDone_1","wait","k","tsplus_module_5","Pending","interruptJoiner","blockingOn","joiner","j"],"sourceRoot":"","sources":["../../_src/Future/api.ts"],"sourcesContent":[null]}
|
|
@@ -16,7 +16,6 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
16
16
|
|
|
17
17
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
18
18
|
|
|
19
|
-
const fileName_1 = "(@fncts/io) src/Future/constructors.ts";
|
|
20
19
|
const makeAs = makeAs_1;
|
|
21
20
|
exports.makeAs = makeAs;
|
|
22
21
|
const unsafeMake = unsafeMake_1;
|
|
@@ -27,8 +26,8 @@ exports.unsafeMake = unsafeMake;
|
|
|
27
26
|
*
|
|
28
27
|
* @tsplus static fncts.io.FutureOps make
|
|
29
28
|
*/
|
|
30
|
-
function make() {
|
|
31
|
-
return tsplus_module_1.flatMap_(tsplus_module_1.fiberId, id => makeAs_1(id),
|
|
29
|
+
function make(__tsplusTrace) {
|
|
30
|
+
return tsplus_module_1.flatMap_(tsplus_module_1.fiberId, id => makeAs_1(id, __tsplusTrace), __tsplusTrace);
|
|
32
31
|
}
|
|
33
32
|
/**
|
|
34
33
|
* Makes a new future to be completed by the fiber with the specified id.
|
|
@@ -37,8 +36,8 @@ function make() {
|
|
|
37
36
|
*/
|
|
38
37
|
|
|
39
38
|
|
|
40
|
-
function makeAs_1(fiberId) {
|
|
41
|
-
return tsplus_module_1.succeed(() => unsafeMake_1(fiberId),
|
|
39
|
+
function makeAs_1(fiberId, __tsplusTrace) {
|
|
40
|
+
return tsplus_module_1.succeed(() => unsafeMake_1(fiberId), __tsplusTrace);
|
|
42
41
|
}
|
|
43
42
|
/**
|
|
44
43
|
* Makes a new future to be completed by the fiber with the specified id.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constructors.cjs","mappings":";;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"constructors.cjs","mappings":";;;;;;;;;;;;AAAA;;;;;;MAgBgBA,MAAM;;MASNC,UAAU;;;AAvB1B;;;;;AAKM,SAAUC,IAAV,CAAqBC,aAArB,EAA2C;EAC/C,OAAOC,kDAAoBC,EAAD,IAAQC,SAAoBD,EAApB,EADTF,aACS,CAA3B,EADkBA,aAClB,CAAP;AACD;AAED;;;;;;;AAKA,kBAA6BI,OAA7B,EAA+CJ,aAA/C,EAAqE;EACnE,OAAOC,8BAAWI,aAAiBD,OAAjB,CAAX,EADsCJ,aACtC,CAAP;AACD;AAED;;;;;;;AAKA,sBAAiCI,OAAjC,EAAiD;EAC/C,OAAO,IAAIE,kBAAJ,CAAiB,IAAIC,mBAAJ,CAAYC,uBAAZ,CAAjB,EAA4CJ,OAA5C,CAAP;AACD","names":["makeAs","unsafeMake","make","__tsplusTrace","tsplus_module_1","id","makeAs_1","fiberId","unsafeMake_1","Future","Pending","tsplus_module_2"],"sourceRoot":"","sources":["../../_src/Future/constructors.ts"],"sourcesContent":[null]}
|
package/_cjs/Hub/api.cjs
CHANGED
|
@@ -75,7 +75,7 @@ exports.mapIO_ = mapIO_;
|
|
|
75
75
|
*
|
|
76
76
|
* @tsplus getter fncts.io.Hub awaitShutdown
|
|
77
77
|
*/
|
|
78
|
-
function awaitShutdown(self) {
|
|
78
|
+
function awaitShutdown(self, __tsplusTrace) {
|
|
79
79
|
void 0;
|
|
80
80
|
return self.awaitShutdown;
|
|
81
81
|
}
|
|
@@ -86,7 +86,7 @@ function awaitShutdown(self) {
|
|
|
86
86
|
*/
|
|
87
87
|
|
|
88
88
|
|
|
89
|
-
function capacity(self) {
|
|
89
|
+
function capacity(self, __tsplusTrace) {
|
|
90
90
|
void 0;
|
|
91
91
|
return self.capacity;
|
|
92
92
|
}
|
|
@@ -98,8 +98,8 @@ function capacity(self) {
|
|
|
98
98
|
*/
|
|
99
99
|
|
|
100
100
|
|
|
101
|
-
function contramapIO_(self, f) {
|
|
102
|
-
return dimapIO_1(self, f, tsplus_module_1.succeedNow);
|
|
101
|
+
function contramapIO_(self, f, __tsplusTrace) {
|
|
102
|
+
return dimapIO_1(self, f, tsplus_module_1.succeedNow, __tsplusTrace);
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class DimapIO extends _definition.PHubInternal {
|
|
@@ -113,11 +113,11 @@ class DimapIO extends _definition.PHubInternal {
|
|
|
113
113
|
this.isShutdown = this.source.isShutdown;
|
|
114
114
|
this.shutdown = this.source.shutdown;
|
|
115
115
|
this.size = this.source.size;
|
|
116
|
-
this.subscribe = tsplus_module_1.map_(this.source.subscribe, queue => tsplus_module_2.mapIO_(queue, this.g
|
|
116
|
+
this.subscribe = tsplus_module_1.map_(this.source.subscribe, queue => tsplus_module_2.mapIO_(queue, this.g, fileName_1 + ":71:67"), fileName_1 + ":71:44");
|
|
117
117
|
|
|
118
|
-
this.publish = c => tsplus_module_1.flatMap_(this.f(c), a => this.source.publish(a), fileName_1 + ":
|
|
118
|
+
this.publish = c => tsplus_module_1.flatMap_(this.f(c), a => this.source.publish(a), fileName_1 + ":72:46");
|
|
119
119
|
|
|
120
|
-
this.publishAll = cs => tsplus_module_1.flatMap_(tsplus_module_1.foreach_(cs, this.f, fileName_1 + ":
|
|
120
|
+
this.publishAll = cs => tsplus_module_1.flatMap_(tsplus_module_1.foreach_(cs, this.f, fileName_1 + ":73:50"), as => this.source.publishAll(as), fileName_1 + ":73:70");
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
}
|
|
@@ -129,8 +129,8 @@ class DimapIO extends _definition.PHubInternal {
|
|
|
129
129
|
*/
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
function dimap_(self, f, g) {
|
|
133
|
-
return dimapIO_1(self, c => tsplus_module_1.succeedNow(f(c),
|
|
132
|
+
function dimap_(self, f, g, __tsplusTrace) {
|
|
133
|
+
return dimapIO_1(self, c => tsplus_module_1.succeedNow(f(c), __tsplusTrace), b => tsplus_module_1.succeedNow(g(b), __tsplusTrace), __tsplusTrace);
|
|
134
134
|
}
|
|
135
135
|
/**
|
|
136
136
|
* Transforms messages published to and taken from the hub using the
|
|
@@ -140,7 +140,7 @@ function dimap_(self, f, g) {
|
|
|
140
140
|
*/
|
|
141
141
|
|
|
142
142
|
|
|
143
|
-
function dimapIO_1(source, f, g) {
|
|
143
|
+
function dimapIO_1(source, f, g, __tsplusTrace) {
|
|
144
144
|
void 0;
|
|
145
145
|
return new DimapIO(source, f, g);
|
|
146
146
|
}
|
|
@@ -157,9 +157,9 @@ class FilterInputIO extends _definition.PHubInternal {
|
|
|
157
157
|
this.size = this.source.size;
|
|
158
158
|
this.subscribe = this.source.subscribe;
|
|
159
159
|
|
|
160
|
-
this.publish = a => tsplus_module_1.flatMap_(this.f(a), b => b ? this.source.publish(a) : tsplus_module_1.succeedNow(false, fileName_1 + ":
|
|
160
|
+
this.publish = a => tsplus_module_1.flatMap_(this.f(a), b => b ? this.source.publish(a) : tsplus_module_1.succeedNow(false, fileName_1 + ":120:97"), fileName_1 + ":120:46");
|
|
161
161
|
|
|
162
|
-
this.publishAll = as => tsplus_module_1.flatMap_(tsplus_module_1.filter_(as, this.f, fileName_1 + ":
|
|
162
|
+
this.publishAll = as => tsplus_module_1.flatMap_(tsplus_module_1.filter_(as, this.f, fileName_1 + ":122:14"), as => tsplus_module_3.isNonEmpty(as) ? this.source.publishAll(as) : tsplus_module_1.succeedNow(false, fileName_1 + ":122:102"), fileName_1 + ":122:34");
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
}
|
|
@@ -171,7 +171,7 @@ class FilterInputIO extends _definition.PHubInternal {
|
|
|
171
171
|
*/
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
function filterInputIO_1(source, f) {
|
|
174
|
+
function filterInputIO_1(source, f, __tsplusTrace) {
|
|
175
175
|
void 0;
|
|
176
176
|
return new FilterInputIO(source, f);
|
|
177
177
|
}
|
|
@@ -182,8 +182,8 @@ function filterInputIO_1(source, f) {
|
|
|
182
182
|
*/
|
|
183
183
|
|
|
184
184
|
|
|
185
|
-
function filterInput_(self, f) {
|
|
186
|
-
return filterInputIO_1(self, a => tsplus_module_1.succeedNow(f(a),
|
|
185
|
+
function filterInput_(self, f, __tsplusTrace) {
|
|
186
|
+
return filterInputIO_1(self, a => tsplus_module_1.succeedNow(f(a), __tsplusTrace), __tsplusTrace);
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
class FilterOutputIO extends _definition.PHubInternal {
|
|
@@ -196,7 +196,7 @@ class FilterOutputIO extends _definition.PHubInternal {
|
|
|
196
196
|
this.isShutdown = this.source.isShutdown;
|
|
197
197
|
this.shutdown = this.source.shutdown;
|
|
198
198
|
this.size = this.source.size;
|
|
199
|
-
this.subscribe = tsplus_module_1.map_(this.source.subscribe, queue => tsplus_module_4.filterOutputIO_(queue, this.f), fileName_1 + ":
|
|
199
|
+
this.subscribe = tsplus_module_1.map_(this.source.subscribe, queue => tsplus_module_4.filterOutputIO_(queue, this.f, fileName_1 + ":162:76"), fileName_1 + ":162:44");
|
|
200
200
|
|
|
201
201
|
this.publish = a => this.source.publish(a);
|
|
202
202
|
|
|
@@ -212,7 +212,7 @@ class FilterOutputIO extends _definition.PHubInternal {
|
|
|
212
212
|
*/
|
|
213
213
|
|
|
214
214
|
|
|
215
|
-
function filterOutputIO_1(source, f) {
|
|
215
|
+
function filterOutputIO_1(source, f, __tsplusTrace) {
|
|
216
216
|
void 0;
|
|
217
217
|
return new FilterOutputIO(source, f);
|
|
218
218
|
}
|
|
@@ -223,8 +223,8 @@ function filterOutputIO_1(source, f) {
|
|
|
223
223
|
*/
|
|
224
224
|
|
|
225
225
|
|
|
226
|
-
function filterOutput_(self, f) {
|
|
227
|
-
return filterOutputIO_1(self, b => tsplus_module_1.succeedNow(f(b),
|
|
226
|
+
function filterOutput_(self, f, __tsplusTrace) {
|
|
227
|
+
return filterOutputIO_1(self, b => tsplus_module_1.succeedNow(f(b), __tsplusTrace), __tsplusTrace);
|
|
228
228
|
}
|
|
229
229
|
/**
|
|
230
230
|
* Checks whether the hub is shut down.
|
|
@@ -233,7 +233,7 @@ function filterOutput_(self, f) {
|
|
|
233
233
|
*/
|
|
234
234
|
|
|
235
235
|
|
|
236
|
-
function isShutdown(self) {
|
|
236
|
+
function isShutdown(self, __tsplusTrace) {
|
|
237
237
|
void 0;
|
|
238
238
|
return self.isShutdown;
|
|
239
239
|
}
|
|
@@ -248,8 +248,8 @@ function isShutdown(self) {
|
|
|
248
248
|
*/
|
|
249
249
|
|
|
250
250
|
|
|
251
|
-
function makeBounded(requestedCapacity) {
|
|
252
|
-
return tsplus_module_1.flatMap_(tsplus_module_1.succeed(() => tsplus_module_5.makeBounded(requestedCapacity),
|
|
251
|
+
function makeBounded(requestedCapacity, __tsplusTrace) {
|
|
252
|
+
return tsplus_module_1.flatMap_(tsplus_module_1.succeed(() => tsplus_module_5.makeBounded(requestedCapacity), __tsplusTrace), hub => (0, _internal.makeHubInternal)(hub, new _internal.BackPressure()), __tsplusTrace);
|
|
253
253
|
}
|
|
254
254
|
/**
|
|
255
255
|
* Creates a bounded hub with the dropping strategy. The hub will drop new
|
|
@@ -261,8 +261,8 @@ function makeBounded(requestedCapacity) {
|
|
|
261
261
|
*/
|
|
262
262
|
|
|
263
263
|
|
|
264
|
-
function makeDropping(requestedCapacity) {
|
|
265
|
-
return tsplus_module_1.flatMap_(tsplus_module_1.succeed(() => tsplus_module_5.makeBounded(requestedCapacity),
|
|
264
|
+
function makeDropping(requestedCapacity, __tsplusTrace) {
|
|
265
|
+
return tsplus_module_1.flatMap_(tsplus_module_1.succeed(() => tsplus_module_5.makeBounded(requestedCapacity), __tsplusTrace), hub => (0, _internal.makeHubInternal)(hub, new _internal.Dropping()), __tsplusTrace);
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
268
|
* Creates a bounded hub with the sliding strategy. The hub will add new
|
|
@@ -274,8 +274,8 @@ function makeDropping(requestedCapacity) {
|
|
|
274
274
|
*/
|
|
275
275
|
|
|
276
276
|
|
|
277
|
-
function makeSliding(requestedCapacity) {
|
|
278
|
-
return tsplus_module_1.flatMap_(tsplus_module_1.succeed(() => tsplus_module_5.makeBounded(requestedCapacity),
|
|
277
|
+
function makeSliding(requestedCapacity, __tsplusTrace) {
|
|
278
|
+
return tsplus_module_1.flatMap_(tsplus_module_1.succeed(() => tsplus_module_5.makeBounded(requestedCapacity), __tsplusTrace), hub => (0, _internal.makeHubInternal)(hub, new _internal.Sliding()), __tsplusTrace);
|
|
279
279
|
}
|
|
280
280
|
/**
|
|
281
281
|
* Creates an unbounded hub.
|
|
@@ -284,8 +284,8 @@ function makeSliding(requestedCapacity) {
|
|
|
284
284
|
*/
|
|
285
285
|
|
|
286
286
|
|
|
287
|
-
function makeUnbounded() {
|
|
288
|
-
return tsplus_module_1.flatMap_(tsplus_module_1.succeed(() => tsplus_module_5.makeUnbounded(),
|
|
287
|
+
function makeUnbounded(__tsplusTrace) {
|
|
288
|
+
return tsplus_module_1.flatMap_(tsplus_module_1.succeed(() => tsplus_module_5.makeUnbounded(), __tsplusTrace), hub => (0, _internal.makeHubInternal)(hub, new _internal.Dropping()), __tsplusTrace);
|
|
289
289
|
}
|
|
290
290
|
/**
|
|
291
291
|
* Transforms messages taken from the hub using the specified function.
|
|
@@ -294,8 +294,8 @@ function makeUnbounded() {
|
|
|
294
294
|
*/
|
|
295
295
|
|
|
296
296
|
|
|
297
|
-
function map_(self, f) {
|
|
298
|
-
return mapIO_1(self, b => tsplus_module_1.succeedNow(f(b),
|
|
297
|
+
function map_(self, f, __tsplusTrace) {
|
|
298
|
+
return mapIO_1(self, b => tsplus_module_1.succeedNow(f(b), __tsplusTrace), __tsplusTrace);
|
|
299
299
|
}
|
|
300
300
|
/**
|
|
301
301
|
* Transforms messages taken from the hub using the specified effectual
|
|
@@ -305,8 +305,8 @@ function map_(self, f) {
|
|
|
305
305
|
*/
|
|
306
306
|
|
|
307
307
|
|
|
308
|
-
function mapIO_1(self, f) {
|
|
309
|
-
return dimapIO_1(self, tsplus_module_1.succeedNow, f);
|
|
308
|
+
function mapIO_1(self, f, __tsplusTrace) {
|
|
309
|
+
return dimapIO_1(self, tsplus_module_1.succeedNow, f, __tsplusTrace);
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
class ToQueue extends _Queue.QueueInternal {
|
|
@@ -319,13 +319,13 @@ class ToQueue extends _Queue.QueueInternal {
|
|
|
319
319
|
this.shutdown = this.source.shutdown;
|
|
320
320
|
this.size = this.source.size;
|
|
321
321
|
this.take = tsplus_module_1.never;
|
|
322
|
-
this.takeAll = tsplus_module_1.succeedNow(tsplus_module_6.empty(), fileName_1 + ":
|
|
322
|
+
this.takeAll = tsplus_module_1.succeedNow(tsplus_module_6.empty(), fileName_1 + ":297:32");
|
|
323
323
|
|
|
324
324
|
this.offer = a => this.source.publish(a);
|
|
325
325
|
|
|
326
326
|
this.offerAll = as => this.source.publishAll(as);
|
|
327
327
|
|
|
328
|
-
this.takeUpTo = () => tsplus_module_1.succeedNow(tsplus_module_6.empty(), fileName_1 + ":
|
|
328
|
+
this.takeUpTo = () => tsplus_module_1.succeedNow(tsplus_module_6.empty(), fileName_1 + ":300:69");
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
}
|
|
@@ -337,7 +337,7 @@ class ToQueue extends _Queue.QueueInternal {
|
|
|
337
337
|
*/
|
|
338
338
|
|
|
339
339
|
|
|
340
|
-
function publish_(self, a) {
|
|
340
|
+
function publish_(self, a, __tsplusTrace) {
|
|
341
341
|
void 0;
|
|
342
342
|
return self.publish(a);
|
|
343
343
|
}
|
|
@@ -349,7 +349,7 @@ function publish_(self, a) {
|
|
|
349
349
|
*/
|
|
350
350
|
|
|
351
351
|
|
|
352
|
-
function publishAll_(self, as) {
|
|
352
|
+
function publishAll_(self, as, __tsplusTrace) {
|
|
353
353
|
void 0;
|
|
354
354
|
return self.publishAll(as);
|
|
355
355
|
}
|
|
@@ -360,7 +360,7 @@ function publishAll_(self, as) {
|
|
|
360
360
|
*/
|
|
361
361
|
|
|
362
362
|
|
|
363
|
-
function shutdown(self) {
|
|
363
|
+
function shutdown(self, __tsplusTrace) {
|
|
364
364
|
void 0;
|
|
365
365
|
return self.shutdown;
|
|
366
366
|
}
|
|
@@ -373,7 +373,7 @@ function shutdown(self) {
|
|
|
373
373
|
*/
|
|
374
374
|
|
|
375
375
|
|
|
376
|
-
function subscribe(self) {
|
|
376
|
+
function subscribe(self, __tsplusTrace) {
|
|
377
377
|
void 0;
|
|
378
378
|
return self.subscribe;
|
|
379
379
|
}
|
|
@@ -384,7 +384,7 @@ function subscribe(self) {
|
|
|
384
384
|
*/
|
|
385
385
|
|
|
386
386
|
|
|
387
|
-
function size(self) {
|
|
387
|
+
function size(self, __tsplusTrace) {
|
|
388
388
|
void 0;
|
|
389
389
|
return self.size;
|
|
390
390
|
}
|
|
@@ -395,7 +395,7 @@ function size(self) {
|
|
|
395
395
|
*/
|
|
396
396
|
|
|
397
397
|
|
|
398
|
-
function toQueue(source) {
|
|
398
|
+
function toQueue(source, __tsplusTrace) {
|
|
399
399
|
void 0;
|
|
400
400
|
return new ToQueue(source);
|
|
401
401
|
}
|
|
@@ -411,7 +411,7 @@ function toQueue(source) {
|
|
|
411
411
|
|
|
412
412
|
|
|
413
413
|
function unsafeMakeBounded(requestedCapacity) {
|
|
414
|
-
const scope = tsplus_module_7.unsafeMake();
|
|
414
|
+
const scope = tsplus_module_7.unsafeMake(fileName_1 + ":391:33");
|
|
415
415
|
return (0, _internal.unsafeMakeHub)(tsplus_module_5.makeBounded(requestedCapacity), (0, _internal.subscribersHashSet)(), scope, tsplus_module_9.unsafeMake(tsplus_module_8.none), new _AtomicBoolean.AtomicBoolean(false), new _internal.BackPressure());
|
|
416
416
|
}
|
|
417
417
|
/**
|
|
@@ -425,7 +425,7 @@ function unsafeMakeBounded(requestedCapacity) {
|
|
|
425
425
|
|
|
426
426
|
|
|
427
427
|
function unsafeMakeDropping(requestedCapacity) {
|
|
428
|
-
const scope = tsplus_module_7.unsafeMake();
|
|
428
|
+
const scope = tsplus_module_7.unsafeMake(fileName_1 + ":412:33");
|
|
429
429
|
return (0, _internal.unsafeMakeHub)(tsplus_module_5.makeBounded(requestedCapacity), (0, _internal.subscribersHashSet)(), scope, tsplus_module_9.unsafeMake(tsplus_module_8.none), new _AtomicBoolean.AtomicBoolean(false), new _internal.Dropping());
|
|
430
430
|
}
|
|
431
431
|
/**
|
|
@@ -439,7 +439,7 @@ function unsafeMakeDropping(requestedCapacity) {
|
|
|
439
439
|
|
|
440
440
|
|
|
441
441
|
function unsafeMakeSliding(requestedCapacity) {
|
|
442
|
-
const scope = tsplus_module_7.unsafeMake();
|
|
442
|
+
const scope = tsplus_module_7.unsafeMake(fileName_1 + ":433:33");
|
|
443
443
|
return (0, _internal.unsafeMakeHub)(tsplus_module_5.makeBounded(requestedCapacity), (0, _internal.subscribersHashSet)(), scope, tsplus_module_9.unsafeMake(tsplus_module_8.none), new _AtomicBoolean.AtomicBoolean(false), new _internal.Sliding());
|
|
444
444
|
}
|
|
445
445
|
/**
|
|
@@ -450,7 +450,7 @@ function unsafeMakeSliding(requestedCapacity) {
|
|
|
450
450
|
|
|
451
451
|
|
|
452
452
|
function unsafeMakeUnbounded() {
|
|
453
|
-
const scope = tsplus_module_7.unsafeMake();
|
|
453
|
+
const scope = tsplus_module_7.unsafeMake(fileName_1 + ":451:33");
|
|
454
454
|
return (0, _internal.unsafeMakeHub)(tsplus_module_5.makeUnbounded(), (0, _internal.subscribersHashSet)(), scope, tsplus_module_9.unsafeMake(tsplus_module_8.none), new _AtomicBoolean.AtomicBoolean(false), new _internal.Dropping());
|
|
455
455
|
}
|
|
456
456
|
//# sourceMappingURL=api.cjs.map
|
package/_cjs/Hub/api.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.cjs","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AASA;;;;;;;
|
|
1
|
+
{"version":3,"file":"api.cjs","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AASA;;;;;;;MAwFgBA,QAAQ;;MA+BRC,cAAc;;MA0CdC,eAAe;;MA0GfC,MAAM;;;AAzQtB;;;;;AAKM,SAAUC,aAAV,CACJC,IAD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CAAP;AAQD","names":["dimapIO_","filterInputIO_","filterOutputIO_","mapIO_","awaitShutdown","self","__tsplusTrace","capacity","contramapIO_","f","dimapIO_1","tsplus_module_1","DimapIO","PHubInternal","constructor","source","g","isShutdown","shutdown","size","subscribe","queue","tsplus_module_2","fileName_1","c","a","publish","cs","as","publishAll","dimap_","b","FilterInputIO","tsplus_module_3","filterInput_","filterInputIO_1","FilterOutputIO","tsplus_module_4","filterOutput_","filterOutputIO_1","makeBounded","requestedCapacity","tsplus_module_5","hub","BackPressure","makeDropping","Dropping","makeSliding","Sliding","makeUnbounded","map_","mapIO_1","ToQueue","QueueInternal","tsplus_module_6","publish_","publishAll_","toQueue","unsafeMakeBounded","scope","tsplus_module_7","tsplus_module_9","AtomicBoolean","unsafeMakeDropping","unsafeMakeSliding","unsafeMakeUnbounded"],"sourceRoot":"","sources":["../../_src/Hub/api.ts"],"sourcesContent":[null]}
|