@fncts/io 0.0.20 → 0.0.22
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/ChildExecutorDecision/api.d.ts +2 -2
- package/Channel/UpstreamPullRequest/api.d.ts +2 -2
- package/Channel/api/interruptWhen.d.ts +5 -5
- package/Channel/api/mapOutConcurrentIO.d.ts +8 -0
- package/Channel/api/mergeAll.d.ts +2 -2
- package/Channel/api/mergeAllUnboundedWith.d.ts +2 -2
- package/Channel/api/mergeAllWith.d.ts +2 -2
- package/Channel/api/mergeMap.d.ts +2 -2
- package/Channel/api/mergeWith.d.ts +2 -2
- package/Channel/api/zipConcurrent.d.ts +16 -0
- package/Channel/api.d.ts +62 -62
- package/Channel/core-api.d.ts +11 -11
- package/Channel/definition.d.ts +35 -21
- package/Channel/internal/SingleProducerAsyncInput.d.ts +1 -1
- package/CountdownLatch.d.ts +25 -0
- package/Fiber/FiberMessage.d.ts +67 -0
- package/Fiber/FiberRuntime.d.ts +116 -0
- package/Fiber/api/interrupt.d.ts +1 -1
- package/Fiber/api/interruptAs.d.ts +6 -1
- package/Fiber/api/location.d.ts +1 -2
- package/Fiber/api/mapFiber.d.ts +2 -2
- package/Fiber/api/mapIO.d.ts +5 -5
- package/Fiber/api/zipWith.d.ts +2 -2
- package/Fiber/definition.d.ts +17 -16
- package/Fiber.d.ts +2 -3
- package/FiberDescriptor.d.ts +3 -6
- package/FiberRef/api/locallyScoped.d.ts +2 -2
- package/FiberRef/api/locallyScopedWith.d.ts +2 -2
- package/FiberRef/api.d.ts +18 -18
- package/FiberRef/definition.d.ts +2 -2
- package/FiberRef/unsafe.d.ts +5 -0
- package/FiberRefs/api.d.ts +30 -2
- package/FiberRefs/definition.d.ts +14 -7
- package/FiberRefs/join.d.ts +3 -3
- package/FiberScope/constructors.d.ts +2 -2
- package/FiberScope/definition.d.ts +8 -5
- package/FiberStatus/constructors.d.ts +3 -7
- package/FiberStatus/definition.d.ts +16 -28
- package/Future/api.d.ts +21 -21
- package/Hub/api.d.ts +27 -25
- package/Hub/definition.d.ts +13 -9
- package/IO/api/acquireRelease.d.ts +1 -1
- package/IO/api/acquireReleaseExit.d.ts +1 -1
- package/IO/api/asyncInterrupt.d.ts +39 -0
- package/IO/api/bracket.d.ts +1 -1
- package/IO/api/bracketExit.d.ts +1 -1
- package/IO/api/concurrency.d.ts +2 -2
- package/IO/api/core-scope.d.ts +7 -43
- package/IO/api/delay.d.ts +8 -0
- package/IO/api/ensuringChildren.d.ts +3 -3
- package/IO/api/environment.d.ts +11 -15
- package/IO/api/{foreachC.d.ts → foreachConcurrent.d.ts} +8 -8
- package/IO/api/foreachExec.d.ts +1 -1
- package/IO/api/fork.d.ts +36 -0
- package/IO/api/forkIn.d.ts +3 -3
- package/IO/api/fulfill.d.ts +3 -3
- package/IO/api/interrupt.d.ts +9 -13
- package/IO/api/onExit.d.ts +3 -3
- package/IO/api/onTermination.d.ts +4 -4
- package/IO/api/provideLayer.d.ts +3 -3
- package/IO/api/provideSomeLayer.d.ts +3 -7
- package/IO/api/race.d.ts +2 -2
- package/IO/api/raceFirst.d.ts +2 -2
- package/IO/api/repeat.d.ts +3 -3
- package/IO/api/retry.d.ts +7 -7
- package/IO/api/schedule.d.ts +5 -5
- package/IO/api/scoped.d.ts +2 -2
- package/IO/api/supervised.d.ts +2 -4
- package/IO/api/timeout.d.ts +5 -5
- package/IO/api/withFinalizer.d.ts +3 -3
- package/IO/api/withFinalizerExit.d.ts +3 -3
- package/IO/api/zipConcurrent.d.ts +13 -0
- package/IO/api.d.ts +208 -306
- package/IO/definition.d.ts +111 -130
- package/IO/runtime.d.ts +19 -22
- package/IO.d.ts +5 -3
- package/Layer/MemoMap.d.ts +5 -5
- package/Layer/api.d.ts +28 -28
- package/LogLevel.d.ts +12 -12
- package/LogSpan.d.ts +2 -2
- package/Logger/api.d.ts +5 -5
- package/Push/api.d.ts +232 -0
- package/Push/definition.d.ts +34 -0
- package/Push/internal.d.ts +11 -0
- package/Push.d.ts +3 -0
- package/Queue/api/dimapIO.d.ts +70 -13
- package/Queue/api/filterInputIO.d.ts +12 -20
- package/Queue/api/filterOutputIO.d.ts +10 -21
- package/Queue/api/operations.d.ts +15 -14
- package/Queue/api/poll.d.ts +2 -2
- package/Queue/api/takeBetween.d.ts +3 -3
- package/Queue/api/zipWithIO.d.ts +7 -24
- package/Queue/definition.d.ts +112 -8
- package/Queue/internal.d.ts +7 -7
- package/Ref/Atomic.d.ts +22 -2
- package/Ref/Derived.d.ts +4 -2
- package/Ref/DerivedAll.d.ts +7 -3
- package/Ref/Synchronized/api.d.ts +31 -29
- package/Ref/Synchronized/constructors.d.ts +1 -1
- package/Ref/Synchronized/definition.d.ts +6 -4
- package/Ref/Synchronized.d.ts +3 -0
- package/Ref/api/collect.d.ts +3 -3
- package/Ref/api/dimap.d.ts +21 -21
- package/Ref/api/filter.d.ts +7 -6
- package/Ref/api/get.d.ts +1 -1
- package/Ref/api/match.d.ts +3 -3
- package/Ref/api/matchAll.d.ts +1 -1
- package/Ref/api/modify.d.ts +27 -27
- package/Ref/api/set.d.ts +3 -3
- package/Ref/constructors.d.ts +1 -1
- package/Ref/definition.d.ts +46 -20
- package/Ref/symbols.d.ts +30 -0
- package/Ref.d.ts +2 -0
- package/RefSubject/Atomic.d.ts +36 -0
- package/RefSubject/Synchronized/api.d.ts +9 -0
- package/RefSubject/Synchronized/definition.d.ts +40 -0
- package/RefSubject/api.d.ts +116 -0
- package/RefSubject/definition.d.ts +45 -0
- package/RefSubject.d.ts +3 -0
- package/RuntimeConfig.d.ts +0 -24
- package/RuntimeFlag.d.ts +10 -0
- package/RuntimeFlags/Patch.d.ts +53 -0
- package/RuntimeFlags/RuntimeFlags.d.ts +82 -0
- package/RuntimeFlags.d.ts +2 -0
- package/STM/api/core-api.d.ts +10 -10
- package/STM/api.d.ts +61 -61
- package/STM/internal/Journal.d.ts +4 -4
- package/Schedule/Decision.d.ts +2 -2
- package/Schedule/api.d.ts +121 -105
- package/Scope/ReleaseMap/api/releaseAll.d.ts +2 -2
- package/Scope/ReleaseMap/api.d.ts +10 -10
- package/Scope/ReleaseMap/definition.d.ts +1 -1
- package/Scope/api.d.ts +8 -8
- package/ScopedRef/api.d.ts +1 -1
- package/Sink/api.d.ts +66 -66
- package/State/api.d.ts +4 -4
- package/State/internal.d.ts +1 -1
- package/Stream/api/zipAllWith.d.ts +2 -2
- package/Stream/api/zipWith.d.ts +2 -2
- package/Stream/api/zipWithChunks.d.ts +2 -2
- package/Stream/api.d.ts +217 -205
- package/Stream/internal/DebounceState.d.ts +3 -3
- package/Stream/internal/Handoff.d.ts +6 -6
- package/Stream/internal/SinkEndReason.d.ts +3 -3
- package/Stream/internal/Take.d.ts +8 -8
- package/Subject/Atomic.d.ts +18 -0
- package/Subject/api.d.ts +13 -0
- package/Subject/definition.d.ts +15 -0
- package/Subject.d.ts +3 -0
- package/SubscriptionRef.d.ts +38 -0
- package/Supervisor/api.d.ts +4 -4
- package/SupervisorPatch.d.ts +4 -4
- package/TExit/definition.d.ts +2 -2
- package/TFuture/api.d.ts +7 -7
- package/TFuture/definition.d.ts +2 -2
- package/TReentrantLock/api.d.ts +4 -4
- package/TReentrantLock/definition.d.ts +3 -3
- package/TRef/api.d.ts +26 -27
- package/TRef/constructors.d.ts +6 -6
- package/TRef/definition.d.ts +47 -34
- package/TRef/symbols.d.ts +20 -0
- package/TRef.d.ts +1 -0
- package/TSemaphore/api.d.ts +4 -4
- package/TSemaphore/constructors.d.ts +6 -0
- package/TSemaphore/definition.d.ts +2 -2
- package/_cjs/Cached/api.cjs +9 -32
- package/_cjs/Cached/api.cjs.map +1 -1
- package/_cjs/Cached/definition.cjs +2 -7
- package/_cjs/Cached/definition.cjs.map +1 -1
- package/_cjs/Cached/internal.cjs +0 -3
- package/_cjs/Cached/internal.cjs.map +1 -1
- package/_cjs/Cached.cjs +0 -6
- package/_cjs/Cached.cjs.map +1 -1
- package/_cjs/CancellerState.cjs +3 -22
- package/_cjs/CancellerState.cjs.map +1 -1
- package/_cjs/Channel/ChildExecutorDecision/api.cjs +19 -20
- package/_cjs/Channel/ChildExecutorDecision/api.cjs.map +1 -1
- package/_cjs/Channel/ChildExecutorDecision/definition.cjs +0 -5
- package/_cjs/Channel/ChildExecutorDecision/definition.cjs.map +1 -1
- package/_cjs/Channel/ChildExecutorDecision.cjs +0 -4
- package/_cjs/Channel/ChildExecutorDecision.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullRequest/api.cjs +15 -20
- package/_cjs/Channel/UpstreamPullRequest/api.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullRequest/definition.cjs +0 -6
- package/_cjs/Channel/UpstreamPullRequest/definition.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullRequest.cjs +0 -4
- package/_cjs/Channel/UpstreamPullRequest.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullStrategy/definition.cjs +0 -4
- package/_cjs/Channel/UpstreamPullStrategy/definition.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullStrategy.cjs +0 -2
- package/_cjs/Channel/UpstreamPullStrategy.cjs.map +1 -1
- package/_cjs/Channel/api/interruptWhen.cjs +14 -22
- package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
- package/_cjs/Channel/api/mapOutConcurrentIO.cjs +42 -0
- package/_cjs/Channel/api/mapOutConcurrentIO.cjs.map +1 -0
- package/_cjs/Channel/api/mergeAll.cjs +6 -8
- package/_cjs/Channel/api/mergeAll.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs +6 -8
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllWith.cjs +40 -71
- package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeMap.cjs +6 -9
- package/_cjs/Channel/api/mergeMap.cjs.map +1 -1
- package/_cjs/Channel/api/mergeWith.cjs +35 -67
- package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
- package/_cjs/Channel/api/run.cjs +1 -7
- package/_cjs/Channel/api/run.cjs.map +1 -1
- package/_cjs/Channel/api/runCollect.cjs +0 -5
- package/_cjs/Channel/api/runCollect.cjs.map +1 -1
- package/_cjs/Channel/api/runDrain.cjs +0 -5
- package/_cjs/Channel/api/runDrain.cjs.map +1 -1
- package/_cjs/Channel/api/runScoped.cjs +6 -28
- package/_cjs/Channel/api/runScoped.cjs.map +1 -1
- package/_cjs/Channel/api/toPull.cjs +7 -29
- package/_cjs/Channel/api/toPull.cjs.map +1 -1
- package/_cjs/Channel/api/{zipC.cjs → zipConcurrent.cjs} +22 -30
- package/_cjs/Channel/api/zipConcurrent.cjs.map +1 -0
- package/_cjs/Channel/api.cjs +242 -367
- package/_cjs/Channel/api.cjs.map +1 -1
- package/_cjs/Channel/core-api.cjs +34 -48
- package/_cjs/Channel/core-api.cjs.map +1 -1
- package/_cjs/Channel/definition.cjs +20 -106
- package/_cjs/Channel/definition.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelExecutor.cjs +161 -371
- package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelState.cjs +5 -37
- package/_cjs/Channel/internal/ChannelState.cjs.map +1 -1
- package/_cjs/Channel/internal/MergeDecision.cjs +4 -27
- package/_cjs/Channel/internal/MergeDecision.cjs.map +1 -1
- package/_cjs/Channel/internal/MergeState.cjs +3 -24
- package/_cjs/Channel/internal/MergeState.cjs.map +1 -1
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +37 -131
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
- package/_cjs/Channel.cjs +0 -6
- package/_cjs/Channel.cjs.map +1 -1
- package/_cjs/Clock/api.cjs +0 -7
- package/_cjs/Clock/api.cjs.map +1 -1
- package/_cjs/Clock/definition.cjs +0 -6
- package/_cjs/Clock/definition.cjs.map +1 -1
- package/_cjs/Clock/live.cjs +2 -12
- package/_cjs/Clock/live.cjs.map +1 -1
- package/_cjs/Clock.cjs +0 -6
- package/_cjs/Clock.cjs.map +1 -1
- package/_cjs/Console/api.cjs +0 -7
- package/_cjs/Console/api.cjs.map +1 -1
- package/_cjs/Console/definition.cjs +0 -6
- package/_cjs/Console/definition.cjs.map +1 -1
- package/_cjs/Console/live.cjs +0 -11
- package/_cjs/Console/live.cjs.map +1 -1
- package/_cjs/Console.cjs +0 -6
- package/_cjs/Console.cjs.map +1 -1
- package/_cjs/CountdownLatch.cjs +50 -0
- package/_cjs/CountdownLatch.cjs.map +1 -0
- package/_cjs/Differ/api.cjs +5 -28
- package/_cjs/Differ/api.cjs.map +1 -1
- package/_cjs/Differ/definition.cjs +0 -4
- package/_cjs/Differ/definition.cjs.map +1 -1
- package/_cjs/Fiber/FiberMessage.cjs +72 -0
- package/_cjs/Fiber/FiberMessage.cjs.map +1 -0
- package/_cjs/Fiber/FiberRuntime.cjs +735 -0
- package/_cjs/Fiber/FiberRuntime.cjs.map +1 -0
- package/_cjs/Fiber/api/await.cjs +0 -1
- package/_cjs/Fiber/api/await.cjs.map +1 -1
- package/_cjs/Fiber/api/awaitAll.cjs +2 -8
- package/_cjs/Fiber/api/awaitAll.cjs.map +1 -1
- package/_cjs/Fiber/api/children.cjs +0 -1
- package/_cjs/Fiber/api/children.cjs.map +1 -1
- package/_cjs/Fiber/api/collectAll.cjs +3 -25
- package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
- package/_cjs/Fiber/api/fromIO.cjs +1 -6
- package/_cjs/Fiber/api/fromIO.cjs.map +1 -1
- package/_cjs/Fiber/api/id.cjs +0 -1
- package/_cjs/Fiber/api/id.cjs.map +1 -1
- package/_cjs/Fiber/api/inheritRefs.cjs +1 -2
- package/_cjs/Fiber/api/inheritRefs.cjs.map +1 -1
- package/_cjs/Fiber/api/interrupt.cjs +3 -8
- package/_cjs/Fiber/api/interrupt.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAll.cjs +3 -13
- package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAs.cjs +15 -8
- package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs +2 -9
- package/_cjs/Fiber/api/interruptFork.cjs.map +1 -1
- package/_cjs/Fiber/api/join.cjs +3 -6
- package/_cjs/Fiber/api/join.cjs.map +1 -1
- package/_cjs/Fiber/api/joinAll.cjs +1 -7
- package/_cjs/Fiber/api/joinAll.cjs.map +1 -1
- package/_cjs/Fiber/api/location.cjs +1 -8
- package/_cjs/Fiber/api/location.cjs.map +1 -1
- package/_cjs/Fiber/api/mapFiber.cjs +6 -11
- package/_cjs/Fiber/api/mapFiber.cjs.map +1 -1
- package/_cjs/Fiber/api/mapIO.cjs +14 -27
- package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
- package/_cjs/Fiber/api/poll.cjs +0 -1
- package/_cjs/Fiber/api/poll.cjs.map +1 -1
- package/_cjs/Fiber/api/zipWith.cjs +7 -21
- package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
- package/_cjs/Fiber/constructors.cjs +0 -18
- package/_cjs/Fiber/constructors.cjs.map +1 -1
- package/_cjs/Fiber/definition.cjs +11 -14
- package/_cjs/Fiber/definition.cjs.map +1 -1
- package/_cjs/Fiber.cjs +15 -72
- package/_cjs/Fiber.cjs.map +1 -1
- package/_cjs/FiberDescriptor.cjs +1 -6
- package/_cjs/FiberDescriptor.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScoped.cjs +6 -10
- package/_cjs/FiberRef/api/locallyScoped.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScopedWith.cjs +5 -8
- package/_cjs/FiberRef/api/locallyScopedWith.cjs.map +1 -1
- package/_cjs/FiberRef/api.cjs +78 -97
- package/_cjs/FiberRef/api.cjs.map +1 -1
- package/_cjs/FiberRef/constructors.cjs +1 -11
- package/_cjs/FiberRef/constructors.cjs.map +1 -1
- package/_cjs/FiberRef/definition.cjs +5 -23
- package/_cjs/FiberRef/definition.cjs.map +1 -1
- package/_cjs/FiberRef/unsafe.cjs +20 -48
- package/_cjs/FiberRef/unsafe.cjs.map +1 -1
- package/_cjs/FiberRef.cjs +0 -12
- package/_cjs/FiberRef.cjs.map +1 -1
- package/_cjs/FiberRefs/api.cjs +74 -32
- package/_cjs/FiberRefs/api.cjs.map +1 -1
- package/_cjs/FiberRefs/definition.cjs +5 -17
- package/_cjs/FiberRefs/definition.cjs.map +1 -1
- package/_cjs/FiberRefs/join.cjs +51 -71
- package/_cjs/FiberRefs/join.cjs.map +1 -1
- package/_cjs/FiberRefs.cjs +0 -6
- package/_cjs/FiberRefs.cjs.map +1 -1
- package/_cjs/FiberScope/constructors.cjs +0 -4
- package/_cjs/FiberScope/constructors.cjs.map +1 -1
- package/_cjs/FiberScope/definition.cjs +15 -20
- package/_cjs/FiberScope/definition.cjs.map +1 -1
- package/_cjs/FiberScope.cjs +0 -4
- package/_cjs/FiberScope.cjs.map +1 -1
- package/_cjs/FiberStatus/constructors.cjs +5 -20
- package/_cjs/FiberStatus/constructors.cjs.map +1 -1
- package/_cjs/FiberStatus/definition.cjs +18 -77
- package/_cjs/FiberStatus/definition.cjs.map +1 -1
- package/_cjs/FiberStatus.cjs +0 -4
- package/_cjs/FiberStatus.cjs.map +1 -1
- package/_cjs/Future/api.cjs +99 -141
- package/_cjs/Future/api.cjs.map +1 -1
- package/_cjs/Future/constructors.cjs +1 -12
- package/_cjs/Future/constructors.cjs.map +1 -1
- package/_cjs/Future/definition.cjs +2 -15
- package/_cjs/Future/definition.cjs.map +1 -1
- package/_cjs/Future.cjs +0 -6
- package/_cjs/Future.cjs.map +1 -1
- package/_cjs/Hub/api.cjs +112 -172
- package/_cjs/Hub/api.cjs.map +1 -1
- package/_cjs/Hub/definition.cjs +14 -7
- package/_cjs/Hub/definition.cjs.map +1 -1
- package/_cjs/Hub/internal.cjs +30 -122
- package/_cjs/Hub/internal.cjs.map +1 -1
- package/_cjs/Hub.cjs +0 -4
- package/_cjs/Hub.cjs.map +1 -1
- package/_cjs/IO/api/acquireRelease.cjs +0 -4
- package/_cjs/IO/api/acquireRelease.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseExit.cjs +1 -7
- package/_cjs/IO/api/acquireReleaseExit.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptible.cjs +0 -4
- package/_cjs/IO/api/acquireReleaseInterruptible.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +2 -6
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizer.cjs +0 -4
- package/_cjs/IO/api/addFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizerExit.cjs +1 -8
- package/_cjs/IO/api/addFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/asyncIO.cjs +8 -16
- package/_cjs/IO/api/asyncIO.cjs.map +1 -1
- package/_cjs/IO/api/asyncInterrupt.cjs +77 -0
- package/_cjs/IO/api/asyncInterrupt.cjs.map +1 -0
- package/_cjs/IO/api/bracket.cjs +3 -7
- package/_cjs/IO/api/bracket.cjs.map +1 -1
- package/_cjs/IO/api/bracketExit.cjs +3 -10
- package/_cjs/IO/api/bracketExit.cjs.map +1 -1
- package/_cjs/IO/api/clockWith.cjs +2 -14
- package/_cjs/IO/api/clockWith.cjs.map +1 -1
- package/_cjs/IO/api/concurrency.cjs +9 -22
- package/_cjs/IO/api/concurrency.cjs.map +1 -1
- package/_cjs/IO/api/concurrentFinalizers.cjs +1 -8
- package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
- package/_cjs/IO/api/consoleWith.cjs +2 -14
- package/_cjs/IO/api/consoleWith.cjs.map +1 -1
- package/_cjs/IO/api/core-scope.cjs +60 -126
- package/_cjs/IO/api/core-scope.cjs.map +1 -1
- package/_cjs/{Fiber/api/evalOn.cjs → IO/api/delay.cjs} +10 -18
- package/_cjs/IO/api/delay.cjs.map +1 -0
- package/_cjs/IO/api/ensuringChildren.cjs +7 -10
- package/_cjs/IO/api/ensuringChildren.cjs.map +1 -1
- package/_cjs/IO/api/environment.cjs +35 -64
- package/_cjs/IO/api/environment.cjs.map +1 -1
- package/_cjs/IO/api/{foreachC.cjs → foreachConcurrent.cjs} +36 -73
- package/_cjs/IO/api/foreachConcurrent.cjs.map +1 -0
- package/_cjs/IO/api/foreachExec.cjs +4 -11
- package/_cjs/IO/api/foreachExec.cjs.map +1 -1
- package/_cjs/IO/api/fork.cjs +75 -0
- package/_cjs/IO/api/fork.cjs.map +1 -0
- package/_cjs/IO/api/forkAll.cjs +3 -7
- package/_cjs/IO/api/forkAll.cjs.map +1 -1
- package/_cjs/IO/api/forkIn.cjs +8 -14
- package/_cjs/IO/api/forkIn.cjs.map +1 -1
- package/_cjs/IO/api/forkScoped.cjs +1 -9
- package/_cjs/IO/api/forkScoped.cjs.map +1 -1
- package/_cjs/IO/api/fulfill.cjs +8 -12
- package/_cjs/IO/api/fulfill.cjs.map +1 -1
- package/_cjs/IO/api/interrupt.cjs +51 -77
- package/_cjs/IO/api/interrupt.cjs.map +1 -1
- package/_cjs/IO/api/memoize.cjs +1 -8
- package/_cjs/IO/api/memoize.cjs.map +1 -1
- package/_cjs/IO/api/onExit.cjs +6 -9
- package/_cjs/IO/api/onExit.cjs.map +1 -1
- package/_cjs/IO/api/onTermination.cjs +5 -11
- package/_cjs/IO/api/onTermination.cjs.map +1 -1
- package/_cjs/IO/api/once.cjs +1 -7
- package/_cjs/IO/api/once.cjs.map +1 -1
- package/_cjs/IO/api/provideLayer.cjs +6 -12
- package/_cjs/IO/api/provideLayer.cjs.map +1 -1
- package/_cjs/IO/api/provideSomeLayer.cjs +5 -20
- package/_cjs/IO/api/provideSomeLayer.cjs.map +1 -1
- package/_cjs/IO/api/race.cjs +8 -17
- package/_cjs/IO/api/race.cjs.map +1 -1
- package/_cjs/IO/api/raceFirst.cjs +6 -9
- package/_cjs/IO/api/raceFirst.cjs.map +1 -1
- package/_cjs/IO/api/randomWith.cjs +1 -13
- package/_cjs/IO/api/randomWith.cjs.map +1 -1
- package/_cjs/IO/api/repeat.cjs +12 -27
- package/_cjs/IO/api/repeat.cjs.map +1 -1
- package/_cjs/IO/api/retry.cjs +14 -29
- package/_cjs/IO/api/retry.cjs.map +1 -1
- package/_cjs/IO/api/schedule.cjs +15 -21
- package/_cjs/IO/api/schedule.cjs.map +1 -1
- package/_cjs/IO/api/scope.cjs +0 -6
- package/_cjs/IO/api/scope.cjs.map +1 -1
- package/_cjs/IO/api/scopeWith.cjs +0 -5
- package/_cjs/IO/api/scopeWith.cjs.map +1 -1
- package/_cjs/IO/api/scoped.cjs +6 -15
- package/_cjs/IO/api/scoped.cjs.map +1 -1
- package/_cjs/IO/api/sequenceT.cjs +1 -7
- package/_cjs/IO/api/sequenceT.cjs.map +1 -1
- package/_cjs/IO/api/sleep.cjs +0 -4
- package/_cjs/IO/api/sleep.cjs.map +1 -1
- package/_cjs/IO/api/stateful.cjs +0 -6
- package/_cjs/IO/api/stateful.cjs.map +1 -1
- package/_cjs/IO/api/supervised.cjs +6 -14
- package/_cjs/IO/api/supervised.cjs.map +1 -1
- package/_cjs/IO/api/timeout.cjs +10 -18
- package/_cjs/IO/api/timeout.cjs.map +1 -1
- package/_cjs/IO/api/withChildren.cjs +2 -10
- package/_cjs/IO/api/withChildren.cjs.map +1 -1
- package/_cjs/IO/api/withEarlyRelease.cjs +1 -8
- package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizer.cjs +6 -8
- package/_cjs/IO/api/withFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizerExit.cjs +6 -8
- package/_cjs/IO/api/withFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/zipConcurrent.cjs +51 -0
- package/_cjs/IO/api/zipConcurrent.cjs.map +1 -0
- package/_cjs/IO/api.cjs +669 -1057
- package/_cjs/IO/api.cjs.map +1 -1
- package/_cjs/IO/definition.cjs +121 -213
- package/_cjs/IO/definition.cjs.map +1 -1
- package/_cjs/IO/runtime.cjs +51 -119
- package/_cjs/IO/runtime.cjs.map +1 -1
- package/_cjs/IO.cjs +41 -123
- package/_cjs/IO.cjs.map +1 -1
- package/_cjs/IOEnv/definition.cjs +1 -12
- package/_cjs/IOEnv/definition.cjs.map +1 -1
- package/_cjs/IOEnv/live.cjs +1 -12
- package/_cjs/IOEnv/live.cjs.map +1 -1
- package/_cjs/IOEnv/services.cjs +0 -5
- package/_cjs/IOEnv/services.cjs.map +1 -1
- package/_cjs/IOEnv.cjs +0 -6
- package/_cjs/IOEnv.cjs.map +1 -1
- package/_cjs/InterruptStatus/constructors.cjs +0 -5
- package/_cjs/InterruptStatus/constructors.cjs.map +1 -1
- package/_cjs/InterruptStatus/definition.cjs +0 -5
- package/_cjs/InterruptStatus/definition.cjs.map +1 -1
- package/_cjs/InterruptStatus.cjs +0 -4
- package/_cjs/InterruptStatus.cjs.map +1 -1
- package/_cjs/Layer/MemoMap.cjs +54 -111
- package/_cjs/Layer/MemoMap.cjs.map +1 -1
- package/_cjs/Layer/api.cjs +112 -184
- package/_cjs/Layer/api.cjs.map +1 -1
- package/_cjs/Layer/definition.cjs +9 -51
- package/_cjs/Layer/definition.cjs.map +1 -1
- package/_cjs/Layer.cjs +0 -6
- package/_cjs/Layer.cjs.map +1 -1
- package/_cjs/LogLevel.cjs +24 -36
- package/_cjs/LogLevel.cjs.map +1 -1
- package/_cjs/LogSpan.cjs +16 -21
- package/_cjs/LogSpan.cjs.map +1 -1
- package/_cjs/Logger/api.cjs +18 -21
- package/_cjs/Logger/api.cjs.map +1 -1
- package/_cjs/Logger/constructors.cjs +3 -18
- package/_cjs/Logger/constructors.cjs.map +1 -1
- package/_cjs/Logger/definition.cjs +0 -3
- package/_cjs/Logger/definition.cjs.map +1 -1
- package/_cjs/Logger.cjs +0 -6
- package/_cjs/Logger.cjs.map +1 -1
- package/_cjs/Push/api.cjs +474 -0
- package/_cjs/Push/api.cjs.map +1 -0
- package/_cjs/Push/definition.cjs +43 -0
- package/_cjs/Push/definition.cjs.map +1 -0
- package/_cjs/Push/internal.cjs +40 -0
- package/_cjs/Push/internal.cjs.map +1 -0
- package/_cjs/Push.cjs +39 -0
- package/_cjs/Push.cjs.map +1 -0
- package/_cjs/Queue/api/dimapIO.cjs +109 -55
- package/_cjs/Queue/api/dimapIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterInputIO.cjs +61 -36
- package/_cjs/Queue/api/filterInputIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterOutputIO.cjs +72 -44
- package/_cjs/Queue/api/filterOutputIO.cjs.map +1 -1
- package/_cjs/Queue/api/operations.cjs +21 -35
- package/_cjs/Queue/api/operations.cjs.map +1 -1
- package/_cjs/Queue/api/poll.cjs +1 -7
- package/_cjs/Queue/api/poll.cjs.map +1 -1
- package/_cjs/Queue/api/takeBetween.cjs +24 -34
- package/_cjs/Queue/api/takeBetween.cjs.map +1 -1
- package/_cjs/Queue/api/zipWithIO.cjs +33 -48
- package/_cjs/Queue/api/zipWithIO.cjs.map +1 -1
- package/_cjs/Queue/api.cjs +0 -14
- package/_cjs/Queue/api.cjs.map +1 -1
- package/_cjs/Queue/constructors.cjs +4 -17
- package/_cjs/Queue/constructors.cjs.map +1 -1
- package/_cjs/Queue/definition.cjs +18 -11
- package/_cjs/Queue/definition.cjs.map +1 -1
- package/_cjs/Queue/internal.cjs +63 -117
- package/_cjs/Queue/internal.cjs.map +1 -1
- package/_cjs/Queue/strategy.cjs +27 -68
- package/_cjs/Queue/strategy.cjs.map +1 -1
- package/_cjs/Queue.cjs +0 -10
- package/_cjs/Queue.cjs.map +1 -1
- package/_cjs/Random/api.cjs +0 -17
- package/_cjs/Random/api.cjs.map +1 -1
- package/_cjs/Random/definition.cjs +0 -7
- package/_cjs/Random/definition.cjs.map +1 -1
- package/_cjs/Random/live.cjs +2 -16
- package/_cjs/Random/live.cjs.map +1 -1
- package/_cjs/Random.cjs +0 -6
- package/_cjs/Random.cjs.map +1 -1
- package/_cjs/Ref/Atomic.cjs +54 -26
- package/_cjs/Ref/Atomic.cjs.map +1 -1
- package/_cjs/Ref/Derived.cjs +11 -20
- package/_cjs/Ref/Derived.cjs.map +1 -1
- package/_cjs/Ref/DerivedAll.cjs +17 -23
- package/_cjs/Ref/DerivedAll.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/api.cjs +99 -103
- package/_cjs/Ref/Synchronized/api.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/constructors.cjs +1 -11
- package/_cjs/Ref/Synchronized/constructors.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/definition.cjs +16 -39
- package/_cjs/Ref/Synchronized/definition.cjs.map +1 -1
- package/_cjs/{FiberState.cjs → Ref/Synchronized.cjs} +4 -10
- package/_cjs/Ref/Synchronized.cjs.map +1 -0
- package/_cjs/Ref/api/collect.cjs +7 -12
- package/_cjs/Ref/api/collect.cjs.map +1 -1
- package/_cjs/Ref/api/dimap.cjs +55 -60
- package/_cjs/Ref/api/dimap.cjs.map +1 -1
- package/_cjs/Ref/api/filter.cjs +14 -19
- package/_cjs/Ref/api/filter.cjs.map +1 -1
- package/_cjs/Ref/api/get.cjs +0 -2
- package/_cjs/Ref/api/get.cjs.map +1 -1
- package/_cjs/Ref/api/match.cjs +8 -10
- package/_cjs/Ref/api/match.cjs.map +1 -1
- package/_cjs/Ref/api/matchAll.cjs +6 -8
- package/_cjs/Ref/api/matchAll.cjs.map +1 -1
- package/_cjs/Ref/api/modify.cjs +73 -171
- package/_cjs/Ref/api/modify.cjs.map +1 -1
- package/_cjs/Ref/api/set.cjs +8 -8
- package/_cjs/Ref/api/set.cjs.map +1 -1
- package/_cjs/Ref/api.cjs +2 -26
- package/_cjs/Ref/api.cjs.map +1 -1
- package/_cjs/Ref/constructors.cjs +2 -9
- package/_cjs/Ref/constructors.cjs.map +1 -1
- package/_cjs/Ref/definition.cjs +11 -7
- package/_cjs/Ref/definition.cjs.map +1 -1
- package/_cjs/Ref/symbols.cjs +37 -0
- package/_cjs/Ref/symbols.cjs.map +1 -0
- package/_cjs/Ref.cjs +22 -18
- package/_cjs/Ref.cjs.map +1 -1
- package/_cjs/RefSubject/Atomic.cjs +109 -0
- package/_cjs/RefSubject/Atomic.cjs.map +1 -0
- package/_cjs/{FiberState/constructors.cjs → RefSubject/Synchronized/api.cjs} +13 -34
- package/_cjs/RefSubject/Synchronized/api.cjs.map +1 -0
- package/_cjs/RefSubject/Synchronized/definition.cjs +56 -0
- package/_cjs/RefSubject/Synchronized/definition.cjs.map +1 -0
- package/_cjs/RefSubject/api.cjs +245 -0
- package/_cjs/RefSubject/api.cjs.map +1 -0
- package/_cjs/{FiberState/api.cjs → RefSubject/definition.cjs} +12 -16
- package/_cjs/RefSubject/definition.cjs.map +1 -0
- package/_cjs/RefSubject.cjs +39 -0
- package/_cjs/RefSubject.cjs.map +1 -0
- package/_cjs/Reloadable/api.cjs +3 -18
- package/_cjs/Reloadable/api.cjs.map +1 -1
- package/_cjs/Reloadable/constructors.cjs +14 -41
- package/_cjs/Reloadable/constructors.cjs.map +1 -1
- package/_cjs/Reloadable/definition.cjs +0 -14
- package/_cjs/Reloadable/definition.cjs.map +1 -1
- package/_cjs/Reloadable.cjs +0 -6
- package/_cjs/Reloadable.cjs.map +1 -1
- package/_cjs/RuntimeConfig.cjs +1 -44
- package/_cjs/RuntimeConfig.cjs.map +1 -1
- package/_cjs/RuntimeFlag.cjs +6 -0
- package/_cjs/RuntimeFlag.cjs.map +1 -0
- package/_cjs/RuntimeFlags/Patch.cjs +76 -0
- package/_cjs/RuntimeFlags/Patch.cjs.map +1 -0
- package/_cjs/RuntimeFlags/RuntimeFlags.cjs +107 -0
- package/_cjs/RuntimeFlags/RuntimeFlags.cjs.map +1 -0
- package/_cjs/RuntimeFlags.cjs +28 -0
- package/_cjs/RuntimeFlags.cjs.map +1 -0
- package/_cjs/STM/api/core-api.cjs +36 -42
- package/_cjs/STM/api/core-api.cjs.map +1 -1
- package/_cjs/STM/api/core-constructors.cjs +0 -15
- package/_cjs/STM/api/core-constructors.cjs.map +1 -1
- package/_cjs/STM/api.cjs +218 -302
- package/_cjs/STM/api.cjs.map +1 -1
- package/_cjs/STM/definition.cjs +9 -72
- package/_cjs/STM/definition.cjs.map +1 -1
- package/_cjs/STM/driver.cjs +12 -65
- package/_cjs/STM/driver.cjs.map +1 -1
- package/_cjs/STM/internal/CommitState.cjs +5 -32
- package/_cjs/STM/internal/CommitState.cjs.map +1 -1
- package/_cjs/STM/internal/Entry.cjs +0 -20
- package/_cjs/STM/internal/Entry.cjs.map +1 -1
- package/_cjs/STM/internal/Journal.cjs +50 -142
- package/_cjs/STM/internal/Journal.cjs.map +1 -1
- package/_cjs/STM/internal/TryCommit.cjs +2 -12
- package/_cjs/STM/internal/TryCommit.cjs.map +1 -1
- package/_cjs/STM/internal/Versioned.cjs +0 -3
- package/_cjs/STM/internal/Versioned.cjs.map +1 -1
- package/_cjs/STM.cjs +0 -10
- package/_cjs/STM.cjs.map +1 -1
- package/_cjs/Schedule/Decision.cjs +13 -37
- package/_cjs/Schedule/Decision.cjs.map +1 -1
- package/_cjs/Schedule/Driver.cjs +0 -5
- package/_cjs/Schedule/Driver.cjs.map +1 -1
- package/_cjs/Schedule/api/driver.cjs +6 -22
- package/_cjs/Schedule/api/driver.cjs.map +1 -1
- package/_cjs/Schedule/api.cjs +440 -492
- package/_cjs/Schedule/api.cjs.map +1 -1
- package/_cjs/Schedule/definition.cjs +0 -2
- package/_cjs/Schedule/definition.cjs.map +1 -1
- package/_cjs/Schedule.cjs +0 -8
- package/_cjs/Schedule.cjs.map +1 -1
- package/_cjs/Scope/Finalizer/definition.cjs +0 -6
- package/_cjs/Scope/Finalizer/definition.cjs.map +1 -1
- package/_cjs/Scope/Finalizer.cjs +0 -2
- package/_cjs/Scope/Finalizer.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +13 -24
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api.cjs +65 -79
- package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/constructors.cjs +1 -12
- package/_cjs/Scope/ReleaseMap/constructors.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/definition.cjs +0 -9
- package/_cjs/Scope/ReleaseMap/definition.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap.cjs +0 -6
- package/_cjs/Scope/ReleaseMap.cjs.map +1 -1
- package/_cjs/Scope/api.cjs +34 -69
- package/_cjs/Scope/api.cjs.map +1 -1
- package/_cjs/Scope/definition.cjs +0 -12
- package/_cjs/Scope/definition.cjs.map +1 -1
- package/_cjs/Scope.cjs +0 -4
- package/_cjs/Scope.cjs.map +1 -1
- package/_cjs/ScopedRef/api.cjs +7 -26
- package/_cjs/ScopedRef/api.cjs.map +1 -1
- package/_cjs/ScopedRef/definition.cjs +1 -5
- package/_cjs/ScopedRef/definition.cjs.map +1 -1
- package/_cjs/ScopedRef.cjs +0 -4
- package/_cjs/ScopedRef.cjs.map +1 -1
- package/_cjs/Sink/api.cjs +292 -484
- package/_cjs/Sink/api.cjs.map +1 -1
- package/_cjs/Sink/definition.cjs +0 -3
- package/_cjs/Sink/definition.cjs.map +1 -1
- package/_cjs/Sink.cjs +0 -4
- package/_cjs/Sink.cjs.map +1 -1
- package/_cjs/State/api.cjs +18 -32
- package/_cjs/State/api.cjs.map +1 -1
- package/_cjs/State/definition.cjs +2 -7
- package/_cjs/State/definition.cjs.map +1 -1
- package/_cjs/State/internal.cjs +0 -3
- package/_cjs/State/internal.cjs.map +1 -1
- package/_cjs/State.cjs +0 -4
- package/_cjs/State.cjs.map +1 -1
- package/_cjs/Stream/api/zipAllWith.cjs +16 -43
- package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWith.cjs +6 -9
- package/_cjs/Stream/api/zipWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWithChunks.cjs +14 -32
- package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
- package/_cjs/Stream/api.cjs +961 -1205
- package/_cjs/Stream/api.cjs.map +1 -1
- package/_cjs/Stream/definition.cjs +0 -8
- package/_cjs/Stream/definition.cjs.map +1 -1
- package/_cjs/Stream/internal/DebounceState.cjs +16 -44
- package/_cjs/Stream/internal/DebounceState.cjs.map +1 -1
- package/_cjs/Stream/internal/Handoff.cjs +34 -80
- package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
- package/_cjs/Stream/internal/Pull.cjs +2 -25
- package/_cjs/Stream/internal/Pull.cjs.map +1 -1
- package/_cjs/Stream/internal/SinkEndReason.cjs +13 -28
- package/_cjs/Stream/internal/SinkEndReason.cjs.map +1 -1
- package/_cjs/Stream/internal/Take.cjs +32 -75
- package/_cjs/Stream/internal/Take.cjs.map +1 -1
- package/_cjs/Stream/internal/util.cjs +3 -13
- package/_cjs/Stream/internal/util.cjs.map +1 -1
- package/_cjs/Stream.cjs +0 -4
- package/_cjs/Stream.cjs.map +1 -1
- package/_cjs/{FiberState/definition.cjs → Subject/Atomic.cjs} +21 -36
- package/_cjs/Subject/Atomic.cjs.map +1 -0
- package/_cjs/{IO/api/withRuntimeConfig.cjs → Subject/api.cjs} +17 -14
- package/_cjs/Subject/api.cjs.map +1 -0
- package/_cjs/Subject/definition.cjs +11 -0
- package/_cjs/Subject/definition.cjs.map +1 -0
- package/_cjs/Subject.cjs +39 -0
- package/_cjs/Subject.cjs.map +1 -0
- package/_cjs/SubscriptionRef.cjs +54 -0
- package/_cjs/SubscriptionRef.cjs.map +1 -0
- package/_cjs/Supervisor/api.cjs +24 -37
- package/_cjs/Supervisor/api.cjs.map +1 -1
- package/_cjs/Supervisor/constructors.cjs +2 -26
- package/_cjs/Supervisor/constructors.cjs.map +1 -1
- package/_cjs/Supervisor/definition.cjs +6 -44
- package/_cjs/Supervisor/definition.cjs.map +1 -1
- package/_cjs/Supervisor.cjs +0 -6
- package/_cjs/Supervisor.cjs.map +1 -1
- package/_cjs/SupervisorPatch.cjs +25 -75
- package/_cjs/SupervisorPatch.cjs.map +1 -1
- package/_cjs/TExit/constructors.cjs +0 -12
- package/_cjs/TExit/constructors.cjs.map +1 -1
- package/_cjs/TExit/definition.cjs +14 -76
- package/_cjs/TExit/definition.cjs.map +1 -1
- package/_cjs/TExit.cjs +0 -4
- package/_cjs/TExit.cjs.map +1 -1
- package/_cjs/TFuture/api.cjs +21 -37
- package/_cjs/TFuture/api.cjs.map +1 -1
- package/_cjs/TFuture/constructors.cjs +1 -13
- package/_cjs/TFuture/constructors.cjs.map +1 -1
- package/_cjs/TFuture/definition.cjs +0 -4
- package/_cjs/TFuture/definition.cjs.map +1 -1
- package/_cjs/TFuture.cjs +0 -6
- package/_cjs/TFuture.cjs.map +1 -1
- package/_cjs/TReentrantLock/api.cjs +41 -111
- package/_cjs/TReentrantLock/api.cjs.map +1 -1
- package/_cjs/TReentrantLock/definition.cjs +7 -38
- package/_cjs/TReentrantLock/definition.cjs.map +1 -1
- package/_cjs/TReentrantLock.cjs +0 -4
- package/_cjs/TReentrantLock.cjs.map +1 -1
- package/_cjs/TRef/api.cjs +95 -296
- package/_cjs/TRef/api.cjs.map +1 -1
- package/_cjs/TRef/constructors.cjs +0 -19
- package/_cjs/TRef/constructors.cjs.map +1 -1
- package/_cjs/TRef/definition.cjs +84 -34
- package/_cjs/TRef/definition.cjs.map +1 -1
- package/_cjs/TRef/symbols.cjs +27 -0
- package/_cjs/TRef/symbols.cjs.map +1 -0
- package/_cjs/TRef.cjs +11 -6
- package/_cjs/TRef.cjs.map +1 -1
- package/_cjs/TSemaphore/api.cjs +30 -49
- package/_cjs/TSemaphore/api.cjs.map +1 -1
- package/_cjs/TSemaphore/constructors.cjs +13 -11
- package/_cjs/TSemaphore/constructors.cjs.map +1 -1
- package/_cjs/TSemaphore/definition.cjs +0 -4
- package/_cjs/TSemaphore/definition.cjs.map +1 -1
- package/_cjs/TSemaphore.cjs +0 -6
- package/_cjs/TSemaphore.cjs.map +1 -1
- package/_cjs/TxnId.cjs +0 -3
- package/_cjs/TxnId.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +19 -24
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +19 -24
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/filterIO.cjs +14 -19
- package/_cjs/collection/immutable/Conc/filterIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/findIO.cjs +18 -28
- package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/mapIO.cjs +11 -14
- package/_cjs/collection/immutable/Conc/mapIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +29 -36
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc.cjs +0 -12
- package/_cjs/collection/immutable/Conc.cjs.map +1 -1
- package/_cjs/data/Exit/foreachIO.cjs +6 -10
- package/_cjs/data/Exit/foreachIO.cjs.map +1 -1
- package/_cjs/internal/HashedPair.cjs +4 -15
- package/_cjs/internal/HashedPair.cjs.map +1 -1
- package/_cjs/internal/Hub.cjs +13 -175
- package/_cjs/internal/Hub.cjs.map +1 -1
- package/_cjs/internal/IsFatal.cjs +22 -62
- package/_cjs/internal/IsFatal.cjs.map +1 -1
- package/_cjs/internal/MutableQueue.cjs +11 -77
- package/_cjs/internal/MutableQueue.cjs.map +1 -1
- package/_cjs/internal/Scheduler.cjs +0 -18
- package/_cjs/internal/Scheduler.cjs.map +1 -1
- package/_cjs/internal/StackTraceBuilder.cjs +0 -9
- package/_cjs/internal/StackTraceBuilder.cjs.map +1 -1
- package/_mjs/Cached/api.mjs +6 -13
- package/_mjs/Cached/api.mjs.map +1 -1
- package/_mjs/Cached/definition.mjs +2 -4
- package/_mjs/Cached/definition.mjs.map +1 -1
- package/_mjs/Cached/internal.mjs +0 -1
- package/_mjs/Cached/internal.mjs.map +1 -1
- package/_mjs/Cached.mjs.map +1 -1
- package/_mjs/CancellerState.mjs +6 -15
- package/_mjs/CancellerState.mjs.map +1 -1
- package/_mjs/Channel/ChildExecutorDecision/api.mjs +18 -18
- package/_mjs/Channel/ChildExecutorDecision/api.mjs.map +1 -1
- package/_mjs/Channel/ChildExecutorDecision/definition.mjs +0 -2
- package/_mjs/Channel/ChildExecutorDecision/definition.mjs.map +1 -1
- package/_mjs/Channel/ChildExecutorDecision.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullRequest/api.mjs +14 -16
- package/_mjs/Channel/UpstreamPullRequest/api.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullRequest/definition.mjs +0 -2
- package/_mjs/Channel/UpstreamPullRequest/definition.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullRequest.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullStrategy/definition.mjs +0 -1
- package/_mjs/Channel/UpstreamPullStrategy/definition.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullStrategy.mjs.map +1 -1
- package/_mjs/Channel/api/interruptWhen.mjs +11 -10
- package/_mjs/Channel/api/interruptWhen.mjs.map +1 -1
- package/_mjs/Channel/api/mapOutConcurrentIO.mjs +34 -0
- package/_mjs/Channel/api/mapOutConcurrentIO.mjs.map +1 -0
- package/_mjs/Channel/api/mergeAll.mjs +5 -4
- package/_mjs/Channel/api/mergeAll.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllUnboundedWith.mjs +5 -4
- package/_mjs/Channel/api/mergeAllUnboundedWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllWith.mjs +39 -39
- package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeMap.mjs +5 -4
- package/_mjs/Channel/api/mergeMap.mjs.map +1 -1
- package/_mjs/Channel/api/mergeWith.mjs +34 -50
- package/_mjs/Channel/api/mergeWith.mjs.map +1 -1
- package/_mjs/Channel/api/run.mjs +1 -2
- package/_mjs/Channel/api/run.mjs.map +1 -1
- package/_mjs/Channel/api/runCollect.mjs +0 -1
- package/_mjs/Channel/api/runCollect.mjs.map +1 -1
- package/_mjs/Channel/api/runDrain.mjs +0 -1
- package/_mjs/Channel/api/runDrain.mjs.map +1 -1
- package/_mjs/Channel/api/runScoped.mjs +6 -21
- package/_mjs/Channel/api/runScoped.mjs.map +1 -1
- package/_mjs/Channel/api/toPull.mjs +7 -20
- package/_mjs/Channel/api/toPull.mjs.map +1 -1
- package/_mjs/Channel/api/zipConcurrent.mjs +32 -0
- package/_mjs/Channel/api/zipConcurrent.mjs.map +1 -0
- package/_mjs/Channel/api.mjs +201 -267
- package/_mjs/Channel/api.mjs.map +1 -1
- package/_mjs/Channel/core-api.mjs +28 -35
- package/_mjs/Channel/core-api.mjs.map +1 -1
- package/_mjs/Channel/definition.mjs +32 -67
- package/_mjs/Channel/definition.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelExecutor.mjs +161 -340
- package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelState.mjs +5 -20
- package/_mjs/Channel/internal/ChannelState.mjs.map +1 -1
- package/_mjs/Channel/internal/MergeDecision.mjs +5 -16
- package/_mjs/Channel/internal/MergeDecision.mjs.map +1 -1
- package/_mjs/Channel/internal/MergeState.mjs +6 -15
- package/_mjs/Channel/internal/MergeState.mjs.map +1 -1
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +40 -103
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -1
- package/_mjs/Channel.mjs.map +1 -1
- package/_mjs/Clock/api.mjs +0 -2
- package/_mjs/Clock/api.mjs.map +1 -1
- package/_mjs/Clock/definition.mjs +0 -2
- package/_mjs/Clock/definition.mjs.map +1 -1
- package/_mjs/Clock/live.mjs +2 -6
- package/_mjs/Clock/live.mjs.map +1 -1
- package/_mjs/Clock.mjs.map +1 -1
- package/_mjs/Console/api.mjs +0 -2
- package/_mjs/Console/api.mjs.map +1 -1
- package/_mjs/Console/definition.mjs +0 -2
- package/_mjs/Console/definition.mjs.map +1 -1
- package/_mjs/Console/live.mjs +0 -4
- package/_mjs/Console/live.mjs.map +1 -1
- package/_mjs/Console.mjs.map +1 -1
- package/_mjs/CountdownLatch.mjs +39 -0
- package/_mjs/CountdownLatch.mjs.map +1 -0
- package/_mjs/Differ/api.mjs +5 -20
- package/_mjs/Differ/api.mjs.map +1 -1
- package/_mjs/Differ/definition.mjs +0 -2
- package/_mjs/Differ/definition.mjs.map +1 -1
- package/_mjs/Fiber/FiberMessage.mjs +56 -0
- package/_mjs/Fiber/FiberMessage.mjs.map +1 -0
- package/_mjs/Fiber/FiberRuntime.mjs +728 -0
- package/_mjs/Fiber/FiberRuntime.mjs.map +1 -0
- 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.map +1 -1
- package/_mjs/Fiber/api/collectAll.mjs +3 -4
- package/_mjs/Fiber/api/collectAll.mjs.map +1 -1
- package/_mjs/Fiber/api/fromIO.mjs +1 -2
- package/_mjs/Fiber/api/fromIO.mjs.map +1 -1
- package/_mjs/Fiber/api/id.mjs.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 +3 -4
- package/_mjs/Fiber/api/interrupt.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAll.mjs +3 -6
- package/_mjs/Fiber/api/interruptAll.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAs.mjs +13 -5
- package/_mjs/Fiber/api/interruptAs.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptFork.mjs +2 -5
- package/_mjs/Fiber/api/interruptFork.mjs.map +1 -1
- package/_mjs/Fiber/api/join.mjs +3 -3
- package/_mjs/Fiber/api/join.mjs.map +1 -1
- package/_mjs/Fiber/api/joinAll.mjs +1 -2
- package/_mjs/Fiber/api/joinAll.mjs.map +1 -1
- package/_mjs/Fiber/api/location.mjs +1 -3
- package/_mjs/Fiber/api/location.mjs.map +1 -1
- package/_mjs/Fiber/api/mapFiber.mjs +5 -4
- package/_mjs/Fiber/api/mapFiber.mjs.map +1 -1
- package/_mjs/Fiber/api/mapIO.mjs +11 -10
- package/_mjs/Fiber/api/mapIO.mjs.map +1 -1
- package/_mjs/Fiber/api/poll.mjs.map +1 -1
- package/_mjs/Fiber/api/zipWith.mjs +6 -5
- package/_mjs/Fiber/api/zipWith.mjs.map +1 -1
- package/_mjs/Fiber/constructors.mjs +0 -6
- package/_mjs/Fiber/constructors.mjs.map +1 -1
- package/_mjs/Fiber/definition.mjs +9 -5
- package/_mjs/Fiber/definition.mjs.map +1 -1
- package/_mjs/Fiber.mjs +3 -4
- package/_mjs/Fiber.mjs.map +1 -1
- package/_mjs/FiberDescriptor.mjs +1 -4
- package/_mjs/FiberDescriptor.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScoped.mjs +5 -4
- package/_mjs/FiberRef/api/locallyScoped.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScopedWith.mjs +5 -4
- package/_mjs/FiberRef/api/locallyScopedWith.mjs.map +1 -1
- package/_mjs/FiberRef/api.mjs +64 -66
- package/_mjs/FiberRef/api.mjs.map +1 -1
- package/_mjs/FiberRef/constructors.mjs +1 -4
- package/_mjs/FiberRef/constructors.mjs.map +1 -1
- package/_mjs/FiberRef/definition.mjs +5 -10
- package/_mjs/FiberRef/definition.mjs.map +1 -1
- package/_mjs/FiberRef/unsafe.mjs +17 -30
- package/_mjs/FiberRef/unsafe.mjs.map +1 -1
- package/_mjs/FiberRef.mjs +2 -2
- package/_mjs/FiberRef.mjs.map +1 -1
- package/_mjs/FiberRefs/api.mjs +70 -24
- package/_mjs/FiberRefs/api.mjs.map +1 -1
- package/_mjs/FiberRefs/definition.mjs +2 -13
- package/_mjs/FiberRefs/definition.mjs.map +1 -1
- package/_mjs/FiberRefs/join.mjs +51 -61
- package/_mjs/FiberRefs/join.mjs.map +1 -1
- package/_mjs/FiberRefs.mjs.map +1 -1
- package/_mjs/FiberScope/constructors.mjs +0 -2
- package/_mjs/FiberScope/constructors.mjs.map +1 -1
- package/_mjs/FiberScope/definition.mjs +15 -12
- package/_mjs/FiberScope/definition.mjs.map +1 -1
- package/_mjs/FiberScope.mjs.map +1 -1
- package/_mjs/FiberStatus/constructors.mjs +5 -15
- package/_mjs/FiberStatus/constructors.mjs.map +1 -1
- package/_mjs/FiberStatus/definition.mjs +14 -66
- package/_mjs/FiberStatus/definition.mjs.map +1 -1
- package/_mjs/FiberStatus.mjs.map +1 -1
- package/_mjs/Future/api.mjs +87 -110
- package/_mjs/Future/api.mjs.map +1 -1
- package/_mjs/Future/constructors.mjs +1 -5
- package/_mjs/Future/constructors.mjs.map +1 -1
- package/_mjs/Future/definition.mjs +3 -9
- package/_mjs/Future/definition.mjs.map +1 -1
- package/_mjs/Future.mjs.map +1 -1
- package/_mjs/Hub/api.mjs +98 -123
- package/_mjs/Hub/api.mjs.map +1 -1
- package/_mjs/Hub/definition.mjs +13 -3
- package/_mjs/Hub/definition.mjs.map +1 -1
- package/_mjs/Hub/internal.mjs +30 -90
- package/_mjs/Hub/internal.mjs.map +1 -1
- package/_mjs/Hub.mjs.map +1 -1
- package/_mjs/IO/api/acquireRelease.mjs +0 -1
- package/_mjs/IO/api/acquireRelease.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseExit.mjs +1 -2
- package/_mjs/IO/api/acquireReleaseExit.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptible.mjs +0 -1
- package/_mjs/IO/api/acquireReleaseInterruptible.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs +2 -2
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs.map +1 -1
- package/_mjs/IO/api/addFinalizer.mjs +0 -1
- package/_mjs/IO/api/addFinalizer.mjs.map +1 -1
- package/_mjs/IO/api/addFinalizerExit.mjs +1 -2
- package/_mjs/IO/api/addFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/asyncIO.mjs +8 -8
- package/_mjs/IO/api/asyncIO.mjs.map +1 -1
- package/_mjs/IO/api/asyncInterrupt.mjs +65 -0
- package/_mjs/IO/api/asyncInterrupt.mjs.map +1 -0
- package/_mjs/IO/api/bracket.mjs +2 -3
- 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/clockWith.mjs +2 -5
- package/_mjs/IO/api/clockWith.mjs.map +1 -1
- package/_mjs/IO/api/concurrency.mjs +8 -11
- package/_mjs/IO/api/concurrency.mjs.map +1 -1
- package/_mjs/IO/api/concurrentFinalizers.mjs +1 -2
- package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -1
- package/_mjs/IO/api/consoleWith.mjs +2 -5
- package/_mjs/IO/api/consoleWith.mjs.map +1 -1
- package/_mjs/IO/api/core-scope.mjs +56 -94
- package/_mjs/IO/api/core-scope.mjs.map +1 -1
- package/_mjs/IO/api/delay.mjs +12 -0
- package/_mjs/IO/api/delay.mjs.map +1 -0
- package/_mjs/IO/api/ensuringChildren.mjs +7 -5
- package/_mjs/IO/api/ensuringChildren.mjs.map +1 -1
- package/_mjs/IO/api/environment.mjs +29 -42
- package/_mjs/IO/api/environment.mjs.map +1 -1
- package/_mjs/IO/api/foreachConcurrent.mjs +104 -0
- package/_mjs/IO/api/foreachConcurrent.mjs.map +1 -0
- package/_mjs/IO/api/foreachExec.mjs +3 -4
- package/_mjs/IO/api/foreachExec.mjs.map +1 -1
- package/_mjs/IO/api/fork.mjs +64 -0
- package/_mjs/IO/api/fork.mjs.map +1 -0
- package/_mjs/IO/api/forkAll.mjs +3 -3
- package/_mjs/IO/api/forkAll.mjs.map +1 -1
- package/_mjs/IO/api/forkIn.mjs +7 -6
- package/_mjs/IO/api/forkIn.mjs.map +1 -1
- package/_mjs/IO/api/forkScoped.mjs +1 -2
- package/_mjs/IO/api/forkScoped.mjs.map +1 -1
- package/_mjs/IO/api/fulfill.mjs +7 -6
- package/_mjs/IO/api/fulfill.mjs.map +1 -1
- package/_mjs/IO/api/interrupt.mjs +45 -58
- package/_mjs/IO/api/interrupt.mjs.map +1 -1
- package/_mjs/IO/api/memoize.mjs +1 -2
- package/_mjs/IO/api/memoize.mjs.map +1 -1
- package/_mjs/IO/api/onExit.mjs +5 -4
- package/_mjs/IO/api/onExit.mjs.map +1 -1
- package/_mjs/IO/api/onTermination.mjs +5 -4
- package/_mjs/IO/api/onTermination.mjs.map +1 -1
- package/_mjs/IO/api/once.mjs +1 -2
- package/_mjs/IO/api/once.mjs.map +1 -1
- package/_mjs/IO/api/provideLayer.mjs +5 -4
- package/_mjs/IO/api/provideLayer.mjs.map +1 -1
- package/_mjs/IO/api/provideSomeLayer.mjs +5 -12
- package/_mjs/IO/api/provideSomeLayer.mjs.map +1 -1
- package/_mjs/IO/api/race.mjs +7 -7
- package/_mjs/IO/api/race.mjs.map +1 -1
- package/_mjs/IO/api/raceFirst.mjs +5 -4
- package/_mjs/IO/api/raceFirst.mjs.map +1 -1
- package/_mjs/IO/api/randomWith.mjs +1 -4
- package/_mjs/IO/api/randomWith.mjs.map +1 -1
- package/_mjs/IO/api/repeat.mjs +8 -13
- package/_mjs/IO/api/repeat.mjs.map +1 -1
- package/_mjs/IO/api/retry.mjs +12 -18
- package/_mjs/IO/api/retry.mjs.map +1 -1
- package/_mjs/IO/api/schedule.mjs +15 -15
- package/_mjs/IO/api/schedule.mjs.map +1 -1
- package/_mjs/IO/api/scope.mjs +0 -1
- package/_mjs/IO/api/scope.mjs.map +1 -1
- package/_mjs/IO/api/scopeWith.mjs +0 -1
- package/_mjs/IO/api/scopeWith.mjs.map +1 -1
- package/_mjs/IO/api/scoped.mjs +3 -6
- package/_mjs/IO/api/scoped.mjs.map +1 -1
- package/_mjs/IO/api/sequenceT.mjs +1 -2
- package/_mjs/IO/api/sequenceT.mjs.map +1 -1
- package/_mjs/IO/api/sleep.mjs +0 -1
- package/_mjs/IO/api/sleep.mjs.map +1 -1
- package/_mjs/IO/api/stateful.mjs +0 -1
- package/_mjs/IO/api/stateful.mjs.map +1 -1
- package/_mjs/IO/api/supervised.mjs +5 -9
- package/_mjs/IO/api/supervised.mjs.map +1 -1
- package/_mjs/IO/api/timeout.mjs +10 -9
- package/_mjs/IO/api/timeout.mjs.map +1 -1
- package/_mjs/IO/api/withChildren.mjs +2 -4
- package/_mjs/IO/api/withChildren.mjs.map +1 -1
- package/_mjs/IO/api/withEarlyRelease.mjs +1 -2
- package/_mjs/IO/api/withEarlyRelease.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizer.mjs +5 -4
- package/_mjs/IO/api/withFinalizer.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizerExit.mjs +5 -4
- package/_mjs/IO/api/withFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/zipConcurrent.mjs +41 -0
- package/_mjs/IO/api/zipConcurrent.mjs.map +1 -0
- package/_mjs/IO/api.mjs +545 -797
- package/_mjs/IO/api.mjs.map +1 -1
- package/_mjs/IO/definition.mjs +107 -150
- package/_mjs/IO/definition.mjs.map +1 -1
- package/_mjs/IO/runtime.mjs +51 -86
- package/_mjs/IO/runtime.mjs.map +1 -1
- package/_mjs/IO.mjs +7 -5
- package/_mjs/IO.mjs.map +1 -1
- package/_mjs/IOEnv/definition.mjs +1 -2
- package/_mjs/IOEnv/definition.mjs.map +1 -1
- package/_mjs/IOEnv/live.mjs +1 -2
- package/_mjs/IOEnv/live.mjs.map +1 -1
- package/_mjs/IOEnv/services.mjs +0 -1
- package/_mjs/IOEnv/services.mjs.map +1 -1
- package/_mjs/IOEnv.mjs.map +1 -1
- package/_mjs/InterruptStatus/constructors.mjs +0 -3
- package/_mjs/InterruptStatus/constructors.mjs.map +1 -1
- package/_mjs/InterruptStatus/definition.mjs +0 -3
- package/_mjs/InterruptStatus/definition.mjs.map +1 -1
- package/_mjs/InterruptStatus.mjs.map +1 -1
- package/_mjs/Layer/MemoMap.mjs +54 -82
- package/_mjs/Layer/MemoMap.mjs.map +1 -1
- package/_mjs/Layer/api.mjs +93 -130
- package/_mjs/Layer/api.mjs.map +1 -1
- package/_mjs/Layer/definition.mjs +15 -34
- package/_mjs/Layer/definition.mjs.map +1 -1
- package/_mjs/Layer.mjs.map +1 -1
- package/_mjs/LogLevel.mjs +24 -29
- package/_mjs/LogLevel.mjs.map +1 -1
- package/_mjs/LogSpan.mjs +16 -18
- package/_mjs/LogSpan.mjs.map +1 -1
- package/_mjs/Logger/api.mjs +16 -14
- package/_mjs/Logger/api.mjs.map +1 -1
- package/_mjs/Logger/constructors.mjs +3 -11
- package/_mjs/Logger/constructors.mjs.map +1 -1
- package/_mjs/Logger/definition.mjs +0 -1
- package/_mjs/Logger/definition.mjs.map +1 -1
- package/_mjs/Logger.mjs.map +1 -1
- package/_mjs/Push/api.mjs +417 -0
- package/_mjs/Push/api.mjs.map +1 -0
- package/_mjs/Push/definition.mjs +33 -0
- package/_mjs/Push/definition.mjs.map +1 -0
- package/_mjs/Push/internal.mjs +26 -0
- package/_mjs/Push/internal.mjs.map +1 -0
- package/_mjs/Push.mjs +5 -0
- package/_mjs/Push.mjs.map +1 -0
- package/_mjs/Queue/api/dimapIO.mjs +101 -42
- package/_mjs/Queue/api/dimapIO.mjs.map +1 -1
- package/_mjs/Queue/api/filterInputIO.mjs +59 -24
- package/_mjs/Queue/api/filterInputIO.mjs.map +1 -1
- package/_mjs/Queue/api/filterOutputIO.mjs +70 -32
- package/_mjs/Queue/api/filterOutputIO.mjs.map +1 -1
- package/_mjs/Queue/api/operations.mjs +18 -22
- package/_mjs/Queue/api/operations.mjs.map +1 -1
- package/_mjs/Queue/api/poll.mjs +1 -2
- package/_mjs/Queue/api/poll.mjs.map +1 -1
- package/_mjs/Queue/api/takeBetween.mjs +23 -27
- package/_mjs/Queue/api/takeBetween.mjs.map +1 -1
- package/_mjs/Queue/api/zipWithIO.mjs +30 -33
- package/_mjs/Queue/api/zipWithIO.mjs.map +1 -1
- package/_mjs/Queue/api.mjs.map +1 -1
- package/_mjs/Queue/constructors.mjs +5 -9
- package/_mjs/Queue/constructors.mjs.map +1 -1
- package/_mjs/Queue/definition.mjs +14 -7
- package/_mjs/Queue/definition.mjs.map +1 -1
- package/_mjs/Queue/internal.mjs +57 -93
- package/_mjs/Queue/internal.mjs.map +1 -1
- package/_mjs/Queue/strategy.mjs +28 -55
- package/_mjs/Queue/strategy.mjs.map +1 -1
- package/_mjs/Queue.mjs.map +1 -1
- package/_mjs/Random/api.mjs +0 -8
- package/_mjs/Random/api.mjs.map +1 -1
- package/_mjs/Random/definition.mjs +0 -2
- package/_mjs/Random/definition.mjs.map +1 -1
- package/_mjs/Random/live.mjs +2 -9
- package/_mjs/Random/live.mjs.map +1 -1
- package/_mjs/Random.mjs.map +1 -1
- package/_mjs/Ref/Atomic.mjs +49 -3
- package/_mjs/Ref/Atomic.mjs.map +1 -1
- package/_mjs/Ref/Derived.mjs +11 -9
- package/_mjs/Ref/Derived.mjs.map +1 -1
- package/_mjs/Ref/DerivedAll.mjs +15 -11
- package/_mjs/Ref/DerivedAll.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/api.mjs +82 -68
- package/_mjs/Ref/Synchronized/api.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/constructors.mjs +1 -2
- package/_mjs/Ref/Synchronized/constructors.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/definition.mjs +16 -28
- package/_mjs/Ref/Synchronized/definition.mjs.map +1 -1
- package/_mjs/Ref/Synchronized.mjs +5 -0
- package/_mjs/Ref/Synchronized.mjs.map +1 -0
- package/_mjs/Ref/api/collect.mjs +6 -5
- package/_mjs/Ref/api/collect.mjs.map +1 -1
- package/_mjs/Ref/api/dimap.mjs +45 -41
- package/_mjs/Ref/api/dimap.mjs.map +1 -1
- package/_mjs/Ref/api/filter.mjs +12 -10
- package/_mjs/Ref/api/filter.mjs.map +1 -1
- package/_mjs/Ref/api/get.mjs +0 -1
- package/_mjs/Ref/api/get.mjs.map +1 -1
- package/_mjs/Ref/api/match.mjs +7 -7
- package/_mjs/Ref/api/match.mjs.map +1 -1
- package/_mjs/Ref/api/matchAll.mjs +5 -5
- package/_mjs/Ref/api/matchAll.mjs.map +1 -1
- package/_mjs/Ref/api/modify.mjs +63 -143
- package/_mjs/Ref/api/modify.mjs.map +1 -1
- package/_mjs/Ref/api/set.mjs +7 -6
- package/_mjs/Ref/api/set.mjs.map +1 -1
- package/_mjs/Ref/api.mjs +5 -7
- package/_mjs/Ref/api.mjs.map +1 -1
- package/_mjs/Ref/constructors.mjs +2 -3
- package/_mjs/Ref/constructors.mjs.map +1 -1
- package/_mjs/Ref/definition.mjs +10 -3
- package/_mjs/Ref/definition.mjs.map +1 -1
- package/_mjs/Ref/symbols.mjs +25 -0
- package/_mjs/Ref/symbols.mjs.map +1 -0
- package/_mjs/Ref.mjs +4 -2
- package/_mjs/Ref.mjs.map +1 -1
- package/_mjs/RefSubject/Atomic.mjs +100 -0
- package/_mjs/RefSubject/Atomic.mjs.map +1 -0
- package/_mjs/RefSubject/Synchronized/api.mjs +15 -0
- package/_mjs/RefSubject/Synchronized/api.mjs.map +1 -0
- package/_mjs/RefSubject/Synchronized/definition.mjs +45 -0
- package/_mjs/RefSubject/Synchronized/definition.mjs.map +1 -0
- package/_mjs/RefSubject/api.mjs +220 -0
- package/_mjs/RefSubject/api.mjs.map +1 -0
- package/_mjs/RefSubject/definition.mjs +11 -0
- package/_mjs/RefSubject/definition.mjs.map +1 -0
- package/_mjs/RefSubject.mjs +5 -0
- package/_mjs/RefSubject.mjs.map +1 -0
- package/_mjs/Reloadable/api.mjs +3 -12
- package/_mjs/Reloadable/api.mjs.map +1 -1
- package/_mjs/Reloadable/constructors.mjs +14 -26
- package/_mjs/Reloadable/constructors.mjs.map +1 -1
- package/_mjs/Reloadable/definition.mjs +0 -6
- package/_mjs/Reloadable/definition.mjs.map +1 -1
- package/_mjs/Reloadable.mjs.map +1 -1
- package/_mjs/RuntimeConfig.mjs +0 -31
- package/_mjs/RuntimeConfig.mjs.map +1 -1
- package/_mjs/RuntimeFlag.mjs +2 -0
- package/_mjs/RuntimeFlag.mjs.map +1 -0
- package/_mjs/RuntimeFlags/Patch.mjs +58 -0
- package/_mjs/RuntimeFlags/Patch.mjs.map +1 -0
- package/_mjs/RuntimeFlags/RuntimeFlags.mjs +82 -0
- package/_mjs/RuntimeFlags/RuntimeFlags.mjs.map +1 -0
- package/_mjs/RuntimeFlags.mjs +4 -0
- package/_mjs/RuntimeFlags.mjs.map +1 -0
- package/_mjs/STM/api/core-api.mjs +29 -27
- package/_mjs/STM/api/core-api.mjs.map +1 -1
- package/_mjs/STM/api/core-constructors.mjs +0 -8
- package/_mjs/STM/api/core-constructors.mjs.map +1 -1
- package/_mjs/STM/api.mjs +182 -212
- package/_mjs/STM/api.mjs.map +1 -1
- package/_mjs/STM/definition.mjs +14 -36
- package/_mjs/STM/definition.mjs.map +1 -1
- package/_mjs/STM/driver.mjs +12 -54
- package/_mjs/STM/driver.mjs.map +1 -1
- package/_mjs/STM/internal/CommitState.mjs +5 -25
- package/_mjs/STM/internal/CommitState.mjs.map +1 -1
- package/_mjs/STM/internal/Entry.mjs +0 -12
- package/_mjs/STM/internal/Entry.mjs.map +1 -1
- package/_mjs/STM/internal/Journal.mjs +50 -128
- package/_mjs/STM/internal/Journal.mjs.map +1 -1
- package/_mjs/STM/internal/TryCommit.mjs +3 -8
- package/_mjs/STM/internal/TryCommit.mjs.map +1 -1
- package/_mjs/STM/internal/Versioned.mjs +0 -1
- package/_mjs/STM/internal/Versioned.mjs.map +1 -1
- package/_mjs/STM.mjs +2 -2
- package/_mjs/STM.mjs.map +1 -1
- package/_mjs/Schedule/Decision.mjs +14 -25
- package/_mjs/Schedule/Decision.mjs.map +1 -1
- package/_mjs/Schedule/Driver.mjs +0 -2
- package/_mjs/Schedule/Driver.mjs.map +1 -1
- package/_mjs/Schedule/api/driver.mjs +6 -8
- package/_mjs/Schedule/api/driver.mjs.map +1 -1
- package/_mjs/Schedule/api.mjs +379 -374
- package/_mjs/Schedule/api.mjs.map +1 -1
- package/_mjs/Schedule/definition.mjs.map +1 -1
- package/_mjs/Schedule.mjs.map +1 -1
- package/_mjs/Scope/Finalizer/definition.mjs +0 -1
- package/_mjs/Scope/Finalizer/definition.mjs.map +1 -1
- package/_mjs/Scope/Finalizer.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs +12 -12
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api.mjs +59 -60
- package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/constructors.mjs +1 -4
- package/_mjs/Scope/ReleaseMap/constructors.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/definition.mjs +0 -2
- package/_mjs/Scope/ReleaseMap/definition.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap.mjs.map +1 -1
- package/_mjs/Scope/api.mjs +28 -45
- package/_mjs/Scope/api.mjs.map +1 -1
- package/_mjs/Scope/definition.mjs +0 -4
- package/_mjs/Scope/definition.mjs.map +1 -1
- package/_mjs/Scope.mjs.map +1 -1
- package/_mjs/ScopedRef/api.mjs +7 -11
- package/_mjs/ScopedRef/api.mjs.map +1 -1
- package/_mjs/ScopedRef/definition.mjs +1 -3
- package/_mjs/ScopedRef/definition.mjs.map +1 -1
- package/_mjs/ScopedRef.mjs.map +1 -1
- package/_mjs/Sink/api.mjs +282 -383
- package/_mjs/Sink/api.mjs.map +1 -1
- package/_mjs/Sink/definition.mjs +0 -1
- package/_mjs/Sink/definition.mjs.map +1 -1
- package/_mjs/Sink.mjs.map +1 -1
- package/_mjs/State/api.mjs +16 -19
- package/_mjs/State/api.mjs.map +1 -1
- package/_mjs/State/definition.mjs +2 -4
- package/_mjs/State/definition.mjs.map +1 -1
- package/_mjs/State/internal.mjs +0 -1
- package/_mjs/State/internal.mjs.map +1 -1
- package/_mjs/State.mjs.map +1 -1
- package/_mjs/Stream/api/zipAllWith.mjs +15 -30
- package/_mjs/Stream/api/zipAllWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWith.mjs +5 -4
- package/_mjs/Stream/api/zipWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWithChunks.mjs +13 -23
- package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -1
- package/_mjs/Stream/api.mjs +827 -936
- package/_mjs/Stream/api.mjs.map +1 -1
- package/_mjs/Stream/definition.mjs +0 -4
- package/_mjs/Stream/definition.mjs.map +1 -1
- package/_mjs/Stream/internal/DebounceState.mjs +18 -34
- package/_mjs/Stream/internal/DebounceState.mjs.map +1 -1
- package/_mjs/Stream/internal/Handoff.mjs +33 -51
- package/_mjs/Stream/internal/Handoff.mjs.map +1 -1
- package/_mjs/Stream/internal/Pull.mjs +2 -9
- package/_mjs/Stream/internal/Pull.mjs.map +1 -1
- package/_mjs/Stream/internal/SinkEndReason.mjs +13 -22
- package/_mjs/Stream/internal/SinkEndReason.mjs.map +1 -1
- package/_mjs/Stream/internal/Take.mjs +28 -42
- package/_mjs/Stream/internal/Take.mjs.map +1 -1
- package/_mjs/Stream/internal/util.mjs +3 -6
- package/_mjs/Stream/internal/util.mjs.map +1 -1
- package/_mjs/Stream.mjs.map +1 -1
- package/_mjs/Subject/Atomic.mjs +22 -0
- package/_mjs/Subject/Atomic.mjs.map +1 -0
- package/_mjs/Subject/api.mjs +18 -0
- package/_mjs/Subject/api.mjs.map +1 -0
- package/_mjs/Subject/definition.mjs +3 -0
- package/_mjs/Subject/definition.mjs.map +1 -0
- package/_mjs/Subject.mjs +5 -0
- package/_mjs/Subject.mjs.map +1 -0
- package/_mjs/SubscriptionRef.mjs +41 -0
- package/_mjs/SubscriptionRef.mjs.map +1 -0
- package/_mjs/Supervisor/api.mjs +22 -29
- package/_mjs/Supervisor/api.mjs.map +1 -1
- package/_mjs/Supervisor/constructors.mjs +2 -14
- package/_mjs/Supervisor/constructors.mjs.map +1 -1
- package/_mjs/Supervisor/definition.mjs +6 -32
- package/_mjs/Supervisor/definition.mjs.map +1 -1
- package/_mjs/Supervisor.mjs.map +1 -1
- package/_mjs/SupervisorPatch.mjs +28 -55
- package/_mjs/SupervisorPatch.mjs.map +1 -1
- package/_mjs/TExit/constructors.mjs +0 -6
- package/_mjs/TExit/constructors.mjs.map +1 -1
- package/_mjs/TExit/definition.mjs +14 -57
- package/_mjs/TExit/definition.mjs.map +1 -1
- package/_mjs/TExit.mjs.map +1 -1
- package/_mjs/TFuture/api.mjs +17 -17
- package/_mjs/TFuture/api.mjs.map +1 -1
- package/_mjs/TFuture/constructors.mjs +1 -4
- package/_mjs/TFuture/constructors.mjs.map +1 -1
- package/_mjs/TFuture/definition.mjs.map +1 -1
- package/_mjs/TFuture.mjs.map +1 -1
- package/_mjs/TReentrantLock/api.mjs +41 -85
- package/_mjs/TReentrantLock/api.mjs.map +1 -1
- package/_mjs/TReentrantLock/definition.mjs +7 -26
- package/_mjs/TReentrantLock/definition.mjs.map +1 -1
- package/_mjs/TReentrantLock.mjs.map +1 -1
- package/_mjs/TRef/api.mjs +79 -257
- package/_mjs/TRef/api.mjs.map +1 -1
- package/_mjs/TRef/constructors.mjs +0 -7
- package/_mjs/TRef/constructors.mjs.map +1 -1
- package/_mjs/TRef/definition.mjs +84 -19
- package/_mjs/TRef/definition.mjs.map +1 -1
- package/_mjs/TRef/symbols.mjs +17 -0
- package/_mjs/TRef/symbols.mjs.map +1 -0
- package/_mjs/TRef.mjs +1 -0
- package/_mjs/TRef.mjs.map +1 -1
- package/_mjs/TSemaphore/api.mjs +26 -32
- package/_mjs/TSemaphore/api.mjs.map +1 -1
- package/_mjs/TSemaphore/constructors.mjs +10 -4
- package/_mjs/TSemaphore/constructors.mjs.map +1 -1
- package/_mjs/TSemaphore/definition.mjs.map +1 -1
- package/_mjs/TSemaphore.mjs.map +1 -1
- package/_mjs/TxnId.mjs +0 -1
- package/_mjs/TxnId.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs +19 -20
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs +19 -20
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/filterIO.mjs +14 -15
- package/_mjs/collection/immutable/Conc/filterIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/findIO.mjs +17 -22
- package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/mapIO.mjs +10 -9
- package/_mjs/collection/immutable/Conc/mapIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs +28 -30
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc.mjs.map +1 -1
- package/_mjs/data/Exit/foreachIO.mjs +5 -4
- package/_mjs/data/Exit/foreachIO.mjs.map +1 -1
- package/_mjs/internal/HashedPair.mjs +4 -7
- package/_mjs/internal/HashedPair.mjs.map +1 -1
- package/_mjs/internal/Hub.mjs +13 -158
- package/_mjs/internal/Hub.mjs.map +1 -1
- package/_mjs/internal/IsFatal.mjs +24 -51
- package/_mjs/internal/IsFatal.mjs.map +1 -1
- package/_mjs/internal/MutableQueue.mjs +10 -57
- package/_mjs/internal/MutableQueue.mjs.map +1 -1
- package/_mjs/internal/Scheduler.mjs +0 -11
- package/_mjs/internal/Scheduler.mjs.map +1 -1
- package/_mjs/internal/StackTraceBuilder.mjs +0 -3
- package/_mjs/internal/StackTraceBuilder.mjs.map +1 -1
- package/_src/Cached/api.ts +2 -2
- package/_src/Channel/ChildExecutorDecision/api.ts +14 -17
- package/_src/Channel/UpstreamPullRequest/api.ts +11 -13
- package/_src/Channel/api/interruptWhen.ts +18 -17
- package/_src/Channel/api/mapOutConcurrentIO.ts +66 -0
- package/_src/Channel/api/mergeAll.ts +15 -16
- package/_src/Channel/api/mergeAllUnboundedWith.ts +15 -27
- package/_src/Channel/api/mergeAllWith.ts +114 -126
- package/_src/Channel/api/mergeMap.ts +8 -18
- package/_src/Channel/api/mergeWith.ts +154 -158
- package/_src/Channel/api/toPull.ts +1 -1
- package/_src/Channel/api/zipConcurrent.ts +68 -0
- package/_src/Channel/api.ts +354 -414
- package/_src/Channel/core-api.ts +75 -122
- package/_src/Channel/definition.ts +49 -7
- package/_src/Channel/internal/ChannelExecutor.ts +12 -16
- package/_src/Channel/internal/SingleProducerAsyncInput.ts +2 -4
- package/_src/CountdownLatch.ts +39 -0
- package/_src/Fiber/FiberMessage.ts +78 -0
- package/_src/Fiber/FiberRuntime.ts +822 -0
- package/_src/Fiber/api/awaitAll.ts +1 -1
- package/_src/Fiber/api/collectAll.ts +2 -2
- package/_src/Fiber/api/inheritRefs.ts +1 -1
- package/_src/Fiber/api/interrupt.ts +1 -2
- package/_src/Fiber/api/interruptAll.ts +1 -2
- package/_src/Fiber/api/interruptAs.ts +9 -2
- package/_src/Fiber/api/interruptFork.ts +1 -1
- package/_src/Fiber/api/location.ts +2 -2
- package/_src/Fiber/api/mapFiber.ts +5 -7
- package/_src/Fiber/api/mapIO.ts +21 -21
- package/_src/Fiber/api/zipWith.ts +14 -17
- package/_src/Fiber/definition.ts +17 -16
- package/_src/Fiber.ts +2 -4
- package/_src/FiberDescriptor.ts +1 -8
- package/_src/FiberRef/api/locallyScoped.ts +8 -6
- package/_src/FiberRef/api/locallyScopedWith.ts +5 -7
- package/_src/FiberRef/api.ts +59 -52
- package/_src/FiberRef/unsafe.ts +6 -1
- package/_src/FiberRef.ts +0 -1
- package/_src/FiberRefs/api.ts +69 -14
- package/_src/FiberRefs/definition.ts +15 -7
- package/_src/FiberRefs/join.ts +39 -48
- package/_src/FiberScope/constructors.ts +2 -2
- package/_src/FiberScope/definition.ts +21 -9
- package/_src/FiberStatus/constructors.ts +6 -18
- package/_src/FiberStatus/definition.ts +13 -54
- package/_src/Future/api.ts +67 -53
- package/_src/Hub/api.ts +84 -96
- package/_src/Hub/definition.ts +22 -7
- package/_src/Hub/internal.ts +8 -8
- package/_src/IO/api/acquireRelease.ts +1 -1
- package/_src/IO/api/acquireReleaseExit.ts +1 -1
- package/_src/IO/api/asyncInterrupt.ts +77 -0
- package/_src/IO/api/bracket.ts +1 -1
- package/_src/IO/api/bracketExit.ts +1 -1
- package/_src/IO/api/clockWith.ts +0 -1
- package/_src/IO/api/concurrency.ts +5 -7
- package/_src/IO/api/consoleWith.ts +0 -2
- package/_src/IO/api/core-scope.ts +74 -90
- package/_src/IO/api/delay.ts +8 -0
- package/_src/IO/api/ensuringChildren.ts +8 -7
- package/_src/IO/api/environment.ts +24 -42
- package/_src/IO/api/{foreachC.ts → foreachConcurrent.ts} +30 -18
- package/_src/IO/api/foreachExec.ts +3 -3
- package/_src/IO/api/fork.ts +83 -0
- package/_src/IO/api/forkIn.ts +7 -9
- package/_src/IO/api/fulfill.ts +5 -3
- package/_src/IO/api/interrupt.ts +49 -32
- package/_src/IO/api/onExit.ts +8 -10
- package/_src/IO/api/onTermination.ts +12 -14
- package/_src/IO/api/provideLayer.ts +8 -10
- package/_src/IO/api/provideSomeLayer.ts +5 -14
- package/_src/IO/api/race.ts +19 -21
- package/_src/IO/api/raceFirst.ts +5 -7
- package/_src/IO/api/repeat.ts +3 -5
- package/_src/IO/api/retry.ts +19 -21
- package/_src/IO/api/schedule.ts +20 -21
- package/_src/IO/api/scoped.ts +2 -2
- package/_src/IO/api/sequenceT.ts +7 -1
- package/_src/IO/api/stateful.ts +0 -2
- package/_src/IO/api/supervised.ts +4 -8
- package/_src/IO/api/timeout.ts +10 -16
- package/_src/IO/api/withChildren.ts +2 -4
- package/_src/IO/api/withFinalizer.ts +5 -7
- package/_src/IO/api/withFinalizerExit.ts +6 -5
- package/_src/IO/api/zipConcurrent.ts +69 -0
- package/_src/IO/api.ts +576 -782
- package/_src/IO/definition.ts +150 -137
- package/_src/IO/runtime.ts +53 -64
- package/_src/IO.ts +5 -3
- package/_src/Layer/MemoMap.ts +62 -64
- package/_src/Layer/api.ts +95 -104
- package/_src/Layer/definition.ts +0 -1
- package/_src/LogLevel.ts +24 -16
- package/_src/LogSpan.ts +16 -16
- package/_src/Logger/api.ts +18 -17
- package/_src/Logger/constructors.ts +9 -15
- package/_src/Push/api.ts +702 -0
- package/_src/Push/definition.ts +42 -0
- package/_src/Push/internal.ts +39 -0
- package/_src/Push.ts +5 -0
- package/_src/Queue/api/dimapIO.ts +124 -47
- package/_src/Queue/api/filterInputIO.ts +69 -24
- package/_src/Queue/api/filterOutputIO.ts +77 -17
- package/_src/Queue/api/operations.ts +33 -31
- package/_src/Queue/api/poll.ts +3 -1
- package/_src/Queue/api/takeBetween.ts +29 -30
- package/_src/Queue/api/zipWithIO.ts +47 -36
- package/_src/Queue/constructors.ts +5 -5
- package/_src/Queue/definition.ts +129 -8
- package/_src/Queue/internal.ts +24 -38
- package/_src/Queue/strategy.ts +12 -26
- package/_src/Ref/Atomic.ts +70 -4
- package/_src/Ref/Derived.ts +22 -1
- package/_src/Ref/DerivedAll.ts +26 -2
- package/_src/Ref/Synchronized/api.ts +129 -130
- package/_src/Ref/Synchronized/constructors.ts +1 -1
- package/_src/Ref/Synchronized/definition.ts +21 -14
- package/_src/Ref/Synchronized.ts +5 -0
- package/_src/Ref/api/collect.ts +6 -8
- package/_src/Ref/api/dimap.ts +51 -64
- package/_src/Ref/api/filter.ts +12 -16
- package/_src/Ref/api/get.ts +2 -5
- package/_src/Ref/api/match.ts +8 -7
- package/_src/Ref/api/matchAll.ts +6 -5
- package/_src/Ref/api/modify.ts +61 -165
- package/_src/Ref/api/set.ts +7 -9
- package/_src/Ref/constructors.ts +3 -1
- package/_src/Ref/definition.ts +56 -23
- package/_src/Ref/symbols.ts +29 -0
- package/_src/Ref.ts +2 -0
- package/_src/RefSubject/Atomic.ts +120 -0
- package/_src/RefSubject/Synchronized/api.ts +14 -0
- package/_src/RefSubject/Synchronized/definition.ts +72 -0
- package/_src/RefSubject/api.ts +240 -0
- package/_src/RefSubject/definition.ts +62 -0
- package/_src/RefSubject.ts +5 -0
- package/_src/Reloadable/constructors.ts +2 -2
- package/_src/RuntimeConfig.ts +0 -31
- package/_src/RuntimeFlag.ts +10 -0
- package/_src/RuntimeFlags/Patch.ts +79 -0
- package/_src/RuntimeFlags/RuntimeFlags.ts +112 -0
- package/_src/RuntimeFlags.ts +4 -0
- package/_src/STM/api/core-api.ts +32 -35
- package/_src/STM/api.ts +211 -201
- package/_src/STM/internal/Entry.ts +0 -10
- package/_src/STM/internal/Journal.ts +24 -27
- package/_src/STM.ts +0 -1
- package/_src/Schedule/Decision.ts +10 -8
- package/_src/Schedule/api/driver.ts +2 -6
- package/_src/Schedule/api.ts +471 -474
- package/_src/Schedule/definition.ts +0 -1
- package/_src/Scope/ReleaseMap/api/releaseAll.ts +24 -26
- package/_src/Scope/ReleaseMap/api.ts +77 -74
- package/_src/Scope/ReleaseMap/constructors.ts +1 -1
- package/_src/Scope/api.ts +16 -18
- package/_src/ScopedRef/api.ts +0 -3
- package/_src/ScopedRef/definition.ts +1 -2
- package/_src/Sink/api.ts +326 -354
- package/_src/State/api.ts +12 -8
- package/_src/State/internal.ts +1 -1
- package/_src/Stream/api/zipAllWith.ts +7 -6
- package/_src/Stream/api/zipWith.ts +5 -8
- package/_src/Stream/api/zipWithChunks.ts +7 -6
- package/_src/Stream/api.ts +1086 -1203
- package/_src/Stream/definition.ts +0 -2
- package/_src/Stream/internal/DebounceState.ts +16 -17
- package/_src/Stream/internal/Handoff.ts +32 -36
- package/_src/Stream/internal/SinkEndReason.ts +13 -14
- package/_src/Stream/internal/Take.ts +21 -21
- package/_src/Stream/internal/util.ts +0 -2
- package/_src/Subject/Atomic.ts +28 -0
- package/_src/Subject/api.ts +18 -0
- package/_src/Subject/definition.ts +18 -0
- package/_src/Subject.ts +5 -0
- package/_src/SubscriptionRef.ts +58 -0
- package/_src/Supervisor/api.ts +20 -16
- package/_src/Supervisor/definition.ts +0 -1
- package/_src/SupervisorPatch.ts +10 -6
- package/_src/TExit/definition.ts +0 -8
- package/_src/TFuture/api.ts +23 -17
- package/_src/TFuture/definition.ts +2 -3
- package/_src/TReentrantLock/api.ts +18 -14
- package/_src/TReentrantLock/definition.ts +1 -8
- package/_src/TRef/api.ts +80 -250
- package/_src/TRef/constructors.ts +6 -6
- package/_src/TRef/definition.ts +161 -45
- package/_src/TRef/symbols.ts +19 -0
- package/_src/TRef.ts +1 -0
- package/_src/TSemaphore/api.ts +20 -19
- package/_src/TSemaphore/constructors.ts +7 -0
- package/_src/TSemaphore/definition.ts +1 -1
- package/_src/collection/immutable/Conc/dropUntilIO.ts +19 -21
- package/_src/collection/immutable/Conc/dropWhileIO.ts +21 -23
- package/_src/collection/immutable/Conc/filterIO.ts +15 -17
- package/_src/collection/immutable/Conc/findIO.ts +17 -19
- package/_src/collection/immutable/Conc/mapIO.ts +12 -10
- package/_src/collection/immutable/Conc/takeWhileIO.ts +27 -29
- package/_src/data/Exit/foreachIO.ts +8 -10
- package/_src/global.ts +11 -3
- package/_src/index.ts +10 -1
- package/_src/internal/Hub.ts +17 -27
- package/_src/internal/IsFatal.ts +14 -12
- package/_src/internal/MutableQueue.ts +8 -8
- package/_src/internal/StackTraceBuilder.ts +1 -2
- package/collection/immutable/Conc/dropUntilIO.d.ts +3 -3
- package/collection/immutable/Conc/dropWhileIO.d.ts +3 -3
- package/collection/immutable/Conc/filterIO.d.ts +3 -3
- package/collection/immutable/Conc/findIO.d.ts +2 -2
- package/collection/immutable/Conc/mapIO.d.ts +3 -3
- package/collection/immutable/Conc/takeWhileIO.d.ts +3 -3
- package/data/Exit/foreachIO.d.ts +3 -3
- package/global.d.ts +11 -3
- package/index.d.ts +10 -1
- package/internal/HashedPair.d.ts +2 -2
- package/internal/Hub.d.ts +2 -2
- package/internal/IsFatal.d.ts +3 -3
- package/internal/MutableQueue.d.ts +3 -3
- package/package.json +4 -4
- package/Channel/api/mapOutIOC.d.ts +0 -8
- package/Channel/api/zipC.d.ts +0 -16
- package/Fiber/FiberContext.d.ts +0 -153
- package/Fiber/api/evalOn.d.ts +0 -7
- package/Fiber/api/evalOnIO.d.ts +0 -9
- package/Fiber/api/interruptAsFork.d.ts +0 -8
- package/FiberState/api.d.ts +0 -7
- package/FiberState/constructors.d.ts +0 -22
- package/FiberState/definition.d.ts +0 -38
- package/FiberState.d.ts +0 -3
- package/IO/api/withRuntimeConfig.d.ts +0 -10
- package/IO/api/zipC.d.ts +0 -13
- package/Ref/Atomic/Atomic.d.ts +0 -18
- package/Ref/Atomic/api.d.ts +0 -53
- package/_cjs/Channel/api/mapOutIOC.cjs +0 -63
- package/_cjs/Channel/api/mapOutIOC.cjs.map +0 -1
- package/_cjs/Channel/api/zipC.cjs.map +0 -1
- package/_cjs/Fiber/FiberContext.cjs +0 -1088
- package/_cjs/Fiber/FiberContext.cjs.map +0 -1
- package/_cjs/Fiber/api/evalOn.cjs.map +0 -1
- package/_cjs/Fiber/api/evalOnIO.cjs +0 -31
- package/_cjs/Fiber/api/evalOnIO.cjs.map +0 -1
- package/_cjs/Fiber/api/interruptAsFork.cjs +0 -15
- package/_cjs/Fiber/api/interruptAsFork.cjs.map +0 -1
- package/_cjs/FiberState/api.cjs.map +0 -1
- package/_cjs/FiberState/constructors.cjs.map +0 -1
- package/_cjs/FiberState/definition.cjs.map +0 -1
- package/_cjs/FiberState.cjs.map +0 -1
- package/_cjs/IO/api/foreachC.cjs.map +0 -1
- package/_cjs/IO/api/withRuntimeConfig.cjs.map +0 -1
- package/_cjs/IO/api/zipC.cjs +0 -67
- package/_cjs/IO/api/zipC.cjs.map +0 -1
- package/_cjs/Ref/Atomic/Atomic.cjs +0 -64
- package/_cjs/Ref/Atomic/Atomic.cjs.map +0 -1
- package/_cjs/Ref/Atomic/api.cjs +0 -156
- package/_cjs/Ref/Atomic/api.cjs.map +0 -1
- package/_mjs/Channel/api/mapOutIOC.mjs +0 -32
- package/_mjs/Channel/api/mapOutIOC.mjs.map +0 -1
- package/_mjs/Channel/api/zipC.mjs +0 -30
- package/_mjs/Channel/api/zipC.mjs.map +0 -1
- package/_mjs/Fiber/FiberContext.mjs +0 -1013
- package/_mjs/Fiber/FiberContext.mjs.map +0 -1
- package/_mjs/Fiber/api/evalOn.mjs +0 -17
- package/_mjs/Fiber/api/evalOn.mjs.map +0 -1
- package/_mjs/Fiber/api/evalOnIO.mjs +0 -16
- package/_mjs/Fiber/api/evalOnIO.mjs.map +0 -1
- package/_mjs/Fiber/api/interruptAsFork.mjs +0 -8
- package/_mjs/Fiber/api/interruptAsFork.mjs.map +0 -1
- package/_mjs/FiberState/api.mjs +0 -15
- package/_mjs/FiberState/api.mjs.map +0 -1
- package/_mjs/FiberState/constructors.mjs +0 -26
- package/_mjs/FiberState/constructors.mjs.map +0 -1
- package/_mjs/FiberState/definition.mjs +0 -26
- package/_mjs/FiberState/definition.mjs.map +0 -1
- package/_mjs/FiberState.mjs +0 -5
- package/_mjs/FiberState.mjs.map +0 -1
- package/_mjs/IO/api/foreachC.mjs +0 -118
- package/_mjs/IO/api/foreachC.mjs.map +0 -1
- package/_mjs/IO/api/withRuntimeConfig.mjs +0 -13
- package/_mjs/IO/api/withRuntimeConfig.mjs.map +0 -1
- package/_mjs/IO/api/zipC.mjs +0 -39
- package/_mjs/IO/api/zipC.mjs.map +0 -1
- package/_mjs/Ref/Atomic/Atomic.mjs +0 -47
- package/_mjs/Ref/Atomic/Atomic.mjs.map +0 -1
- package/_mjs/Ref/Atomic/api.mjs +0 -127
- package/_mjs/Ref/Atomic/api.mjs.map +0 -1
- package/_src/Channel/api/mapOutIOC.ts +0 -63
- package/_src/Channel/api/zipC.ts +0 -104
- package/_src/Fiber/FiberContext.ts +0 -1019
- package/_src/Fiber/api/evalOn.ts +0 -17
- package/_src/Fiber/api/evalOnIO.ts +0 -19
- package/_src/Fiber/api/interruptAsFork.ts +0 -7
- package/_src/FiberState/api.ts +0 -12
- package/_src/FiberState/constructors.ts +0 -33
- package/_src/FiberState/definition.ts +0 -44
- package/_src/FiberState.ts +0 -5
- package/_src/IO/api/withRuntimeConfig.ts +0 -20
- package/_src/IO/api/zipC.ts +0 -74
- package/_src/Ref/Atomic/Atomic.ts +0 -56
- package/_src/Ref/Atomic/api.ts +0 -124
package/_cjs/Channel/api.cjs
CHANGED
|
@@ -3,30 +3,31 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
6
|
+
exports.acquireReleaseExitWith = void 0;
|
|
7
|
+
exports.acquireReleaseOut = acquireReleaseOut;
|
|
8
|
+
exports.acquireReleaseOutExit = void 0;
|
|
9
|
+
exports.acquireReleaseWith = acquireReleaseWith;
|
|
9
10
|
exports.asUnit = asUnit;
|
|
10
11
|
exports.buffer = exports.ask = exports.as_ = void 0;
|
|
11
12
|
exports.bufferChunk = bufferChunk;
|
|
12
|
-
exports.
|
|
13
|
+
exports.catchAllCause = exports.catchAll = void 0;
|
|
13
14
|
exports.collectElements = collectElements;
|
|
14
15
|
exports.concatAll = concatAll;
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
22
|
-
exports.
|
|
23
|
-
exports.
|
|
16
|
+
exports.concatAllWith = void 0;
|
|
17
|
+
exports.concatMap = concatMap;
|
|
18
|
+
exports.concatMapWith = void 0;
|
|
19
|
+
exports.concatMapWithCustom = concatMapWithCustom;
|
|
20
|
+
exports.contramap = contramap;
|
|
21
|
+
exports.contramapEnvironment = contramapEnvironment;
|
|
22
|
+
exports.contramapIO = contramapIO;
|
|
23
|
+
exports.contramapIn = contramapIn;
|
|
24
|
+
exports.contramapInIO = contramapInIO;
|
|
24
25
|
exports.doneCollect = exports.defer = void 0;
|
|
25
26
|
exports.drain = drain;
|
|
26
|
-
exports.
|
|
27
|
+
exports.embedInput = embedInput;
|
|
27
28
|
exports.emitCollect = emitCollect;
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
29
|
+
exports.ensuring = ensuring;
|
|
30
|
+
exports.ensuringWith = void 0;
|
|
30
31
|
exports.fail = fail;
|
|
31
32
|
exports.flatten = exports.failNow = void 0;
|
|
32
33
|
exports.fromEither = fromEither;
|
|
@@ -37,18 +38,17 @@ exports.fromQueue = void 0;
|
|
|
37
38
|
exports.halt = halt;
|
|
38
39
|
exports.id = exports.haltNow = void 0;
|
|
39
40
|
exports.interrupt = interrupt;
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.matchChannel_ = matchChannel_;
|
|
41
|
+
exports.mapError = mapError;
|
|
42
|
+
exports.mapOut = exports.mapIO = exports.mapErrorCause = void 0;
|
|
43
|
+
exports.mapOutIO = mapOutIO;
|
|
44
|
+
exports.matchCauseChannel = void 0;
|
|
45
|
+
exports.matchChannel = matchChannel;
|
|
46
46
|
exports.never = void 0;
|
|
47
|
-
exports.
|
|
48
|
-
exports.
|
|
49
|
-
exports.
|
|
50
|
-
exports.
|
|
51
|
-
exports.
|
|
47
|
+
exports.orElse = orElse;
|
|
48
|
+
exports.orHalt = orHalt;
|
|
49
|
+
exports.pipeTo = exports.orHaltWith = void 0;
|
|
50
|
+
exports.pipeToOrFail = pipeToOrFail;
|
|
51
|
+
exports.provideEnvironment = void 0;
|
|
52
52
|
exports.read = read;
|
|
53
53
|
exports.scoped = exports.repeated = exports.readWithCause = exports.readWith = exports.readOrFail = void 0;
|
|
54
54
|
exports.toHub = toHub;
|
|
@@ -57,90 +57,61 @@ exports.unwrapScoped = unwrapScoped;
|
|
|
57
57
|
exports.write = void 0;
|
|
58
58
|
exports.writeAll = writeAll;
|
|
59
59
|
exports.writeNow = exports.writeChunk = void 0;
|
|
60
|
-
|
|
61
60
|
var tsplus_module_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/Channel/core-api"));
|
|
62
|
-
|
|
63
61
|
var tsplus_module_2 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/IO/api/environment"));
|
|
64
|
-
|
|
65
62
|
var tsplus_module_3 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/Ref/api/get"));
|
|
66
|
-
|
|
67
63
|
var tsplus_module_4 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/IO/api"));
|
|
68
|
-
|
|
69
64
|
var tsplus_module_5 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/Ref/api/set"));
|
|
70
|
-
|
|
71
65
|
var tsplus_module_6 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/IO/api/interrupt"));
|
|
72
|
-
|
|
73
66
|
var tsplus_module_7 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/Ref/constructors"));
|
|
74
|
-
|
|
75
67
|
var tsplus_module_8 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/Ref/api/modify"));
|
|
76
|
-
|
|
77
68
|
var tsplus_module_9 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Conc/api/empty"));
|
|
78
|
-
|
|
79
69
|
var tsplus_module_10 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Conc/api"));
|
|
80
|
-
|
|
81
70
|
var tsplus_module_11 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Cause/api"));
|
|
82
|
-
|
|
83
71
|
var tsplus_module_12 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Either/destructors"));
|
|
84
|
-
|
|
85
72
|
var tsplus_module_13 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Conc"));
|
|
86
|
-
|
|
87
73
|
var tsplus_module_14 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/constructors"));
|
|
88
|
-
|
|
89
74
|
var tsplus_module_15 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/Channel/UpstreamPullStrategy/definition"));
|
|
90
|
-
|
|
91
75
|
var tsplus_module_16 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/Channel/ChildExecutorDecision/definition"));
|
|
92
|
-
|
|
93
76
|
var tsplus_module_17 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/destructors"));
|
|
94
|
-
|
|
95
77
|
var tsplus_module_18 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Exit/api"));
|
|
96
|
-
|
|
97
78
|
var tsplus_module_19 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/Queue/api/operations"));
|
|
98
|
-
|
|
99
79
|
var tsplus_module_20 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Exit/constructors"));
|
|
100
|
-
|
|
101
80
|
var tsplus_module_21 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/Scope/api"));
|
|
102
|
-
|
|
103
|
-
var
|
|
104
|
-
|
|
105
|
-
var
|
|
106
|
-
|
|
107
|
-
var tsplus_module_24 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Conc/constructors"));
|
|
108
|
-
|
|
109
|
-
var tsplus_module_25 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/Hub/api"));
|
|
110
|
-
|
|
81
|
+
var tsplus_module_22 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/IO/api/asyncInterrupt"));
|
|
82
|
+
var tsplus_module_23 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/util/predicates"));
|
|
83
|
+
var tsplus_module_24 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Either/constructors"));
|
|
84
|
+
var tsplus_module_25 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Conc/constructors"));
|
|
85
|
+
var tsplus_module_26 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/io/Hub/api"));
|
|
111
86
|
var _function = /*#__PURE__*/require("@fncts/base/data/function");
|
|
112
|
-
|
|
113
87
|
var _definition3 = /*#__PURE__*/require("@fncts/io/Channel/definition");
|
|
114
|
-
|
|
115
88
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
116
|
-
|
|
117
89
|
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; }
|
|
118
|
-
|
|
119
90
|
const fileName_1 = "(@fncts/io) src/Channel/api.ts";
|
|
120
91
|
const as_ = as_1;
|
|
121
92
|
exports.as_ = as_;
|
|
122
93
|
const ask = ask_1;
|
|
123
94
|
exports.ask = ask;
|
|
124
|
-
const
|
|
125
|
-
exports.
|
|
126
|
-
const
|
|
127
|
-
exports.
|
|
95
|
+
const acquireReleaseExitWith = acquireReleaseExitWith_1;
|
|
96
|
+
exports.acquireReleaseExitWith = acquireReleaseExitWith;
|
|
97
|
+
const acquireReleaseOutExit = acquireReleaseOutExit_1;
|
|
98
|
+
exports.acquireReleaseOutExit = acquireReleaseOutExit;
|
|
128
99
|
const buffer = buffer_1;
|
|
129
100
|
exports.buffer = buffer;
|
|
130
|
-
const
|
|
131
|
-
exports.
|
|
132
|
-
const
|
|
133
|
-
exports.
|
|
134
|
-
const
|
|
135
|
-
exports.
|
|
136
|
-
const
|
|
137
|
-
exports.
|
|
101
|
+
const catchAll = catchAll_1;
|
|
102
|
+
exports.catchAll = catchAll;
|
|
103
|
+
const catchAllCause = catchAllCause_1;
|
|
104
|
+
exports.catchAllCause = catchAllCause;
|
|
105
|
+
const concatMapWith = concatMapWith_1;
|
|
106
|
+
exports.concatMapWith = concatMapWith;
|
|
107
|
+
const concatAllWith = concatAllWith_1;
|
|
108
|
+
exports.concatAllWith = concatAllWith;
|
|
138
109
|
const defer = defer_1;
|
|
139
110
|
exports.defer = defer;
|
|
140
111
|
const doneCollect = doneCollect_1;
|
|
141
112
|
exports.doneCollect = doneCollect;
|
|
142
|
-
const
|
|
143
|
-
exports.
|
|
113
|
+
const ensuringWith = ensuringWith_1;
|
|
114
|
+
exports.ensuringWith = ensuringWith;
|
|
144
115
|
const failNow = failNow_1;
|
|
145
116
|
exports.failNow = failNow;
|
|
146
117
|
const flatten = flatten_1;
|
|
@@ -151,26 +122,26 @@ const fromIO = fromIO_1;
|
|
|
151
122
|
exports.fromIO = fromIO;
|
|
152
123
|
const fromQueue = fromQueue_1;
|
|
153
124
|
exports.fromQueue = fromQueue;
|
|
154
|
-
const
|
|
155
|
-
exports.
|
|
125
|
+
const provideEnvironment = provideEnvironment_1;
|
|
126
|
+
exports.provideEnvironment = provideEnvironment;
|
|
156
127
|
const haltNow = haltNow_1;
|
|
157
128
|
exports.haltNow = haltNow;
|
|
158
129
|
const id = id_1;
|
|
159
130
|
exports.id = id;
|
|
160
131
|
const scoped = scoped_1;
|
|
161
132
|
exports.scoped = scoped;
|
|
162
|
-
const
|
|
163
|
-
exports.
|
|
164
|
-
const
|
|
165
|
-
exports.
|
|
166
|
-
const
|
|
167
|
-
exports.
|
|
168
|
-
const
|
|
169
|
-
exports.
|
|
170
|
-
const
|
|
171
|
-
exports.
|
|
172
|
-
const
|
|
173
|
-
exports.
|
|
133
|
+
const mapErrorCause = mapErrorCause_1;
|
|
134
|
+
exports.mapErrorCause = mapErrorCause;
|
|
135
|
+
const mapIO = mapIO_1;
|
|
136
|
+
exports.mapIO = mapIO;
|
|
137
|
+
const mapOut = mapOut_1;
|
|
138
|
+
exports.mapOut = mapOut;
|
|
139
|
+
const matchCauseChannel = matchCauseChannel_1;
|
|
140
|
+
exports.matchCauseChannel = matchCauseChannel;
|
|
141
|
+
const orHaltWith = orHaltWith_1;
|
|
142
|
+
exports.orHaltWith = orHaltWith;
|
|
143
|
+
const pipeTo = pipeTo_1;
|
|
144
|
+
exports.pipeTo = pipeTo;
|
|
174
145
|
const readOrFail = readOrFail_1;
|
|
175
146
|
exports.readOrFail = readOrFail;
|
|
176
147
|
const readWithCause = readWithCause_1;
|
|
@@ -189,58 +160,49 @@ const writeNow = writeNow_1;
|
|
|
189
160
|
exports.writeNow = writeNow;
|
|
190
161
|
const unwrap = unwrap_1;
|
|
191
162
|
exports.unwrap = unwrap;
|
|
192
|
-
|
|
193
163
|
/**
|
|
194
164
|
* Returns a new channel that is the same as this one, except the terminal value of the channel
|
|
195
165
|
* is the specified constant value.
|
|
196
166
|
*
|
|
197
167
|
* This method produces the same result as mapping this channel to the specified constant value.
|
|
198
168
|
*
|
|
199
|
-
* @tsplus
|
|
169
|
+
* @tsplus pipeable fncts.io.Channel as
|
|
200
170
|
*/
|
|
201
|
-
function as_1(
|
|
202
|
-
return
|
|
171
|
+
function as_1(z2) {
|
|
172
|
+
return self => {
|
|
173
|
+
return tsplus_module_1.map(() => z2())(self);
|
|
174
|
+
};
|
|
203
175
|
}
|
|
204
176
|
/**
|
|
205
177
|
* @tsplus static fncts.io.ChannelOps ask
|
|
206
178
|
*/
|
|
207
|
-
|
|
208
|
-
|
|
209
179
|
function ask_1() {
|
|
210
|
-
return fromIO_1(() => tsplus_module_2.environment(fileName_1 + ":
|
|
180
|
+
return fromIO_1(() => tsplus_module_2.environment(fileName_1 + ":45:39"));
|
|
211
181
|
}
|
|
212
182
|
/**
|
|
213
183
|
* @tsplus getter fncts.io.Channel asUnit
|
|
214
184
|
*/
|
|
215
|
-
|
|
216
|
-
|
|
217
185
|
function asUnit(self) {
|
|
218
|
-
return as_1(
|
|
186
|
+
return as_1(() => undefined)(self);
|
|
219
187
|
}
|
|
220
188
|
/**
|
|
221
189
|
* @tsplus static fncts.io.ChannelOps acquireReleaseWith
|
|
222
190
|
*/
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
function acquireReleaseWith_(acquire, use, release) {
|
|
191
|
+
function acquireReleaseWith(acquire, use, release) {
|
|
226
192
|
return acquireReleaseExitWith_1(acquire, use, (a, _) => release(a));
|
|
227
193
|
}
|
|
228
194
|
/**
|
|
229
195
|
* @tsplus static fncts.io.ChannelOps acquireReleaseExitWith
|
|
230
196
|
*/
|
|
231
|
-
|
|
232
|
-
|
|
233
197
|
function acquireReleaseExitWith_1(acquire, use, release) {
|
|
234
|
-
return tsplus_module_1.
|
|
198
|
+
return tsplus_module_1.flatMap(ref => ensuringWith_1(exit => tsplus_module_4.flatMap(fin => fin(exit), fileName_1 + ":79:46")(tsplus_module_3.get(ref, fileName_1 + ":79:34")))(tsplus_module_1.flatMap(use)(fromIO_1(() => tsplus_module_6.uninterruptible(tsplus_module_4.tap(a => tsplus_module_5.set(exit => release(a, exit), fileName_1 + ":77:46")(ref), fileName_1 + ":77:31")(acquire), fileName_1 + ":77:75")))))(fromIO_1(() => tsplus_module_7.make(() => _ => tsplus_module_4.unit, fileName_1 + ":76:33")));
|
|
235
199
|
}
|
|
236
200
|
/**
|
|
237
201
|
* Construct a resource Channel with Acquire / Release
|
|
238
202
|
*
|
|
239
203
|
* @tsplus static fncts.io.ChannelOps acquireReleaseOut
|
|
240
204
|
*/
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
function acquireReleaseOut_(acquire, release) {
|
|
205
|
+
function acquireReleaseOut(acquire, release) {
|
|
244
206
|
return acquireReleaseOutExit_1(acquire, (z, _) => release(z));
|
|
245
207
|
}
|
|
246
208
|
/**
|
|
@@ -248,8 +210,6 @@ function acquireReleaseOut_(acquire, release) {
|
|
|
248
210
|
*
|
|
249
211
|
* @tsplus static fncts.io.ChannelOps acquireReleaseOutExit
|
|
250
212
|
*/
|
|
251
|
-
|
|
252
|
-
|
|
253
213
|
function acquireReleaseOutExit_1(self, release) {
|
|
254
214
|
return new _definition3.BracketOut(self, release);
|
|
255
215
|
}
|
|
@@ -260,22 +220,18 @@ function acquireReleaseOutExit_1(self, release) {
|
|
|
260
220
|
*
|
|
261
221
|
* @tsplus static fncts.io.ChannelOps buffer
|
|
262
222
|
*/
|
|
263
|
-
|
|
264
|
-
|
|
265
223
|
function buffer_1(empty, isEmpty, ref) {
|
|
266
|
-
return unwrap_1(() => tsplus_module_8.
|
|
224
|
+
return unwrap_1(() => tsplus_module_8.modify(v => {
|
|
267
225
|
if (isEmpty(v)) {
|
|
268
|
-
return (0, _function.tuple)(readWith_1(_in => tsplus_module_1.
|
|
226
|
+
return (0, _function.tuple)(readWith_1(_in => tsplus_module_1.zipRight(buffer_1(empty, isEmpty, ref))(writeNow_1(_in)), err => failNow_1(err), done => tsplus_module_1.endNow(done)), v);
|
|
269
227
|
} else {
|
|
270
|
-
return (0, _function.tuple)(tsplus_module_1.
|
|
228
|
+
return (0, _function.tuple)(tsplus_module_1.zipRight(buffer_1(empty, isEmpty, ref))(writeNow_1(v)), empty);
|
|
271
229
|
}
|
|
272
|
-
}, fileName_1 + ":
|
|
230
|
+
}, fileName_1 + ":120:15")(ref));
|
|
273
231
|
}
|
|
274
232
|
/**
|
|
275
233
|
* @tsplus static fncts.io.ChannelOps bufferChunk
|
|
276
234
|
*/
|
|
277
|
-
|
|
278
|
-
|
|
279
235
|
function bufferChunk(ref) {
|
|
280
236
|
return buffer_1(tsplus_module_9.empty(), conc => tsplus_module_10.isEmpty(conc), ref);
|
|
281
237
|
}
|
|
@@ -284,44 +240,40 @@ function bufferChunk(ref) {
|
|
|
284
240
|
* typed error, then the returned channel will switch over to using the fallback channel returned
|
|
285
241
|
* by the specified error handler.
|
|
286
242
|
*
|
|
287
|
-
* @tsplus
|
|
243
|
+
* @tsplus pipeable fncts.io.Channel catchAll
|
|
288
244
|
*/
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
245
|
+
function catchAll_1(f) {
|
|
246
|
+
return self => {
|
|
247
|
+
return catchAllCause_1(cause => tsplus_module_12.match(l => f(l), r => tsplus_module_1.failCauseNow(r))(tsplus_module_11.failureOrCause(cause)))(self);
|
|
248
|
+
};
|
|
293
249
|
}
|
|
294
250
|
/**
|
|
295
251
|
* Returns a new channel that is the same as this one, except if this channel errors for any
|
|
296
252
|
* typed error, then the returned channel will switch over to using the fallback channel returned
|
|
297
253
|
* by the specified error handler.
|
|
298
254
|
*
|
|
299
|
-
* @tsplus
|
|
255
|
+
* @tsplus pipeable fncts.io.Channel catchAllCause
|
|
300
256
|
*/
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
257
|
+
function catchAllCause_1(f) {
|
|
258
|
+
return self => {
|
|
259
|
+
return new _definition3.Fold(self, new _definition3.ContinuationK(_ => tsplus_module_1.endNow(_), f));
|
|
260
|
+
};
|
|
305
261
|
}
|
|
306
262
|
/**
|
|
307
263
|
* @tsplus getter fncts.io.Channel collectElements
|
|
308
264
|
*/
|
|
309
|
-
|
|
310
|
-
|
|
311
265
|
function collectElements(self) {
|
|
312
266
|
return defer_1(() => {
|
|
313
267
|
const builder = new tsplus_module_13.ConcBuilder(tsplus_module_9.empty());
|
|
314
|
-
const reader = readWith_1(out => tsplus_module_1.
|
|
315
|
-
return tsplus_module_1.
|
|
268
|
+
const reader = readWith_1(out => tsplus_module_1.zipRight(reader)(tsplus_module_1.succeed(() => builder.append(out))), failNow_1, tsplus_module_1.succeedNow);
|
|
269
|
+
return tsplus_module_1.flatMap(z => tsplus_module_1.succeedNow([builder.result(), z]))(pipeTo_1(reader)(self));
|
|
316
270
|
});
|
|
317
271
|
}
|
|
318
272
|
/**
|
|
319
273
|
* @tsplus getter fncts.io.Channel concatAll
|
|
320
274
|
*/
|
|
321
|
-
|
|
322
|
-
|
|
323
275
|
function concatAll(channels) {
|
|
324
|
-
return concatAllWith_1(
|
|
276
|
+
return concatAllWith_1(() => void 0, () => void 0)(channels);
|
|
325
277
|
}
|
|
326
278
|
/**
|
|
327
279
|
* Returns a new channel whose outputs are fed to the specified factory function, which creates
|
|
@@ -330,12 +282,12 @@ function concatAll(channels) {
|
|
|
330
282
|
* is used to merge the terminal values of all channels into the single terminal value of the
|
|
331
283
|
* returned channel.
|
|
332
284
|
*
|
|
333
|
-
* @tsplus
|
|
285
|
+
* @tsplus pipeable fncts.io.Channel concatMapWith
|
|
334
286
|
*/
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
287
|
+
function concatMapWith_1(f, g, h) {
|
|
288
|
+
return channel => {
|
|
289
|
+
return new _definition3.ConcatAll(g, h, () => tsplus_module_15.PullAfterNext(tsplus_module_14.nothing()), () => tsplus_module_16.Continue, channel, f);
|
|
290
|
+
};
|
|
339
291
|
}
|
|
340
292
|
/**
|
|
341
293
|
* Returns a new channel whose outputs are fed to the specified factory function, which creates
|
|
@@ -344,96 +296,89 @@ function concatMapWith_1(channel, f, g, h) {
|
|
|
344
296
|
* is used to merge the terminal values of all channels into the single terminal value of the
|
|
345
297
|
* returned channel.
|
|
346
298
|
*
|
|
347
|
-
* @tsplus
|
|
299
|
+
* @tsplus pipeable fncts.io.Channel concatMapWithCustom
|
|
348
300
|
*/
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
301
|
+
function concatMapWithCustom(f, g, h, onPull, onEmit) {
|
|
302
|
+
return channel => {
|
|
303
|
+
return new _definition3.ConcatAll(g, h, onPull, onEmit, channel, f);
|
|
304
|
+
};
|
|
353
305
|
}
|
|
354
306
|
/**
|
|
355
307
|
* Concat sequentially a channel of channels
|
|
356
308
|
*
|
|
357
|
-
* @tsplus
|
|
309
|
+
* @tsplus pipeable fncts.io.Channel concatAllWith
|
|
358
310
|
*/
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
311
|
+
function concatAllWith_1(f, g) {
|
|
312
|
+
return channels => {
|
|
313
|
+
return new _definition3.ConcatAll(f, g, () => tsplus_module_15.PullAfterNext(tsplus_module_14.nothing()), () => tsplus_module_16.Continue, channels, _function.identity);
|
|
314
|
+
};
|
|
363
315
|
}
|
|
364
316
|
/**
|
|
365
317
|
* Returns a new channel whose outputs are fed to the specified factory function, which creates
|
|
366
318
|
* new channels in response. These new channels are sequentially concatenated together, and all
|
|
367
319
|
* their outputs appear as outputs of the newly returned channel.
|
|
368
320
|
*
|
|
369
|
-
* @tsplus
|
|
321
|
+
* @tsplus pipeable fncts.io.Channel concatMap
|
|
370
322
|
*/
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
323
|
+
function concatMap(f) {
|
|
324
|
+
return self => {
|
|
325
|
+
return concatMapWith_1(f, () => void 0, () => void 0)(self);
|
|
326
|
+
};
|
|
375
327
|
}
|
|
376
|
-
|
|
377
328
|
function contramapReader(f) {
|
|
378
|
-
return readWith_1(_in => tsplus_module_1.
|
|
329
|
+
return readWith_1(_in => tsplus_module_1.zipRight(contramapReader(f))(writeNow_1(_in)), failNow_1, done => tsplus_module_1.endNow(f(done)));
|
|
379
330
|
}
|
|
380
331
|
/**
|
|
381
|
-
* @tsplus
|
|
332
|
+
* @tsplus pipeable fncts.io.Channel contramap
|
|
382
333
|
*/
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
334
|
+
function contramap(f) {
|
|
335
|
+
return self => {
|
|
336
|
+
return pipeTo_1(self)(contramapReader(f));
|
|
337
|
+
};
|
|
387
338
|
}
|
|
388
|
-
|
|
389
339
|
function contramapInReader(f) {
|
|
390
|
-
return readWith_1(_in => tsplus_module_1.
|
|
340
|
+
return readWith_1(_in => tsplus_module_1.zipRight(contramapInReader(f))(writeNow_1(f(_in))), failNow_1, done => tsplus_module_1.endNow(done));
|
|
391
341
|
}
|
|
392
342
|
/**
|
|
393
|
-
* @tsplus
|
|
343
|
+
* @tsplus pipeable fncts.io.Channel contramapIn
|
|
394
344
|
*/
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
345
|
+
function contramapIn(f) {
|
|
346
|
+
return self => {
|
|
347
|
+
return pipeTo_1(self)(contramapInReader(f));
|
|
348
|
+
};
|
|
399
349
|
}
|
|
400
|
-
|
|
401
350
|
function contramapIOReader(f) {
|
|
402
|
-
return readWith_1(_in => tsplus_module_1.
|
|
351
|
+
return readWith_1(_in => tsplus_module_1.zipRight(contramapIOReader(f))(writeNow_1(_in)), failNow_1, done0 => fromIO_1(() => f(done0)));
|
|
403
352
|
}
|
|
404
353
|
/**
|
|
405
|
-
* @tsplus
|
|
354
|
+
* @tsplus pipeable fncts.io.Channel contramapIO
|
|
406
355
|
*/
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
356
|
+
function contramapIO(f) {
|
|
357
|
+
return self => {
|
|
358
|
+
return pipeTo_1(self)(contramapIOReader(f));
|
|
359
|
+
};
|
|
411
360
|
}
|
|
412
|
-
|
|
413
361
|
function contramapInIOReader(f) {
|
|
414
|
-
return readWith_1(inp => tsplus_module_1.
|
|
362
|
+
return readWith_1(inp => tsplus_module_1.zipRight(contramapInIOReader(f))(tsplus_module_1.flatMap(writeNow_1)(fromIO_1(() => f(inp)))), failNow_1, tsplus_module_1.endNow);
|
|
415
363
|
}
|
|
416
364
|
/**
|
|
417
|
-
* @tsplus
|
|
365
|
+
* @tsplus pipeable fncts.io.Channel contramapInIO
|
|
418
366
|
*/
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
367
|
+
function contramapInIO(f) {
|
|
368
|
+
return self => {
|
|
369
|
+
return pipeTo_1(self)(contramapInIOReader(f));
|
|
370
|
+
};
|
|
423
371
|
}
|
|
424
372
|
/**
|
|
425
373
|
* @tsplus static fncts.io.ChannelOps defer
|
|
426
374
|
*/
|
|
427
|
-
|
|
428
|
-
|
|
429
375
|
function defer_1(effect) {
|
|
430
376
|
return new _definition3.Defer(effect);
|
|
431
377
|
}
|
|
432
|
-
|
|
433
378
|
function doneCollectReader(builder) {
|
|
434
|
-
return readWith_1(out => tsplus_module_1.
|
|
379
|
+
return readWith_1(out => tsplus_module_1.zipRight(doneCollectReader(builder))(fromIO_1(() => tsplus_module_4.succeed(() => {
|
|
435
380
|
builder.append(out);
|
|
436
|
-
}, fileName_1 + ":
|
|
381
|
+
}, fileName_1 + ":485:19"))), failNow_1, tsplus_module_1.endNow);
|
|
437
382
|
}
|
|
438
383
|
/**
|
|
439
384
|
* Returns a new channel, which is the same as this one, except that all the outputs are
|
|
@@ -445,13 +390,11 @@ function doneCollectReader(builder) {
|
|
|
445
390
|
*
|
|
446
391
|
* @tsplus getter fncts.io.Channel doneCollect
|
|
447
392
|
*/
|
|
448
|
-
|
|
449
|
-
|
|
450
393
|
function doneCollect_1(self) {
|
|
451
394
|
return unwrap_1(() => tsplus_module_4.succeed(() => {
|
|
452
395
|
const builder = tsplus_module_10.builder();
|
|
453
|
-
return mapIO_1(
|
|
454
|
-
}, fileName_1 + ":
|
|
396
|
+
return mapIO_1(z => tsplus_module_4.succeedNow((0, _function.tuple)(builder.result(), z), fileName_1 + ":510:80"))(pipeTo_1(doneCollectReader(builder))(self));
|
|
397
|
+
}, fileName_1 + ":508:15"));
|
|
455
398
|
}
|
|
456
399
|
/**
|
|
457
400
|
* Returns a new channel which reads all the elements from upstream's output channel
|
|
@@ -459,11 +402,9 @@ function doneCollect_1(self) {
|
|
|
459
402
|
*
|
|
460
403
|
* @tsplus getter fncts.io.Channel drain
|
|
461
404
|
*/
|
|
462
|
-
|
|
463
|
-
|
|
464
405
|
function drain(channel) {
|
|
465
406
|
const drainer = readWithCause_1(_ => drainer, tsplus_module_1.failCauseNow, tsplus_module_1.endNow);
|
|
466
|
-
return pipeTo_1(
|
|
407
|
+
return pipeTo_1(drainer)(channel);
|
|
467
408
|
}
|
|
468
409
|
/**
|
|
469
410
|
* Returns a new channel that collects the output and terminal value of this channel, which it
|
|
@@ -471,47 +412,43 @@ function drain(channel) {
|
|
|
471
412
|
*
|
|
472
413
|
* @tsplus getter fncts.io.Channel emitCollect
|
|
473
414
|
*/
|
|
474
|
-
|
|
475
|
-
|
|
476
415
|
function emitCollect(self) {
|
|
477
|
-
return tsplus_module_1.
|
|
416
|
+
return tsplus_module_1.flatMap(t => writeNow_1(t))(doneCollect_1(self));
|
|
478
417
|
}
|
|
479
418
|
/**
|
|
480
|
-
* @tsplus
|
|
419
|
+
* @tsplus pipeable fncts.io.Channel ensuring
|
|
481
420
|
*/
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
421
|
+
function ensuring(finalizer) {
|
|
422
|
+
return self => {
|
|
423
|
+
return ensuringWith_1(() => finalizer)(self);
|
|
424
|
+
};
|
|
486
425
|
}
|
|
487
426
|
/**
|
|
488
427
|
* Returns a new channel with an attached finalizer. The finalizer is guaranteed to be executed
|
|
489
428
|
* so long as the channel begins execution (and regardless of whether or not it completes).
|
|
490
429
|
*
|
|
491
|
-
* @tsplus
|
|
430
|
+
* @tsplus pipeable fncts.io.Channel ensuringWith
|
|
492
431
|
*/
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
432
|
+
function ensuringWith_1(finalizer) {
|
|
433
|
+
return channel => {
|
|
434
|
+
return new _definition3.Ensuring(channel, finalizer);
|
|
435
|
+
};
|
|
497
436
|
}
|
|
498
437
|
/**
|
|
499
438
|
* Embed inputs from continuos pulling of a producer
|
|
500
439
|
*
|
|
501
|
-
* @tsplus
|
|
440
|
+
* @tsplus pipeable fncts.io.Channel embedInput
|
|
502
441
|
*/
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
442
|
+
function embedInput(input) {
|
|
443
|
+
return self => {
|
|
444
|
+
return new _definition3.Bridge(input, self);
|
|
445
|
+
};
|
|
507
446
|
}
|
|
508
447
|
/**
|
|
509
448
|
* Halt a channel with the specified error
|
|
510
449
|
*
|
|
511
450
|
* @tsplus static fncts.io.ChannelOps fail
|
|
512
451
|
*/
|
|
513
|
-
|
|
514
|
-
|
|
515
452
|
function fail(error) {
|
|
516
453
|
return new _definition3.Fail(() => tsplus_module_11.fail(error()));
|
|
517
454
|
}
|
|
@@ -520,8 +457,6 @@ function fail(error) {
|
|
|
520
457
|
*
|
|
521
458
|
* @tsplus static fncts.io.ChannelOps failNow
|
|
522
459
|
*/
|
|
523
|
-
|
|
524
|
-
|
|
525
460
|
function failNow_1(error) {
|
|
526
461
|
return new _definition3.Fail(() => tsplus_module_11.fail(error));
|
|
527
462
|
}
|
|
@@ -531,79 +466,65 @@ function failNow_1(error) {
|
|
|
531
466
|
*
|
|
532
467
|
* @tsplus getter fncts.io.Channel flatten
|
|
533
468
|
*/
|
|
534
|
-
|
|
535
|
-
|
|
536
469
|
function flatten_1(self) {
|
|
537
|
-
return tsplus_module_1.
|
|
470
|
+
return tsplus_module_1.flatMap(_function.identity)(self);
|
|
538
471
|
}
|
|
539
472
|
/**
|
|
540
473
|
* @tsplus static fncts.io.ChannelOps fromEither
|
|
541
474
|
*/
|
|
542
|
-
|
|
543
|
-
|
|
544
475
|
function fromEither(either) {
|
|
545
|
-
return defer_1(() => tsplus_module_12.
|
|
476
|
+
return defer_1(() => tsplus_module_12.match(failNow_1, tsplus_module_1.succeedNow)(either()));
|
|
546
477
|
}
|
|
547
478
|
/**
|
|
548
479
|
* @tsplus static fncts.io.ChannelOps fromInput
|
|
549
480
|
*/
|
|
550
|
-
|
|
551
|
-
|
|
552
481
|
function fromInput_1(input) {
|
|
553
|
-
return unwrap_1(() => input.takeWith(tsplus_module_1.failCauseNow, elem => tsplus_module_1.
|
|
482
|
+
return unwrap_1(() => input.takeWith(tsplus_module_1.failCauseNow, elem => tsplus_module_1.zipRight(fromInput_1(input))(writeNow_1(elem)), tsplus_module_1.endNow));
|
|
554
483
|
}
|
|
555
484
|
/**
|
|
556
485
|
* Use an effect to end a channel
|
|
557
486
|
*
|
|
558
487
|
* @tsplus static fncts.io.ChannelOps fromIO
|
|
559
488
|
*/
|
|
560
|
-
|
|
561
|
-
|
|
562
489
|
function fromIO_1(io) {
|
|
563
490
|
return defer_1(() => new _definition3.FromIO(io()));
|
|
564
491
|
}
|
|
565
492
|
/**
|
|
566
493
|
* @tsplus static fncts.io.ChannelOps fromOption
|
|
567
494
|
*/
|
|
568
|
-
|
|
569
|
-
|
|
570
495
|
function fromOption(option) {
|
|
571
|
-
return defer_1(() => tsplus_module_17.
|
|
496
|
+
return defer_1(() => tsplus_module_17.match(() => failNow_1(tsplus_module_14.nothing()), tsplus_module_1.succeedNow)(option()));
|
|
572
497
|
}
|
|
573
498
|
/**
|
|
574
499
|
* @tsplus static fncts.io.ChannelOps fromQueue
|
|
575
500
|
*/
|
|
576
|
-
|
|
577
|
-
|
|
578
501
|
function fromQueue_1(queue) {
|
|
579
|
-
return tsplus_module_1.
|
|
502
|
+
return tsplus_module_1.flatMap(_ => tsplus_module_12.match(_ => tsplus_module_18.match(tsplus_module_1.failCauseNow, tsplus_module_1.endNow)(_), elem => tsplus_module_1.zipRight(fromQueue_1(queue))(writeNow_1(elem)))(_))(fromIO_1(() => tsplus_module_19.take(queue, fileName_1 + ":682:30")));
|
|
580
503
|
}
|
|
581
504
|
/**
|
|
582
505
|
* Provides the channel with its required environment, which eliminates
|
|
583
506
|
* its dependency on `Env`.
|
|
584
507
|
*
|
|
585
|
-
* @tsplus
|
|
508
|
+
* @tsplus pipeable fncts.io.Channel provideEnvironment
|
|
586
509
|
*/
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
510
|
+
function provideEnvironment_1(env) {
|
|
511
|
+
return self => {
|
|
512
|
+
return defer_1(() => new _definition3.Provide(env(), self));
|
|
513
|
+
};
|
|
591
514
|
}
|
|
592
515
|
/**
|
|
593
|
-
* @tsplus
|
|
516
|
+
* @tsplus pipeable fncts.io.Channel contramapEnvironment
|
|
594
517
|
*/
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
518
|
+
function contramapEnvironment(f) {
|
|
519
|
+
return self => {
|
|
520
|
+
return tsplus_module_1.flatMap(env0 => provideEnvironment_1(() => f(env0))(self))(ask_1());
|
|
521
|
+
};
|
|
599
522
|
}
|
|
600
523
|
/**
|
|
601
524
|
* Halt a channel with the specified exception
|
|
602
525
|
*
|
|
603
526
|
* @tsplus static fncts.io.ChannelOps haltNow
|
|
604
527
|
*/
|
|
605
|
-
|
|
606
|
-
|
|
607
528
|
function haltNow_1(defect) {
|
|
608
529
|
return new _definition3.Fail(() => tsplus_module_11.halt(defect));
|
|
609
530
|
}
|
|
@@ -612,24 +533,18 @@ function haltNow_1(defect) {
|
|
|
612
533
|
*
|
|
613
534
|
* @tsplus static fncts.io.ChannelOps halt
|
|
614
535
|
*/
|
|
615
|
-
|
|
616
|
-
|
|
617
536
|
function halt(defect) {
|
|
618
537
|
return new _definition3.Fail(() => tsplus_module_11.halt(defect()));
|
|
619
538
|
}
|
|
620
539
|
/**
|
|
621
540
|
* @tsplus static fncts.io.ChannelOps id
|
|
622
541
|
*/
|
|
623
|
-
|
|
624
|
-
|
|
625
542
|
function id_1() {
|
|
626
|
-
return readWith_1(_in => tsplus_module_1.
|
|
543
|
+
return readWith_1(_in => tsplus_module_1.zipRight(id_1())(write_1(() => _in)), failNow_1, tsplus_module_1.endNow);
|
|
627
544
|
}
|
|
628
545
|
/**
|
|
629
546
|
* @tsplus static fncts.io.ChannelOps interrupt
|
|
630
547
|
*/
|
|
631
|
-
|
|
632
|
-
|
|
633
548
|
function interrupt(fiberId) {
|
|
634
549
|
return tsplus_module_1.failCauseNow(tsplus_module_11.interrupt(fiberId));
|
|
635
550
|
}
|
|
@@ -638,163 +553,151 @@ function interrupt(fiberId) {
|
|
|
638
553
|
*
|
|
639
554
|
* @tsplus static fncts.io.ChannelOps scoped
|
|
640
555
|
*/
|
|
641
|
-
|
|
642
|
-
|
|
643
556
|
function scoped_1(io) {
|
|
644
|
-
return mapOut_1(acquireReleaseOutExit_1(tsplus_module_4.
|
|
557
|
+
return mapOut_1(([a]) => a)(acquireReleaseOutExit_1(tsplus_module_4.flatMap(scope => tsplus_module_6.uninterruptibleMask(({
|
|
645
558
|
restore
|
|
646
|
-
}) => tsplus_module_4.
|
|
559
|
+
}) => tsplus_module_4.matchCauseIO(cause => tsplus_module_4.zipRight(tsplus_module_4.failCauseNow(cause, fileName_1 + ":759:74"), fileName_1 + ":759:58")(scope.close(() => tsplus_module_20.failCause(cause))), out => tsplus_module_4.succeedNow((0, _function.tuple)(out, scope), fileName_1 + ":760:33"), fileName_1 + ":758:47")(restore(tsplus_module_21.extend(io, fileName_1 + ":758:29")(scope)))), fileName_1 + ":756:23")(tsplus_module_21.make), ([_, scope], exit) => scope.close(() => exit)));
|
|
647
560
|
}
|
|
648
561
|
/**
|
|
649
562
|
* Returns a new channel, which is the same as this one, except the failure value of the returned
|
|
650
563
|
* channel is created by applying the specified function to the failure value of this channel.
|
|
651
564
|
*
|
|
652
|
-
* @tsplus
|
|
565
|
+
* @tsplus pipeable fncts.io.Channel mapError
|
|
653
566
|
*/
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
567
|
+
function mapError(f) {
|
|
568
|
+
return self => {
|
|
569
|
+
return mapErrorCause_1(cause => tsplus_module_11.map(f)(cause))(self);
|
|
570
|
+
};
|
|
658
571
|
}
|
|
659
572
|
/**
|
|
660
573
|
* A more powerful version of `mapError` which also surfaces the `Cause` of the channel failure
|
|
661
574
|
*
|
|
662
|
-
* @tsplus
|
|
575
|
+
* @tsplus pipeable fncts.io.Channel mapErrorCause
|
|
663
576
|
*/
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
577
|
+
function mapErrorCause_1(f) {
|
|
578
|
+
return self => {
|
|
579
|
+
return catchAllCause_1(cause => tsplus_module_1.failCauseNow(f(cause)))(self);
|
|
580
|
+
};
|
|
668
581
|
}
|
|
669
582
|
/**
|
|
670
583
|
* Returns a new channel, which is the same as this one, except the terminal value of the
|
|
671
584
|
* returned channel is created by applying the specified effectful function to the terminal value
|
|
672
585
|
* of this channel.
|
|
673
586
|
*
|
|
674
|
-
* @tsplus
|
|
587
|
+
* @tsplus pipeable fncts.io.Channel mapIO
|
|
675
588
|
*/
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
589
|
+
function mapIO_1(f) {
|
|
590
|
+
return self => {
|
|
591
|
+
return tsplus_module_1.flatMap(outDone => fromIO_1(() => f(outDone)))(self);
|
|
592
|
+
};
|
|
680
593
|
}
|
|
681
594
|
/**
|
|
682
595
|
* Maps the output of this channel using f
|
|
683
596
|
*
|
|
684
|
-
* @tsplus
|
|
597
|
+
* @tsplus pipeable fncts.io.Channel mapOut
|
|
685
598
|
*/
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
599
|
+
function mapOut_1(f) {
|
|
600
|
+
return self => {
|
|
601
|
+
const reader = readWith_1(out => tsplus_module_1.zipRight(reader)(writeNow_1(f(out))), failNow_1, tsplus_module_1.endNow);
|
|
602
|
+
return pipeTo_1(reader)(self);
|
|
603
|
+
};
|
|
691
604
|
}
|
|
692
|
-
|
|
693
|
-
const mapOutIOReader = f => readWith_1(out => tsplus_module_1.apSecond_(tsplus_module_1.flatMap_(fromIO_1(() => f(out)), writeNow_1), mapOutIOReader(f)), failNow_1, tsplus_module_1.endNow);
|
|
605
|
+
const mapOutIOReader = f => readWith_1(out => tsplus_module_1.zipRight(mapOutIOReader(f))(tsplus_module_1.flatMap(writeNow_1)(fromIO_1(() => f(out)))), failNow_1, tsplus_module_1.endNow);
|
|
694
606
|
/**
|
|
695
|
-
* @tsplus
|
|
607
|
+
* @tsplus pipeable fncts.io.Channel mapOutIO
|
|
696
608
|
*/
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
609
|
+
function mapOutIO(f) {
|
|
610
|
+
return self => {
|
|
611
|
+
return pipeTo_1(mapOutIOReader(f))(self);
|
|
612
|
+
};
|
|
701
613
|
}
|
|
702
614
|
/**
|
|
703
615
|
* Fold the channel exposing success and full error cause
|
|
704
616
|
*
|
|
705
|
-
* @tsplus
|
|
617
|
+
* @tsplus pipeable fncts.io.Channel matchCauseChannel
|
|
706
618
|
*/
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
619
|
+
function matchCauseChannel_1(onError, onSuccess) {
|
|
620
|
+
return channel => {
|
|
621
|
+
return new _definition3.Fold(channel, new _definition3.ContinuationK(onSuccess, onError));
|
|
622
|
+
};
|
|
711
623
|
}
|
|
712
624
|
/**
|
|
713
625
|
* Fold the channel exposing success and full error cause
|
|
714
626
|
*
|
|
715
|
-
* @tsplus
|
|
627
|
+
* @tsplus pipeable fncts.io.Channel matchChannel
|
|
716
628
|
*/
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
629
|
+
function matchChannel(onError, onSuccess) {
|
|
630
|
+
return channel => {
|
|
631
|
+
return matchCauseChannel_1(cause => tsplus_module_12.match(onError, tsplus_module_1.failCauseNow)(tsplus_module_11.failureOrCause(cause)), onSuccess)(channel);
|
|
632
|
+
};
|
|
721
633
|
}
|
|
722
|
-
|
|
723
|
-
const never = /*#__PURE__*/fromIO_1(() => tsplus_module_4.never);
|
|
634
|
+
const never = /*#__PURE__*/fromIO_1(() => tsplus_module_22.never);
|
|
724
635
|
/**
|
|
725
636
|
* Returns a new channel that will perform the operations of this one, until failure, and then
|
|
726
637
|
* it will switch over to the operations of the specified fallback channel.
|
|
727
638
|
*
|
|
728
|
-
* @tsplus
|
|
639
|
+
* @tsplus pipeable fncts.io.Channel orElse
|
|
729
640
|
*/
|
|
730
|
-
|
|
731
641
|
exports.never = never;
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
642
|
+
function orElse(that) {
|
|
643
|
+
return self => {
|
|
644
|
+
return catchAll_1(_ => that)(self);
|
|
645
|
+
};
|
|
735
646
|
}
|
|
736
647
|
/**
|
|
737
|
-
* @tsplus
|
|
648
|
+
* @tsplus pipeable fncts.io.Channel orHalt
|
|
738
649
|
*/
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
650
|
+
function orHalt(err) {
|
|
651
|
+
return self => {
|
|
652
|
+
return orHaltWith_1(() => err)(self);
|
|
653
|
+
};
|
|
743
654
|
}
|
|
744
655
|
/**
|
|
745
|
-
* @tsplus
|
|
656
|
+
* @tsplus pipeable fncts.io.Channel orHaltWith
|
|
746
657
|
*/
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
658
|
+
function orHaltWith_1(f) {
|
|
659
|
+
return self => {
|
|
660
|
+
return catchAll_1(e => haltNow_1(f(e)))(self);
|
|
661
|
+
};
|
|
751
662
|
}
|
|
752
663
|
/**
|
|
753
664
|
* Pipe the output of a channel into the input of another
|
|
754
665
|
*
|
|
755
|
-
* @tsplus
|
|
756
|
-
* @tsplus operator fncts.io.Channel >>>
|
|
666
|
+
* @tsplus pipeable fncts.io.Channel pipeTo
|
|
667
|
+
* @tsplus pipeable-operator fncts.io.Channel >>>
|
|
757
668
|
*/
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
669
|
+
function pipeTo_1(right) {
|
|
670
|
+
return left => {
|
|
671
|
+
return new _definition3.PipeTo(() => left, () => right);
|
|
672
|
+
};
|
|
762
673
|
}
|
|
763
|
-
|
|
764
674
|
const ChannelFailureTypeId = /*#__PURE__*/Symbol.for("@principia/base/Channel/ChannelFailure");
|
|
765
|
-
|
|
766
675
|
class ChannelFailure {
|
|
767
676
|
constructor(error) {
|
|
768
677
|
this.error = error;
|
|
769
678
|
this._typeId = ChannelFailureTypeId;
|
|
770
679
|
}
|
|
771
|
-
|
|
772
680
|
}
|
|
773
|
-
|
|
774
681
|
function isChannelFailure(u) {
|
|
775
|
-
return
|
|
682
|
+
return tsplus_module_23.hasTypeId(u, ChannelFailureTypeId);
|
|
776
683
|
}
|
|
777
684
|
/**
|
|
778
|
-
* @tsplus
|
|
685
|
+
* @tsplus pipeable fncts.io.Channel pipeToOrFail
|
|
779
686
|
*/
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
687
|
+
function pipeToOrFail(right) {
|
|
688
|
+
return left => {
|
|
689
|
+
return catchAllCause_1(cause => tsplus_module_11.isHalt(cause) && isChannelFailure(cause.value) ? failNow_1(cause.value.error) : haltNow_1(cause))(pipeTo_1(right)(catchAll_1(err => tsplus_module_1.failCauseNow(tsplus_module_11.halt(new ChannelFailure(err))))(left)));
|
|
690
|
+
};
|
|
784
691
|
}
|
|
785
692
|
/**
|
|
786
693
|
* @tsplus static fncts.io.ChannelOps read
|
|
787
694
|
*/
|
|
788
|
-
|
|
789
|
-
|
|
790
695
|
function read() {
|
|
791
696
|
return readOrFail_1(tsplus_module_14.nothing());
|
|
792
697
|
}
|
|
793
698
|
/**
|
|
794
699
|
* @tsplus static fncts.io.ChannelOps readOrFail
|
|
795
700
|
*/
|
|
796
|
-
|
|
797
|
-
|
|
798
701
|
function readOrFail_1(e) {
|
|
799
702
|
return new _definition3.Read(tsplus_module_1.endNow, new _definition3.ContinuationK(() => failNow_1(e), () => failNow_1(e)));
|
|
800
703
|
}
|
|
@@ -803,8 +706,6 @@ function readOrFail_1(e) {
|
|
|
803
706
|
*
|
|
804
707
|
* @tsplus static fncts.io.ChannelOps readWithCause
|
|
805
708
|
*/
|
|
806
|
-
|
|
807
|
-
|
|
808
709
|
function readWithCause_1(inp, halt, done) {
|
|
809
710
|
return new _definition3.Read(inp, new _definition3.ContinuationK(done, halt));
|
|
810
711
|
}
|
|
@@ -813,32 +714,25 @@ function readWithCause_1(inp, halt, done) {
|
|
|
813
714
|
*
|
|
814
715
|
* @tsplus static fncts.io.ChannelOps readWith
|
|
815
716
|
*/
|
|
816
|
-
|
|
817
|
-
|
|
818
717
|
function readWith_1(inp, error, done) {
|
|
819
|
-
return readWithCause_1(inp, c => tsplus_module_12.
|
|
718
|
+
return readWithCause_1(inp, c => tsplus_module_12.match(error, tsplus_module_1.failCauseNow)(tsplus_module_11.failureOrCause(c)), done);
|
|
820
719
|
}
|
|
821
720
|
/**
|
|
822
721
|
* Repeats this channel forever
|
|
823
722
|
*
|
|
824
723
|
* @tsplus getter fncts.io.Channel repeated
|
|
825
724
|
*/
|
|
826
|
-
|
|
827
|
-
|
|
828
725
|
function repeated_1(self) {
|
|
829
|
-
return tsplus_module_1.
|
|
726
|
+
return tsplus_module_1.flatMap(() => repeated_1(self))(self);
|
|
830
727
|
}
|
|
831
728
|
/**
|
|
832
729
|
* @tsplus static fncts.io.ChannelOps toQueue
|
|
833
730
|
*/
|
|
834
|
-
|
|
835
|
-
|
|
836
731
|
function toQueue_1(queue) {
|
|
837
732
|
return defer_1(() => {
|
|
838
733
|
function toQueue(queue) {
|
|
839
|
-
return readWithCause_1(inp => tsplus_module_1.
|
|
734
|
+
return readWithCause_1(inp => tsplus_module_1.zipRight(toQueue(queue))(fromIO_1(() => tsplus_module_19.offer(tsplus_module_24.right(inp), fileName_1 + ":1189:44")(queue))), cause => fromIO_1(() => tsplus_module_19.offer(tsplus_module_24.left(tsplus_module_20.failCause(cause)), fileName_1 + ":1190:46")(queue)), done => fromIO_1(() => tsplus_module_19.offer(tsplus_module_24.left(tsplus_module_20.succeed(done)), fileName_1 + ":1191:45")(queue)));
|
|
840
735
|
}
|
|
841
|
-
|
|
842
736
|
return toQueue(queue());
|
|
843
737
|
});
|
|
844
738
|
}
|
|
@@ -847,29 +741,22 @@ function toQueue_1(queue) {
|
|
|
847
741
|
*
|
|
848
742
|
* @tsplus static fncts.io.ChannelOps write
|
|
849
743
|
*/
|
|
850
|
-
|
|
851
|
-
|
|
852
744
|
function write_1(out) {
|
|
853
745
|
return new _definition3.Emit(out);
|
|
854
746
|
}
|
|
855
747
|
/**
|
|
856
748
|
* @tsplus static fncts.io.ChannelOps writeAll
|
|
857
749
|
*/
|
|
858
|
-
|
|
859
|
-
|
|
860
750
|
function writeAll(outs) {
|
|
861
|
-
return writeChunk_1(
|
|
751
|
+
return writeChunk_1(tsplus_module_25.from(outs));
|
|
862
752
|
}
|
|
863
|
-
|
|
864
753
|
function writeChunkWriter(outs, idx, len) {
|
|
865
754
|
if (idx === len) return unit_1;
|
|
866
|
-
return tsplus_module_1.
|
|
755
|
+
return tsplus_module_1.zipRight(writeChunkWriter(outs, idx + 1, len))(writeNow_1(tsplus_module_10.unsafeGet(idx)(outs)));
|
|
867
756
|
}
|
|
868
757
|
/**
|
|
869
758
|
* @tsplus static fncts.io.ChannelOps writeChunk
|
|
870
759
|
*/
|
|
871
|
-
|
|
872
|
-
|
|
873
760
|
function writeChunk_1(outs) {
|
|
874
761
|
return writeChunkWriter(outs, 0, outs.length);
|
|
875
762
|
}
|
|
@@ -878,16 +765,12 @@ function writeChunk_1(outs) {
|
|
|
878
765
|
*
|
|
879
766
|
* @tsplus static fncts.io.ChannelOps writeNow
|
|
880
767
|
*/
|
|
881
|
-
|
|
882
|
-
|
|
883
768
|
function writeNow_1(out) {
|
|
884
769
|
return new _definition3.Emit(() => out);
|
|
885
770
|
}
|
|
886
771
|
/**
|
|
887
772
|
* @tsplus static fncts.io.ChannelOps unit
|
|
888
773
|
*/
|
|
889
|
-
|
|
890
|
-
|
|
891
774
|
const unit_1 = /*#__PURE__*/tsplus_module_1.endNow(undefined);
|
|
892
775
|
const unit = unit_1;
|
|
893
776
|
/**
|
|
@@ -895,9 +778,7 @@ const unit = unit_1;
|
|
|
895
778
|
*
|
|
896
779
|
* @tsplus static fncts.io.ChannelOps unwrap
|
|
897
780
|
*/
|
|
898
|
-
|
|
899
781
|
exports.unit = unit;
|
|
900
|
-
|
|
901
782
|
function unwrap_1(self) {
|
|
902
783
|
return flatten_1(fromIO_1(self));
|
|
903
784
|
}
|
|
@@ -906,24 +787,18 @@ function unwrap_1(self) {
|
|
|
906
787
|
*
|
|
907
788
|
* @tsplus static fncts.io.ChannelOps unwrapScoped
|
|
908
789
|
*/
|
|
909
|
-
|
|
910
|
-
|
|
911
790
|
function unwrapScoped(self) {
|
|
912
|
-
return concatAllWith_1(
|
|
791
|
+
return concatAllWith_1((d, _) => d, (d, _) => d)(scoped_1(self));
|
|
913
792
|
}
|
|
914
793
|
/**
|
|
915
794
|
* @tsplus static fncts.io.ChannelOps fromHubScoped
|
|
916
795
|
*/
|
|
917
|
-
|
|
918
|
-
|
|
919
796
|
function fromHubScoped(hub) {
|
|
920
|
-
return tsplus_module_4.defer(() => tsplus_module_4.
|
|
797
|
+
return tsplus_module_4.defer(() => tsplus_module_4.map(fromQueue_1, fileName_1 + ":1275:38")(tsplus_module_26.subscribe(hub(), fileName_1 + ":1275:24")), fileName_1 + ":1275:18");
|
|
921
798
|
}
|
|
922
799
|
/**
|
|
923
800
|
* @tsplus static fncts.io.ChannelOps toHub
|
|
924
801
|
*/
|
|
925
|
-
|
|
926
|
-
|
|
927
802
|
function toHub(hub) {
|
|
928
803
|
return toQueue_1(hub);
|
|
929
804
|
}
|