@fncts/io 0.0.19 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- 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/mapOutIOC.d.ts +3 -3
- 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/zipC.d.ts +6 -6
- package/Channel/api.d.ts +64 -64
- package/Channel/core-api.d.ts +11 -11
- package/Channel/definition.d.ts +35 -21
- package/Differ/api.d.ts +24 -0
- package/Differ/definition.d.ts +15 -0
- package/Fiber/api/evalOn.d.ts +3 -3
- package/Fiber/api/evalOnIO.d.ts +3 -3
- package/Fiber/api/interruptAs.d.ts +3 -3
- package/Fiber/api/interruptAsFork.d.ts +3 -3
- 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.d.ts +1 -0
- 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/unsafe.d.ts +12 -6
- package/FiberRefs/api.d.ts +2 -2
- package/FiberRefs/join.d.ts +3 -3
- package/Future/api.d.ts +21 -21
- package/Hub/constructors.d.ts +49 -0
- package/Hub/definition.d.ts +37 -81
- package/Hub/internal.d.ts +4 -11
- package/Hub.d.ts +1 -1
- package/IO/api/acquireRelease.d.ts +1 -1
- package/IO/api/acquireReleaseExit.d.ts +1 -1
- 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 +5 -5
- package/IO/api/ensuringChildren.d.ts +3 -3
- package/IO/api/environment.d.ts +11 -15
- package/IO/api/foreachC.d.ts +2 -2
- package/IO/api/foreachExec.d.ts +1 -1
- package/IO/api/forkIn.d.ts +3 -3
- package/IO/api/fulfill.d.ts +3 -3
- package/IO/api/interrupt.d.ts +6 -6
- 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 +3 -3
- 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/withRuntimeConfig.d.ts +3 -3
- package/IO/api/zipC.d.ts +4 -4
- package/IO/api.d.ts +179 -176
- package/IO/definition.d.ts +15 -9
- package/IOEnv/services.d.ts +2 -2
- package/Layer/MemoMap.d.ts +4 -4
- 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/Queue/constructors.d.ts +2 -1
- package/Queue/definition.d.ts +91 -82
- package/Queue/internal.d.ts +7 -9
- package/Queue.d.ts +0 -2
- package/Ref/Atomic.d.ts +15 -2
- package/Ref/Synchronized.d.ts +72 -0
- package/Ref/constructors.d.ts +7 -0
- package/Ref/definition.d.ts +60 -58
- package/Ref.d.ts +1 -6
- 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 +94 -94
- package/Scope/ReleaseMap/api/releaseAll.d.ts +2 -2
- package/Scope/ReleaseMap/api.d.ts +10 -10
- package/Scope/api.d.ts +8 -8
- package/Sink/api.d.ts +68 -68
- 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 +216 -205
- package/Stream/internal/DebounceState.d.ts +3 -3
- package/Stream/internal/Handoff.d.ts +5 -5
- package/Stream/internal/Pull.d.ts +2 -2
- package/Stream/internal/SinkEndReason.d.ts +3 -3
- package/Stream/internal/Take.d.ts +8 -8
- package/SubscriptionRef.d.ts +29 -0
- package/Supervisor/api.d.ts +13 -7
- package/Supervisor/definition.d.ts +28 -0
- package/SupervisorPatch.d.ts +61 -0
- package/TFuture/api.d.ts +7 -7
- package/TReentrantLock/api.d.ts +4 -4
- package/TRef/api.d.ts +24 -24
- package/TSemaphore/api.d.ts +4 -4
- package/TSemaphore/constructors.d.ts +6 -0
- package/_cjs/Cached/api.cjs +9 -9
- package/_cjs/Cached/api.cjs.map +1 -1
- package/_cjs/Channel/ChildExecutorDecision/api.cjs +19 -17
- package/_cjs/Channel/ChildExecutorDecision/api.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullRequest/api.cjs +16 -14
- package/_cjs/Channel/UpstreamPullRequest/api.cjs.map +1 -1
- package/_cjs/Channel/api/interruptWhen.cjs +14 -10
- package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
- package/_cjs/Channel/api/mapOutIOC.cjs +25 -25
- package/_cjs/Channel/api/mapOutIOC.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAll.cjs +6 -4
- package/_cjs/Channel/api/mergeAll.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs +6 -4
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllWith.cjs +48 -52
- package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeMap.cjs +6 -4
- package/_cjs/Channel/api/mergeMap.cjs.map +1 -1
- package/_cjs/Channel/api/mergeWith.cjs +48 -46
- package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
- package/_cjs/Channel/api/run.cjs +1 -1
- package/_cjs/Channel/api/run.cjs.map +1 -1
- package/_cjs/Channel/api/runScoped.cjs +2 -2
- package/_cjs/Channel/api/runScoped.cjs.map +1 -1
- package/_cjs/Channel/api/toPull.cjs +3 -3
- package/_cjs/Channel/api/toPull.cjs.map +1 -1
- package/_cjs/Channel/api/zipC.cjs +20 -14
- package/_cjs/Channel/api/zipC.cjs.map +1 -1
- package/_cjs/Channel/api.cjs +264 -218
- package/_cjs/Channel/api.cjs.map +1 -1
- package/_cjs/Channel/core-api.cjs +34 -24
- package/_cjs/Channel/core-api.cjs.map +1 -1
- package/_cjs/Channel/definition.cjs +1 -1
- package/_cjs/Channel/definition.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelExecutor.cjs +83 -83
- package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +22 -24
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
- package/_cjs/Differ/api.cjs +108 -0
- package/_cjs/Differ/api.cjs.map +1 -0
- package/_cjs/Differ/definition.cjs +23 -0
- package/_cjs/Differ/definition.cjs.map +1 -0
- package/_cjs/Fiber/FiberContext.cjs +48 -48
- package/_cjs/Fiber/FiberContext.cjs.map +1 -1
- package/_cjs/Fiber/api/awaitAll.cjs +1 -1
- package/_cjs/Fiber/api/awaitAll.cjs.map +1 -1
- package/_cjs/Fiber/api/collectAll.cjs +1 -1
- package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
- package/_cjs/Fiber/api/evalOn.cjs +12 -10
- package/_cjs/Fiber/api/evalOn.cjs.map +1 -1
- package/_cjs/Fiber/api/evalOnIO.cjs +6 -4
- package/_cjs/Fiber/api/evalOnIO.cjs.map +1 -1
- package/_cjs/Fiber/api/fromIO.cjs +1 -1
- package/_cjs/Fiber/api/fromIO.cjs.map +1 -1
- package/_cjs/Fiber/api/interrupt.cjs +1 -1
- package/_cjs/Fiber/api/interrupt.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAll.cjs +2 -2
- package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAs.cjs +6 -4
- package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAsFork.cjs +6 -4
- package/_cjs/Fiber/api/interruptAsFork.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs.map +1 -1
- package/_cjs/Fiber/api/join.cjs +1 -1
- package/_cjs/Fiber/api/join.cjs.map +1 -1
- package/_cjs/Fiber/api/joinAll.cjs +1 -1
- package/_cjs/Fiber/api/joinAll.cjs.map +1 -1
- package/_cjs/Fiber/api/mapFiber.cjs +6 -4
- package/_cjs/Fiber/api/mapFiber.cjs.map +1 -1
- package/_cjs/Fiber/api/mapIO.cjs +14 -10
- package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
- package/_cjs/Fiber/api/zipWith.cjs +6 -4
- package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
- package/_cjs/Fiber/definition.cjs.map +1 -1
- package/_cjs/Fiber.cjs +13 -0
- package/_cjs/Fiber.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScoped.cjs +6 -4
- package/_cjs/FiberRef/api/locallyScoped.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScopedWith.cjs +5 -3
- package/_cjs/FiberRef/api/locallyScopedWith.cjs.map +1 -1
- package/_cjs/FiberRef/api.cjs +64 -47
- package/_cjs/FiberRef/api.cjs.map +1 -1
- package/_cjs/FiberRef/constructors.cjs +1 -1
- package/_cjs/FiberRef/constructors.cjs.map +1 -1
- package/_cjs/FiberRef/unsafe.cjs +35 -21
- package/_cjs/FiberRef/unsafe.cjs.map +1 -1
- package/_cjs/FiberRef.cjs.map +1 -1
- package/_cjs/FiberRefs/api.cjs +15 -13
- package/_cjs/FiberRefs/api.cjs.map +1 -1
- package/_cjs/FiberRefs/join.cjs +37 -35
- package/_cjs/FiberRefs/join.cjs.map +1 -1
- package/_cjs/FiberState/definition.cjs.map +1 -1
- package/_cjs/Future/api.cjs +97 -79
- package/_cjs/Future/api.cjs.map +1 -1
- package/_cjs/Future/constructors.cjs +1 -1
- package/_cjs/Future/constructors.cjs.map +1 -1
- package/_cjs/Hub/constructors.cjs +93 -0
- package/_cjs/Hub/constructors.cjs.map +1 -0
- package/_cjs/Hub/definition.cjs +104 -13
- package/_cjs/Hub/definition.cjs.map +1 -1
- package/_cjs/Hub/internal.cjs +104 -129
- package/_cjs/Hub/internal.cjs.map +1 -1
- package/_cjs/Hub.cjs +4 -4
- package/_cjs/IO/api/acquireReleaseExit.cjs +1 -1
- package/_cjs/IO/api/acquireReleaseExit.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizerExit.cjs +1 -1
- package/_cjs/IO/api/addFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/asyncIO.cjs +4 -4
- package/_cjs/IO/api/asyncIO.cjs.map +1 -1
- package/_cjs/IO/api/bracket.cjs +3 -3
- package/_cjs/IO/api/bracket.cjs.map +1 -1
- package/_cjs/IO/api/bracketExit.cjs +3 -3
- package/_cjs/IO/api/bracketExit.cjs.map +1 -1
- package/_cjs/IO/api/clockWith.cjs +2 -2
- package/_cjs/IO/api/clockWith.cjs.map +1 -1
- package/_cjs/IO/api/concurrency.cjs +9 -7
- package/_cjs/IO/api/concurrency.cjs.map +1 -1
- package/_cjs/IO/api/concurrentFinalizers.cjs +1 -1
- package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
- package/_cjs/IO/api/consoleWith.cjs +2 -2
- package/_cjs/IO/api/consoleWith.cjs.map +1 -1
- package/_cjs/IO/api/core-scope.cjs +45 -41
- package/_cjs/IO/api/core-scope.cjs.map +1 -1
- package/_cjs/IO/api/ensuringChildren.cjs +5 -3
- package/_cjs/IO/api/ensuringChildren.cjs.map +1 -1
- package/_cjs/IO/api/environment.cjs +35 -35
- package/_cjs/IO/api/environment.cjs.map +1 -1
- package/_cjs/IO/api/foreachC.cjs +19 -23
- package/_cjs/IO/api/foreachC.cjs.map +1 -1
- package/_cjs/IO/api/foreachExec.cjs +3 -3
- package/_cjs/IO/api/foreachExec.cjs.map +1 -1
- package/_cjs/IO/api/forkAll.cjs +1 -1
- package/_cjs/IO/api/forkAll.cjs.map +1 -1
- package/_cjs/IO/api/forkIn.cjs +8 -6
- package/_cjs/IO/api/forkIn.cjs.map +1 -1
- package/_cjs/IO/api/forkScoped.cjs +1 -1
- package/_cjs/IO/api/forkScoped.cjs.map +1 -1
- package/_cjs/IO/api/fulfill.cjs +8 -6
- package/_cjs/IO/api/fulfill.cjs.map +1 -1
- package/_cjs/IO/api/interrupt.cjs +36 -30
- package/_cjs/IO/api/interrupt.cjs.map +1 -1
- package/_cjs/IO/api/memoize.cjs +1 -1
- package/_cjs/IO/api/memoize.cjs.map +1 -1
- package/_cjs/IO/api/onExit.cjs +6 -4
- package/_cjs/IO/api/onExit.cjs.map +1 -1
- package/_cjs/IO/api/onTermination.cjs +5 -3
- package/_cjs/IO/api/onTermination.cjs.map +1 -1
- package/_cjs/IO/api/once.cjs +3 -5
- package/_cjs/IO/api/once.cjs.map +1 -1
- package/_cjs/IO/api/provideLayer.cjs +6 -4
- package/_cjs/IO/api/provideLayer.cjs.map +1 -1
- package/_cjs/IO/api/provideSomeLayer.cjs +5 -15
- package/_cjs/IO/api/provideSomeLayer.cjs.map +1 -1
- package/_cjs/IO/api/race.cjs +6 -4
- package/_cjs/IO/api/race.cjs.map +1 -1
- package/_cjs/IO/api/raceFirst.cjs +6 -4
- package/_cjs/IO/api/raceFirst.cjs.map +1 -1
- package/_cjs/IO/api/randomWith.cjs +1 -1
- package/_cjs/IO/api/randomWith.cjs.map +1 -1
- package/_cjs/IO/api/repeat.cjs +12 -12
- package/_cjs/IO/api/repeat.cjs.map +1 -1
- package/_cjs/IO/api/retry.cjs +14 -14
- package/_cjs/IO/api/retry.cjs.map +1 -1
- package/_cjs/IO/api/schedule.cjs +15 -11
- package/_cjs/IO/api/schedule.cjs.map +1 -1
- package/_cjs/IO/api/scoped.cjs +6 -6
- package/_cjs/IO/api/scoped.cjs.map +1 -1
- package/_cjs/IO/api/sequenceT.cjs +1 -1
- package/_cjs/IO/api/sequenceT.cjs.map +1 -1
- package/_cjs/IO/api/stateful.cjs.map +1 -1
- package/_cjs/IO/api/supervised.cjs +6 -4
- package/_cjs/IO/api/supervised.cjs.map +1 -1
- package/_cjs/IO/api/timeout.cjs +10 -6
- package/_cjs/IO/api/timeout.cjs.map +1 -1
- package/_cjs/IO/api/withChildren.cjs +1 -1
- package/_cjs/IO/api/withChildren.cjs.map +1 -1
- package/_cjs/IO/api/withEarlyRelease.cjs +1 -1
- package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizer.cjs +6 -4
- package/_cjs/IO/api/withFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizerExit.cjs +6 -4
- package/_cjs/IO/api/withFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/withRuntimeConfig.cjs +6 -4
- package/_cjs/IO/api/withRuntimeConfig.cjs.map +1 -1
- package/_cjs/IO/api/zipC.cjs +21 -17
- package/_cjs/IO/api/zipC.cjs.map +1 -1
- package/_cjs/IO/api.cjs +634 -509
- package/_cjs/IO/api.cjs.map +1 -1
- package/_cjs/IO/definition.cjs.map +1 -1
- package/_cjs/IO/runtime.cjs +7 -7
- package/_cjs/IO/runtime.cjs.map +1 -1
- package/_cjs/IO.cjs.map +1 -1
- package/_cjs/IOEnv/definition.cjs +1 -1
- package/_cjs/IOEnv/definition.cjs.map +1 -1
- package/_cjs/IOEnv/live.cjs +1 -1
- package/_cjs/IOEnv/live.cjs.map +1 -1
- package/_cjs/IOEnv/services.cjs.map +1 -1
- package/_cjs/Layer/MemoMap.cjs +86 -92
- package/_cjs/Layer/MemoMap.cjs.map +1 -1
- package/_cjs/Layer/api.cjs +110 -81
- package/_cjs/Layer/api.cjs.map +1 -1
- package/_cjs/Layer/definition.cjs.map +1 -1
- package/_cjs/LogLevel.cjs +24 -16
- package/_cjs/LogLevel.cjs.map +1 -1
- package/_cjs/LogSpan.cjs +18 -16
- package/_cjs/LogSpan.cjs.map +1 -1
- package/_cjs/Logger/api.cjs +18 -14
- package/_cjs/Logger/api.cjs.map +1 -1
- package/_cjs/Logger/constructors.cjs +1 -1
- package/_cjs/Logger/constructors.cjs.map +1 -1
- package/_cjs/Queue/constructors.cjs +19 -5
- package/_cjs/Queue/constructors.cjs.map +1 -1
- package/_cjs/Queue/definition.cjs +191 -16
- package/_cjs/Queue/definition.cjs.map +1 -1
- package/_cjs/Queue/internal.cjs +27 -181
- package/_cjs/Queue/internal.cjs.map +1 -1
- package/_cjs/Queue/strategy.cjs +19 -19
- package/_cjs/Queue/strategy.cjs.map +1 -1
- package/_cjs/Queue.cjs +0 -26
- package/_cjs/Queue.cjs.map +1 -1
- package/_cjs/Random/live.cjs +2 -2
- package/_cjs/Random/live.cjs.map +1 -1
- package/_cjs/Ref/Atomic.cjs +47 -24
- package/_cjs/Ref/Atomic.cjs.map +1 -1
- package/_cjs/Ref/Synchronized.cjs +140 -0
- package/_cjs/Ref/Synchronized.cjs.map +1 -0
- package/_cjs/Ref/constructors.cjs +21 -2
- package/_cjs/Ref/constructors.cjs.map +1 -1
- package/_cjs/Ref/definition.cjs +105 -10
- package/_cjs/Ref/definition.cjs.map +1 -1
- package/_cjs/Ref.cjs +4 -69
- package/_cjs/Ref.cjs.map +1 -1
- package/_cjs/Reloadable/constructors.cjs +10 -10
- package/_cjs/Reloadable/constructors.cjs.map +1 -1
- package/_cjs/RuntimeConfig.cjs +2 -2
- package/_cjs/RuntimeConfig.cjs.map +1 -1
- package/_cjs/STM/api/core-api.cjs +36 -26
- package/_cjs/STM/api/core-api.cjs.map +1 -1
- package/_cjs/STM/api.cjs +217 -163
- package/_cjs/STM/api.cjs.map +1 -1
- package/_cjs/STM/driver.cjs +3 -3
- package/_cjs/STM/driver.cjs.map +1 -1
- package/_cjs/STM/internal/Entry.cjs.map +1 -1
- package/_cjs/STM/internal/Journal.cjs +33 -29
- package/_cjs/STM/internal/Journal.cjs.map +1 -1
- package/_cjs/STM.cjs.map +1 -1
- package/_cjs/Schedule/Decision.cjs +16 -14
- package/_cjs/Schedule/Decision.cjs.map +1 -1
- package/_cjs/Schedule/api/driver.cjs +16 -20
- package/_cjs/Schedule/api/driver.cjs.map +1 -1
- package/_cjs/Schedule/api.cjs +381 -290
- package/_cjs/Schedule/api.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +14 -14
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api.cjs +68 -61
- package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
- package/_cjs/Scope/api.cjs +34 -27
- package/_cjs/Scope/api.cjs.map +1 -1
- package/_cjs/ScopedRef/api.cjs +9 -13
- package/_cjs/ScopedRef/api.cjs.map +1 -1
- package/_cjs/ScopedRef/definition.cjs +1 -1
- package/_cjs/ScopedRef/definition.cjs.map +1 -1
- package/_cjs/Sink/api.cjs +307 -249
- package/_cjs/Sink/api.cjs.map +1 -1
- package/_cjs/State/api.cjs +18 -14
- package/_cjs/State/api.cjs.map +1 -1
- package/_cjs/Stream/api/zipAllWith.cjs +15 -13
- package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWith.cjs +6 -4
- package/_cjs/Stream/api/zipWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWithChunks.cjs +13 -11
- package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
- package/_cjs/Stream/api.cjs +992 -788
- package/_cjs/Stream/api.cjs.map +1 -1
- package/_cjs/Stream/definition.cjs.map +1 -1
- package/_cjs/Stream/internal/DebounceState.cjs +21 -19
- package/_cjs/Stream/internal/DebounceState.cjs.map +1 -1
- package/_cjs/Stream/internal/Handoff.cjs +35 -33
- package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
- package/_cjs/Stream/internal/Pull.cjs +9 -11
- package/_cjs/Stream/internal/Pull.cjs.map +1 -1
- package/_cjs/Stream/internal/SinkEndReason.cjs +16 -14
- package/_cjs/Stream/internal/SinkEndReason.cjs.map +1 -1
- package/_cjs/Stream/internal/Take.cjs +32 -24
- package/_cjs/Stream/internal/Take.cjs.map +1 -1
- package/_cjs/Stream/internal/util.cjs +3 -3
- package/_cjs/Stream/internal/util.cjs.map +1 -1
- package/_cjs/SubscriptionRef.cjs +68 -0
- package/_cjs/SubscriptionRef.cjs.map +1 -0
- package/_cjs/Supervisor/api.cjs +49 -34
- package/_cjs/Supervisor/api.cjs.map +1 -1
- package/_cjs/Supervisor/constructors.cjs +2 -2
- package/_cjs/Supervisor/constructors.cjs.map +1 -1
- package/_cjs/Supervisor/definition.cjs +66 -1
- package/_cjs/Supervisor/definition.cjs.map +1 -1
- package/_cjs/SupervisorPatch.cjs +176 -0
- package/_cjs/SupervisorPatch.cjs.map +1 -0
- package/_cjs/TExit/definition.cjs.map +1 -1
- package/_cjs/TFuture/api.cjs +21 -15
- package/_cjs/TFuture/api.cjs.map +1 -1
- package/_cjs/TFuture/constructors.cjs +1 -1
- package/_cjs/TFuture/constructors.cjs.map +1 -1
- package/_cjs/TFuture/definition.cjs.map +1 -1
- package/_cjs/TReentrantLock/api.cjs +32 -28
- package/_cjs/TReentrantLock/api.cjs.map +1 -1
- package/_cjs/TReentrantLock/definition.cjs +4 -4
- package/_cjs/TReentrantLock/definition.cjs.map +1 -1
- package/_cjs/TRef/api.cjs +233 -209
- package/_cjs/TRef/api.cjs.map +1 -1
- package/_cjs/TRef/definition.cjs +4 -4
- package/_cjs/TRef/definition.cjs.map +1 -1
- package/_cjs/TSemaphore/api.cjs +27 -23
- package/_cjs/TSemaphore/api.cjs.map +1 -1
- package/_cjs/TSemaphore/constructors.cjs +18 -3
- package/_cjs/TSemaphore/constructors.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +21 -19
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +21 -19
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/filterIO.cjs +16 -14
- package/_cjs/collection/immutable/Conc/filterIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/findIO.cjs +19 -17
- package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/mapIO.cjs +11 -9
- package/_cjs/collection/immutable/Conc/mapIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +31 -29
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
- package/_cjs/data/Exit/foreachIO.cjs +6 -4
- package/_cjs/data/Exit/foreachIO.cjs.map +1 -1
- package/_cjs/internal/Hub.cjs +13 -11
- package/_cjs/internal/Hub.cjs.map +1 -1
- package/_cjs/internal/IsFatal.cjs +18 -16
- package/_cjs/internal/IsFatal.cjs.map +1 -1
- package/_cjs/internal/MutableQueue.cjs +11 -9
- package/_cjs/internal/MutableQueue.cjs.map +1 -1
- package/_cjs/internal/StackTraceBuilder.cjs.map +1 -1
- package/_mjs/Cached/api.mjs +6 -6
- package/_mjs/Cached/api.mjs.map +1 -1
- package/_mjs/Channel/ChildExecutorDecision/api.mjs +18 -16
- package/_mjs/Channel/ChildExecutorDecision/api.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullRequest/api.mjs +14 -12
- package/_mjs/Channel/UpstreamPullRequest/api.mjs.map +1 -1
- package/_mjs/Channel/api/interruptWhen.mjs +11 -7
- package/_mjs/Channel/api/interruptWhen.mjs.map +1 -1
- package/_mjs/Channel/api/mapOutIOC.mjs +24 -23
- package/_mjs/Channel/api/mapOutIOC.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAll.mjs +5 -3
- package/_mjs/Channel/api/mergeAll.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllUnboundedWith.mjs +5 -3
- package/_mjs/Channel/api/mergeAllUnboundedWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllWith.mjs +45 -46
- package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeMap.mjs +5 -3
- package/_mjs/Channel/api/mergeMap.mjs.map +1 -1
- package/_mjs/Channel/api/mergeWith.mjs +46 -44
- package/_mjs/Channel/api/mergeWith.mjs.map +1 -1
- package/_mjs/Channel/api/run.mjs +1 -1
- package/_mjs/Channel/api/run.mjs.map +1 -1
- package/_mjs/Channel/api/runScoped.mjs +2 -2
- package/_mjs/Channel/api/runScoped.mjs.map +1 -1
- package/_mjs/Channel/api/toPull.mjs +3 -3
- package/_mjs/Channel/api/toPull.mjs.map +1 -1
- package/_mjs/Channel/api/zipC.mjs +16 -10
- package/_mjs/Channel/api/zipC.mjs.map +1 -1
- package/_mjs/Channel/api.mjs +224 -173
- package/_mjs/Channel/api.mjs.map +1 -1
- package/_mjs/Channel/core-api.mjs +28 -18
- package/_mjs/Channel/core-api.mjs.map +1 -1
- package/_mjs/Channel/definition.mjs +1 -1
- package/_mjs/Channel/definition.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelExecutor.mjs +83 -83
- package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +22 -23
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -1
- package/_mjs/Differ/api.mjs +90 -0
- package/_mjs/Differ/api.mjs.map +1 -0
- package/_mjs/Differ/definition.mjs +13 -0
- package/_mjs/Differ/definition.mjs.map +1 -0
- package/_mjs/Fiber/FiberContext.mjs +48 -48
- package/_mjs/Fiber/FiberContext.mjs.map +1 -1
- package/_mjs/Fiber/api/awaitAll.mjs +1 -1
- package/_mjs/Fiber/api/awaitAll.mjs.map +1 -1
- package/_mjs/Fiber/api/collectAll.mjs +1 -1
- package/_mjs/Fiber/api/collectAll.mjs.map +1 -1
- package/_mjs/Fiber/api/evalOn.mjs +11 -9
- package/_mjs/Fiber/api/evalOn.mjs.map +1 -1
- package/_mjs/Fiber/api/evalOnIO.mjs +5 -3
- package/_mjs/Fiber/api/evalOnIO.mjs.map +1 -1
- package/_mjs/Fiber/api/fromIO.mjs +1 -1
- package/_mjs/Fiber/api/fromIO.mjs.map +1 -1
- package/_mjs/Fiber/api/interrupt.mjs +1 -1
- package/_mjs/Fiber/api/interrupt.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAll.mjs +2 -2
- package/_mjs/Fiber/api/interruptAll.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAs.mjs +6 -4
- package/_mjs/Fiber/api/interruptAs.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAsFork.mjs +6 -4
- package/_mjs/Fiber/api/interruptAsFork.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptFork.mjs +1 -1
- package/_mjs/Fiber/api/interruptFork.mjs.map +1 -1
- package/_mjs/Fiber/api/join.mjs +1 -1
- package/_mjs/Fiber/api/join.mjs.map +1 -1
- package/_mjs/Fiber/api/joinAll.mjs +1 -1
- package/_mjs/Fiber/api/joinAll.mjs.map +1 -1
- package/_mjs/Fiber/api/mapFiber.mjs +5 -3
- package/_mjs/Fiber/api/mapFiber.mjs.map +1 -1
- package/_mjs/Fiber/api/mapIO.mjs +11 -7
- package/_mjs/Fiber/api/mapIO.mjs.map +1 -1
- package/_mjs/Fiber/api/zipWith.mjs +5 -3
- package/_mjs/Fiber/api/zipWith.mjs.map +1 -1
- package/_mjs/Fiber/definition.mjs.map +1 -1
- package/_mjs/Fiber.mjs +1 -0
- package/_mjs/Fiber.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScoped.mjs +5 -3
- package/_mjs/FiberRef/api/locallyScoped.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScopedWith.mjs +5 -3
- package/_mjs/FiberRef/api/locallyScopedWith.mjs.map +1 -1
- package/_mjs/FiberRef/api.mjs +52 -36
- package/_mjs/FiberRef/api.mjs.map +1 -1
- package/_mjs/FiberRef/constructors.mjs +1 -1
- package/_mjs/FiberRef/constructors.mjs.map +1 -1
- package/_mjs/FiberRef/unsafe.mjs +31 -20
- package/_mjs/FiberRef/unsafe.mjs.map +1 -1
- package/_mjs/FiberRef.mjs.map +1 -1
- package/_mjs/FiberRefs/api.mjs +14 -12
- package/_mjs/FiberRefs/api.mjs.map +1 -1
- package/_mjs/FiberRefs/join.mjs +35 -33
- package/_mjs/FiberRefs/join.mjs.map +1 -1
- package/_mjs/FiberState/definition.mjs.map +1 -1
- package/_mjs/Future/api.mjs +84 -66
- package/_mjs/Future/api.mjs.map +1 -1
- package/_mjs/Future/constructors.mjs +1 -1
- package/_mjs/Future/constructors.mjs.map +1 -1
- package/_mjs/Hub/constructors.mjs +66 -0
- package/_mjs/Hub/constructors.mjs.map +1 -0
- package/_mjs/Hub/definition.mjs +88 -9
- package/_mjs/Hub/definition.mjs.map +1 -1
- package/_mjs/Hub/internal.mjs +105 -122
- package/_mjs/Hub/internal.mjs.map +1 -1
- package/_mjs/Hub.mjs +1 -1
- package/_mjs/Hub.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseExit.mjs +1 -1
- package/_mjs/IO/api/acquireReleaseExit.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs.map +1 -1
- package/_mjs/IO/api/addFinalizerExit.mjs +1 -1
- package/_mjs/IO/api/addFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/asyncIO.mjs +4 -4
- package/_mjs/IO/api/asyncIO.mjs.map +1 -1
- package/_mjs/IO/api/bracket.mjs +2 -2
- package/_mjs/IO/api/bracket.mjs.map +1 -1
- package/_mjs/IO/api/bracketExit.mjs +2 -2
- package/_mjs/IO/api/bracketExit.mjs.map +1 -1
- package/_mjs/IO/api/clockWith.mjs +2 -2
- package/_mjs/IO/api/clockWith.mjs.map +1 -1
- package/_mjs/IO/api/concurrency.mjs +8 -6
- package/_mjs/IO/api/concurrency.mjs.map +1 -1
- package/_mjs/IO/api/concurrentFinalizers.mjs +1 -1
- package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -1
- package/_mjs/IO/api/consoleWith.mjs +2 -2
- package/_mjs/IO/api/consoleWith.mjs.map +1 -1
- package/_mjs/IO/api/core-scope.mjs +40 -36
- package/_mjs/IO/api/core-scope.mjs.map +1 -1
- package/_mjs/IO/api/ensuringChildren.mjs +5 -3
- package/_mjs/IO/api/ensuringChildren.mjs.map +1 -1
- package/_mjs/IO/api/environment.mjs +29 -27
- package/_mjs/IO/api/environment.mjs.map +1 -1
- package/_mjs/IO/api/foreachC.mjs +17 -19
- package/_mjs/IO/api/foreachC.mjs.map +1 -1
- package/_mjs/IO/api/foreachExec.mjs +2 -2
- package/_mjs/IO/api/foreachExec.mjs.map +1 -1
- package/_mjs/IO/api/forkAll.mjs +1 -1
- package/_mjs/IO/api/forkAll.mjs.map +1 -1
- package/_mjs/IO/api/forkIn.mjs +7 -5
- package/_mjs/IO/api/forkIn.mjs.map +1 -1
- package/_mjs/IO/api/forkScoped.mjs +1 -1
- package/_mjs/IO/api/forkScoped.mjs.map +1 -1
- package/_mjs/IO/api/fulfill.mjs +7 -5
- package/_mjs/IO/api/fulfill.mjs.map +1 -1
- package/_mjs/IO/api/interrupt.mjs +34 -28
- package/_mjs/IO/api/interrupt.mjs.map +1 -1
- package/_mjs/IO/api/memoize.mjs +1 -1
- package/_mjs/IO/api/memoize.mjs.map +1 -1
- package/_mjs/IO/api/onExit.mjs +5 -3
- package/_mjs/IO/api/onExit.mjs.map +1 -1
- package/_mjs/IO/api/onTermination.mjs +5 -3
- package/_mjs/IO/api/onTermination.mjs.map +1 -1
- package/_mjs/IO/api/once.mjs +3 -4
- package/_mjs/IO/api/once.mjs.map +1 -1
- package/_mjs/IO/api/provideLayer.mjs +5 -3
- package/_mjs/IO/api/provideLayer.mjs.map +1 -1
- package/_mjs/IO/api/provideSomeLayer.mjs +5 -11
- package/_mjs/IO/api/provideSomeLayer.mjs.map +1 -1
- package/_mjs/IO/api/race.mjs +5 -3
- package/_mjs/IO/api/race.mjs.map +1 -1
- package/_mjs/IO/api/raceFirst.mjs +5 -3
- package/_mjs/IO/api/raceFirst.mjs.map +1 -1
- package/_mjs/IO/api/randomWith.mjs +1 -1
- package/_mjs/IO/api/randomWith.mjs.map +1 -1
- package/_mjs/IO/api/repeat.mjs +8 -8
- package/_mjs/IO/api/repeat.mjs.map +1 -1
- package/_mjs/IO/api/retry.mjs +12 -12
- package/_mjs/IO/api/retry.mjs.map +1 -1
- package/_mjs/IO/api/schedule.mjs +15 -11
- package/_mjs/IO/api/schedule.mjs.map +1 -1
- package/_mjs/IO/api/scoped.mjs +3 -3
- package/_mjs/IO/api/scoped.mjs.map +1 -1
- package/_mjs/IO/api/sequenceT.mjs +1 -1
- package/_mjs/IO/api/sequenceT.mjs.map +1 -1
- package/_mjs/IO/api/stateful.mjs.map +1 -1
- package/_mjs/IO/api/supervised.mjs +5 -3
- package/_mjs/IO/api/supervised.mjs.map +1 -1
- package/_mjs/IO/api/timeout.mjs +10 -6
- package/_mjs/IO/api/timeout.mjs.map +1 -1
- package/_mjs/IO/api/withChildren.mjs +1 -1
- package/_mjs/IO/api/withChildren.mjs.map +1 -1
- package/_mjs/IO/api/withEarlyRelease.mjs +1 -1
- package/_mjs/IO/api/withEarlyRelease.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizer.mjs +5 -3
- package/_mjs/IO/api/withFinalizer.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizerExit.mjs +5 -3
- package/_mjs/IO/api/withFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/withRuntimeConfig.mjs +5 -3
- package/_mjs/IO/api/withRuntimeConfig.mjs.map +1 -1
- package/_mjs/IO/api/zipC.mjs +18 -14
- package/_mjs/IO/api/zipC.mjs.map +1 -1
- package/_mjs/IO/api.mjs +511 -387
- package/_mjs/IO/api.mjs.map +1 -1
- package/_mjs/IO/definition.mjs.map +1 -1
- package/_mjs/IO/runtime.mjs +7 -7
- package/_mjs/IO/runtime.mjs.map +1 -1
- package/_mjs/IO.mjs.map +1 -1
- package/_mjs/IOEnv/definition.mjs +1 -1
- package/_mjs/IOEnv/definition.mjs.map +1 -1
- package/_mjs/IOEnv/live.mjs +1 -1
- package/_mjs/IOEnv/live.mjs.map +1 -1
- package/_mjs/IOEnv/services.mjs.map +1 -1
- package/_mjs/Layer/MemoMap.mjs +86 -87
- package/_mjs/Layer/MemoMap.mjs.map +1 -1
- package/_mjs/Layer/api.mjs +91 -63
- package/_mjs/Layer/api.mjs.map +1 -1
- package/_mjs/Layer/definition.mjs.map +1 -1
- package/_mjs/LogLevel.mjs +24 -16
- package/_mjs/LogLevel.mjs.map +1 -1
- package/_mjs/LogSpan.mjs +16 -14
- package/_mjs/LogSpan.mjs.map +1 -1
- package/_mjs/Logger/api.mjs +16 -12
- package/_mjs/Logger/api.mjs.map +1 -1
- package/_mjs/Logger/constructors.mjs +1 -1
- package/_mjs/Logger/constructors.mjs.map +1 -1
- package/_mjs/Queue/constructors.mjs +16 -5
- package/_mjs/Queue/constructors.mjs.map +1 -1
- package/_mjs/Queue/definition.mjs +174 -12
- package/_mjs/Queue/definition.mjs.map +1 -1
- package/_mjs/Queue/internal.mjs +21 -170
- package/_mjs/Queue/internal.mjs.map +1 -1
- package/_mjs/Queue/strategy.mjs +20 -23
- package/_mjs/Queue/strategy.mjs.map +1 -1
- package/_mjs/Queue.mjs +1 -3
- package/_mjs/Queue.mjs.map +1 -1
- package/_mjs/Random/live.mjs +2 -2
- package/_mjs/Random/live.mjs.map +1 -1
- package/_mjs/Ref/Atomic.mjs +39 -3
- package/_mjs/Ref/Atomic.mjs.map +1 -1
- package/_mjs/Ref/Synchronized.mjs +123 -0
- package/_mjs/Ref/Synchronized.mjs.map +1 -0
- package/_mjs/Ref/constructors.mjs +15 -1
- package/_mjs/Ref/constructors.mjs.map +1 -1
- package/_mjs/Ref/definition.mjs +96 -4
- package/_mjs/Ref/definition.mjs.map +1 -1
- package/_mjs/Ref.mjs +1 -8
- package/_mjs/Ref.mjs.map +1 -1
- package/_mjs/Reloadable/constructors.mjs +10 -10
- package/_mjs/Reloadable/constructors.mjs.map +1 -1
- package/_mjs/RuntimeConfig.mjs +2 -2
- package/_mjs/RuntimeConfig.mjs.map +1 -1
- package/_mjs/STM/api/core-api.mjs +29 -19
- package/_mjs/STM/api/core-api.mjs.map +1 -1
- package/_mjs/STM/api.mjs +180 -127
- package/_mjs/STM/api.mjs.map +1 -1
- package/_mjs/STM/driver.mjs +3 -3
- package/_mjs/STM/driver.mjs.map +1 -1
- package/_mjs/STM/internal/Entry.mjs.map +1 -1
- package/_mjs/STM/internal/Journal.mjs +33 -29
- package/_mjs/STM/internal/Journal.mjs.map +1 -1
- package/_mjs/STM.mjs.map +1 -1
- package/_mjs/Schedule/Decision.mjs +14 -12
- package/_mjs/Schedule/Decision.mjs.map +1 -1
- package/_mjs/Schedule/api/driver.mjs +15 -17
- package/_mjs/Schedule/api/driver.mjs.map +1 -1
- package/_mjs/Schedule/api.mjs +326 -234
- package/_mjs/Schedule/api.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs +12 -11
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api.mjs +60 -51
- package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -1
- package/_mjs/Scope/api.mjs +28 -22
- package/_mjs/Scope/api.mjs.map +1 -1
- package/_mjs/ScopedRef/api.mjs +9 -11
- package/_mjs/ScopedRef/api.mjs.map +1 -1
- package/_mjs/ScopedRef/definition.mjs +1 -1
- package/_mjs/ScopedRef/definition.mjs.map +1 -1
- package/_mjs/Sink/api.mjs +301 -240
- package/_mjs/Sink/api.mjs.map +1 -1
- package/_mjs/State/api.mjs +16 -12
- package/_mjs/State/api.mjs.map +1 -1
- package/_mjs/Stream/api/zipAllWith.mjs +14 -12
- package/_mjs/Stream/api/zipAllWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWith.mjs +5 -3
- package/_mjs/Stream/api/zipWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWithChunks.mjs +12 -10
- package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -1
- package/_mjs/Stream/api.mjs +856 -653
- package/_mjs/Stream/api.mjs.map +1 -1
- package/_mjs/Stream/definition.mjs.map +1 -1
- package/_mjs/Stream/internal/DebounceState.mjs +18 -16
- package/_mjs/Stream/internal/DebounceState.mjs.map +1 -1
- package/_mjs/Stream/internal/Handoff.mjs +35 -32
- package/_mjs/Stream/internal/Handoff.mjs.map +1 -1
- package/_mjs/Stream/internal/Pull.mjs +9 -10
- package/_mjs/Stream/internal/Pull.mjs.map +1 -1
- package/_mjs/Stream/internal/SinkEndReason.mjs +14 -12
- package/_mjs/Stream/internal/SinkEndReason.mjs.map +1 -1
- package/_mjs/Stream/internal/Take.mjs +28 -20
- package/_mjs/Stream/internal/Take.mjs.map +1 -1
- package/_mjs/Stream/internal/util.mjs +3 -3
- package/_mjs/Stream/internal/util.mjs.map +1 -1
- package/_mjs/SubscriptionRef.mjs +45 -0
- package/_mjs/SubscriptionRef.mjs.map +1 -0
- package/_mjs/Supervisor/api.mjs +44 -33
- package/_mjs/Supervisor/api.mjs.map +1 -1
- package/_mjs/Supervisor/constructors.mjs +2 -2
- package/_mjs/Supervisor/constructors.mjs.map +1 -1
- package/_mjs/Supervisor/definition.mjs +55 -0
- package/_mjs/Supervisor/definition.mjs.map +1 -1
- package/_mjs/SupervisorPatch.mjs +135 -0
- package/_mjs/SupervisorPatch.mjs.map +1 -0
- package/_mjs/TExit/definition.mjs.map +1 -1
- package/_mjs/TFuture/api.mjs +17 -11
- package/_mjs/TFuture/api.mjs.map +1 -1
- package/_mjs/TFuture/constructors.mjs +1 -1
- package/_mjs/TFuture/constructors.mjs.map +1 -1
- package/_mjs/TFuture/definition.mjs.map +1 -1
- package/_mjs/TReentrantLock/api.mjs +32 -28
- package/_mjs/TReentrantLock/api.mjs.map +1 -1
- package/_mjs/TReentrantLock/definition.mjs +4 -4
- package/_mjs/TReentrantLock/definition.mjs.map +1 -1
- package/_mjs/TRef/api.mjs +218 -194
- package/_mjs/TRef/api.mjs.map +1 -1
- package/_mjs/TRef/definition.mjs +4 -4
- package/_mjs/TRef/definition.mjs.map +1 -1
- package/_mjs/TSemaphore/api.mjs +23 -19
- package/_mjs/TSemaphore/api.mjs.map +1 -1
- package/_mjs/TSemaphore/constructors.mjs +12 -2
- package/_mjs/TSemaphore/constructors.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs +19 -17
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs +19 -17
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/filterIO.mjs +14 -12
- package/_mjs/collection/immutable/Conc/filterIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/findIO.mjs +17 -15
- package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/mapIO.mjs +10 -8
- package/_mjs/collection/immutable/Conc/mapIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs +28 -26
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -1
- package/_mjs/data/Exit/foreachIO.mjs +5 -3
- package/_mjs/data/Exit/foreachIO.mjs.map +1 -1
- package/_mjs/internal/Hub.mjs +13 -11
- package/_mjs/internal/Hub.mjs.map +1 -1
- package/_mjs/internal/IsFatal.mjs +18 -16
- package/_mjs/internal/IsFatal.mjs.map +1 -1
- package/_mjs/internal/MutableQueue.mjs +10 -8
- package/_mjs/internal/MutableQueue.mjs.map +1 -1
- 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/mapOutIOC.ts +58 -58
- 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/zipC.ts +52 -88
- package/_src/Channel/api.ts +345 -405
- package/_src/Channel/core-api.ts +75 -122
- package/_src/Channel/definition.ts +49 -7
- package/_src/Channel/internal/ChannelExecutor.ts +1 -5
- package/_src/Channel/internal/SingleProducerAsyncInput.ts +1 -3
- package/_src/Differ/api.ts +72 -0
- package/_src/Differ/definition.ts +16 -0
- package/_src/Fiber/FiberContext.ts +13 -33
- package/_src/Fiber/api/collectAll.ts +1 -2
- package/_src/Fiber/api/evalOn.ts +11 -14
- package/_src/Fiber/api/evalOnIO.ts +10 -13
- package/_src/Fiber/api/interruptAll.ts +1 -2
- package/_src/Fiber/api/interruptAs.ts +6 -4
- package/_src/Fiber/api/interruptAsFork.ts +6 -4
- package/_src/Fiber/api/interruptFork.ts +1 -1
- 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 +1 -15
- package/_src/Fiber.ts +1 -1
- package/_src/FiberRef/api/locallyScoped.ts +8 -6
- package/_src/FiberRef/api/locallyScopedWith.ts +5 -7
- package/_src/FiberRef/api.ts +50 -39
- package/_src/FiberRef/unsafe.ts +24 -22
- package/_src/FiberRef.ts +0 -1
- package/_src/FiberRefs/api.ts +14 -12
- package/_src/FiberRefs/join.ts +37 -46
- package/_src/FiberState/definition.ts +1 -2
- package/_src/Future/api.ts +67 -53
- package/_src/Hub/constructors.ts +80 -0
- package/_src/Hub/definition.ts +95 -89
- package/_src/Hub/internal.ts +115 -165
- package/_src/Hub.ts +1 -1
- package/_src/IO/api/acquireRelease.ts +1 -1
- package/_src/IO/api/acquireReleaseExit.ts +1 -1
- 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 +36 -33
- package/_src/IO/api/ensuringChildren.ts +8 -7
- package/_src/IO/api/environment.ts +24 -42
- package/_src/IO/api/foreachC.ts +24 -12
- package/_src/IO/api/foreachExec.ts +1 -1
- package/_src/IO/api/forkIn.ts +7 -9
- package/_src/IO/api/fulfill.ts +5 -3
- package/_src/IO/api/interrupt.ts +37 -40
- 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 +5 -7
- package/_src/IO/api/timeout.ts +10 -16
- package/_src/IO/api/withFinalizer.ts +5 -7
- package/_src/IO/api/withFinalizerExit.ts +6 -5
- package/_src/IO/api/withRuntimeConfig.ts +12 -14
- package/_src/IO/api/zipC.ts +57 -62
- package/_src/IO/api.ts +512 -539
- package/_src/IO/definition.ts +21 -9
- package/_src/IO/runtime.ts +0 -12
- package/_src/IO.ts +0 -1
- package/_src/IOEnv/definition.ts +0 -2
- package/_src/IOEnv/services.ts +5 -4
- package/_src/Layer/MemoMap.ts +61 -63
- 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/Queue/constructors.ts +22 -6
- package/_src/Queue/definition.ts +230 -81
- package/_src/Queue/internal.ts +9 -180
- package/_src/Queue/strategy.ts +9 -23
- package/_src/Queue.ts +1 -3
- package/_src/Ref/Atomic.ts +37 -4
- package/_src/Ref/Synchronized.ts +107 -0
- package/_src/Ref/constructors.ts +15 -0
- package/_src/Ref/definition.ts +86 -85
- package/_src/Ref.ts +1 -9
- package/_src/Reloadable/constructors.ts +2 -2
- package/_src/RuntimeConfig.ts +0 -2
- package/_src/STM/api/core-api.ts +32 -35
- package/_src/STM/api.ts +210 -200
- package/_src/STM/internal/Entry.ts +0 -10
- package/_src/STM/internal/Journal.ts +23 -26
- package/_src/STM.ts +0 -1
- package/_src/Schedule/Decision.ts +10 -8
- package/_src/Schedule/api/driver.ts +0 -4
- package/_src/Schedule/api.ts +419 -444
- package/_src/Schedule/definition.ts +0 -1
- package/_src/Scope/ReleaseMap/api/releaseAll.ts +23 -26
- package/_src/Scope/ReleaseMap/api.ts +77 -74
- 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 -357
- package/_src/State/api.ts +12 -8
- package/_src/State/internal.ts +1 -1
- package/_src/Stream/api/zipAllWith.ts +6 -5
- package/_src/Stream/api/zipWith.ts +5 -8
- package/_src/Stream/api/zipWithChunks.ts +6 -5
- package/_src/Stream/api.ts +1049 -1176
- package/_src/Stream/definition.ts +0 -2
- package/_src/Stream/internal/DebounceState.ts +16 -17
- package/_src/Stream/internal/Handoff.ts +31 -35
- package/_src/Stream/internal/Pull.ts +1 -2
- 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/SubscriptionRef.ts +44 -0
- package/_src/Supervisor/api.ts +39 -31
- package/_src/Supervisor/definition.ts +58 -0
- package/_src/SupervisorPatch.ts +111 -0
- package/_src/TExit/definition.ts +0 -8
- package/_src/TFuture/api.ts +23 -17
- package/_src/TFuture/definition.ts +0 -1
- package/_src/TReentrantLock/api.ts +14 -10
- package/_src/TReentrantLock/definition.ts +0 -7
- package/_src/TRef/api.ts +207 -209
- package/_src/TRef/definition.ts +0 -12
- package/_src/TSemaphore/api.ts +19 -18
- package/_src/TSemaphore/constructors.ts +7 -0
- 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 +3 -0
- 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 +3 -0
- package/internal/Hub.d.ts +2 -2
- package/internal/IsFatal.d.ts +3 -3
- package/internal/MutableQueue.d.ts +3 -3
- package/package.json +3 -3
- package/Hub/api.d.ts +0 -190
- package/Queue/api/dimapIO.d.ts +0 -41
- package/Queue/api/filterInputIO.d.ts +0 -33
- package/Queue/api/filterOutputIO.d.ts +0 -31
- package/Queue/api/operations.d.ts +0 -82
- package/Queue/api/poll.d.ts +0 -9
- package/Queue/api/takeBetween.d.ts +0 -11
- package/Queue/api/zipWithIO.d.ts +0 -44
- package/Queue/api.d.ts +0 -7
- package/Ref/Atomic/Atomic.d.ts +0 -18
- package/Ref/Atomic/api.d.ts +0 -53
- package/Ref/Derived.d.ts +0 -14
- package/Ref/DerivedAll.d.ts +0 -14
- package/Ref/Synchronized/api.d.ts +0 -100
- package/Ref/Synchronized/constructors.d.ts +0 -8
- package/Ref/Synchronized/definition.d.ts +0 -42
- package/Ref/api/collect.d.ts +0 -11
- package/Ref/api/dimap.d.ts +0 -56
- package/Ref/api/filter.d.ts +0 -20
- package/Ref/api/get.d.ts +0 -9
- package/Ref/api/match.d.ts +0 -13
- package/Ref/api/matchAll.d.ts +0 -11
- package/Ref/api/modify.d.ts +0 -79
- package/Ref/api/set.d.ts +0 -10
- package/Ref/api.d.ts +0 -23
- package/_cjs/Hub/api.cjs +0 -456
- package/_cjs/Hub/api.cjs.map +0 -1
- package/_cjs/Queue/api/dimapIO.cjs +0 -120
- package/_cjs/Queue/api/dimapIO.cjs.map +0 -1
- package/_cjs/Queue/api/filterInputIO.cjs +0 -84
- package/_cjs/Queue/api/filterInputIO.cjs.map +0 -1
- package/_cjs/Queue/api/filterOutputIO.cjs +0 -89
- package/_cjs/Queue/api/filterOutputIO.cjs.map +0 -1
- package/_cjs/Queue/api/operations.cjs +0 -147
- package/_cjs/Queue/api/operations.cjs.map +0 -1
- package/_cjs/Queue/api/poll.cjs +0 -27
- package/_cjs/Queue/api/poll.cjs.map +0 -1
- package/_cjs/Queue/api/takeBetween.cjs +0 -57
- package/_cjs/Queue/api/takeBetween.cjs.map +0 -1
- package/_cjs/Queue/api/zipWithIO.cjs +0 -97
- package/_cjs/Queue/api/zipWithIO.cjs.map +0 -1
- package/_cjs/Queue/api.cjs +0 -97
- package/_cjs/Queue/api.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/_cjs/Ref/Derived.cjs +0 -55
- package/_cjs/Ref/Derived.cjs.map +0 -1
- package/_cjs/Ref/DerivedAll.cjs +0 -55
- package/_cjs/Ref/DerivedAll.cjs.map +0 -1
- package/_cjs/Ref/Synchronized/api.cjs +0 -196
- package/_cjs/Ref/Synchronized/api.cjs.map +0 -1
- package/_cjs/Ref/Synchronized/constructors.cjs +0 -32
- package/_cjs/Ref/Synchronized/constructors.cjs.map +0 -1
- package/_cjs/Ref/Synchronized/definition.cjs +0 -88
- package/_cjs/Ref/Synchronized/definition.cjs.map +0 -1
- package/_cjs/Ref/api/collect.cjs +0 -31
- package/_cjs/Ref/api/collect.cjs.map +0 -1
- package/_cjs/Ref/api/dimap.cjs +0 -110
- package/_cjs/Ref/api/dimap.cjs.map +0 -1
- package/_cjs/Ref/api/filter.cjs +0 -45
- package/_cjs/Ref/api/filter.cjs.map +0 -1
- package/_cjs/Ref/api/get.cjs +0 -20
- package/_cjs/Ref/api/get.cjs.map +0 -1
- package/_cjs/Ref/api/match.cjs +0 -26
- package/_cjs/Ref/api/match.cjs.map +0 -1
- package/_cjs/Ref/api/matchAll.cjs +0 -24
- package/_cjs/Ref/api/matchAll.cjs.map +0 -1
- package/_cjs/Ref/api/modify.cjs +0 -239
- package/_cjs/Ref/api/modify.cjs.map +0 -1
- package/_cjs/Ref/api/set.cjs +0 -21
- package/_cjs/Ref/api/set.cjs.map +0 -1
- package/_cjs/Ref/api.cjs +0 -158
- package/_cjs/Ref/api.cjs.map +0 -1
- package/_mjs/Hub/api.mjs +0 -384
- package/_mjs/Hub/api.mjs.map +0 -1
- package/_mjs/Queue/api/dimapIO.mjs +0 -97
- package/_mjs/Queue/api/dimapIO.mjs.map +0 -1
- package/_mjs/Queue/api/filterInputIO.mjs +0 -63
- package/_mjs/Queue/api/filterInputIO.mjs.map +0 -1
- package/_mjs/Queue/api/filterOutputIO.mjs +0 -68
- package/_mjs/Queue/api/filterOutputIO.mjs.map +0 -1
- package/_mjs/Queue/api/operations.mjs +0 -122
- package/_mjs/Queue/api/operations.mjs.map +0 -1
- package/_mjs/Queue/api/poll.mjs +0 -14
- package/_mjs/Queue/api/poll.mjs.map +0 -1
- package/_mjs/Queue/api/takeBetween.mjs +0 -43
- package/_mjs/Queue/api/takeBetween.mjs.map +0 -1
- package/_mjs/Queue/api/zipWithIO.mjs +0 -74
- package/_mjs/Queue/api/zipWithIO.mjs.map +0 -1
- package/_mjs/Queue/api.mjs +0 -9
- package/_mjs/Queue/api.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/_mjs/Ref/Derived.mjs +0 -35
- package/_mjs/Ref/Derived.mjs.map +0 -1
- package/_mjs/Ref/DerivedAll.mjs +0 -35
- package/_mjs/Ref/DerivedAll.mjs.map +0 -1
- package/_mjs/Ref/Synchronized/api.mjs +0 -154
- package/_mjs/Ref/Synchronized/api.mjs.map +0 -1
- package/_mjs/Ref/Synchronized/constructors.mjs +0 -15
- package/_mjs/Ref/Synchronized/constructors.mjs.map +0 -1
- package/_mjs/Ref/Synchronized/definition.mjs +0 -66
- package/_mjs/Ref/Synchronized/definition.mjs.map +0 -1
- package/_mjs/Ref/api/collect.mjs +0 -17
- package/_mjs/Ref/api/collect.mjs.map +0 -1
- package/_mjs/Ref/api/dimap.mjs +0 -84
- package/_mjs/Ref/api/dimap.mjs.map +0 -1
- package/_mjs/Ref/api/filter.mjs +0 -29
- package/_mjs/Ref/api/filter.mjs.map +0 -1
- package/_mjs/Ref/api/get.mjs +0 -13
- package/_mjs/Ref/api/get.mjs.map +0 -1
- package/_mjs/Ref/api/match.mjs +0 -18
- package/_mjs/Ref/api/match.mjs.map +0 -1
- package/_mjs/Ref/api/matchAll.mjs +0 -16
- package/_mjs/Ref/api/matchAll.mjs.map +0 -1
- package/_mjs/Ref/api/modify.mjs +0 -204
- package/_mjs/Ref/api/modify.mjs.map +0 -1
- package/_mjs/Ref/api/set.mjs +0 -14
- package/_mjs/Ref/api/set.mjs.map +0 -1
- package/_mjs/Ref/api.mjs +0 -34
- package/_mjs/Ref/api.mjs.map +0 -1
- package/_src/Hub/api.ts +0 -461
- package/_src/Queue/api/dimapIO.ts +0 -130
- package/_src/Queue/api/filterInputIO.ts +0 -75
- package/_src/Queue/api/filterOutputIO.ts +0 -76
- package/_src/Queue/api/operations.ts +0 -139
- package/_src/Queue/api/poll.ts +0 -14
- package/_src/Queue/api/takeBetween.ts +0 -45
- package/_src/Queue/api/zipWithIO.ts +0 -99
- package/_src/Queue/api.ts +0 -9
- package/_src/Ref/Atomic/Atomic.ts +0 -56
- package/_src/Ref/Atomic/api.ts +0 -124
- package/_src/Ref/Derived.ts +0 -71
- package/_src/Ref/DerivedAll.ts +0 -75
- package/_src/Ref/Synchronized/api.ts +0 -249
- package/_src/Ref/Synchronized/constructors.ts +0 -12
- package/_src/Ref/Synchronized/definition.ts +0 -126
- package/_src/Ref/api/collect.ts +0 -19
- package/_src/Ref/api/dimap.ts +0 -115
- package/_src/Ref/api/filter.ts +0 -35
- package/_src/Ref/api/get.ts +0 -17
- package/_src/Ref/api/match.ts +0 -24
- package/_src/Ref/api/matchAll.ts +0 -23
- package/_src/Ref/api/modify.ts +0 -237
- package/_src/Ref/api/set.ts +0 -19
- package/_src/Ref/api.ts +0 -39
package/Stream/api.d.ts
CHANGED
@@ -10,7 +10,7 @@ import { Fiber } from "@fncts/io/Fiber/definition";
|
|
10
10
|
import { Lazy } from "@fncts/base/data/function/definition";
|
11
11
|
import { Exit } from "@fncts/base/data/Exit/definition";
|
12
12
|
import { Scope } from "@fncts/io/Scope/definition";
|
13
|
-
import {
|
13
|
+
import { Dequeue, Enqueue } from "@fncts/io/Queue/definition";
|
14
14
|
import { Future } from "@fncts/io/Future";
|
15
15
|
import { Ref } from "@fncts/io/Ref";
|
16
16
|
import { Environment } from "@fncts/base/data/Environment/definition";
|
@@ -19,10 +19,9 @@ import { HashMap } from "@fncts/base/collection/immutable/HashMap/definition";
|
|
19
19
|
import { Predicate } from "@fncts/base/data/Predicate/definition";
|
20
20
|
import { Refinement } from "@fncts/base/data/Refinement/definition";
|
21
21
|
import { Layer } from "@fncts/io/Layer";
|
22
|
-
import type { PHub } from "../Hub.js";
|
23
22
|
import type { Canceler } from "../IO.js";
|
24
|
-
import type { PQueue } from "../Queue.js";
|
25
23
|
import { MergeDecision } from "../Channel/internal/MergeDecision.js";
|
24
|
+
import { Hub } from "../Hub.js";
|
26
25
|
import { Queue } from "../Queue.js";
|
27
26
|
import { Stream } from "./definition.js";
|
28
27
|
import { Take } from "./internal/Take.js";
|
@@ -43,16 +42,16 @@ export declare function absolve<R, E, E2, A>(self: Stream<R, E, Either<E2, A>>,
|
|
43
42
|
*
|
44
43
|
* Any sink can be used here, but see `Sink.foldWeightedM` and `Sink.foldUntilM` for
|
45
44
|
* sinks that cover the common usecases.
|
46
|
-
* @tsplus
|
45
|
+
* @tsplus pipeable fncts.io.Stream aggregateAsync
|
47
46
|
* @tsplus location "@fncts/io/Stream/api"
|
48
47
|
*/
|
49
|
-
export declare function
|
48
|
+
export declare function aggregateAsync<R1, E1, A1, B>(sink: Sink<R1, E1, A1, A1, B>, __tsplusTrace?: string): <R, E, A extends A1>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
50
49
|
/**
|
51
50
|
* Like `aggregateAsyncWithinEither`, but only returns the `Right` results.
|
52
|
-
* @tsplus
|
51
|
+
* @tsplus pipeable fncts.io.Stream aggregateAsyncWithin
|
53
52
|
* @tsplus location "@fncts/io/Stream/api"
|
54
53
|
*/
|
55
|
-
export declare function
|
54
|
+
export declare function aggregateAsyncWithin<R1, E1, A1, B, R2, C>(sink: Sink<R1, E1, A1, A1, B>, schedule: Schedule<R2, Maybe<B>, C>, __tsplusTrace?: string): <R, E, A extends A1>(stream: Stream<R, E, A>) => Stream<R1 | R2 | R, E1 | E, B>;
|
56
55
|
/**
|
57
56
|
* Aggregates elements using the provided sink until it completes, or until the
|
58
57
|
* delay signalled by the schedule has passed.
|
@@ -64,32 +63,32 @@ export declare function aggregateAsyncWithin_<R, E, A extends A1, R1, E1, A1, B,
|
|
64
63
|
*
|
65
64
|
* Aggregated elements will be fed into the schedule to determine the delays between
|
66
65
|
* pulls.
|
67
|
-
* @tsplus
|
66
|
+
* @tsplus pipeable fncts.io.Stream aggregateAsyncWithinEither
|
68
67
|
* @tsplus location "@fncts/io/Stream/api"
|
69
68
|
*/
|
70
|
-
export declare function
|
69
|
+
export declare function aggregateAsyncWithinEither<R1, E1, A1, B, R2, C>(sink: Sink<R1, E1, A1, A1, B>, schedule: Schedule<R2, Maybe<B>, C>, __tsplusTrace?: string): <R, E, A extends A1>(stream: Stream<R, E, A>) => Stream<R1 | R2 | R, E1 | E, import("@fncts/base/data/Either.js").Either<C, B>>;
|
71
70
|
/**
|
72
71
|
* Composes this stream with the specified stream to create a cartesian product of elements,
|
73
72
|
* but keeps only elements from this stream.
|
74
73
|
* The `that` stream would be run multiple times, for every element in the `this` stream.
|
75
|
-
* @tsplus
|
74
|
+
* @tsplus pipeable fncts.io.Stream apFirst
|
76
75
|
* @tsplus location "@fncts/io/Stream/api"
|
77
76
|
*/
|
78
|
-
export declare function
|
77
|
+
export declare function apFirst<R1, E1, A1>(that: Stream<R1, E1, A1>, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, A>;
|
79
78
|
/**
|
80
79
|
* Composes this stream with the specified stream to create a cartesian product of elements,
|
81
80
|
* but keeps only elements from the other stream.
|
82
81
|
* The `that` stream would be run multiple times, for every element in the `this` stream.
|
83
|
-
* @tsplus
|
82
|
+
* @tsplus pipeable fncts.io.Stream apSecond
|
84
83
|
* @tsplus location "@fncts/io/Stream/api"
|
85
84
|
*/
|
86
|
-
export declare function
|
85
|
+
export declare function apSecond<R1, E1, A1>(that: Stream<R1, E1, A1>, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, A1>;
|
87
86
|
/**
|
88
87
|
* Maps the success values of this stream to the specified constant value.
|
89
|
-
* @tsplus
|
88
|
+
* @tsplus pipeable fncts.io.Stream as
|
90
89
|
* @tsplus location "@fncts/io/Stream/api"
|
91
90
|
*/
|
92
|
-
export declare function
|
91
|
+
export declare function as<B>(b: Lazy<B>, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R, E, B>;
|
93
92
|
/**
|
94
93
|
* @tsplus static fncts.io.StreamOps asyncInterrupt
|
95
94
|
* @tsplus location "@fncts/io/Stream/api"
|
@@ -117,68 +116,70 @@ export declare function asyncIO<R, E, A, R1 = R, E1 = E>(register: (resolve: (ne
|
|
117
116
|
/**
|
118
117
|
* Returns a stream whose failure and success channels have been mapped by
|
119
118
|
* the specified pair of functions, `f` and `g`.
|
119
|
+
* @tsplus pipeable fncts.io.Stream bimap
|
120
|
+
* @tsplus location "@fncts/io/Stream/api"
|
120
121
|
*/
|
121
|
-
export declare function
|
122
|
+
export declare function bimap<E, E1, A, A1>(f: (e: E) => E1, g: (a: A) => A1, __tsplusTrace?: string): <R>(stream: Stream<R, E, A>) => Stream<R, E1, A1>;
|
122
123
|
/**
|
123
124
|
* Creates a stream from a single value that will get cleaned up after the
|
124
125
|
* stream is consumed
|
125
126
|
* @tsplus static fncts.io.StreamOps acquireRelease
|
126
127
|
* @tsplus location "@fncts/io/Stream/api"
|
127
128
|
*/
|
128
|
-
export declare function
|
129
|
+
export declare function acquireRelease<R, E, A, R1>(acquire: IO<R, E, A>, release: (a: A) => IO<R1, never, unknown>, __tsplusTrace?: string): Stream<R | R1, E, A>;
|
129
130
|
/**
|
130
131
|
* Creates a stream from a single value that will get cleaned up after the
|
131
132
|
* stream is consumed
|
132
133
|
* @tsplus static fncts.io.StreamOps acquireReleaseExit
|
133
134
|
* @tsplus location "@fncts/io/Stream/api"
|
134
135
|
*/
|
135
|
-
export declare function
|
136
|
+
export declare function acquireReleaseExit<R, E, A, R1>(acquire: IO<R, E, A>, release: (a: A, exit: Exit<any, any>) => IO<R1, never, unknown>, __tsplusTrace?: string): Stream<R | R1, E, A>;
|
136
137
|
/**
|
137
138
|
* Fan out the stream, producing a list of streams that have the same elements as this stream.
|
138
139
|
* The driver stream will only ever advance of the `maximumLag` chunks before the
|
139
140
|
* slowest downstream stream.
|
140
|
-
* @tsplus
|
141
|
+
* @tsplus pipeable fncts.io.Stream broadcast
|
141
142
|
* @tsplus location "@fncts/io/Stream/api"
|
142
143
|
*/
|
143
|
-
export declare function
|
144
|
+
export declare function broadcast(n: number, maximumLag: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, never, import("@fncts/base/collection/immutable/Conc.js").Conc<Stream<unknown, E, A>>>;
|
144
145
|
/**
|
145
146
|
* Fan out the stream, producing a dynamic number of streams that have the same elements as this stream.
|
146
147
|
* The driver stream will only ever advance of the `maximumLag` chunks before the
|
147
148
|
* slowest downstream stream.
|
148
|
-
* @tsplus
|
149
|
+
* @tsplus pipeable fncts.io.Stream broadcastDynamic
|
149
150
|
* @tsplus location "@fncts/io/Stream/api"
|
150
151
|
*/
|
151
|
-
export declare function
|
152
|
+
export declare function broadcastDynamic(maximumLag: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, never, Stream<unknown, E, A>>;
|
152
153
|
/**
|
153
154
|
* Converts the stream to a managed list of queues. Every value will be replicated to every queue with the
|
154
155
|
* slowest queue being allowed to buffer `maximumLag` chunks before the driver is backpressured.
|
155
156
|
*
|
156
157
|
* Queues can unsubscribe from upstream by shutting down.
|
157
|
-
* @tsplus
|
158
|
+
* @tsplus pipeable fncts.io.Stream broadcastedQueues
|
158
159
|
* @tsplus location "@fncts/io/Stream/api"
|
159
160
|
*/
|
160
|
-
export declare function
|
161
|
+
export declare function broadcastedQueues(n: number, maximumLag: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, never, import("@fncts/base/collection/immutable/Conc.js").Conc<import("../Queue.js").Dequeue<Take<E, A>>>>;
|
161
162
|
/**
|
162
163
|
* Converts the stream to a managed dynamic amount of queues. Every chunk will be replicated to every queue with the
|
163
164
|
* slowest queue being allowed to buffer `maximumLag` chunks before the driver is backpressured.
|
164
165
|
*
|
165
166
|
* Queues can unsubscribe from upstream by shutting down.
|
166
|
-
* @tsplus
|
167
|
+
* @tsplus pipeable fncts.io.Stream broadcastedQueuesDynamic
|
167
168
|
* @tsplus location "@fncts/io/Stream/api"
|
168
169
|
*/
|
169
|
-
export declare function
|
170
|
+
export declare function broadcastedQueuesDynamic(maximumLag: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, never, import("../IO.js").IO<import("../Scope.js").Scope, never, import("../Queue.js").Dequeue<Take<E, A>>>>;
|
170
171
|
/**
|
171
172
|
* Allows a faster producer to progress independently of a slower consumer by buffering
|
172
173
|
* up to `capacity` elements in a queue.
|
173
|
-
* @tsplus
|
174
|
+
* @tsplus pipeable fncts.io.Stream buffer
|
174
175
|
* @tsplus location "@fncts/io/Stream/api"
|
175
176
|
*/
|
176
|
-
export declare function
|
177
|
+
export declare function buffer(capacity: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R, E, A>;
|
177
178
|
/**
|
178
|
-
* @tsplus
|
179
|
+
* @tsplus pipeable fncts.io.Stream bufferChunks
|
179
180
|
* @tsplus location "@fncts/io/Stream/api"
|
180
181
|
*/
|
181
|
-
export declare function
|
182
|
+
export declare function bufferChunks(capacity: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R, E, A>;
|
182
183
|
/**
|
183
184
|
* Allows a faster producer to progress independently of a slower consumer by buffering
|
184
185
|
* elements into an unbounded queue.
|
@@ -189,40 +190,40 @@ export declare function bufferUnbounded<R, E, A>(stream: Stream<R, E, A>, __tspl
|
|
189
190
|
/**
|
190
191
|
* Switches over to the stream produced by the provided function in case this one
|
191
192
|
* fails with a typed error.
|
192
|
-
* @tsplus
|
193
|
+
* @tsplus pipeable fncts.io.Stream catchAll
|
193
194
|
* @tsplus location "@fncts/io/Stream/api"
|
194
195
|
*/
|
195
|
-
export declare function
|
196
|
+
export declare function catchAll<R1, E, E1, A1>(f: (e: E) => Stream<R1, E1, A1>, __tsplusTrace?: string): <R, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E1, A1 | A>;
|
196
197
|
/**
|
197
198
|
* Switches over to the stream produced by the provided function in case this one
|
198
199
|
* fails. Allows recovery from all causes of failure, including interruption if the
|
199
200
|
* stream is uninterruptible.
|
200
|
-
* @tsplus
|
201
|
+
* @tsplus pipeable fncts.io.Stream catchAllCause
|
201
202
|
* @tsplus location "@fncts/io/Stream/api"
|
202
203
|
*/
|
203
|
-
export declare function
|
204
|
+
export declare function catchAllCause<R1, E, E1, A1>(f: (cause: Cause<E>) => Stream<R1, E1, A1>, __tsplusTrace?: string): <R, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E1, A1 | A>;
|
204
205
|
/**
|
205
206
|
* Switches over to the stream produced by the provided function in case this one
|
206
207
|
* fails with some typed error.
|
207
|
-
* @tsplus
|
208
|
+
* @tsplus pipeable fncts.io.Stream catchJust
|
208
209
|
* @tsplus location "@fncts/io/Stream/api"
|
209
210
|
*/
|
210
|
-
export declare function
|
211
|
+
export declare function catchJust<R1, E, E1, A1>(pf: (e: E) => Maybe<Stream<R1, E1, A1>>, __tsplusTrace?: string): <R, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E | E1, A1 | A>;
|
211
212
|
/**
|
212
213
|
* Switches over to the stream produced by the provided function in case this one
|
213
214
|
* fails with some errors. Allows recovery from all causes of failure, including interruption if the
|
214
215
|
* stream is uninterruptible.
|
215
|
-
* @tsplus
|
216
|
+
* @tsplus pipeable fncts.io.Stream catchJustCause
|
216
217
|
* @tsplus location "@fncts/io/Stream/api"
|
217
218
|
*/
|
218
|
-
export declare function
|
219
|
+
export declare function catchJustCause<R1, E, E1, A1>(pf: (e: Cause<E>) => Maybe<Stream<R1, E1, A1>>, __tsplusTrace?: string): <R, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E | E1, A1 | A>;
|
219
220
|
/**
|
220
221
|
* Returns a stream made of the concatenation in strict order of all the streams
|
221
222
|
* produced by passing each element of this stream to `f`
|
222
|
-
* @tsplus
|
223
|
+
* @tsplus pipeable fncts.io.Stream flatMap
|
223
224
|
* @tsplus location "@fncts/io/Stream/api"
|
224
225
|
*/
|
225
|
-
export declare function
|
226
|
+
export declare function flatMap<A, R1, E1, B>(f: (a: A) => Stream<R1, E1, B>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
226
227
|
/**
|
227
228
|
* Exposes the underlying chunks of the stream as a stream of chunks of elements
|
228
229
|
* @tsplus getter fncts.io.Stream chunks
|
@@ -232,28 +233,28 @@ export declare function chunks<R, E, A>(stream: Stream<R, E, A>, __tsplusTrace?:
|
|
232
233
|
/**
|
233
234
|
* Performs the specified stream transformation with the chunk structure of
|
234
235
|
* the stream exposed.
|
235
|
-
* @tsplus
|
236
|
+
* @tsplus pipeable fncts.io.Stream chunksWith
|
236
237
|
* @tsplus location "@fncts/io/Stream/api"
|
237
238
|
*/
|
238
|
-
export declare function chunksWith<R, E, A, R1, E1, B>(
|
239
|
+
export declare function chunksWith<R, E, A, R1, E1, B>(f: (_: Stream<R, E, Conc<A>>) => Stream<R1, E1, Conc<B>>, __tsplusTrace?: string): (self: Stream<R, E, A>) => Stream<R1, E1, B>;
|
239
240
|
/**
|
240
241
|
* Returns a new stream that only emits elements that are not equal to the
|
241
242
|
* previous element emitted, using the specified function to determine
|
242
243
|
* whether two elements are equal.
|
243
|
-
* @tsplus
|
244
|
+
* @tsplus pipeable fncts.io.Stream changesWith
|
244
245
|
* @tsplus location "@fncts/io/Stream/api"
|
245
246
|
*/
|
246
|
-
export declare function
|
247
|
+
export declare function changesWith<A>(f: (x: A, y: A) => boolean, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R, E, A>;
|
247
248
|
/**
|
248
249
|
* Transforms all elements of the stream for as long as the specified partial function is defined.
|
249
|
-
* @tsplus
|
250
|
+
* @tsplus pipeable fncts.io.Stream collectWhile
|
250
251
|
* @tsplus location "@fncts/io/Stream/api"
|
251
252
|
*/
|
252
|
-
export declare function
|
253
|
+
export declare function collectWhile<A, A1>(pf: (a: A) => Maybe<A1>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R, E, A1>;
|
253
254
|
/**
|
254
255
|
* Effectfully transforms all elements of the stream for as long as the specified partial function is defined.
|
255
256
|
*/
|
256
|
-
export declare function
|
257
|
+
export declare function collectWhileIO<R, E, A, R1, E1, B>(stream: Stream<R, E, A>, pf: (a: A) => Maybe<IO<R1, E1, B>>, __tsplusTrace?: string): Stream<R | R1, E | E1, B>;
|
257
258
|
/**
|
258
259
|
* Combines the elements from this stream and the specified stream by repeatedly applying the
|
259
260
|
* function `f` to extract an element using both sides and conceptually "offer"
|
@@ -261,67 +262,67 @@ export declare function collectWhileIO_<R, E, A, R1, E1, B>(stream: Stream<R, E,
|
|
261
262
|
* the combining process, with the initial state being specified by `s`.
|
262
263
|
*
|
263
264
|
* Where possible, prefer `Stream#combineChunks` for a more efficient implementation.
|
264
|
-
* @tsplus
|
265
|
+
* @tsplus pipeable fncts.io.Stream combine
|
265
266
|
* @tsplus location "@fncts/io/Stream/api"
|
266
267
|
*/
|
267
|
-
export declare function
|
268
|
+
export declare function combine<R, E, A, R1, E1, A1, S, R2, A2>(that: Stream<R1, E1, A1>, s: S, f: (s: S, eff1: IO<R, Maybe<E>, A>, eff2: IO<R1, Maybe<E1>, A1>) => IO<R2, never, Exit<Maybe<E | E1>, readonly [A2, S]>>, __tsplusTrace?: string): (stream: Stream<R, E, A>) => Stream<R | R1 | R2, E | E1, A2>;
|
268
269
|
/**
|
269
270
|
* Combines the chunks from this stream and the specified stream by repeatedly applying the
|
270
271
|
* function `f` to extract a chunk using both sides and conceptually "offer"
|
271
272
|
* it to the destination stream. `f` can maintain some internal state to control
|
272
273
|
* the combining process, with the initial state being specified by `s`.
|
273
|
-
* @tsplus
|
274
|
+
* @tsplus pipeable fncts.io.Stream combineChunks
|
274
275
|
* @tsplus location "@fncts/io/Stream/api"
|
275
276
|
*/
|
276
|
-
export declare function
|
277
|
+
export declare function combineChunks<R, E, A, R1, E1, A1, S, R2, A2>(that: Stream<R1, E1, A1>, s: S, f: (s: S, l: IO<R, Maybe<E>, Conc<A>>, r: IO<R1, Maybe<E1>, Conc<A1>>) => IO<R2, never, Exit<Maybe<E | E1>, readonly [Conc<A2>, S]>>, __tsplusTrace?: string): (stream: Stream<R, E, A>) => Stream<R1 | R | R2, E | E1, A2>;
|
277
278
|
/**
|
278
279
|
* Concatenates the specified stream with this stream, resulting in a stream
|
279
280
|
* that emits the elements from this stream and then the elements from the specified stream.
|
280
|
-
* @tsplus
|
281
|
+
* @tsplus pipeable fncts.io.Stream concat
|
281
282
|
* @tsplus location "@fncts/io/Stream/api"
|
282
283
|
*/
|
283
|
-
export declare function
|
284
|
+
export declare function concat<R1, E1, A1>(that: Stream<R1, E1, A1>, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, A1 | A>;
|
284
285
|
/**
|
285
286
|
* Composes this stream with the specified stream to create a cartesian product of elements.
|
286
287
|
* The `that` stream would be run multiple times, for every element in the `this` stream.
|
287
|
-
* @tsplus
|
288
|
+
* @tsplus pipeable fncts.io.Stream cross
|
288
289
|
* @tsplus location "@fncts/io/Stream/api"
|
289
290
|
*/
|
290
|
-
export declare function
|
291
|
+
export declare function cross<R1, E1, B>(that: Stream<R1, E1, B>, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, readonly [A, B]>;
|
291
292
|
/**
|
292
293
|
* Composes this stream with the specified stream to create a cartesian product of elements
|
293
294
|
* with a specified function.
|
294
295
|
* The `fb` stream would be run multiple times, for every element in the `fa` stream.
|
295
|
-
* @tsplus
|
296
|
+
* @tsplus pipeable fncts.io.Stream crossWith
|
296
297
|
* @tsplus location "@fncts/io/Stream/api"
|
297
298
|
*/
|
298
|
-
export declare function
|
299
|
+
export declare function crossWith<A, R1, E1, B, C>(fb: Stream<R1, E1, B>, f: (a: A, b: B) => C, __tsplusTrace?: string): <R, E>(fa: Stream<R, E, A>) => Stream<R1 | R, E1 | E, C>;
|
299
300
|
/**
|
300
301
|
* Provides some of the environment required to run this effect,
|
301
302
|
* leaving the remainder `R0`.
|
302
|
-
* @tsplus
|
303
|
+
* @tsplus pipeable fncts.io.Stream contramapEnvironment
|
303
304
|
* @tsplus location "@fncts/io/Stream/api"
|
304
305
|
*/
|
305
|
-
export declare function
|
306
|
+
export declare function contramapEnvironment<R, R0>(f: (r0: Environment<R0>) => Environment<R>, __tsplusTrace?: string): <E, A>(ra: Stream<R, E, A>) => Stream<R0, E, A>;
|
306
307
|
/**
|
307
|
-
* @tsplus
|
308
|
+
* @tsplus pipeable fncts.io.Stream debounce
|
308
309
|
* @tsplus location "@fncts/io/Stream/api"
|
309
310
|
*/
|
310
|
-
export declare function
|
311
|
+
export declare function debounce(duration: Lazy<Duration>, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R, E, A>;
|
311
312
|
/**
|
312
313
|
* Switches to the provided stream in case this one is empty.
|
313
|
-
* @tsplus
|
314
|
+
* @tsplus pipeable fncts.io.Stream defaultIfEmpty
|
314
315
|
* @tsplus location "@fncts/io/Stream/api"
|
315
316
|
*/
|
316
|
-
export declare function
|
317
|
+
export declare function defaultIfEmpty<R1, E1, B>(fb: Stream<R1, E1, B>, __tsplusTrace?: string): <R, E, A>(fa: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B | A>;
|
317
318
|
/**
|
318
319
|
* More powerful version of `broadcast`. Allows to provide a function that determines what
|
319
320
|
* queues should receive which elements. The decide function will receive the indices of the queues
|
320
321
|
* in the resulting list.
|
321
|
-
* @tsplus
|
322
|
+
* @tsplus pipeable fncts.io.Stream distributedWith
|
322
323
|
* @tsplus location "@fncts/io/Stream/api"
|
323
324
|
*/
|
324
|
-
export declare function
|
325
|
+
export declare function distributedWith<A>(n: number, maximumLag: number, decide: (_: A) => UIO<(_: number) => boolean>, __tsplusTrace?: string): <R, E>(self: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, never, import("@fncts/base/collection/immutable/Conc.js").Conc<import("../Queue.js").Dequeue<import("@fncts/base/data/Exit.js").Exit<import("@fncts/base/data/Maybe.js").Maybe<E>, A>>>>;
|
325
326
|
/**
|
326
327
|
* More powerful version of `ZStream#distributedWith`. This returns a function that will produce
|
327
328
|
* new queues and corresponding indices.
|
@@ -329,10 +330,10 @@ export declare function distributedWith_<R, E, A>(self: Stream<R, E, A>, n: numb
|
|
329
330
|
* Shutdown of the queues is handled by the driver.
|
330
331
|
* Downstream users can also shutdown queues manually. In this case the driver will
|
331
332
|
* continue but no longer backpressure on them.
|
332
|
-
* @tsplus
|
333
|
+
* @tsplus pipeable fncts.io.Stream distributedWithDynamic
|
333
334
|
* @tsplus location "@fncts/io/Stream/api"
|
334
335
|
*/
|
335
|
-
export declare function
|
336
|
+
export declare function distributedWithDynamic<E, A>(maximumLag: number, decide: (a: A) => UIO<(_: symbol) => boolean>, done?: (exit: Exit<Maybe<E>, never>) => UIO<any>, __tsplusTrace?: string): <R>(self: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, never, import("../IO.js").UIO<readonly [symbol, import("../Queue.js").Dequeue<import("@fncts/base/data/Exit.js").Exit<import("@fncts/base/data/Maybe.js").Maybe<E>, A>>]>>;
|
336
337
|
/**
|
337
338
|
* Converts this stream to a stream that executes its effects but emits no
|
338
339
|
* elements. Useful for sequencing effects using streams.
|
@@ -342,24 +343,24 @@ export declare function distributedWithDynamic_<R, E, A>(self: Stream<R, E, A>,
|
|
342
343
|
export declare function drain<R, E, A>(fa: Stream<R, E, A>, __tsplusTrace?: string): Stream<R, E, void>;
|
343
344
|
/**
|
344
345
|
* Drops the specified number of elements from this stream.
|
345
|
-
* @tsplus
|
346
|
+
* @tsplus pipeable fncts.io.Stream drop
|
346
347
|
* @tsplus location "@fncts/io/Stream/api"
|
347
348
|
*/
|
348
|
-
export declare function
|
349
|
+
export declare function drop(n: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R, E, A>;
|
349
350
|
/**
|
350
351
|
* Drops all elements of the stream for as long as the specified predicate
|
351
352
|
* evaluates to `true`.
|
352
|
-
* @tsplus
|
353
|
+
* @tsplus pipeable fncts.io.Stream dropWhile
|
353
354
|
* @tsplus location "@fncts/io/Stream/api"
|
354
355
|
*/
|
355
|
-
export declare function
|
356
|
+
export declare function dropWhile<A>(p: Predicate<A>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R, E, A>;
|
356
357
|
/**
|
357
358
|
* Drops all elements of the stream until the specified predicate evaluates
|
358
359
|
* to `true`.
|
359
|
-
* @tsplus
|
360
|
+
* @tsplus pipeable fncts.io.Stream dropUntil
|
360
361
|
* @tsplus location "@fncts/io/Stream/api"
|
361
362
|
*/
|
362
|
-
export declare function
|
363
|
+
export declare function dropUntil<A>(p: Predicate<A>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R, E, A>;
|
363
364
|
/**
|
364
365
|
* Returns a stream whose failures and successes have been lifted into an
|
365
366
|
* `Either`. The resulting stream cannot fail, because the failures have
|
@@ -382,15 +383,15 @@ export declare const empty: Stream<never, never, never>;
|
|
382
383
|
* completes. See `interruptWhen` for this behavior.
|
383
384
|
*
|
384
385
|
* If the IO completes with a failure, the stream will emit that failure.
|
385
|
-
* @tsplus
|
386
|
+
* @tsplus pipeable fncts.io.Stream endWhen
|
386
387
|
* @tsplus location "@fncts/io/Stream/api"
|
387
388
|
*/
|
388
|
-
export declare function
|
389
|
+
export declare function endWhen<R1, E1>(io: IO<R1, E1, any>, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, A>;
|
389
390
|
/**
|
390
|
-
* @tsplus
|
391
|
+
* @tsplus pipeable fncts.io.Stream ensuring
|
391
392
|
* @tsplus location "@fncts/io/Stream/api"
|
392
393
|
*/
|
393
|
-
export declare function
|
394
|
+
export declare function ensuring<R1>(finalizer: IO<R1, never, any>, __tsplusTrace?: string): <R, E, A>(self: Stream<R, E, A>) => Stream<R1 | R, E, A>;
|
394
395
|
/**
|
395
396
|
* @tsplus static fncts.io.StreamOps environment
|
396
397
|
* @tsplus location "@fncts/io/Stream/api"
|
@@ -439,38 +440,38 @@ export declare function failCauseNow<E>(cause: Cause<E>, __tsplusTrace?: string)
|
|
439
440
|
*/
|
440
441
|
export declare function failCause<E>(cause: Lazy<Cause<E>>, __tsplusTrace?: string): Stream<never, E, never>;
|
441
442
|
/**
|
442
|
-
* @tsplus
|
443
|
+
* @tsplus pipeable fncts.io.Stream filter
|
443
444
|
* @tsplus location "@fncts/io/Stream/api"
|
444
445
|
*/
|
445
|
-
export declare function
|
446
|
-
export declare function
|
446
|
+
export declare function filter<A, B extends A>(refinement: Refinement<A, B>): <R, E>(fa: Stream<R, E, A>) => Stream<R, E, B>;
|
447
|
+
export declare function filter<A>(predicate: Predicate<A>): <R, E>(fa: Stream<R, E, A>) => Stream<R, E, A>;
|
447
448
|
/**
|
448
|
-
* @tsplus
|
449
|
+
* @tsplus pipeable fncts.io.Stream filterIO
|
449
450
|
* @tsplus location "@fncts/io/Stream/api"
|
450
451
|
*/
|
451
|
-
export declare function
|
452
|
+
export declare function filterIO<A, R1, E1>(f: (a: A) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E>(fa: Stream<R, E, A>) => Stream<R1 | R, E1 | E, A>;
|
452
453
|
/**
|
453
|
-
* @tsplus
|
454
|
+
* @tsplus pipeable fncts.io.Stream filterMap
|
454
455
|
* @tsplus location "@fncts/io/Stream/api"
|
455
456
|
*/
|
456
|
-
export declare function
|
457
|
+
export declare function filterMap<A, B>(f: (a: A) => Maybe<B>, __tsplusTrace?: string): <R, E>(fa: Stream<R, E, A>) => Stream<R, E, B>;
|
457
458
|
/**
|
458
|
-
* @tsplus
|
459
|
+
* @tsplus pipeable fncts.io.Stream filterMapIO
|
459
460
|
* @tsplus location "@fncts/io/Stream/api"
|
460
461
|
*/
|
461
|
-
export declare function
|
462
|
+
export declare function filterMapIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, Maybe<B>>, __tsplusTrace?: string): <R, E>(fa: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
462
463
|
/**
|
463
464
|
* Finds the first element emitted by this stream that satisfies the provided predicate.
|
464
|
-
* @tsplus
|
465
|
+
* @tsplus pipeable fncts.io.Stream find
|
465
466
|
* @tsplus location "@fncts/io/Stream/api"
|
466
467
|
*/
|
467
|
-
export declare function
|
468
|
+
export declare function find<A>(p: Predicate<A>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R, E, A>;
|
468
469
|
/**
|
469
470
|
* Finds the first element emitted by this stream that satisfies the provided effectful predicate.
|
470
|
-
* @tsplus
|
471
|
+
* @tsplus pipeable fncts.io.Stream findIO
|
471
472
|
* @tsplus location "@fncts/io/Stream/api"
|
472
473
|
*/
|
473
|
-
export declare function
|
474
|
+
export declare function findIO<A, R1, E1>(f: (a: A) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, A>;
|
474
475
|
/**
|
475
476
|
* Flattens this stream-of-streams into a stream made of the concatenation in
|
476
477
|
* strict order of all the streams.
|
@@ -522,7 +523,7 @@ export declare function fromChunk<O>(c: Lazy<Conc<O>>, __tsplusTrace?: string):
|
|
522
523
|
* @tsplus static fncts.io.StreamOps scoped
|
523
524
|
* @tsplus location "@fncts/io/Stream/api"
|
524
525
|
*/
|
525
|
-
export declare function scoped<R, E, A>(stream: IO<R, E, A
|
526
|
+
export declare function scoped<R, E, A>(stream: Lazy<IO<R, E, A>>, __tsplusTrace?: string): Stream<Exclude<R, Scope>, E, A>;
|
526
527
|
/**
|
527
528
|
* Creates a stream from an effect producing a value of type `A`
|
528
529
|
* @tsplus static fncts.io.StreamOps fromIO
|
@@ -560,12 +561,22 @@ export declare function fromPull<R, E, A>(scopedPull: IO<R, never, IO<R, Maybe<E
|
|
560
561
|
* @tsplus static fncts.io.StreamOps fromQueue
|
561
562
|
* @tsplus location "@fncts/io/Stream/api"
|
562
563
|
*/
|
563
|
-
export declare function
|
564
|
+
export declare function fromQueue<O>(queue: Dequeue<O>, maxChunkSize?: number, __tsplusTrace?: string): Stream<never, never, O>;
|
564
565
|
/**
|
565
566
|
* @tsplus static fncts.io.StreamOps fromQueueWithShutdown
|
566
567
|
* @tsplus location "@fncts/io/Stream/api"
|
567
568
|
*/
|
568
|
-
export declare function fromQueueWithShutdown<R, E, A>(queue:
|
569
|
+
export declare function fromQueueWithShutdown<R, E, A>(queue: Dequeue<A>, maxChunkSize?: number, __tsplusTrace?: string): Stream<never, never, A>;
|
570
|
+
/**
|
571
|
+
* @tsplus static fncts.io.StreamOps fromHub
|
572
|
+
* @tsplus location "@fncts/io/Stream/api"
|
573
|
+
*/
|
574
|
+
export declare function fromHub<A>(hub: Lazy<Hub<A>>, maxChunkSize?: number, __tsplusTrace?: string): Stream<never, never, A>;
|
575
|
+
/**
|
576
|
+
* @tsplus static fncts.io.StreamOps fromHubScoped
|
577
|
+
* @tsplus location "@fncts/io/Stream/api"
|
578
|
+
*/
|
579
|
+
export declare function fromHubScoped<A>(hub: Lazy<Hub<A>>, maxChunkSize?: number, __tsplusTrace?: string): IO<Scope, never, Stream<never, never, A>>;
|
569
580
|
/**
|
570
581
|
* Halt a stream with the specified exception
|
571
582
|
* @tsplus static fncts.io.StreamOps haltNow
|
@@ -587,23 +598,23 @@ export declare function halt(u: Lazy<unknown>, __tsplusTrace?: string): Stream<n
|
|
587
598
|
* IO completes. See `interruptWhen` for this behavior.
|
588
599
|
*
|
589
600
|
* If the IO completes with a failure, the stream will emit that failure.
|
590
|
-
* @tsplus
|
601
|
+
* @tsplus pipeable fncts.io.Stream haltWhen
|
591
602
|
* @tsplus location "@fncts/io/Stream/api"
|
592
603
|
*/
|
593
|
-
export declare function
|
604
|
+
export declare function haltWhen<R1, E1>(io: IO<R1, E1, any>, __tsplusTrace?: string): <R, E, A>(fa: Stream<R, E, A>) => Stream<R1 | R, E1 | E, A>;
|
594
605
|
/**
|
595
606
|
* Halts the evaluation of this stream when the provided promise resolves.
|
596
607
|
*
|
597
608
|
* If the promise completes with a failure, the stream will emit that failure.
|
598
|
-
* @tsplus
|
609
|
+
* @tsplus pipeable fncts.io.Stream haltWhen
|
599
610
|
* @tsplus location "@fncts/io/Stream/api"
|
600
611
|
*/
|
601
|
-
export declare function
|
612
|
+
export declare function haltWhenFuture<E1>(future: Future<E1, any>, __tsplusTrace?: string): <R, E, A>(fa: Stream<R, E, A>) => Stream<R, E1 | E, A>;
|
602
613
|
/**
|
603
|
-
* @tsplus
|
614
|
+
* @tsplus pipeable fncts.io.Stream interleave
|
604
615
|
* @tsplus location "@fncts/io/Stream/api"
|
605
616
|
*/
|
606
|
-
export declare function
|
617
|
+
export declare function interleave<R1, E1, B>(sb: Stream<R1, E1, B>, __tsplusTrace?: string): <R, E, A>(sa: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B | A>;
|
607
618
|
/**
|
608
619
|
* Combines this stream and the specified stream deterministically using the
|
609
620
|
* stream of boolean values `b` to control which stream to pull from next.
|
@@ -611,14 +622,14 @@ export declare function interleave_<R, E, A, R1, E1, B>(sa: Stream<R, E, A>, sb:
|
|
611
622
|
* from the specified stream. Only consumes as many elements as requested by
|
612
623
|
* `b`. If either this stream or the specified stream are exhausted further
|
613
624
|
* requests for values from that stream will be ignored.
|
614
|
-
* @tsplus
|
625
|
+
* @tsplus pipeable fncts.io.Stream interleaveWith
|
615
626
|
* @tsplus location "@fncts/io/Stream/api"
|
616
627
|
*/
|
617
|
-
export declare function
|
628
|
+
export declare function interleaveWith<R1, E1, B, R2, E2>(sb: Stream<R1, E1, B>, b: Stream<R2, E2, boolean>, __tsplusTrace?: string): <R, E, A>(sa: Stream<R, E, A>) => Stream<R1 | R2 | R, E1 | E2 | E, B | A>;
|
618
629
|
/**
|
619
630
|
* Intersperse stream with provided element
|
620
631
|
*/
|
621
|
-
export declare function
|
632
|
+
export declare function intersperse<R, E, A, A1>(stream: Stream<R, E, A>, middle: A1, __tsplusTrace?: string): Stream<R, E, A | A1>;
|
622
633
|
/**
|
623
634
|
* Interrupts the evaluation of this stream when the provided IO completes. The given
|
624
635
|
* IO will be forked as part of this stream, and its success will be discarded. This
|
@@ -626,204 +637,204 @@ export declare function intersperse_<R, E, A, A1>(stream: Stream<R, E, A>, middl
|
|
626
637
|
*
|
627
638
|
* If the IO completes with a failure before the stream completes, the returned stream
|
628
639
|
* will emit that failure.
|
629
|
-
* @tsplus
|
640
|
+
* @tsplus pipeable fncts.io.Stream interruptWhen
|
630
641
|
* @tsplus location "@fncts/io/Stream/api"
|
631
642
|
*/
|
632
|
-
export declare function
|
643
|
+
export declare function interruptWhen<R1, E1>(io: IO<R1, E1, any>, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, A>;
|
633
644
|
/**
|
634
|
-
* @tsplus
|
645
|
+
* @tsplus pipeable fncts.io.Stream interruptWhen
|
635
646
|
* @tsplus location "@fncts/io/Stream/api"
|
636
647
|
*/
|
637
|
-
export declare function
|
648
|
+
export declare function interruptWhenFuture<E1>(future: Future<E1, unknown>, __tsplusTrace?: string): <R, E, A>(fa: Stream<R, E, A>) => Stream<R, E1 | E, A>;
|
638
649
|
/**
|
639
650
|
* Transforms the elements of this stream using the supplied function.
|
640
|
-
* @tsplus
|
651
|
+
* @tsplus pipeable fncts.io.Stream map
|
641
652
|
* @tsplus location "@fncts/io/Stream/api"
|
642
653
|
*/
|
643
|
-
export declare function
|
654
|
+
export declare function map<A, B>(f: (o: A) => B, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R, E, B>;
|
644
655
|
/**
|
645
656
|
* Statefully maps over the elements of this stream to produce new elements.
|
646
|
-
* @tsplus
|
657
|
+
* @tsplus pipeable fncts.io.Stream mapAccum
|
647
658
|
* @tsplus location "@fncts/io/Stream/api"
|
648
659
|
*/
|
649
|
-
export declare function
|
660
|
+
export declare function mapAccum<A, S, B>(s: S, f: (s: S, a: A) => readonly [S, B], __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R, E, B>;
|
650
661
|
/**
|
651
662
|
* Statefully and effectfully maps over the elements of this stream to produce
|
652
663
|
* new elements.
|
653
|
-
* @tsplus
|
664
|
+
* @tsplus pipeable fncts.io.Stream mapAccumIO
|
654
665
|
* @tsplus location "@fncts/io/Stream/api"
|
655
666
|
*/
|
656
|
-
export declare function
|
667
|
+
export declare function mapAccumIO<A, R1, E1, S, B>(s: S, f: (s: S, a: A) => IO<R1, E1, readonly [B, S]>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
657
668
|
/**
|
658
669
|
* Transforms the chunks emitted by this stream.
|
659
|
-
* @tsplus
|
670
|
+
* @tsplus pipeable fncts.io.Stream mapChunks
|
660
671
|
* @tsplus location "@fncts/io/Stream/api"
|
661
672
|
*/
|
662
|
-
export declare function
|
673
|
+
export declare function mapChunks<A, A1>(f: (chunk: Conc<A>) => Conc<A1>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R, E, A1>;
|
663
674
|
/**
|
664
675
|
* Effectfully transforms the chunks emitted by this stream.
|
665
|
-
* @tsplus
|
676
|
+
* @tsplus pipeable fncts.io.Stream mapChunksIO
|
666
677
|
* @tsplus location "@fncts/io/Stream/api"
|
667
678
|
*/
|
668
|
-
export declare function
|
679
|
+
export declare function mapChunksIO<A, R1, E1, B>(f: (chunk: Conc<A>) => IO<R1, E1, Conc<B>>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
669
680
|
/**
|
670
681
|
* Maps each element to an iterable, and flattens the iterables into the
|
671
682
|
* output of this stream.
|
672
|
-
* @tsplus
|
683
|
+
* @tsplus pipeable fncts.io.Stream mapConcat
|
673
684
|
* @tsplus location "@fncts/io/Stream/api"
|
674
685
|
*/
|
675
|
-
export declare function
|
686
|
+
export declare function mapConcat<A, B>(f: (a: A) => Iterable<B>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R, E, B>;
|
676
687
|
/**
|
677
688
|
* Maps each element to a chunk, and flattens the chunks into the output of
|
678
689
|
* this stream.
|
679
|
-
* @tsplus
|
690
|
+
* @tsplus pipeable fncts.io.Stream mapConcatChunk
|
680
691
|
* @tsplus location "@fncts/io/Stream/api"
|
681
692
|
*/
|
682
|
-
export declare function
|
693
|
+
export declare function mapConcatChunk<A, B>(f: (a: A) => Conc<B>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R, E, B>;
|
683
694
|
/**
|
684
695
|
* Effectfully maps each element to a chunk, and flattens the chunks into
|
685
696
|
* the output of this stream.
|
686
|
-
* @tsplus
|
697
|
+
* @tsplus pipeable fncts.io.Stream mapConcatChunkIO
|
687
698
|
* @tsplus location "@fncts/io/Stream/api"
|
688
699
|
*/
|
689
|
-
export declare function
|
700
|
+
export declare function mapConcatChunkIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, Conc<B>>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
690
701
|
/**
|
691
702
|
* Effectfully maps each element to an iterable, and flattens the iterables into
|
692
703
|
* the output of this stream.
|
693
|
-
* @tsplus
|
704
|
+
* @tsplus pipeable fncts.io.Stream mapConcatIO
|
694
705
|
* @tsplus location "@fncts/io/Stream/api"
|
695
706
|
*/
|
696
|
-
export declare function
|
707
|
+
export declare function mapConcatIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, Iterable<B>>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
697
708
|
/**
|
698
709
|
* Transforms the errors emitted by this stream using `f`.
|
699
|
-
* @tsplus
|
710
|
+
* @tsplus pipeable fncts.io.Stream mapError
|
700
711
|
* @tsplus location "@fncts/io/Stream/api"
|
701
712
|
*/
|
702
|
-
export declare function
|
713
|
+
export declare function mapError<E, E1>(f: (e: E) => E1, __tsplusTrace?: string): <R, A>(stream: Stream<R, E, A>) => Stream<R, E1, A>;
|
703
714
|
/**
|
704
715
|
* Transforms the full causes of failures emitted by this stream.
|
705
|
-
* @tsplus
|
716
|
+
* @tsplus pipeable fncts.io.Stream mapErrorCause
|
706
717
|
* @tsplus location "@fncts/io/Stream/api"
|
707
718
|
*/
|
708
|
-
export declare function
|
719
|
+
export declare function mapErrorCause<E, E1>(f: (e: Cause<E>) => Cause<E1>, __tsplusTrace?: string): <R, A>(fa: Stream<R, E, A>) => Stream<R, E1, A>;
|
709
720
|
/**
|
710
721
|
* Maps over elements of the stream with the specified effectful function.
|
711
|
-
* @tsplus
|
722
|
+
* @tsplus pipeable fncts.io.Stream mapIO
|
712
723
|
* @tsplus location "@fncts/io/Stream/api"
|
713
724
|
*/
|
714
|
-
export declare function
|
725
|
+
export declare function mapIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
715
726
|
/**
|
716
727
|
* Maps over elements of the stream with the specified effectful function,
|
717
728
|
* executing up to `n` invocations of `f` concurrently. Transformed elements
|
718
729
|
* will be emitted in the original order.
|
719
730
|
* @note This combinator destroys the chunking structure. It's recommended to use chunkN afterwards.
|
720
|
-
* @tsplus
|
731
|
+
* @tsplus pipeable fncts.io.Stream mapIOC
|
721
732
|
* @tsplus location "@fncts/io/Stream/api"
|
722
733
|
*/
|
723
|
-
export declare function
|
734
|
+
export declare function mapIOC<A, R1, E1, B>(n: number, f: (a: A) => IO<R1, E1, B>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
724
735
|
/**
|
725
736
|
* Maps each element of this stream to another stream and returns the
|
726
737
|
* non-deterministic merge of those streams, executing up to `n` inner streams
|
727
738
|
* concurrently. Up to `bufferSize` elements of the produced streams may be
|
728
739
|
* buffered in memory by this operator.
|
729
|
-
* @tsplus
|
740
|
+
* @tsplus pipeable fncts.io.Stream mergeMap
|
730
741
|
* @tsplus location "@fncts/io/Stream/api"
|
731
742
|
*/
|
732
|
-
export declare function
|
743
|
+
export declare function mergeMap<A, R1, E1, B>(f: (a: A) => Stream<R1, E1, B>, n: number, bufferSize?: number, __tsplusTrace?: string): <R, E>(ma: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
733
744
|
/**
|
734
745
|
* Maps over elements of the stream with the specified effectful function,
|
735
746
|
* executing up to `n` invocations of `f` concurrently. The element order
|
736
747
|
* is not enforced by this combinator, and elements may be reordered.
|
737
|
-
* @tsplus
|
748
|
+
* @tsplus pipeable fncts.io.Stream mergeMapIO
|
738
749
|
* @tsplus location "@fncts/io/Stream/api"
|
739
750
|
*/
|
740
|
-
export declare function
|
751
|
+
export declare function mergeMapIO<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>, n: number, bufferSize?: number, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
741
752
|
/**
|
742
|
-
* @tsplus
|
753
|
+
* @tsplus pipeable fncts.io.Stream mergeEither
|
743
754
|
* @tsplus location "@fncts/io/Stream/api"
|
744
755
|
*/
|
745
|
-
export declare function
|
756
|
+
export declare function mergeEither<R1, E1, B>(fb: Stream<R1, E1, B>, __tsplusTrace?: string): <R, E, A>(fa: Stream<R, E, A>) => Stream<R1 | R, E1 | E, import("@fncts/base/data/Either.js").Either<A, B>>;
|
746
757
|
export declare function mergeWithHandler<R, E>(terminate: boolean, __tsplusTrace?: string): (exit: Exit<E, unknown>) => MergeDecision<R, E, unknown, E, unknown>;
|
747
758
|
export type TerminationStrategy = "Left" | "Right" | "Both" | "Either";
|
748
759
|
/**
|
749
|
-
* @tsplus
|
760
|
+
* @tsplus pipeable fncts.io.Stream mergeWith
|
750
761
|
* @tsplus location "@fncts/io/Stream/api"
|
751
762
|
*/
|
752
|
-
export declare function
|
763
|
+
export declare function mergeWith<A, R1, E1, A1, B, C>(sb: Stream<R1, E1, A1>, l: (a: A) => B, r: (b: A1) => C, strategy?: TerminationStrategy, __tsplusTrace?: string): <R, E>(sa: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B | C>;
|
753
764
|
/**
|
754
765
|
* Runs the specified effect if this stream fails, providing the error to the effect if it exists.
|
755
766
|
*
|
756
767
|
* Note: Unlike `IO.onError`, there is no guarantee that the provided effect will not be interrupted.
|
757
|
-
* @tsplus
|
768
|
+
* @tsplus pipeable fncts.io.Stream onError
|
758
769
|
* @tsplus location "@fncts/io/Stream/api"
|
759
770
|
*/
|
760
|
-
export declare function
|
771
|
+
export declare function onError<E, R1>(cleanup: (e: Cause<E>) => IO<R1, never, any>, __tsplusTrace?: string): <R, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E, A>;
|
761
772
|
/**
|
762
773
|
* Switches to the provided stream in case this one fails with a typed error.
|
763
774
|
*
|
764
775
|
* See also Stream#catchAll
|
765
|
-
* @tsplus
|
776
|
+
* @tsplus pipeable fncts.io.Stream orElse
|
766
777
|
* @tsplus location "@fncts/io/Stream/api"
|
767
778
|
*/
|
768
|
-
export declare function
|
779
|
+
export declare function orElse<R1, E1, A1>(that: Lazy<Stream<R1, E1, A1>>, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E1, A1 | A>;
|
769
780
|
/**
|
770
781
|
* Switches to the provided stream in case this one fails with a typed error.
|
771
782
|
*
|
772
783
|
* See also ZStream#catchAll
|
773
|
-
* @tsplus
|
784
|
+
* @tsplus pipeable fncts.io.Stream orElseEither
|
774
785
|
* @tsplus location "@fncts/io/Stream/api"
|
775
786
|
*/
|
776
|
-
export declare function
|
787
|
+
export declare function orElseEither<R1, E1, A1>(that: Lazy<Stream<R1, E1, A1>>, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R1 | R, E1, import("@fncts/base/data/Either.js").Either<A, A1>>;
|
777
788
|
/**
|
778
789
|
* Fails with given error in case this one fails with a typed error.
|
779
790
|
*
|
780
791
|
* See also Stream#catchAll
|
781
|
-
* @tsplus
|
792
|
+
* @tsplus pipeable fncts.io.Stream orElseFail
|
782
793
|
* @tsplus location "@fncts/io/Stream/api"
|
783
794
|
*/
|
784
|
-
export declare function
|
795
|
+
export declare function orElseFail<E1>(e: Lazy<E1>, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R, E1, A>;
|
785
796
|
/**
|
786
797
|
* Switches to the provided stream in case this one fails with the `None` value.
|
787
798
|
*
|
788
799
|
* See also Stream#catchAll.
|
789
800
|
*/
|
790
|
-
export declare function
|
801
|
+
export declare function orElseOptional<R, E, A, R1, E1, A1>(stream: Stream<R, Maybe<E>, A>, that: Lazy<Stream<R1, Maybe<E1>, A1>>, __tsplusTrace?: string): Stream<R | R1, Maybe<E | E1>, A | A1>;
|
791
802
|
/**
|
792
803
|
* Succeeds with the specified value if this one fails with a typed error.
|
793
|
-
* @tsplus
|
804
|
+
* @tsplus pipeable fncts.io.Stream orElseSucceed
|
794
805
|
* @tsplus location "@fncts/io/Stream/api"
|
795
806
|
*/
|
796
|
-
export declare function
|
807
|
+
export declare function orElseSucceed<A1>(a: Lazy<A1>, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R, never, A1 | A>;
|
797
808
|
/**
|
798
|
-
* @tsplus
|
809
|
+
* @tsplus pipeable fncts.io.Stream pipeThrough
|
799
810
|
* @tsplus location "@fncts/io/Stream/api"
|
800
811
|
*/
|
801
|
-
export declare function
|
812
|
+
export declare function pipeThrough<A, R1, E1, L, Z>(sa: Sink<R1, E1, A, L, Z>, __tsplusTrace?: string): <R, E>(ma: Stream<R, E, A>) => Stream<R1 | R, E1 | E, L>;
|
802
813
|
/**
|
803
814
|
* Provides the stream with its required environment, which eliminates
|
804
815
|
* its dependency on `R`.
|
805
|
-
* @tsplus
|
816
|
+
* @tsplus pipeable fncts.io.Stream provideEnvironment
|
806
817
|
* @tsplus location "@fncts/io/Stream/api"
|
807
818
|
*/
|
808
|
-
export declare function
|
819
|
+
export declare function provideEnvironment<R>(r: Environment<R>, __tsplusTrace?: string): <E, A>(ra: Stream<R, E, A>) => Stream<never, E, A>;
|
809
820
|
/**
|
810
|
-
* @tsplus
|
821
|
+
* @tsplus pipeable fncts.io.Stream provideLayer
|
811
822
|
* @tsplus location "@fncts/io/Stream/api"
|
812
823
|
*/
|
813
|
-
export declare function
|
824
|
+
export declare function provideLayer<RIn, ROut, E1>(layer: Layer<RIn, E1, ROut>, __tsplusTrace?: string): <E, A>(self: Stream<ROut, E, A>) => Stream<RIn, E1 | E, A>;
|
814
825
|
/**
|
815
|
-
* @tsplus
|
826
|
+
* @tsplus pipeable fncts.io.Stream provideSomeLayer
|
816
827
|
* @tsplus location "@fncts/io/Stream/api"
|
817
828
|
*/
|
818
|
-
export declare function
|
829
|
+
export declare function provideSomeLayer<RIn, E1, ROut>(layer: Layer<RIn, E1, ROut>, __tsplusTrace?: string): <R, E, A>(self: Stream<R, E, A>) => Stream<RIn | Exclude<R, ROut>, E1 | E, A>;
|
819
830
|
/**
|
820
831
|
* Re-chunks the elements of the stream into chunks of
|
821
832
|
* `n` elements each.
|
822
833
|
* The last chunk might contain less than `n` elements
|
823
|
-
* @tsplus
|
834
|
+
* @tsplus pipeable fncts.io.Stream rechunk
|
824
835
|
* @tsplus location "@fncts/io/Stream/api"
|
825
836
|
*/
|
826
|
-
export declare function
|
837
|
+
export declare function rechunk(n: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R, E, A>;
|
827
838
|
/**
|
828
839
|
* Repeats the provided value infinitely.
|
829
840
|
* @tsplus static fncts.io.StreamOps repeatValue
|
@@ -856,10 +867,10 @@ export declare function repeatIOChunk<R, E, A>(fa: IO<R, E, Conc<A>>, __tsplusTr
|
|
856
867
|
export declare function repeatIOChunkMaybe<R, E, A>(fa: IO<R, Maybe<E>, Conc<A>>, __tsplusTrace?: string): Stream<R, E, A>;
|
857
868
|
/**
|
858
869
|
* Runs the sink on the stream to produce either the sink's result or an error.
|
859
|
-
* @tsplus
|
870
|
+
* @tsplus pipeable fncts.io.Stream run
|
860
871
|
* @tsplus location "@fncts/io/Stream/api"
|
861
872
|
*/
|
862
|
-
export declare function
|
873
|
+
export declare function run<A, R2, E2, Z>(sink: Sink<R2, E2, A, unknown, Z>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => import("../IO.js").IO<R2 | R, E2 | E, Z>;
|
863
874
|
/**
|
864
875
|
* Runs the stream and collects all of its elements to a chunk.
|
865
876
|
* @tsplus getter fncts.io.Stream runCollect
|
@@ -873,65 +884,65 @@ export declare function runCollect<R, E, A>(stream: Stream<R, E, A>, __tsplusTra
|
|
873
884
|
*/
|
874
885
|
export declare function runDrain<R, E, A>(stream: Stream<R, E, A>, __tsplusTrace?: string): IO<R, E, void>;
|
875
886
|
/**
|
876
|
-
* @tsplus
|
887
|
+
* @tsplus pipeable fncts.io.Stream runForeachScoped
|
877
888
|
* @tsplus location "@fncts/io/Stream/api"
|
878
889
|
*/
|
879
|
-
export declare function
|
890
|
+
export declare function runForeachScoped<A, R2, E2>(f: (a: A) => IO<R2, E2, any>, __tsplusTrace?: string): <R, E>(self: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R2 | R, E2 | E, void>;
|
880
891
|
/**
|
881
892
|
* Like `into`, but provides the result as a `Managed` to allow for scope
|
882
893
|
* composition.
|
883
|
-
* @tsplus
|
894
|
+
* @tsplus pipeable fncts.io.Stream runIntoElementsScoped
|
884
895
|
* @tsplus location "@fncts/io/Stream/api"
|
885
896
|
*/
|
886
|
-
export declare function
|
897
|
+
export declare function runIntoElementsScoped<E, A, E1>(queue: Queue<Exit<Maybe<E | E1>, A>>, __tsplusTrace?: string): <R>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, E | E1, void>;
|
887
898
|
/**
|
888
899
|
* Like `Stream#into`, but provides the result as a `Managed` to allow for scope
|
889
900
|
* composition.
|
890
|
-
* @tsplus
|
901
|
+
* @tsplus pipeable fncts.io.Stream runIntoQueueScoped
|
891
902
|
* @tsplus location "@fncts/io/Stream/api"
|
892
903
|
*/
|
893
|
-
export declare function
|
904
|
+
export declare function runIntoQueueScoped<E1, A>(queue: Enqueue<Take<E1, A>>, __tsplusTrace?: string): <R, E extends E1>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, E1 | E, void>;
|
894
905
|
/**
|
895
906
|
* Like `Stream#runIntoHub`, but provides the result as a `Managed` to allow for scope
|
896
907
|
* composition.
|
897
|
-
* @tsplus
|
908
|
+
* @tsplus pipeable fncts.io.Stream runIntoHubScoped
|
898
909
|
* @tsplus location "@fncts/io/Stream/api"
|
899
910
|
*/
|
900
|
-
export declare function
|
911
|
+
export declare function runIntoHubScoped<E1, A>(hub: Hub<Take<E1, A>>, __tsplusTrace?: string): <R, E extends E1>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, E1 | E, void>;
|
901
912
|
/**
|
902
913
|
* Runs the sink on the stream to produce either the sink's result or an error.
|
903
|
-
* @tsplus
|
914
|
+
* @tsplus pipeable fncts.io.Stream runScoped
|
904
915
|
* @tsplus location "@fncts/io/Stream/api"
|
905
916
|
*/
|
906
|
-
export declare function
|
917
|
+
export declare function runScoped<A, R2, E2, Z>(sink: Sink<R2, E2, A, unknown, Z>, __tsplusTrace?: string): <R, E>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R2 | R, E2 | E, Z>;
|
907
918
|
/**
|
908
919
|
* Statefully maps over the elements of this stream to produce all intermediate results
|
909
920
|
* of type `B` given an initial B.
|
910
|
-
* @tsplus
|
921
|
+
* @tsplus pipeable fncts.io.Stream scan
|
911
922
|
* @tsplus location "@fncts/io/Stream/api"
|
912
923
|
*/
|
913
|
-
export declare function
|
924
|
+
export declare function scan<A, B>(b: B, f: (b: B, a: A) => B, __tsplusTrace?: string): <R, E>(sa: Stream<R, E, A>) => Stream<R, E, B>;
|
914
925
|
/**
|
915
926
|
* Statefully and effectfully maps over the elements of this stream to produce all
|
916
927
|
* intermediate results of type `B` given an initial B.
|
917
|
-
* @tsplus
|
928
|
+
* @tsplus pipeable fncts.io.Stream scanIO
|
918
929
|
* @tsplus location "@fncts/io/Stream/api"
|
919
930
|
*/
|
920
|
-
export declare function
|
931
|
+
export declare function scanIO<A, R1, E1, B>(b: B, f: (b: B, a: A) => IO<R1, E1, B>, __tsplusTrace?: string): <R, E>(sa: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
921
932
|
/**
|
922
933
|
* Statefully maps over the elements of this stream to produce all
|
923
934
|
* intermediate results.
|
924
|
-
* @tsplus
|
935
|
+
* @tsplus pipeable fncts.io.Stream scanReduce
|
925
936
|
* @tsplus location "@fncts/io/Stream/api"
|
926
937
|
*/
|
927
|
-
export declare function
|
938
|
+
export declare function scanReduce<A extends B, B>(f: (b: B, a: A) => B, __tsplusTrace?: string): <R, E>(fa: Stream<R, E, A>) => Stream<R, E, B>;
|
928
939
|
/**
|
929
940
|
* Statefully and effectfully maps over the elements of this stream to produce
|
930
941
|
* all intermediate results.
|
931
|
-
* @tsplus
|
942
|
+
* @tsplus pipeable fncts.io.Stream scanReduceIO
|
932
943
|
* @tsplus location "@fncts/io/Stream/api"
|
933
944
|
*/
|
934
|
-
export declare function
|
945
|
+
export declare function scanReduceIO<A extends B, R1, E1, B>(f: (b: B, a: A) => IO<R1, E1, B>, __tsplusTrace?: string): <R, E>(fa: Stream<R, E, A>) => Stream<R1 | R, E1 | E, B>;
|
935
946
|
/**
|
936
947
|
* Creates a single-valued pure stream
|
937
948
|
* @tsplus static fncts.io.StreamOps succeedNow
|
@@ -946,52 +957,52 @@ export declare function succeedNow<O>(o: O, __tsplusTrace?: string): Stream<neve
|
|
946
957
|
export declare function succeed<A>(a: Lazy<A>, __tsplusTrace?: string): Stream<never, never, A>;
|
947
958
|
/**
|
948
959
|
* Takes the specified number of elements from this stream.
|
949
|
-
* @tsplus
|
960
|
+
* @tsplus pipeable fncts.io.Stream take
|
950
961
|
* @tsplus location "@fncts/io/Stream/api"
|
951
962
|
*/
|
952
|
-
export declare function
|
963
|
+
export declare function take(n: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => Stream<R, E, A>;
|
953
964
|
/**
|
954
|
-
* @tsplus
|
965
|
+
* @tsplus pipeable fncts.io.Stream takeUntilIO
|
955
966
|
* @tsplus location "@fncts/io/Stream/api"
|
956
967
|
*/
|
957
|
-
export declare function
|
968
|
+
export declare function takeUntilIO<A, R1, E1>(f: (a: A) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E>(ma: Stream<R, E, A>) => Stream<R1 | R, E1 | E, A>;
|
958
969
|
/**
|
959
970
|
* Takes all elements of the stream until the specified predicate evaluates
|
960
971
|
* to `true`.
|
961
|
-
* @tsplus
|
972
|
+
* @tsplus pipeable fncts.io.Stream takeUntil
|
962
973
|
* @tsplus location "@fncts/io/Stream/api"
|
963
974
|
*/
|
964
|
-
export declare function
|
975
|
+
export declare function takeUntil<A>(p: Predicate<A>, __tsplusTrace?: string): <R, E>(fa: Stream<R, E, A>) => Stream<R, E, A>;
|
965
976
|
/**
|
966
|
-
* @tsplus
|
977
|
+
* @tsplus pipeable fncts.io.Stream tap
|
967
978
|
* @tsplus location "@fncts/io/Stream/api"
|
968
979
|
*/
|
969
|
-
export declare function
|
980
|
+
export declare function tap<A, R1, E1>(f: (a: A) => IO<R1, E1, any>, __tsplusTrace?: string): <R, E>(ma: Stream<R, E, A>) => Stream<R1 | R, E1 | E, A>;
|
970
981
|
/**
|
971
982
|
* Throttles the chunks of this stream according to the given bandwidth parameters using the token bucket
|
972
983
|
* algorithm. Allows for burst in the processing of elements by allowing the token bucket to accumulate
|
973
984
|
* tokens up to a `units + burst` threshold. Chunks that do not meet the bandwidth constraints are dropped.
|
974
985
|
* The weight of each chunk is determined by the `costFn` function.
|
975
|
-
* @tsplus
|
986
|
+
* @tsplus pipeable fncts.io.Stream throttleEnforce
|
976
987
|
* @tsplus location "@fncts/io/Stream/api"
|
977
988
|
*/
|
978
|
-
export declare function
|
989
|
+
export declare function throttleEnforce<A>(costFn: (chunk: Conc<A>) => number, units: number, duration: number, burst?: number, __tsplusTrace?: string): <R, E>(sa: Stream<R, E, A>) => Stream<R, E, A>;
|
979
990
|
/**
|
980
991
|
* Throttles the chunks of this stream according to the given bandwidth parameters using the token bucket
|
981
992
|
* algorithm. Allows for burst in the processing of elements by allowing the token bucket to accumulate
|
982
993
|
* tokens up to a `units + burst` threshold. Chunks that do not meet the bandwidth constraints are dropped.
|
983
994
|
* The weight of each chunk is determined by the `costFn` effectful function.
|
984
|
-
* @tsplus
|
995
|
+
* @tsplus pipeable fncts.io.Stream throttleEnforceIO
|
985
996
|
* @tsplus location "@fncts/io/Stream/api"
|
986
997
|
*/
|
987
|
-
export declare function
|
998
|
+
export declare function throttleEnforceIO<A, R1, E1>(costFn: (chunk: Conc<A>) => IO<R1, E1, number>, units: number, duration: number, burst?: number, __tsplusTrace?: string): <R, E>(sa: Stream<R, E, A>) => Stream<R1 | R, E1 | E, A>;
|
988
999
|
/**
|
989
1000
|
* Converts the stream to a managed hub of chunks. After the managed hub is used,
|
990
1001
|
* the hub will never again produce values and should be discarded.
|
991
|
-
* @tsplus
|
1002
|
+
* @tsplus pipeable fncts.io.Stream toHub
|
992
1003
|
* @tsplus location "@fncts/io/Stream/api"
|
993
1004
|
*/
|
994
|
-
export declare function
|
1005
|
+
export declare function toHub(capacity: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, never, Hub<Take<E, A>>>;
|
995
1006
|
/**
|
996
1007
|
* Interpret the stream as a managed pull
|
997
1008
|
* @tsplus getter fncts.io.Stream toPull
|
@@ -1001,25 +1012,25 @@ export declare function toPull<R, E, A>(stream: Stream<R, E, A>, __tsplusTrace?:
|
|
1001
1012
|
/**
|
1002
1013
|
* Converts the stream to a managed queue of chunks. After the managed queue is used,
|
1003
1014
|
* the queue will never again produce values and should be discarded.
|
1004
|
-
* @tsplus
|
1015
|
+
* @tsplus pipeable fncts.io.Stream toQueue
|
1005
1016
|
* @tsplus location "@fncts/io/Stream/api"
|
1006
1017
|
*/
|
1007
|
-
export declare function
|
1018
|
+
export declare function toQueue(capacity?: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, never, import("../Queue.js").Dequeue<Take<E, A>>>;
|
1008
1019
|
/**
|
1009
|
-
* @tsplus
|
1020
|
+
* @tsplus pipeable fncts.io.Stream toQueueDropping
|
1010
1021
|
* @tsplus location "@fncts/io/Stream/api"
|
1011
1022
|
*/
|
1012
|
-
export declare function
|
1023
|
+
export declare function toQueueDropping(capacity?: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, never, import("../Queue.js").Dequeue<Take<E, A>>>;
|
1013
1024
|
/**
|
1014
|
-
* @tsplus
|
1025
|
+
* @tsplus pipeable fncts.io.Stream toQueueOfElements
|
1015
1026
|
* @tsplus location "@fncts/io/Stream/api"
|
1016
1027
|
*/
|
1017
|
-
export declare function
|
1028
|
+
export declare function toQueueOfElements(capacity?: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, never, import("../Queue.js").Dequeue<import("@fncts/base/data/Exit.js").Exit<import("@fncts/base/data/Maybe.js").Maybe<E>, A>>>;
|
1018
1029
|
/**
|
1019
|
-
* @tsplus
|
1030
|
+
* @tsplus pipeable fncts.io.Stream toQueueSliding
|
1020
1031
|
* @tsplus location "@fncts/io/Stream/api"
|
1021
1032
|
*/
|
1022
|
-
export declare function
|
1033
|
+
export declare function toQueueSliding(capacity?: number, __tsplusTrace?: string): <R, E, A>(stream: Stream<R, E, A>) => import("../IO.js").IO<import("../Scope.js").Scope | R, never, import("../Queue.js").Dequeue<Take<E, A>>>;
|
1023
1034
|
/**
|
1024
1035
|
* Converts the stream into an unbounded managed queue. After the managed queue
|
1025
1036
|
* is used, the queue will never again produce values and should be discarded.
|
@@ -1074,7 +1085,7 @@ export declare function zipWithIndex_<R, E, A>(self: Stream<R, E, A>, __tsplusTr
|
|
1074
1085
|
* Note: tracking the latest value is done on a per-chunk basis. That means
|
1075
1086
|
* that emitted elements that are not the last value in chunks will never be
|
1076
1087
|
* used for zipping.
|
1077
|
-
* @tsplus
|
1088
|
+
* @tsplus pipeable fncts.io.Stream zipWithLatest
|
1078
1089
|
* @tsplus location "@fncts/io/Stream/api"
|
1079
1090
|
*/
|
1080
|
-
export declare function
|
1091
|
+
export declare function zipWithLatest<A, R1, E1, B, C>(fb: Stream<R1, E1, B>, f: (a: A, b: B) => C, __tsplusTrace?: string): <R, E>(fa: Stream<R, E, A>) => Stream<R1 | R, E1 | E, C>;
|