@fncts/io 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cached/api.d.ts +27 -0
- package/Cached/definition.d.ts +18 -0
- package/Cached/internal.d.ts +10 -0
- package/Cached.d.ts +3 -0
- package/CancellerState.d.ts +42 -0
- package/Channel/ChildExecutorDecision/api.d.ts +6 -0
- package/Channel/ChildExecutorDecision/definition.d.ts +35 -0
- package/Channel/ChildExecutorDecision.d.ts +2 -0
- package/Channel/UpstreamPullRequest/api.d.ts +16 -0
- package/Channel/UpstreamPullRequest/definition.d.ts +20 -0
- package/Channel/UpstreamPullRequest.d.ts +2 -0
- package/Channel/UpstreamPullStrategy/definition.d.ts +26 -0
- package/Channel/UpstreamPullStrategy.d.ts +1 -0
- package/Channel/api/interruptWhen.d.ts +23 -0
- package/Channel/api/mapOutIOC.d.ts +8 -0
- package/Channel/api/mergeAll.d.ts +7 -0
- package/Channel/api/mergeAllUnboundedWith.d.ts +6 -0
- package/Channel/api/mergeAllWith.d.ts +11 -0
- package/Channel/api/mergeMap.d.ts +7 -0
- package/Channel/api/mergeWith.d.ts +14 -0
- package/Channel/api/run.d.ts +8 -0
- package/Channel/api/runCollect.d.ts +8 -0
- package/Channel/api/runDrain.d.ts +8 -0
- package/Channel/api/runScoped.d.ts +10 -0
- package/Channel/api/toPull.d.ts +11 -0
- package/Channel/api/zipC.d.ts +16 -0
- package/Channel/api.d.ts +420 -0
- package/Channel/core-api.d.ts +78 -0
- package/Channel/definition.d.ts +164 -0
- package/Channel/internal/AsyncInputConsumer.d.ts +8 -0
- package/Channel/internal/AsyncInputProducer.d.ts +8 -0
- package/Channel/internal/ChannelExecutor.d.ts +51 -0
- package/Channel/internal/ChannelState.d.ts +44 -0
- package/Channel/internal/MergeDecision.d.ts +51 -0
- package/Channel/internal/MergeState.d.ts +50 -0
- package/Channel/internal/SingleProducerAsyncInput.d.ts +71 -0
- package/Channel.d.ts +3 -0
- package/Clock/api.d.ts +11 -0
- package/Clock/definition.d.ts +14 -0
- package/Clock/live.d.ts +7 -0
- package/Clock.d.ts +3 -0
- package/Console/api.d.ts +11 -0
- package/Console/definition.d.ts +15 -0
- package/Console/live.d.ts +11 -0
- package/Console.d.ts +3 -0
- package/Fiber/FiberContext.d.ts +145 -0
- package/Fiber/api/await.d.ts +8 -0
- package/Fiber/api/awaitAll.d.ts +10 -0
- package/Fiber/api/children.d.ts +8 -0
- package/Fiber/api/collectAll.d.ts +11 -0
- package/Fiber/api/evalOn.d.ts +7 -0
- package/Fiber/api/evalOnIO.d.ts +9 -0
- package/Fiber/api/fromIO.d.ts +8 -0
- package/Fiber/api/id.d.ts +7 -0
- package/Fiber/api/inheritRefs.d.ts +7 -0
- package/Fiber/api/interrupt.d.ts +11 -0
- package/Fiber/api/interruptAll.d.ts +15 -0
- package/Fiber/api/interruptAs.d.ts +9 -0
- package/Fiber/api/interruptFork.d.ts +10 -0
- package/Fiber/api/join.d.ts +12 -0
- package/Fiber/api/joinAll.d.ts +11 -0
- package/Fiber/api/location.d.ts +7 -0
- package/Fiber/api/mapFiber.d.ts +9 -0
- package/Fiber/api/mapIO.d.ts +14 -0
- package/Fiber/api/poll.d.ts +9 -0
- package/Fiber/api/zipWith.d.ts +9 -0
- package/Fiber/constructors.d.ts +29 -0
- package/Fiber/definition.d.ts +102 -0
- package/Fiber.d.ts +23 -0
- package/FiberDescriptor.d.ts +18 -0
- package/FiberRef/api/locallyScoped.d.ts +9 -0
- package/FiberRef/api/locallyScopedWith.d.ts +9 -0
- package/FiberRef/api.d.ts +89 -0
- package/FiberRef/constructors.d.ts +63 -0
- package/FiberRef/definition.d.ts +41 -0
- package/FiberRef.d.ts +5 -0
- package/FiberRefs/api.d.ts +15 -0
- package/FiberRefs/definition.d.ts +14 -0
- package/FiberRefs/join.d.ts +8 -0
- package/FiberRefs.d.ts +3 -0
- package/FiberScope/constructors.d.ts +16 -0
- package/FiberScope/definition.d.ts +24 -0
- package/FiberScope.d.ts +2 -0
- package/FiberState/api.d.ts +7 -0
- package/FiberState/constructors.d.ts +22 -0
- package/FiberState/definition.d.ts +38 -0
- package/FiberState.d.ts +3 -0
- package/FiberStatus/constructors.d.ts +22 -0
- package/FiberStatus/definition.d.ts +59 -0
- package/FiberStatus.d.ts +2 -0
- package/Future/api.d.ts +113 -0
- package/Future/constructors.d.ts +21 -0
- package/Future/definition.d.ts +27 -0
- package/Future.d.ts +3 -0
- package/Hub/api.d.ts +191 -0
- package/Hub/definition.d.ts +89 -0
- package/Hub/internal.d.ts +97 -0
- package/Hub.d.ts +2 -0
- package/IO/api/acquireRelease.d.ts +10 -0
- package/IO/api/acquireReleaseExit.d.ts +11 -0
- package/IO/api/acquireReleaseInterruptible.d.ts +9 -0
- package/IO/api/acquireReleaseInterruptibleExit.d.ts +10 -0
- package/IO/api/addFinalizer.d.ts +9 -0
- package/IO/api/addFinalizerExit.d.ts +9 -0
- package/IO/api/bracket.d.ts +26 -0
- package/IO/api/bracketExit.d.ts +14 -0
- package/IO/api/clockWith.d.ts +12 -0
- package/IO/api/concurrency.d.ts +35 -0
- package/IO/api/concurrentFinalizers.d.ts +8 -0
- package/IO/api/consoleWith.d.ts +12 -0
- package/IO/api/core-scope.d.ts +77 -0
- package/IO/api/environment.d.ts +74 -0
- package/IO/api/foreachC.d.ts +29 -0
- package/IO/api/foreachExec.d.ts +12 -0
- package/IO/api/forkAll.d.ts +10 -0
- package/IO/api/forkIn.d.ts +9 -0
- package/IO/api/forkScoped.d.ts +8 -0
- package/IO/api/fulfill.d.ts +10 -0
- package/IO/api/interrupt.d.ts +108 -0
- package/IO/api/memoize.d.ts +6 -0
- package/IO/api/onExit.d.ts +7 -0
- package/IO/api/once.d.ts +6 -0
- package/IO/api/provideLayer.d.ts +7 -0
- package/IO/api/provideSomeLayer.d.ts +13 -0
- package/IO/api/race.d.ts +13 -0
- package/IO/api/raceFirst.d.ts +16 -0
- package/IO/api/randomWith.d.ts +12 -0
- package/IO/api/repeat.d.ts +20 -0
- package/IO/api/retry.d.ts +19 -0
- package/IO/api/schedule.d.ts +13 -0
- package/IO/api/scope.d.ts +8 -0
- package/IO/api/scopeWith.d.ts +8 -0
- package/IO/api/scoped.d.ts +14 -0
- package/IO/api/sequenceT.d.ts +10 -0
- package/IO/api/sleep.d.ts +6 -0
- package/IO/api/stateful.d.ts +10 -0
- package/IO/api/withChildren.d.ts +7 -0
- package/IO/api/withFinalizer.d.ts +8 -0
- package/IO/api/withFinalizerExit.d.ts +9 -0
- package/IO/api/withRuntimeConfig.d.ts +10 -0
- package/IO/api/zipC.d.ts +6 -0
- package/IO/api/zipWithC.d.ts +9 -0
- package/IO/api.d.ts +1130 -0
- package/IO/definition.d.ts +338 -0
- package/IO/runtime.d.ts +43 -0
- package/IO.d.ts +47 -0
- package/IOEnv/definition.d.ts +16 -0
- package/IOEnv/live.d.ts +6 -0
- package/IOEnv/services.d.ts +8 -0
- package/IOEnv.d.ts +3 -0
- package/IOSpec.d.ts +3 -0
- package/InterruptStatus/constructors.d.ts +16 -0
- package/InterruptStatus/definition.d.ts +12 -0
- package/InterruptStatus.d.ts +2 -0
- package/Layer/MemoMap.d.ts +43 -0
- package/Layer/api.d.ts +209 -0
- package/Layer/definition.d.ts +75 -0
- package/Layer.d.ts +3 -0
- package/LogLevel.d.ts +74 -0
- package/LogSpan.d.ts +14 -0
- package/Logger/api.d.ts +14 -0
- package/Logger/constructors.d.ts +10 -0
- package/Logger/definition.d.ts +18 -0
- package/Logger.d.ts +3 -0
- package/Queue/api/dimapIO.d.ts +41 -0
- package/Queue/api/filterInputIO.d.ts +32 -0
- package/Queue/api/filterOutputIO.d.ts +31 -0
- package/Queue/api/operations.d.ts +82 -0
- package/Queue/api/poll.d.ts +9 -0
- package/Queue/api/takeBetween.d.ts +11 -0
- package/Queue/api/zipWithIO.d.ts +44 -0
- package/Queue/api.d.ts +7 -0
- package/Queue/constructors.d.ts +22 -0
- package/Queue/definition.d.ts +129 -0
- package/Queue/internal.d.ts +12 -0
- package/Queue/strategy.d.ts +33 -0
- package/Queue.d.ts +5 -0
- package/Random/api.d.ts +42 -0
- package/Random/definition.d.ts +21 -0
- package/Random/live.d.ts +20 -0
- package/Random.d.ts +3 -0
- package/Ref/Atomic/Atomic.d.ts +18 -0
- package/Ref/Atomic/api.d.ts +53 -0
- package/Ref/Atomic.d.ts +2 -0
- package/Ref/Derived.d.ts +14 -0
- package/Ref/DerivedAll.d.ts +14 -0
- package/Ref/Synchronized/api.d.ts +100 -0
- package/Ref/Synchronized/constructors.d.ts +7 -0
- package/Ref/Synchronized/definition.d.ts +41 -0
- package/Ref/api/collect.d.ts +11 -0
- package/Ref/api/dimap.d.ts +56 -0
- package/Ref/api/filter.d.ts +20 -0
- package/Ref/api/get.d.ts +9 -0
- package/Ref/api/match.d.ts +13 -0
- package/Ref/api/matchAll.d.ts +11 -0
- package/Ref/api/modify.d.ts +79 -0
- package/Ref/api/set.d.ts +10 -0
- package/Ref/api.d.ts +23 -0
- package/Ref/constructors.d.ts +13 -0
- package/Ref/definition.d.ts +74 -0
- package/Ref.d.ts +9 -0
- package/RuntimeConfig.d.ts +34 -0
- package/STM/api/core-api.d.ts +35 -0
- package/STM/api/core-constructors.d.ts +45 -0
- package/STM/api.d.ts +379 -0
- package/STM/definition.d.ts +105 -0
- package/STM/driver.d.ts +15 -0
- package/STM/internal/CommitState.d.ts +47 -0
- package/STM/internal/Entry.d.ts +37 -0
- package/STM/internal/Journal.d.ts +101 -0
- package/STM/internal/TryCommit.d.ts +21 -0
- package/STM/internal/Versioned.d.ts +7 -0
- package/STM.d.ts +5 -0
- package/Schedule/Decision.d.ts +38 -0
- package/Schedule/Driver.d.ts +19 -0
- package/Schedule/Interval.d.ts +71 -0
- package/Schedule/api/driver.d.ts +7 -0
- package/Schedule/api.d.ts +359 -0
- package/Schedule/definition.d.ts +51 -0
- package/Schedule.d.ts +5 -0
- package/Scope/Finalizer/definition.d.ts +26 -0
- package/Scope/Finalizer.d.ts +1 -0
- package/Scope/ReleaseMap/api/releaseAll.d.ts +9 -0
- package/Scope/ReleaseMap/api.d.ts +30 -0
- package/Scope/ReleaseMap/constructors.d.ts +12 -0
- package/Scope/ReleaseMap/definition.d.ts +38 -0
- package/Scope/ReleaseMap.d.ts +3 -0
- package/Scope/api.d.ts +61 -0
- package/Scope/definition.d.ts +32 -0
- package/Scope.d.ts +2 -0
- package/ScopedRef/api.d.ts +9 -0
- package/ScopedRef/definition.d.ts +14 -0
- package/ScopedRef.d.ts +2 -0
- package/Sink/api.d.ts +35 -0
- package/Sink/definition.d.ts +15 -0
- package/Sink.d.ts +2 -0
- package/State/api.d.ts +25 -0
- package/State/definition.d.ts +14 -0
- package/State/internal.d.ts +10 -0
- package/State.d.ts +2 -0
- package/Stream/api/zipAllWith.d.ts +10 -0
- package/Stream/api/zipWith.d.ts +6 -0
- package/Stream/api/zipWithChunks.d.ts +11 -0
- package/Stream/api.d.ts +1087 -0
- package/Stream/definition.d.ts +38 -0
- package/Stream/internal/DebounceState.d.ts +61 -0
- package/Stream/internal/Handoff.d.ts +111 -0
- package/Stream/internal/Pull.d.ts +48 -0
- package/Stream/internal/SinkEndReason.d.ts +39 -0
- package/Stream/internal/Take.d.ts +128 -0
- package/Stream/internal/util.d.ts +3 -0
- package/Stream.d.ts +2 -0
- package/Supervisor/api.d.ts +10 -0
- package/Supervisor/constructors.d.ts +34 -0
- package/Supervisor/definition.d.ts +35 -0
- package/Supervisor.d.ts +3 -0
- package/TExit/constructors.d.ts +32 -0
- package/TExit/definition.d.ts +90 -0
- package/TExit.d.ts +2 -0
- package/TFuture/api.d.ts +29 -0
- package/TFuture/constructors.d.ts +16 -0
- package/TFuture/definition.d.ts +22 -0
- package/TFuture.d.ts +3 -0
- package/TRef/api.d.ts +85 -0
- package/TRef/constructors.d.ts +32 -0
- package/TRef/definition.d.ts +87 -0
- package/TRef.d.ts +3 -0
- package/TSemaphore/api.d.ts +38 -0
- package/TSemaphore/constructors.d.ts +13 -0
- package/TSemaphore/definition.d.ts +20 -0
- package/TSemaphore.d.ts +3 -0
- package/TxnId.d.ts +12 -0
- package/_cjs/Cached/api.cjs +85 -0
- package/_cjs/Cached/api.cjs.map +1 -0
- package/_cjs/Cached/definition.cjs +33 -0
- package/_cjs/Cached/definition.cjs.map +1 -0
- package/_cjs/Cached/internal.cjs +18 -0
- package/_cjs/Cached/internal.cjs.map +1 -0
- package/_cjs/Cached.cjs +45 -0
- package/_cjs/Cached.cjs.map +1 -0
- package/_cjs/CancellerState.cjs +64 -0
- package/_cjs/CancellerState.cjs.map +1 -0
- package/_cjs/Channel/ChildExecutorDecision/api.cjs +29 -0
- package/_cjs/Channel/ChildExecutorDecision/api.cjs.map +1 -0
- package/_cjs/Channel/ChildExecutorDecision/definition.cjs +39 -0
- package/_cjs/Channel/ChildExecutorDecision/definition.cjs.map +1 -0
- package/_cjs/Channel/ChildExecutorDecision.cjs +32 -0
- package/_cjs/Channel/ChildExecutorDecision.cjs.map +1 -0
- package/_cjs/Channel/UpstreamPullRequest/api.cjs +44 -0
- package/_cjs/Channel/UpstreamPullRequest/api.cjs.map +1 -0
- package/_cjs/Channel/UpstreamPullRequest/definition.cjs +29 -0
- package/_cjs/Channel/UpstreamPullRequest/definition.cjs.map +1 -0
- package/_cjs/Channel/UpstreamPullRequest.cjs +32 -0
- package/_cjs/Channel/UpstreamPullRequest.cjs.map +1 -0
- package/_cjs/Channel/UpstreamPullStrategy/definition.cjs +33 -0
- package/_cjs/Channel/UpstreamPullStrategy/definition.cjs.map +1 -0
- package/_cjs/Channel/UpstreamPullStrategy.cjs +19 -0
- package/_cjs/Channel/UpstreamPullStrategy.cjs.map +1 -0
- package/_cjs/Channel/api/interruptWhen.cjs +54 -0
- package/_cjs/Channel/api/interruptWhen.cjs.map +1 -0
- package/_cjs/Channel/api/mapOutIOC.cjs +63 -0
- package/_cjs/Channel/api/mapOutIOC.cjs.map +1 -0
- package/_cjs/Channel/api/mergeAll.cjs +20 -0
- package/_cjs/Channel/api/mergeAll.cjs.map +1 -0
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs +20 -0
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs.map +1 -0
- package/_cjs/Channel/api/mergeAllWith.cjs +97 -0
- package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -0
- package/_cjs/Channel/api/mergeMap.cjs +22 -0
- package/_cjs/Channel/api/mergeMap.cjs.map +1 -0
- package/_cjs/Channel/api/mergeWith.cjs +98 -0
- package/_cjs/Channel/api/mergeWith.cjs.map +1 -0
- package/_cjs/Channel/api/run.cjs +24 -0
- package/_cjs/Channel/api/run.cjs.map +1 -0
- package/_cjs/Channel/api/runCollect.cjs +22 -0
- package/_cjs/Channel/api/runCollect.cjs.map +1 -0
- package/_cjs/Channel/api/runDrain.cjs +24 -0
- package/_cjs/Channel/api/runDrain.cjs.map +1 -0
- package/_cjs/Channel/api/runScoped.cjs +70 -0
- package/_cjs/Channel/api/runScoped.cjs.map +1 -0
- package/_cjs/Channel/api/toPull.cjs +63 -0
- package/_cjs/Channel/api/toPull.cjs.map +1 -0
- package/_cjs/Channel/api/zipC.cjs +51 -0
- package/_cjs/Channel/api/zipC.cjs.map +1 -0
- package/_cjs/Channel/api.cjs +875 -0
- package/_cjs/Channel/api.cjs.map +1 -0
- package/_cjs/Channel/core-api.cjs +149 -0
- package/_cjs/Channel/core-api.cjs.map +1 -0
- package/_cjs/Channel/definition.cjs +262 -0
- package/_cjs/Channel/definition.cjs.map +1 -0
- package/_cjs/Channel/internal/AsyncInputConsumer.cjs +6 -0
- package/_cjs/Channel/internal/AsyncInputConsumer.cjs.map +1 -0
- package/_cjs/Channel/internal/AsyncInputProducer.cjs +6 -0
- package/_cjs/Channel/internal/AsyncInputProducer.cjs.map +1 -0
- package/_cjs/Channel/internal/ChannelExecutor.cjs +954 -0
- package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -0
- package/_cjs/Channel/internal/ChannelState.cjs +100 -0
- package/_cjs/Channel/internal/ChannelState.cjs.map +1 -0
- package/_cjs/Channel/internal/MergeDecision.cjs +85 -0
- package/_cjs/Channel/internal/MergeDecision.cjs.map +1 -0
- package/_cjs/Channel/internal/MergeState.cjs +73 -0
- package/_cjs/Channel/internal/MergeState.cjs.map +1 -0
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +276 -0
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -0
- package/_cjs/Channel.cjs +45 -0
- package/_cjs/Channel.cjs.map +1 -0
- package/_cjs/Clock/api.cjs +30 -0
- package/_cjs/Clock/api.cjs.map +1 -0
- package/_cjs/Clock/definition.cjs +27 -0
- package/_cjs/Clock/definition.cjs.map +1 -0
- package/_cjs/Clock/live.cjs +45 -0
- package/_cjs/Clock/live.cjs.map +1 -0
- package/_cjs/Clock.cjs +45 -0
- package/_cjs/Clock.cjs.map +1 -0
- package/_cjs/Console/api.cjs +29 -0
- package/_cjs/Console/api.cjs.map +1 -0
- package/_cjs/Console/definition.cjs +27 -0
- package/_cjs/Console/definition.cjs.map +1 -0
- package/_cjs/Console/live.cjs +40 -0
- package/_cjs/Console/live.cjs.map +1 -0
- package/_cjs/Console.cjs +45 -0
- package/_cjs/Console.cjs.map +1 -0
- package/_cjs/Fiber/FiberContext.cjs +1219 -0
- package/_cjs/Fiber/FiberContext.cjs.map +1 -0
- package/_cjs/Fiber/api/await.cjs +15 -0
- package/_cjs/Fiber/api/await.cjs.map +1 -0
- package/_cjs/Fiber/api/awaitAll.cjs +28 -0
- package/_cjs/Fiber/api/awaitAll.cjs.map +1 -0
- package/_cjs/Fiber/api/children.cjs +15 -0
- package/_cjs/Fiber/api/children.cjs.map +1 -0
- package/_cjs/Fiber/api/collectAll.cjs +61 -0
- package/_cjs/Fiber/api/collectAll.cjs.map +1 -0
- package/_cjs/Fiber/api/evalOn.cjs +28 -0
- package/_cjs/Fiber/api/evalOn.cjs.map +1 -0
- package/_cjs/Fiber/api/evalOnIO.cjs +33 -0
- package/_cjs/Fiber/api/evalOnIO.cjs.map +1 -0
- package/_cjs/Fiber/api/fromIO.cjs +26 -0
- package/_cjs/Fiber/api/fromIO.cjs.map +1 -0
- package/_cjs/Fiber/api/id.cjs +15 -0
- package/_cjs/Fiber/api/id.cjs.map +1 -0
- package/_cjs/Fiber/api/inheritRefs.cjs +15 -0
- package/_cjs/Fiber/api/inheritRefs.cjs.map +1 -0
- package/_cjs/Fiber/api/interrupt.cjs +27 -0
- package/_cjs/Fiber/api/interrupt.cjs.map +1 -0
- package/_cjs/Fiber/api/interruptAll.cjs +42 -0
- package/_cjs/Fiber/api/interruptAll.cjs.map +1 -0
- package/_cjs/Fiber/api/interruptAs.cjs +15 -0
- package/_cjs/Fiber/api/interruptAs.cjs.map +1 -0
- package/_cjs/Fiber/api/interruptFork.cjs +28 -0
- package/_cjs/Fiber/api/interruptFork.cjs.map +1 -0
- package/_cjs/Fiber/api/join.cjs +29 -0
- package/_cjs/Fiber/api/join.cjs.map +1 -0
- package/_cjs/Fiber/api/joinAll.cjs +30 -0
- package/_cjs/Fiber/api/joinAll.cjs.map +1 -0
- package/_cjs/Fiber/api/location.cjs +21 -0
- package/_cjs/Fiber/api/location.cjs.map +1 -0
- package/_cjs/Fiber/api/mapFiber.cjs +31 -0
- package/_cjs/Fiber/api/mapFiber.cjs.map +1 -0
- package/_cjs/Fiber/api/mapIO.cjs +57 -0
- package/_cjs/Fiber/api/mapIO.cjs.map +1 -0
- package/_cjs/Fiber/api/poll.cjs +15 -0
- package/_cjs/Fiber/api/poll.cjs.map +1 -0
- package/_cjs/Fiber/api/zipWith.cjs +50 -0
- package/_cjs/Fiber/api/zipWith.cjs.map +1 -0
- package/_cjs/Fiber/constructors.cjs +70 -0
- package/_cjs/Fiber/constructors.cjs.map +1 -0
- package/_cjs/Fiber/definition.cjs +48 -0
- package/_cjs/Fiber/definition.cjs.map +1 -0
- package/_cjs/Fiber.cjs +305 -0
- package/_cjs/Fiber.cjs.map +1 -0
- package/_cjs/FiberDescriptor.cjs +26 -0
- package/_cjs/FiberDescriptor.cjs.map +1 -0
- package/_cjs/FiberRef/api/locallyScoped.cjs +26 -0
- package/_cjs/FiberRef/api/locallyScoped.cjs.map +1 -0
- package/_cjs/FiberRef/api/locallyScopedWith.cjs +24 -0
- package/_cjs/FiberRef/api/locallyScopedWith.cjs.map +1 -0
- package/_cjs/FiberRef/api.cjs +182 -0
- package/_cjs/FiberRef/api.cjs.map +1 -0
- package/_cjs/FiberRef/constructors.cjs +116 -0
- package/_cjs/FiberRef/constructors.cjs.map +1 -0
- package/_cjs/FiberRef/definition.cjs +76 -0
- package/_cjs/FiberRef/definition.cjs.map +1 -0
- package/_cjs/FiberRef.cjs +71 -0
- package/_cjs/FiberRef.cjs.map +1 -0
- package/_cjs/FiberRefs/api.cjs +31 -0
- package/_cjs/FiberRefs/api.cjs.map +1 -0
- package/_cjs/FiberRefs/definition.cjs +24 -0
- package/_cjs/FiberRefs/definition.cjs.map +1 -0
- package/_cjs/FiberRefs/join.cjs +110 -0
- package/_cjs/FiberRefs/join.cjs.map +1 -0
- package/_cjs/FiberRefs.cjs +45 -0
- package/_cjs/FiberRefs.cjs.map +1 -0
- package/_cjs/FiberScope/constructors.cjs +28 -0
- package/_cjs/FiberScope/constructors.cjs.map +1 -0
- package/_cjs/FiberScope/definition.cjs +60 -0
- package/_cjs/FiberScope/definition.cjs.map +1 -0
- package/_cjs/FiberScope.cjs +32 -0
- package/_cjs/FiberScope.cjs.map +1 -0
- package/_cjs/FiberState/api.cjs +26 -0
- package/_cjs/FiberState/api.cjs.map +1 -0
- package/_cjs/FiberState/constructors.cjs +44 -0
- package/_cjs/FiberState/constructors.cjs.map +1 -0
- package/_cjs/FiberState/definition.cjs +46 -0
- package/_cjs/FiberState/definition.cjs.map +1 -0
- package/_cjs/FiberState.cjs +45 -0
- package/_cjs/FiberState.cjs.map +1 -0
- package/_cjs/FiberStatus/constructors.cjs +42 -0
- package/_cjs/FiberStatus/constructors.cjs.map +1 -0
- package/_cjs/FiberStatus/definition.cjs +107 -0
- package/_cjs/FiberStatus/definition.cjs.map +1 -0
- package/_cjs/FiberStatus.cjs +32 -0
- package/_cjs/FiberStatus.cjs.map +1 -0
- package/_cjs/Future/api.cjs +292 -0
- package/_cjs/Future/api.cjs.map +1 -0
- package/_cjs/Future/constructors.cjs +55 -0
- package/_cjs/Future/constructors.cjs.map +1 -0
- package/_cjs/Future/definition.cjs +45 -0
- package/_cjs/Future/definition.cjs.map +1 -0
- package/_cjs/Future.cjs +45 -0
- package/_cjs/Future.cjs.map +1 -0
- package/_cjs/Hub/api.cjs +456 -0
- package/_cjs/Hub/api.cjs.map +1 -0
- package/_cjs/Hub/definition.cjs +28 -0
- package/_cjs/Hub/definition.cjs.map +1 -0
- package/_cjs/Hub/internal.cjs +449 -0
- package/_cjs/Hub/internal.cjs.map +1 -0
- package/_cjs/Hub.cjs +32 -0
- package/_cjs/Hub.cjs.map +1 -0
- package/_cjs/IO/api/acquireRelease.cjs +23 -0
- package/_cjs/IO/api/acquireRelease.cjs.map +1 -0
- package/_cjs/IO/api/acquireReleaseExit.cjs +25 -0
- package/_cjs/IO/api/acquireReleaseExit.cjs.map +1 -0
- package/_cjs/IO/api/acquireReleaseInterruptible.cjs +20 -0
- package/_cjs/IO/api/acquireReleaseInterruptible.cjs.map +1 -0
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +22 -0
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs.map +1 -0
- package/_cjs/IO/api/addFinalizer.cjs +20 -0
- package/_cjs/IO/api/addFinalizer.cjs.map +1 -0
- package/_cjs/IO/api/addFinalizerExit.cjs +32 -0
- package/_cjs/IO/api/addFinalizerExit.cjs.map +1 -0
- package/_cjs/IO/api/bracket.cjs +40 -0
- package/_cjs/IO/api/bracket.cjs.map +1 -0
- package/_cjs/IO/api/bracketExit.cjs +37 -0
- package/_cjs/IO/api/bracketExit.cjs.map +1 -0
- package/_cjs/IO/api/clockWith.cjs +40 -0
- package/_cjs/IO/api/clockWith.cjs.map +1 -0
- package/_cjs/IO/api/concurrency.cjs +72 -0
- package/_cjs/IO/api/concurrency.cjs.map +1 -0
- package/_cjs/IO/api/concurrentFinalizers.cjs +28 -0
- package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -0
- package/_cjs/IO/api/consoleWith.cjs +40 -0
- package/_cjs/IO/api/consoleWith.cjs.map +1 -0
- package/_cjs/IO/api/core-scope.cjs +168 -0
- package/_cjs/IO/api/core-scope.cjs.map +1 -0
- package/_cjs/IO/api/environment.cjs +153 -0
- package/_cjs/IO/api/environment.cjs.map +1 -0
- package/_cjs/IO/api/foreachC.cjs +152 -0
- package/_cjs/IO/api/foreachC.cjs.map +1 -0
- package/_cjs/IO/api/foreachExec.cjs +33 -0
- package/_cjs/IO/api/foreachExec.cjs.map +1 -0
- package/_cjs/IO/api/forkAll.cjs +25 -0
- package/_cjs/IO/api/forkAll.cjs.map +1 -0
- package/_cjs/IO/api/forkIn.cjs +33 -0
- package/_cjs/IO/api/forkIn.cjs.map +1 -0
- package/_cjs/IO/api/forkScoped.cjs +30 -0
- package/_cjs/IO/api/forkScoped.cjs.map +1 -0
- package/_cjs/IO/api/fulfill.cjs +32 -0
- package/_cjs/IO/api/fulfill.cjs.map +1 -0
- package/_cjs/IO/api/interrupt.cjs +204 -0
- package/_cjs/IO/api/interrupt.cjs.map +1 -0
- package/_cjs/IO/api/memoize.cjs +30 -0
- package/_cjs/IO/api/memoize.cjs.map +1 -0
- package/_cjs/IO/api/onExit.cjs +22 -0
- package/_cjs/IO/api/onExit.cjs.map +1 -0
- package/_cjs/IO/api/once.cjs +24 -0
- package/_cjs/IO/api/once.cjs.map +1 -0
- package/_cjs/IO/api/provideLayer.cjs +30 -0
- package/_cjs/IO/api/provideLayer.cjs.map +1 -0
- package/_cjs/IO/api/provideSomeLayer.cjs +37 -0
- package/_cjs/IO/api/provideSomeLayer.cjs.map +1 -0
- package/_cjs/IO/api/race.cjs +47 -0
- package/_cjs/IO/api/race.cjs.map +1 -0
- package/_cjs/IO/api/raceFirst.cjs +35 -0
- package/_cjs/IO/api/raceFirst.cjs.map +1 -0
- package/_cjs/IO/api/randomWith.cjs +40 -0
- package/_cjs/IO/api/randomWith.cjs.map +1 -0
- package/_cjs/IO/api/repeat.cjs +59 -0
- package/_cjs/IO/api/repeat.cjs.map +1 -0
- package/_cjs/IO/api/retry.cjs +56 -0
- package/_cjs/IO/api/retry.cjs.map +1 -0
- package/_cjs/IO/api/schedule.cjs +43 -0
- package/_cjs/IO/api/schedule.cjs.map +1 -0
- package/_cjs/IO/api/scope.cjs +23 -0
- package/_cjs/IO/api/scope.cjs.map +1 -0
- package/_cjs/IO/api/scopeWith.cjs +24 -0
- package/_cjs/IO/api/scopeWith.cjs.map +1 -0
- package/_cjs/IO/api/scoped.cjs +36 -0
- package/_cjs/IO/api/scoped.cjs.map +1 -0
- package/_cjs/IO/api/sequenceT.cjs +24 -0
- package/_cjs/IO/api/sequenceT.cjs.map +1 -0
- package/_cjs/IO/api/sleep.cjs +20 -0
- package/_cjs/IO/api/sleep.cjs.map +1 -0
- package/_cjs/IO/api/stateful.cjs +24 -0
- package/_cjs/IO/api/stateful.cjs.map +1 -0
- package/_cjs/IO/api/withChildren.cjs +24 -0
- package/_cjs/IO/api/withChildren.cjs.map +1 -0
- package/_cjs/IO/api/withFinalizer.cjs +20 -0
- package/_cjs/IO/api/withFinalizer.cjs.map +1 -0
- package/_cjs/IO/api/withFinalizerExit.cjs +22 -0
- package/_cjs/IO/api/withFinalizerExit.cjs.map +1 -0
- package/_cjs/IO/api/withRuntimeConfig.cjs +27 -0
- package/_cjs/IO/api/withRuntimeConfig.cjs.map +1 -0
- package/_cjs/IO/api/zipC.cjs +22 -0
- package/_cjs/IO/api/zipC.cjs.map +1 -0
- package/_cjs/IO/api/zipWithC.cjs +40 -0
- package/_cjs/IO/api/zipWithC.cjs.map +1 -0
- package/_cjs/IO/api.cjs +2142 -0
- package/_cjs/IO/api.cjs.map +1 -0
- package/_cjs/IO/definition.cjs +558 -0
- package/_cjs/IO/definition.cjs.map +1 -0
- package/_cjs/IO/runtime.cjs +144 -0
- package/_cjs/IO/runtime.cjs.map +1 -0
- package/_cjs/IO.cjs +617 -0
- package/_cjs/IO.cjs.map +1 -0
- package/_cjs/IOEnv/definition.cjs +34 -0
- package/_cjs/IOEnv/definition.cjs.map +1 -0
- package/_cjs/IOEnv/live.cjs +31 -0
- package/_cjs/IOEnv/live.cjs.map +1 -0
- package/_cjs/IOEnv/services.cjs +21 -0
- package/_cjs/IOEnv/services.cjs.map +1 -0
- package/_cjs/IOEnv.cjs +45 -0
- package/_cjs/IOEnv.cjs.map +1 -0
- package/_cjs/InterruptStatus/constructors.cjs +36 -0
- package/_cjs/InterruptStatus/constructors.cjs.map +1 -0
- package/_cjs/InterruptStatus/definition.cjs +30 -0
- package/_cjs/InterruptStatus/definition.cjs.map +1 -0
- package/_cjs/InterruptStatus.cjs +32 -0
- package/_cjs/InterruptStatus.cjs.map +1 -0
- package/_cjs/Layer/MemoMap.cjs +215 -0
- package/_cjs/Layer/MemoMap.cjs.map +1 -0
- package/_cjs/Layer/api.cjs +426 -0
- package/_cjs/Layer/api.cjs.map +1 -0
- package/_cjs/Layer/definition.cjs +137 -0
- package/_cjs/Layer/definition.cjs.map +1 -0
- package/_cjs/Layer.cjs +45 -0
- package/_cjs/Layer.cjs.map +1 -0
- package/_cjs/LogLevel.cjs +111 -0
- package/_cjs/LogLevel.cjs.map +1 -0
- package/_cjs/LogSpan.cjs +43 -0
- package/_cjs/LogSpan.cjs.map +1 -0
- package/_cjs/Logger/api.cjs +37 -0
- package/_cjs/Logger/api.cjs.map +1 -0
- package/_cjs/Logger/constructors.cjs +80 -0
- package/_cjs/Logger/constructors.cjs.map +1 -0
- package/_cjs/Logger/definition.cjs +20 -0
- package/_cjs/Logger/definition.cjs.map +1 -0
- package/_cjs/Logger.cjs +45 -0
- package/_cjs/Logger.cjs.map +1 -0
- package/_cjs/Queue/api/dimapIO.cjs +120 -0
- package/_cjs/Queue/api/dimapIO.cjs.map +1 -0
- package/_cjs/Queue/api/filterInputIO.cjs +84 -0
- package/_cjs/Queue/api/filterInputIO.cjs.map +1 -0
- package/_cjs/Queue/api/filterOutputIO.cjs +89 -0
- package/_cjs/Queue/api/filterOutputIO.cjs.map +1 -0
- package/_cjs/Queue/api/operations.cjs +147 -0
- package/_cjs/Queue/api/operations.cjs.map +1 -0
- package/_cjs/Queue/api/poll.cjs +29 -0
- package/_cjs/Queue/api/poll.cjs.map +1 -0
- package/_cjs/Queue/api/takeBetween.cjs +59 -0
- package/_cjs/Queue/api/takeBetween.cjs.map +1 -0
- package/_cjs/Queue/api/zipWithIO.cjs +99 -0
- package/_cjs/Queue/api/zipWithIO.cjs.map +1 -0
- package/_cjs/Queue/api.cjs +97 -0
- package/_cjs/Queue/api.cjs.map +1 -0
- package/_cjs/Queue/constructors.cjs +55 -0
- package/_cjs/Queue/constructors.cjs.map +1 -0
- package/_cjs/Queue/definition.cjs +29 -0
- package/_cjs/Queue/definition.cjs.map +1 -0
- package/_cjs/Queue/internal.cjs +255 -0
- package/_cjs/Queue/internal.cjs.map +1 -0
- package/_cjs/Queue/strategy.cjs +172 -0
- package/_cjs/Queue/strategy.cjs.map +1 -0
- package/_cjs/Queue.cjs +71 -0
- package/_cjs/Queue.cjs.map +1 -0
- package/_cjs/Random/api.cjs +76 -0
- package/_cjs/Random/api.cjs.map +1 -0
- package/_cjs/Random/definition.cjs +28 -0
- package/_cjs/Random/definition.cjs.map +1 -0
- package/_cjs/Random/live.cjs +57 -0
- package/_cjs/Random/live.cjs.map +1 -0
- package/_cjs/Random.cjs +45 -0
- package/_cjs/Random.cjs.map +1 -0
- package/_cjs/Ref/Atomic/Atomic.cjs +64 -0
- package/_cjs/Ref/Atomic/Atomic.cjs.map +1 -0
- package/_cjs/Ref/Atomic/api.cjs +154 -0
- package/_cjs/Ref/Atomic/api.cjs.map +1 -0
- package/_cjs/Ref/Atomic.cjs +32 -0
- package/_cjs/Ref/Atomic.cjs.map +1 -0
- package/_cjs/Ref/Derived.cjs +55 -0
- package/_cjs/Ref/Derived.cjs.map +1 -0
- package/_cjs/Ref/DerivedAll.cjs +55 -0
- package/_cjs/Ref/DerivedAll.cjs.map +1 -0
- package/_cjs/Ref/Synchronized/api.cjs +197 -0
- package/_cjs/Ref/Synchronized/api.cjs.map +1 -0
- package/_cjs/Ref/Synchronized/constructors.cjs +38 -0
- package/_cjs/Ref/Synchronized/constructors.cjs.map +1 -0
- package/_cjs/Ref/Synchronized/definition.cjs +88 -0
- package/_cjs/Ref/Synchronized/definition.cjs.map +1 -0
- package/_cjs/Ref/api/collect.cjs +31 -0
- package/_cjs/Ref/api/collect.cjs.map +1 -0
- package/_cjs/Ref/api/dimap.cjs +110 -0
- package/_cjs/Ref/api/dimap.cjs.map +1 -0
- package/_cjs/Ref/api/filter.cjs +45 -0
- package/_cjs/Ref/api/filter.cjs.map +1 -0
- package/_cjs/Ref/api/get.cjs +20 -0
- package/_cjs/Ref/api/get.cjs.map +1 -0
- package/_cjs/Ref/api/match.cjs +26 -0
- package/_cjs/Ref/api/match.cjs.map +1 -0
- package/_cjs/Ref/api/matchAll.cjs +24 -0
- package/_cjs/Ref/api/matchAll.cjs.map +1 -0
- package/_cjs/Ref/api/modify.cjs +240 -0
- package/_cjs/Ref/api/modify.cjs.map +1 -0
- package/_cjs/Ref/api/set.cjs +21 -0
- package/_cjs/Ref/api/set.cjs.map +1 -0
- package/_cjs/Ref/api.cjs +158 -0
- package/_cjs/Ref/api.cjs.map +1 -0
- package/_cjs/Ref/constructors.cjs +35 -0
- package/_cjs/Ref/constructors.cjs.map +1 -0
- package/_cjs/Ref/definition.cjs +23 -0
- package/_cjs/Ref/definition.cjs.map +1 -0
- package/_cjs/Ref.cjs +123 -0
- package/_cjs/Ref.cjs.map +1 -0
- package/_cjs/RuntimeConfig.cjs +55 -0
- package/_cjs/RuntimeConfig.cjs.map +1 -0
- package/_cjs/STM/api/core-api.cjs +83 -0
- package/_cjs/STM/api/core-api.cjs.map +1 -0
- package/_cjs/STM/api/core-constructors.cjs +90 -0
- package/_cjs/STM/api/core-constructors.cjs.map +1 -0
- package/_cjs/STM/api.cjs +758 -0
- package/_cjs/STM/api.cjs.map +1 -0
- package/_cjs/STM/definition.cjs +213 -0
- package/_cjs/STM/definition.cjs.map +1 -0
- package/_cjs/STM/driver.cjs +184 -0
- package/_cjs/STM/driver.cjs.map +1 -0
- package/_cjs/STM/internal/CommitState.cjs +89 -0
- package/_cjs/STM/internal/CommitState.cjs.map +1 -0
- package/_cjs/STM/internal/Entry.cjs +89 -0
- package/_cjs/STM/internal/Entry.cjs.map +1 -0
- package/_cjs/STM/internal/Journal.cjs +414 -0
- package/_cjs/STM/internal/Journal.cjs.map +1 -0
- package/_cjs/STM/internal/TryCommit.cjs +35 -0
- package/_cjs/STM/internal/TryCommit.cjs.map +1 -0
- package/_cjs/STM/internal/Versioned.cjs +19 -0
- package/_cjs/STM/internal/Versioned.cjs.map +1 -0
- package/_cjs/STM.cjs +71 -0
- package/_cjs/STM.cjs.map +1 -0
- package/_cjs/Schedule/Decision.cjs +67 -0
- package/_cjs/Schedule/Decision.cjs.map +1 -0
- package/_cjs/Schedule/Driver.cjs +32 -0
- package/_cjs/Schedule/Driver.cjs.map +1 -0
- package/_cjs/Schedule/Interval.cjs +154 -0
- package/_cjs/Schedule/Interval.cjs.map +1 -0
- package/_cjs/Schedule/api/driver.cjs +50 -0
- package/_cjs/Schedule/api/driver.cjs.map +1 -0
- package/_cjs/Schedule/api.cjs +790 -0
- package/_cjs/Schedule/api.cjs.map +1 -0
- package/_cjs/Schedule/definition.cjs +41 -0
- package/_cjs/Schedule/definition.cjs.map +1 -0
- package/_cjs/Schedule.cjs +71 -0
- package/_cjs/Schedule.cjs.map +1 -0
- package/_cjs/Scope/Finalizer/definition.cjs +24 -0
- package/_cjs/Scope/Finalizer/definition.cjs.map +1 -0
- package/_cjs/Scope/Finalizer.cjs +19 -0
- package/_cjs/Scope/Finalizer.cjs.map +1 -0
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +46 -0
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -0
- package/_cjs/Scope/ReleaseMap/api.cjs +110 -0
- package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -0
- package/_cjs/Scope/ReleaseMap/constructors.cjs +39 -0
- package/_cjs/Scope/ReleaseMap/constructors.cjs.map +1 -0
- package/_cjs/Scope/ReleaseMap/definition.cjs +39 -0
- package/_cjs/Scope/ReleaseMap/definition.cjs.map +1 -0
- package/_cjs/Scope/ReleaseMap.cjs +45 -0
- package/_cjs/Scope/ReleaseMap.cjs.map +1 -0
- package/_cjs/Scope/api.cjs +178 -0
- package/_cjs/Scope/api.cjs.map +1 -0
- package/_cjs/Scope/definition.cjs +45 -0
- package/_cjs/Scope/definition.cjs.map +1 -0
- package/_cjs/Scope.cjs +32 -0
- package/_cjs/Scope.cjs.map +1 -0
- package/_cjs/ScopedRef/api.cjs +73 -0
- package/_cjs/ScopedRef/api.cjs.map +1 -0
- package/_cjs/ScopedRef/definition.cjs +23 -0
- package/_cjs/ScopedRef/definition.cjs.map +1 -0
- package/_cjs/ScopedRef.cjs +32 -0
- package/_cjs/ScopedRef.cjs.map +1 -0
- package/_cjs/Sink/api.cjs +102 -0
- package/_cjs/Sink/api.cjs.map +1 -0
- package/_cjs/Sink/definition.cjs +25 -0
- package/_cjs/Sink/definition.cjs.map +1 -0
- package/_cjs/Sink.cjs +32 -0
- package/_cjs/Sink.cjs.map +1 -0
- package/_cjs/State/api.cjs +76 -0
- package/_cjs/State/api.cjs.map +1 -0
- package/_cjs/State/definition.cjs +30 -0
- package/_cjs/State/definition.cjs.map +1 -0
- package/_cjs/State/internal.cjs +18 -0
- package/_cjs/State/internal.cjs.map +1 -0
- package/_cjs/State.cjs +32 -0
- package/_cjs/State.cjs.map +1 -0
- package/_cjs/Stream/api/zipAllWith.cjs +127 -0
- package/_cjs/Stream/api/zipAllWith.cjs.map +1 -0
- package/_cjs/Stream/api/zipWith.cjs +22 -0
- package/_cjs/Stream/api/zipWith.cjs.map +1 -0
- package/_cjs/Stream/api/zipWithChunks.cjs +100 -0
- package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -0
- package/_cjs/Stream/api.cjs +2517 -0
- package/_cjs/Stream/api.cjs.map +1 -0
- package/_cjs/Stream/definition.cjs +55 -0
- package/_cjs/Stream/definition.cjs.map +1 -0
- package/_cjs/Stream/internal/DebounceState.cjs +99 -0
- package/_cjs/Stream/internal/DebounceState.cjs.map +1 -0
- package/_cjs/Stream/internal/Handoff.cjs +222 -0
- package/_cjs/Stream/internal/Handoff.cjs.map +1 -0
- package/_cjs/Stream/internal/Pull.cjs +89 -0
- package/_cjs/Stream/internal/Pull.cjs.map +1 -0
- package/_cjs/Stream/internal/SinkEndReason.cjs +87 -0
- package/_cjs/Stream/internal/SinkEndReason.cjs.map +1 -0
- package/_cjs/Stream/internal/Take.cjs +249 -0
- package/_cjs/Stream/internal/Take.cjs.map +1 -0
- package/_cjs/Stream/internal/util.cjs +34 -0
- package/_cjs/Stream/internal/util.cjs.map +1 -0
- package/_cjs/Stream.cjs +32 -0
- package/_cjs/Stream.cjs.map +1 -0
- package/_cjs/Supervisor/api.cjs +56 -0
- package/_cjs/Supervisor/api.cjs.map +1 -0
- package/_cjs/Supervisor/constructors.cjs +92 -0
- package/_cjs/Supervisor/constructors.cjs.map +1 -0
- package/_cjs/Supervisor/definition.cjs +89 -0
- package/_cjs/Supervisor/definition.cjs.map +1 -0
- package/_cjs/Supervisor.cjs +45 -0
- package/_cjs/Supervisor.cjs.map +1 -0
- package/_cjs/TExit/constructors.cjs +59 -0
- package/_cjs/TExit/constructors.cjs.map +1 -0
- package/_cjs/TExit/definition.cjs +214 -0
- package/_cjs/TExit/definition.cjs.map +1 -0
- package/_cjs/TExit.cjs +32 -0
- package/_cjs/TExit.cjs.map +1 -0
- package/_cjs/TFuture/api.cjs +76 -0
- package/_cjs/TFuture/api.cjs.map +1 -0
- package/_cjs/TFuture/constructors.cjs +42 -0
- package/_cjs/TFuture/constructors.cjs.map +1 -0
- package/_cjs/TFuture/definition.cjs +16 -0
- package/_cjs/TFuture/definition.cjs.map +1 -0
- package/_cjs/TFuture.cjs +45 -0
- package/_cjs/TFuture.cjs.map +1 -0
- package/_cjs/TRef/api.cjs +372 -0
- package/_cjs/TRef/api.cjs.map +1 -0
- package/_cjs/TRef/constructors.cjs +98 -0
- package/_cjs/TRef/constructors.cjs.map +1 -0
- package/_cjs/TRef/definition.cjs +101 -0
- package/_cjs/TRef/definition.cjs.map +1 -0
- package/_cjs/TRef.cjs +45 -0
- package/_cjs/TRef.cjs.map +1 -0
- package/_cjs/TSemaphore/api.cjs +104 -0
- package/_cjs/TSemaphore/api.cjs.map +1 -0
- package/_cjs/TSemaphore/constructors.cjs +34 -0
- package/_cjs/TSemaphore/constructors.cjs.map +1 -0
- package/_cjs/TSemaphore/definition.cjs +16 -0
- package/_cjs/TSemaphore/definition.cjs.map +1 -0
- package/_cjs/TSemaphore.cjs +45 -0
- package/_cjs/TSemaphore.cjs.map +1 -0
- package/_cjs/TxnId.cjs +21 -0
- package/_cjs/TxnId.cjs.map +1 -0
- package/_cjs/collection/immutable/Conc/findIO.cjs +54 -0
- package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -0
- package/_cjs/collection/immutable/Conc/mapIO.cjs +29 -0
- package/_cjs/collection/immutable/Conc/mapIO.cjs.map +1 -0
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +53 -0
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -0
- package/_cjs/collection/immutable/Conc.cjs +45 -0
- package/_cjs/collection/immutable/Conc.cjs.map +1 -0
- package/_cjs/data/Exit/foreachIO.cjs +29 -0
- package/_cjs/data/Exit/foreachIO.cjs.map +1 -0
- package/_cjs/internal/HashedPair.cjs +37 -0
- package/_cjs/internal/HashedPair.cjs.map +1 -0
- package/_cjs/internal/Hub.cjs +758 -0
- package/_cjs/internal/Hub.cjs.map +1 -0
- package/_cjs/internal/MutableQueue.cjs +315 -0
- package/_cjs/internal/MutableQueue.cjs.map +1 -0
- package/_cjs/internal/Scheduler.cjs +33 -0
- package/_cjs/internal/Scheduler.cjs.map +1 -0
- package/_cjs/internal/StackTraceBuilder.cjs +36 -0
- package/_cjs/internal/StackTraceBuilder.cjs.map +1 -0
- package/_mjs/Cached/api.mjs +57 -0
- package/_mjs/Cached/api.mjs.map +1 -0
- package/_mjs/Cached/definition.mjs +22 -0
- package/_mjs/Cached/definition.mjs.map +1 -0
- package/_mjs/Cached/internal.mjs +8 -0
- package/_mjs/Cached/internal.mjs.map +1 -0
- package/_mjs/Cached.mjs +5 -0
- package/_mjs/Cached.mjs.map +1 -0
- package/_mjs/CancellerState.mjs +44 -0
- package/_mjs/CancellerState.mjs.map +1 -0
- package/_mjs/Channel/ChildExecutorDecision/api.mjs +22 -0
- package/_mjs/Channel/ChildExecutorDecision/api.mjs.map +1 -0
- package/_mjs/Channel/ChildExecutorDecision/definition.mjs +25 -0
- package/_mjs/Channel/ChildExecutorDecision/definition.mjs.map +1 -0
- package/_mjs/Channel/ChildExecutorDecision.mjs +4 -0
- package/_mjs/Channel/ChildExecutorDecision.mjs.map +1 -0
- package/_mjs/Channel/UpstreamPullRequest/api.mjs +34 -0
- package/_mjs/Channel/UpstreamPullRequest/api.mjs.map +1 -0
- package/_mjs/Channel/UpstreamPullRequest/definition.mjs +16 -0
- package/_mjs/Channel/UpstreamPullRequest/definition.mjs.map +1 -0
- package/_mjs/Channel/UpstreamPullRequest.mjs +4 -0
- package/_mjs/Channel/UpstreamPullRequest.mjs.map +1 -0
- package/_mjs/Channel/UpstreamPullStrategy/definition.mjs +21 -0
- package/_mjs/Channel/UpstreamPullStrategy/definition.mjs.map +1 -0
- package/_mjs/Channel/UpstreamPullStrategy.mjs +3 -0
- package/_mjs/Channel/UpstreamPullStrategy.mjs.map +1 -0
- package/_mjs/Channel/api/interruptWhen.mjs +35 -0
- package/_mjs/Channel/api/interruptWhen.mjs.map +1 -0
- package/_mjs/Channel/api/mapOutIOC.mjs +32 -0
- package/_mjs/Channel/api/mapOutIOC.mjs.map +1 -0
- package/_mjs/Channel/api/mergeAll.mjs +9 -0
- package/_mjs/Channel/api/mergeAll.mjs.map +1 -0
- package/_mjs/Channel/api/mergeAllUnboundedWith.mjs +9 -0
- package/_mjs/Channel/api/mergeAllUnboundedWith.mjs.map +1 -0
- package/_mjs/Channel/api/mergeAllWith.mjs +58 -0
- package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -0
- package/_mjs/Channel/api/mergeMap.mjs +10 -0
- package/_mjs/Channel/api/mergeMap.mjs.map +1 -0
- package/_mjs/Channel/api/mergeWith.mjs +74 -0
- package/_mjs/Channel/api/mergeWith.mjs.map +1 -0
- package/_mjs/Channel/api/run.mjs +12 -0
- package/_mjs/Channel/api/run.mjs.map +1 -0
- package/_mjs/Channel/api/runCollect.mjs +10 -0
- package/_mjs/Channel/api/runCollect.mjs.map +1 -0
- package/_mjs/Channel/api/runDrain.mjs +12 -0
- package/_mjs/Channel/api/runDrain.mjs.map +1 -0
- package/_mjs/Channel/api/runScoped.mjs +55 -0
- package/_mjs/Channel/api/runScoped.mjs.map +1 -0
- package/_mjs/Channel/api/toPull.mjs +46 -0
- package/_mjs/Channel/api/toPull.mjs.map +1 -0
- package/_mjs/Channel/api/zipC.mjs +30 -0
- package/_mjs/Channel/api/zipC.mjs.map +1 -0
- package/_mjs/Channel/api.mjs +727 -0
- package/_mjs/Channel/api.mjs.map +1 -0
- package/_mjs/Channel/core-api.mjs +123 -0
- package/_mjs/Channel/core-api.mjs.map +1 -0
- package/_mjs/Channel/definition.mjs +195 -0
- package/_mjs/Channel/definition.mjs.map +1 -0
- package/_mjs/Channel/internal/AsyncInputConsumer.mjs +2 -0
- package/_mjs/Channel/internal/AsyncInputConsumer.mjs.map +1 -0
- package/_mjs/Channel/internal/AsyncInputProducer.mjs +2 -0
- package/_mjs/Channel/internal/AsyncInputProducer.mjs.map +1 -0
- package/_mjs/Channel/internal/ChannelExecutor.mjs +913 -0
- package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -0
- package/_mjs/Channel/internal/ChannelState.mjs +67 -0
- package/_mjs/Channel/internal/ChannelState.mjs.map +1 -0
- package/_mjs/Channel/internal/MergeDecision.mjs +61 -0
- package/_mjs/Channel/internal/MergeDecision.mjs.map +1 -0
- package/_mjs/Channel/internal/MergeState.mjs +51 -0
- package/_mjs/Channel/internal/MergeState.mjs.map +1 -0
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +234 -0
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -0
- package/_mjs/Channel.mjs +5 -0
- package/_mjs/Channel.mjs.map +1 -0
- package/_mjs/Clock/api.mjs +15 -0
- package/_mjs/Clock/api.mjs.map +1 -0
- package/_mjs/Clock/definition.mjs +13 -0
- package/_mjs/Clock/definition.mjs.map +1 -0
- package/_mjs/Clock/live.mjs +30 -0
- package/_mjs/Clock/live.mjs.map +1 -0
- package/_mjs/Clock.mjs +5 -0
- package/_mjs/Clock.mjs.map +1 -0
- package/_mjs/Console/api.mjs +16 -0
- package/_mjs/Console/api.mjs.map +1 -0
- package/_mjs/Console/definition.mjs +13 -0
- package/_mjs/Console/definition.mjs.map +1 -0
- package/_mjs/Console/live.mjs +23 -0
- package/_mjs/Console/live.mjs.map +1 -0
- package/_mjs/Console.mjs +5 -0
- package/_mjs/Console.mjs.map +1 -0
- package/_mjs/Fiber/FiberContext.mjs +1141 -0
- package/_mjs/Fiber/FiberContext.mjs.map +1 -0
- package/_mjs/Fiber/api/await.mjs +8 -0
- package/_mjs/Fiber/api/await.mjs.map +1 -0
- package/_mjs/Fiber/api/awaitAll.mjs +14 -0
- package/_mjs/Fiber/api/awaitAll.mjs.map +1 -0
- package/_mjs/Fiber/api/children.mjs +8 -0
- package/_mjs/Fiber/api/children.mjs.map +1 -0
- package/_mjs/Fiber/api/collectAll.mjs +31 -0
- package/_mjs/Fiber/api/collectAll.mjs.map +1 -0
- package/_mjs/Fiber/api/evalOn.mjs +17 -0
- package/_mjs/Fiber/api/evalOn.mjs.map +1 -0
- package/_mjs/Fiber/api/evalOnIO.mjs +17 -0
- package/_mjs/Fiber/api/evalOnIO.mjs.map +1 -0
- package/_mjs/Fiber/api/fromIO.mjs +13 -0
- package/_mjs/Fiber/api/fromIO.mjs.map +1 -0
- package/_mjs/Fiber/api/id.mjs +8 -0
- package/_mjs/Fiber/api/id.mjs.map +1 -0
- package/_mjs/Fiber/api/inheritRefs.mjs +8 -0
- package/_mjs/Fiber/api/inheritRefs.mjs.map +1 -0
- package/_mjs/Fiber/api/interrupt.mjs +15 -0
- package/_mjs/Fiber/api/interrupt.mjs.map +1 -0
- package/_mjs/Fiber/api/interruptAll.mjs +25 -0
- package/_mjs/Fiber/api/interruptAll.mjs.map +1 -0
- package/_mjs/Fiber/api/interruptAs.mjs +8 -0
- package/_mjs/Fiber/api/interruptAs.mjs.map +1 -0
- package/_mjs/Fiber/api/interruptFork.mjs +15 -0
- package/_mjs/Fiber/api/interruptFork.mjs.map +1 -0
- package/_mjs/Fiber/api/join.mjs +17 -0
- package/_mjs/Fiber/api/join.mjs.map +1 -0
- package/_mjs/Fiber/api/joinAll.mjs +16 -0
- package/_mjs/Fiber/api/joinAll.mjs.map +1 -0
- package/_mjs/Fiber/api/location.mjs +10 -0
- package/_mjs/Fiber/api/location.mjs.map +1 -0
- package/_mjs/Fiber/api/mapFiber.mjs +16 -0
- package/_mjs/Fiber/api/mapFiber.mjs.map +1 -0
- package/_mjs/Fiber/api/mapIO.mjs +33 -0
- package/_mjs/Fiber/api/mapIO.mjs.map +1 -0
- package/_mjs/Fiber/api/poll.mjs +8 -0
- package/_mjs/Fiber/api/poll.mjs.map +1 -0
- package/_mjs/Fiber/api/zipWith.mjs +26 -0
- package/_mjs/Fiber/api/zipWith.mjs.map +1 -0
- package/_mjs/Fiber/constructors.mjs +45 -0
- package/_mjs/Fiber/constructors.mjs.map +1 -0
- package/_mjs/Fiber/definition.mjs +27 -0
- package/_mjs/Fiber/definition.mjs.map +1 -0
- package/_mjs/Fiber.mjs +27 -0
- package/_mjs/Fiber.mjs.map +1 -0
- package/_mjs/FiberDescriptor.mjs +17 -0
- package/_mjs/FiberDescriptor.mjs.map +1 -0
- package/_mjs/FiberRef/api/locallyScoped.mjs +12 -0
- package/_mjs/FiberRef/api/locallyScoped.mjs.map +1 -0
- package/_mjs/FiberRef/api/locallyScopedWith.mjs +11 -0
- package/_mjs/FiberRef/api/locallyScopedWith.mjs.map +1 -0
- package/_mjs/FiberRef/api.mjs +139 -0
- package/_mjs/FiberRef/api.mjs.map +1 -0
- package/_mjs/FiberRef/constructors.mjs +82 -0
- package/_mjs/FiberRef/constructors.mjs.map +1 -0
- package/_mjs/FiberRef/definition.mjs +50 -0
- package/_mjs/FiberRef/definition.mjs.map +1 -0
- package/_mjs/FiberRef.mjs +9 -0
- package/_mjs/FiberRef.mjs.map +1 -0
- package/_mjs/FiberRefs/api.mjs +17 -0
- package/_mjs/FiberRefs/api.mjs.map +1 -0
- package/_mjs/FiberRefs/definition.mjs +14 -0
- package/_mjs/FiberRefs/definition.mjs.map +1 -0
- package/_mjs/FiberRefs/join.mjs +90 -0
- package/_mjs/FiberRefs/join.mjs.map +1 -0
- package/_mjs/FiberRefs.mjs +5 -0
- package/_mjs/FiberRefs.mjs.map +1 -0
- package/_mjs/FiberScope/constructors.mjs +18 -0
- package/_mjs/FiberScope/constructors.mjs.map +1 -0
- package/_mjs/FiberScope/definition.mjs +41 -0
- package/_mjs/FiberScope/definition.mjs.map +1 -0
- package/_mjs/FiberScope.mjs +4 -0
- package/_mjs/FiberScope.mjs.map +1 -0
- package/_mjs/FiberState/api.mjs +15 -0
- package/_mjs/FiberState/api.mjs.map +1 -0
- package/_mjs/FiberState/constructors.mjs +26 -0
- package/_mjs/FiberState/constructors.mjs.map +1 -0
- package/_mjs/FiberState/definition.mjs +26 -0
- package/_mjs/FiberState/definition.mjs.map +1 -0
- package/_mjs/FiberState.mjs +5 -0
- package/_mjs/FiberState.mjs.map +1 -0
- package/_mjs/FiberStatus/constructors.mjs +28 -0
- package/_mjs/FiberStatus/constructors.mjs.map +1 -0
- package/_mjs/FiberStatus/definition.mjs +88 -0
- package/_mjs/FiberStatus/definition.mjs.map +1 -0
- package/_mjs/FiberStatus.mjs +4 -0
- package/_mjs/FiberStatus.mjs.map +1 -0
- package/_mjs/Future/api.mjs +249 -0
- package/_mjs/Future/api.mjs.map +1 -0
- package/_mjs/Future/constructors.mjs +36 -0
- package/_mjs/Future/constructors.mjs.map +1 -0
- package/_mjs/Future/definition.mjs +30 -0
- package/_mjs/Future/definition.mjs.map +1 -0
- package/_mjs/Future.mjs +5 -0
- package/_mjs/Future.mjs.map +1 -0
- package/_mjs/Hub/api.mjs +384 -0
- package/_mjs/Hub/api.mjs.map +1 -0
- package/_mjs/Hub/definition.mjs +15 -0
- package/_mjs/Hub/definition.mjs.map +1 -0
- package/_mjs/Hub/internal.mjs +400 -0
- package/_mjs/Hub/internal.mjs.map +1 -0
- package/_mjs/Hub.mjs +4 -0
- package/_mjs/Hub.mjs.map +1 -0
- package/_mjs/IO/api/acquireRelease.mjs +11 -0
- package/_mjs/IO/api/acquireRelease.mjs.map +1 -0
- package/_mjs/IO/api/acquireReleaseExit.mjs +12 -0
- package/_mjs/IO/api/acquireReleaseExit.mjs.map +1 -0
- package/_mjs/IO/api/acquireReleaseInterruptible.mjs +9 -0
- package/_mjs/IO/api/acquireReleaseInterruptible.mjs.map +1 -0
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs +10 -0
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs.map +1 -0
- package/_mjs/IO/api/addFinalizer.mjs +9 -0
- package/_mjs/IO/api/addFinalizer.mjs.map +1 -0
- package/_mjs/IO/api/addFinalizerExit.mjs +17 -0
- package/_mjs/IO/api/addFinalizerExit.mjs.map +1 -0
- package/_mjs/IO/api/bracket.mjs +29 -0
- package/_mjs/IO/api/bracket.mjs.map +1 -0
- package/_mjs/IO/api/bracketExit.mjs +22 -0
- package/_mjs/IO/api/bracketExit.mjs.map +1 -0
- package/_mjs/IO/api/clockWith.mjs +21 -0
- package/_mjs/IO/api/clockWith.mjs.map +1 -0
- package/_mjs/IO/api/concurrency.mjs +49 -0
- package/_mjs/IO/api/concurrency.mjs.map +1 -0
- package/_mjs/IO/api/concurrentFinalizers.mjs +13 -0
- package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -0
- package/_mjs/IO/api/consoleWith.mjs +21 -0
- package/_mjs/IO/api/consoleWith.mjs.map +1 -0
- package/_mjs/IO/api/core-scope.mjs +130 -0
- package/_mjs/IO/api/core-scope.mjs.map +1 -0
- package/_mjs/IO/api/environment.mjs +116 -0
- package/_mjs/IO/api/environment.mjs.map +1 -0
- package/_mjs/IO/api/foreachC.mjs +119 -0
- package/_mjs/IO/api/foreachC.mjs.map +1 -0
- package/_mjs/IO/api/foreachExec.mjs +18 -0
- package/_mjs/IO/api/foreachExec.mjs.map +1 -0
- package/_mjs/IO/api/forkAll.mjs +13 -0
- package/_mjs/IO/api/forkAll.mjs.map +1 -0
- package/_mjs/IO/api/forkIn.mjs +18 -0
- package/_mjs/IO/api/forkIn.mjs.map +1 -0
- package/_mjs/IO/api/forkScoped.mjs +15 -0
- package/_mjs/IO/api/forkScoped.mjs.map +1 -0
- package/_mjs/IO/api/fulfill.mjs +18 -0
- package/_mjs/IO/api/fulfill.mjs.map +1 -0
- package/_mjs/IO/api/interrupt.mjs +171 -0
- package/_mjs/IO/api/interrupt.mjs.map +1 -0
- package/_mjs/IO/api/memoize.mjs +16 -0
- package/_mjs/IO/api/memoize.mjs.map +1 -0
- package/_mjs/IO/api/onExit.mjs +10 -0
- package/_mjs/IO/api/onExit.mjs.map +1 -0
- package/_mjs/IO/api/once.mjs +11 -0
- package/_mjs/IO/api/once.mjs.map +1 -0
- package/_mjs/IO/api/provideLayer.mjs +14 -0
- package/_mjs/IO/api/provideLayer.mjs.map +1 -0
- package/_mjs/IO/api/provideSomeLayer.mjs +21 -0
- package/_mjs/IO/api/provideSomeLayer.mjs.map +1 -0
- package/_mjs/IO/api/race.mjs +29 -0
- package/_mjs/IO/api/race.mjs.map +1 -0
- package/_mjs/IO/api/raceFirst.mjs +22 -0
- package/_mjs/IO/api/raceFirst.mjs.map +1 -0
- package/_mjs/IO/api/randomWith.mjs +21 -0
- package/_mjs/IO/api/randomWith.mjs.map +1 -0
- package/_mjs/IO/api/repeat.mjs +38 -0
- package/_mjs/IO/api/repeat.mjs.map +1 -0
- package/_mjs/IO/api/retry.mjs +36 -0
- package/_mjs/IO/api/retry.mjs.map +1 -0
- package/_mjs/IO/api/schedule.mjs +27 -0
- package/_mjs/IO/api/schedule.mjs.map +1 -0
- package/_mjs/IO/api/scope.mjs +9 -0
- package/_mjs/IO/api/scope.mjs.map +1 -0
- package/_mjs/IO/api/scopeWith.mjs +11 -0
- package/_mjs/IO/api/scopeWith.mjs.map +1 -0
- package/_mjs/IO/api/scoped.mjs +20 -0
- package/_mjs/IO/api/scoped.mjs.map +1 -0
- package/_mjs/IO/api/sequenceT.mjs +11 -0
- package/_mjs/IO/api/sequenceT.mjs.map +1 -0
- package/_mjs/IO/api/sleep.mjs +9 -0
- package/_mjs/IO/api/sleep.mjs.map +1 -0
- package/_mjs/IO/api/stateful.mjs +11 -0
- package/_mjs/IO/api/stateful.mjs.map +1 -0
- package/_mjs/IO/api/withChildren.mjs +11 -0
- package/_mjs/IO/api/withChildren.mjs.map +1 -0
- package/_mjs/IO/api/withFinalizer.mjs +9 -0
- package/_mjs/IO/api/withFinalizer.mjs.map +1 -0
- package/_mjs/IO/api/withFinalizerExit.mjs +10 -0
- package/_mjs/IO/api/withFinalizerExit.mjs.map +1 -0
- package/_mjs/IO/api/withRuntimeConfig.mjs +14 -0
- package/_mjs/IO/api/withRuntimeConfig.mjs.map +1 -0
- package/_mjs/IO/api/zipC.mjs +10 -0
- package/_mjs/IO/api/zipC.mjs.map +1 -0
- package/_mjs/IO/api/zipWithC.mjs +23 -0
- package/_mjs/IO/api/zipWithC.mjs.map +1 -0
- package/_mjs/IO/api.mjs +1804 -0
- package/_mjs/IO/api.mjs.map +1 -0
- package/_mjs/IO/definition.mjs +444 -0
- package/_mjs/IO/definition.mjs.map +1 -0
- package/_mjs/IO/runtime.mjs +97 -0
- package/_mjs/IO/runtime.mjs.map +1 -0
- package/_mjs/IO.mjs +51 -0
- package/_mjs/IO.mjs.map +1 -0
- package/_mjs/IOEnv/definition.mjs +14 -0
- package/_mjs/IOEnv/definition.mjs.map +1 -0
- package/_mjs/IOEnv/live.mjs +13 -0
- package/_mjs/IOEnv/live.mjs.map +1 -0
- package/_mjs/IOEnv/services.mjs +8 -0
- package/_mjs/IOEnv/services.mjs.map +1 -0
- package/_mjs/IOEnv.mjs +5 -0
- package/_mjs/IOEnv.mjs.map +1 -0
- package/_mjs/InterruptStatus/constructors.mjs +21 -0
- package/_mjs/InterruptStatus/constructors.mjs.map +1 -0
- package/_mjs/InterruptStatus/definition.mjs +21 -0
- package/_mjs/InterruptStatus/definition.mjs.map +1 -0
- package/_mjs/InterruptStatus.mjs +4 -0
- package/_mjs/InterruptStatus.mjs.map +1 -0
- package/_mjs/Layer/MemoMap.mjs +171 -0
- package/_mjs/Layer/MemoMap.mjs.map +1 -0
- package/_mjs/Layer/api.mjs +338 -0
- package/_mjs/Layer/api.mjs.map +1 -0
- package/_mjs/Layer/definition.mjs +104 -0
- package/_mjs/Layer/definition.mjs.map +1 -0
- package/_mjs/Layer.mjs +5 -0
- package/_mjs/Layer.mjs.map +1 -0
- package/_mjs/LogLevel.mjs +85 -0
- package/_mjs/LogLevel.mjs.map +1 -0
- package/_mjs/LogSpan.mjs +32 -0
- package/_mjs/LogSpan.mjs.map +1 -0
- package/_mjs/Logger/api.mjs +23 -0
- package/_mjs/Logger/api.mjs.map +1 -0
- package/_mjs/Logger/constructors.mjs +63 -0
- package/_mjs/Logger/constructors.mjs.map +1 -0
- package/_mjs/Logger/definition.mjs +11 -0
- package/_mjs/Logger/definition.mjs.map +1 -0
- package/_mjs/Logger.mjs +5 -0
- package/_mjs/Logger.mjs.map +1 -0
- package/_mjs/Queue/api/dimapIO.mjs +97 -0
- package/_mjs/Queue/api/dimapIO.mjs.map +1 -0
- package/_mjs/Queue/api/filterInputIO.mjs +63 -0
- package/_mjs/Queue/api/filterInputIO.mjs.map +1 -0
- package/_mjs/Queue/api/filterOutputIO.mjs +68 -0
- package/_mjs/Queue/api/filterOutputIO.mjs.map +1 -0
- package/_mjs/Queue/api/operations.mjs +122 -0
- package/_mjs/Queue/api/operations.mjs.map +1 -0
- package/_mjs/Queue/api/poll.mjs +15 -0
- package/_mjs/Queue/api/poll.mjs.map +1 -0
- package/_mjs/Queue/api/takeBetween.mjs +44 -0
- package/_mjs/Queue/api/takeBetween.mjs.map +1 -0
- package/_mjs/Queue/api/zipWithIO.mjs +75 -0
- package/_mjs/Queue/api/zipWithIO.mjs.map +1 -0
- package/_mjs/Queue/api.mjs +9 -0
- package/_mjs/Queue/api.mjs.map +1 -0
- package/_mjs/Queue/constructors.mjs +34 -0
- package/_mjs/Queue/constructors.mjs.map +1 -0
- package/_mjs/Queue/definition.mjs +17 -0
- package/_mjs/Queue/definition.mjs.map +1 -0
- package/_mjs/Queue/internal.mjs +224 -0
- package/_mjs/Queue/internal.mjs.map +1 -0
- package/_mjs/Queue/strategy.mjs +147 -0
- package/_mjs/Queue/strategy.mjs.map +1 -0
- package/_mjs/Queue.mjs +7 -0
- package/_mjs/Queue.mjs.map +1 -0
- package/_mjs/Random/api.mjs +52 -0
- package/_mjs/Random/api.mjs.map +1 -0
- package/_mjs/Random/definition.mjs +13 -0
- package/_mjs/Random/definition.mjs.map +1 -0
- package/_mjs/Random/live.mjs +40 -0
- package/_mjs/Random/live.mjs.map +1 -0
- package/_mjs/Random.mjs +5 -0
- package/_mjs/Random.mjs.map +1 -0
- package/_mjs/Ref/Atomic/Atomic.mjs +47 -0
- package/_mjs/Ref/Atomic/Atomic.mjs.map +1 -0
- package/_mjs/Ref/Atomic/api.mjs +124 -0
- package/_mjs/Ref/Atomic/api.mjs.map +1 -0
- package/_mjs/Ref/Atomic.mjs +4 -0
- package/_mjs/Ref/Atomic.mjs.map +1 -0
- package/_mjs/Ref/Derived.mjs +35 -0
- package/_mjs/Ref/Derived.mjs.map +1 -0
- package/_mjs/Ref/DerivedAll.mjs +35 -0
- package/_mjs/Ref/DerivedAll.mjs.map +1 -0
- package/_mjs/Ref/Synchronized/api.mjs +155 -0
- package/_mjs/Ref/Synchronized/api.mjs.map +1 -0
- package/_mjs/Ref/Synchronized/constructors.mjs +20 -0
- package/_mjs/Ref/Synchronized/constructors.mjs.map +1 -0
- package/_mjs/Ref/Synchronized/definition.mjs +66 -0
- package/_mjs/Ref/Synchronized/definition.mjs.map +1 -0
- package/_mjs/Ref/api/collect.mjs +17 -0
- package/_mjs/Ref/api/collect.mjs.map +1 -0
- package/_mjs/Ref/api/dimap.mjs +84 -0
- package/_mjs/Ref/api/dimap.mjs.map +1 -0
- package/_mjs/Ref/api/filter.mjs +29 -0
- package/_mjs/Ref/api/filter.mjs.map +1 -0
- package/_mjs/Ref/api/get.mjs +13 -0
- package/_mjs/Ref/api/get.mjs.map +1 -0
- package/_mjs/Ref/api/match.mjs +18 -0
- package/_mjs/Ref/api/match.mjs.map +1 -0
- package/_mjs/Ref/api/matchAll.mjs +16 -0
- package/_mjs/Ref/api/matchAll.mjs.map +1 -0
- package/_mjs/Ref/api/modify.mjs +205 -0
- package/_mjs/Ref/api/modify.mjs.map +1 -0
- package/_mjs/Ref/api/set.mjs +14 -0
- package/_mjs/Ref/api/set.mjs.map +1 -0
- package/_mjs/Ref/api.mjs +34 -0
- package/_mjs/Ref/api.mjs.map +1 -0
- package/_mjs/Ref/constructors.mjs +19 -0
- package/_mjs/Ref/constructors.mjs.map +1 -0
- package/_mjs/Ref/definition.mjs +10 -0
- package/_mjs/Ref/definition.mjs.map +1 -0
- package/_mjs/Ref.mjs +13 -0
- package/_mjs/Ref.mjs.map +1 -0
- package/_mjs/RuntimeConfig.mjs +34 -0
- package/_mjs/RuntimeConfig.mjs.map +1 -0
- package/_mjs/STM/api/core-api.mjs +61 -0
- package/_mjs/STM/api/core-api.mjs.map +1 -0
- package/_mjs/STM/api/core-constructors.mjs +68 -0
- package/_mjs/STM/api/core-constructors.mjs.map +1 -0
- package/_mjs/STM/api.mjs +633 -0
- package/_mjs/STM/api.mjs.map +1 -0
- package/_mjs/STM/definition.mjs +148 -0
- package/_mjs/STM/definition.mjs.map +1 -0
- package/_mjs/STM/driver.mjs +166 -0
- package/_mjs/STM/driver.mjs.map +1 -0
- package/_mjs/STM/internal/CommitState.mjs +68 -0
- package/_mjs/STM/internal/CommitState.mjs.map +1 -0
- package/_mjs/STM/internal/Entry.mjs +70 -0
- package/_mjs/STM/internal/Entry.mjs.map +1 -0
- package/_mjs/STM/internal/Journal.mjs +377 -0
- package/_mjs/STM/internal/Journal.mjs.map +1 -0
- package/_mjs/STM/internal/TryCommit.mjs +22 -0
- package/_mjs/STM/internal/TryCommit.mjs.map +1 -0
- package/_mjs/STM/internal/Versioned.mjs +9 -0
- package/_mjs/STM/internal/Versioned.mjs.map +1 -0
- package/_mjs/STM.mjs +9 -0
- package/_mjs/STM.mjs.map +1 -0
- package/_mjs/Schedule/Decision.mjs +48 -0
- package/_mjs/Schedule/Decision.mjs.map +1 -0
- package/_mjs/Schedule/Driver.mjs +21 -0
- package/_mjs/Schedule/Driver.mjs.map +1 -0
- package/_mjs/Schedule/Interval.mjs +114 -0
- package/_mjs/Schedule/Interval.mjs.map +1 -0
- package/_mjs/Schedule/api/driver.mjs +30 -0
- package/_mjs/Schedule/api/driver.mjs.map +1 -0
- package/_mjs/Schedule/api.mjs +642 -0
- package/_mjs/Schedule/api.mjs.map +1 -0
- package/_mjs/Schedule/definition.mjs +32 -0
- package/_mjs/Schedule/definition.mjs.map +1 -0
- package/_mjs/Schedule.mjs +7 -0
- package/_mjs/Schedule.mjs.map +1 -0
- package/_mjs/Scope/Finalizer/definition.mjs +9 -0
- package/_mjs/Scope/Finalizer/definition.mjs.map +1 -0
- package/_mjs/Scope/Finalizer.mjs +3 -0
- package/_mjs/Scope/Finalizer.mjs.map +1 -0
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs +26 -0
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -0
- package/_mjs/Scope/ReleaseMap/api.mjs +84 -0
- package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -0
- package/_mjs/Scope/ReleaseMap/constructors.mjs +21 -0
- package/_mjs/Scope/ReleaseMap/constructors.mjs.map +1 -0
- package/_mjs/Scope/ReleaseMap/definition.mjs +21 -0
- package/_mjs/Scope/ReleaseMap/definition.mjs.map +1 -0
- package/_mjs/Scope/ReleaseMap.mjs +5 -0
- package/_mjs/Scope/ReleaseMap.mjs.map +1 -0
- package/_mjs/Scope/api.mjs +140 -0
- package/_mjs/Scope/api.mjs.map +1 -0
- package/_mjs/Scope/definition.mjs +25 -0
- package/_mjs/Scope/definition.mjs.map +1 -0
- package/_mjs/Scope.mjs +4 -0
- package/_mjs/Scope.mjs.map +1 -0
- package/_mjs/ScopedRef/api.mjs +50 -0
- package/_mjs/ScopedRef/api.mjs.map +1 -0
- package/_mjs/ScopedRef/definition.mjs +13 -0
- package/_mjs/ScopedRef/definition.mjs.map +1 -0
- package/_mjs/ScopedRef.mjs +4 -0
- package/_mjs/ScopedRef.mjs.map +1 -0
- package/_mjs/Sink/api.mjs +76 -0
- package/_mjs/Sink/api.mjs.map +1 -0
- package/_mjs/Sink/definition.mjs +16 -0
- package/_mjs/Sink/definition.mjs.map +1 -0
- package/_mjs/Sink.mjs +4 -0
- package/_mjs/Sink.mjs.map +1 -0
- package/_mjs/State/api.mjs +53 -0
- package/_mjs/State/api.mjs.map +1 -0
- package/_mjs/State/definition.mjs +19 -0
- package/_mjs/State/definition.mjs.map +1 -0
- package/_mjs/State/internal.mjs +8 -0
- package/_mjs/State/internal.mjs.map +1 -0
- package/_mjs/State.mjs +4 -0
- package/_mjs/State.mjs.map +1 -0
- package/_mjs/Stream/api/zipAllWith.mjs +106 -0
- package/_mjs/Stream/api/zipAllWith.mjs.map +1 -0
- package/_mjs/Stream/api/zipWith.mjs +10 -0
- package/_mjs/Stream/api/zipWith.mjs.map +1 -0
- package/_mjs/Stream/api/zipWithChunks.mjs +83 -0
- package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -0
- package/_mjs/Stream/api.mjs +2178 -0
- package/_mjs/Stream/api.mjs.map +1 -0
- package/_mjs/Stream/definition.mjs +41 -0
- package/_mjs/Stream/definition.mjs.map +1 -0
- package/_mjs/Stream/internal/DebounceState.mjs +72 -0
- package/_mjs/Stream/internal/DebounceState.mjs.map +1 -0
- package/_mjs/Stream/internal/Handoff.mjs +162 -0
- package/_mjs/Stream/internal/Handoff.mjs.map +1 -0
- package/_mjs/Stream/internal/Pull.mjs +56 -0
- package/_mjs/Stream/internal/Pull.mjs.map +1 -0
- package/_mjs/Stream/internal/SinkEndReason.mjs +66 -0
- package/_mjs/Stream/internal/SinkEndReason.mjs.map +1 -0
- package/_mjs/Stream/internal/Take.mjs +191 -0
- package/_mjs/Stream/internal/Take.mjs.map +1 -0
- package/_mjs/Stream/internal/util.mjs +19 -0
- package/_mjs/Stream/internal/util.mjs.map +1 -0
- package/_mjs/Stream.mjs +4 -0
- package/_mjs/Stream.mjs.map +1 -0
- package/_mjs/Supervisor/api.mjs +44 -0
- package/_mjs/Supervisor/api.mjs.map +1 -0
- package/_mjs/Supervisor/constructors.mjs +69 -0
- package/_mjs/Supervisor/constructors.mjs.map +1 -0
- package/_mjs/Supervisor/definition.mjs +74 -0
- package/_mjs/Supervisor/definition.mjs.map +1 -0
- package/_mjs/Supervisor.mjs +5 -0
- package/_mjs/Supervisor.mjs.map +1 -0
- package/_mjs/TExit/constructors.mjs +40 -0
- package/_mjs/TExit/constructors.mjs.map +1 -0
- package/_mjs/TExit/definition.mjs +173 -0
- package/_mjs/TExit/definition.mjs.map +1 -0
- package/_mjs/TExit.mjs +4 -0
- package/_mjs/TExit.mjs.map +1 -0
- package/_mjs/TFuture/api.mjs +47 -0
- package/_mjs/TFuture/api.mjs.map +1 -0
- package/_mjs/TFuture/constructors.mjs +23 -0
- package/_mjs/TFuture/constructors.mjs.map +1 -0
- package/_mjs/TFuture/definition.mjs +3 -0
- package/_mjs/TFuture/definition.mjs.map +1 -0
- package/_mjs/TFuture.mjs +5 -0
- package/_mjs/TFuture.mjs.map +1 -0
- package/_mjs/TRef/api.mjs +327 -0
- package/_mjs/TRef/api.mjs.map +1 -0
- package/_mjs/TRef/constructors.mjs +72 -0
- package/_mjs/TRef/constructors.mjs.map +1 -0
- package/_mjs/TRef/definition.mjs +71 -0
- package/_mjs/TRef/definition.mjs.map +1 -0
- package/_mjs/TRef.mjs +5 -0
- package/_mjs/TRef.mjs.map +1 -0
- package/_mjs/TSemaphore/api.mjs +74 -0
- package/_mjs/TSemaphore/api.mjs.map +1 -0
- package/_mjs/TSemaphore/constructors.mjs +19 -0
- package/_mjs/TSemaphore/constructors.mjs.map +1 -0
- package/_mjs/TSemaphore/definition.mjs +3 -0
- package/_mjs/TSemaphore/definition.mjs.map +1 -0
- package/_mjs/TSemaphore.mjs +5 -0
- package/_mjs/TSemaphore.mjs.map +1 -0
- package/_mjs/TxnId.mjs +11 -0
- package/_mjs/TxnId.mjs.map +1 -0
- package/_mjs/collection/immutable/Conc/findIO.mjs +40 -0
- package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -0
- package/_mjs/collection/immutable/Conc/mapIO.mjs +16 -0
- package/_mjs/collection/immutable/Conc/mapIO.mjs.map +1 -0
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs +39 -0
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -0
- package/_mjs/collection/immutable/Conc.mjs +5 -0
- package/_mjs/collection/immutable/Conc.mjs.map +1 -0
- package/_mjs/data/Exit/foreachIO.mjs +15 -0
- package/_mjs/data/Exit/foreachIO.mjs.map +1 -0
- package/_mjs/internal/HashedPair.mjs +20 -0
- package/_mjs/internal/HashedPair.mjs.map +1 -0
- package/_mjs/internal/Hub.mjs +723 -0
- package/_mjs/internal/Hub.mjs.map +1 -0
- package/_mjs/internal/MutableQueue.mjs +276 -0
- package/_mjs/internal/MutableQueue.mjs.map +1 -0
- package/_mjs/internal/Scheduler.mjs +18 -0
- package/_mjs/internal/Scheduler.mjs.map +1 -0
- package/_mjs/internal/StackTraceBuilder.mjs +21 -0
- package/_mjs/internal/StackTraceBuilder.mjs.map +1 -0
- package/_src/Cached/api.ts +54 -0
- package/_src/Cached/definition.ts +23 -0
- package/_src/Cached/internal.ts +10 -0
- package/_src/Cached.ts +5 -0
- package/_src/CancellerState.ts +47 -0
- package/_src/Channel/ChildExecutorDecision/api.ts +23 -0
- package/_src/Channel/ChildExecutorDecision/definition.ts +48 -0
- package/_src/Channel/ChildExecutorDecision.ts +4 -0
- package/_src/Channel/UpstreamPullRequest/api.ts +36 -0
- package/_src/Channel/UpstreamPullRequest/definition.ts +21 -0
- package/_src/Channel/UpstreamPullRequest.ts +4 -0
- package/_src/Channel/UpstreamPullStrategy/definition.ts +38 -0
- package/_src/Channel/UpstreamPullStrategy.ts +3 -0
- package/_src/Channel/api/interruptWhen.ts +37 -0
- package/_src/Channel/api/mapOutIOC.ts +63 -0
- package/_src/Channel/api/mergeAll.ts +21 -0
- package/_src/Channel/api/mergeAllUnboundedWith.ts +30 -0
- package/_src/Channel/api/mergeAllWith.ts +141 -0
- package/_src/Channel/api/mergeMap.ts +27 -0
- package/_src/Channel/api/mergeWith.ts +200 -0
- package/_src/Channel/api/run.ts +10 -0
- package/_src/Channel/api/runCollect.ts +8 -0
- package/_src/Channel/api/runDrain.ts +10 -0
- package/_src/Channel/api/runScoped.ts +45 -0
- package/_src/Channel/api/toPull.ts +38 -0
- package/_src/Channel/api/zipC.ts +104 -0
- package/_src/Channel/api.ts +1258 -0
- package/_src/Channel/core-api.ts +230 -0
- package/_src/Channel/definition.ts +322 -0
- package/_src/Channel/internal/AsyncInputConsumer.ts +6 -0
- package/_src/Channel/internal/AsyncInputProducer.ts +6 -0
- package/_src/Channel/internal/ChannelExecutor.ts +1078 -0
- package/_src/Channel/internal/ChannelState.ts +61 -0
- package/_src/Channel/internal/MergeDecision.ts +65 -0
- package/_src/Channel/internal/MergeState.ts +63 -0
- package/_src/Channel/internal/SingleProducerAsyncInput.ts +186 -0
- package/_src/Channel.ts +5 -0
- package/_src/Clock/api.ts +11 -0
- package/_src/Clock/definition.ts +13 -0
- package/_src/Clock/live.ts +21 -0
- package/_src/Clock.ts +5 -0
- package/_src/Console/api.ts +13 -0
- package/_src/Console/definition.ts +14 -0
- package/_src/Console/live.ts +18 -0
- package/_src/Console.ts +5 -0
- package/_src/Fiber/FiberContext.ts +1101 -0
- package/_src/Fiber/api/await.ts +7 -0
- package/_src/Fiber/api/awaitAll.ts +8 -0
- package/_src/Fiber/api/children.ts +7 -0
- package/_src/Fiber/api/collectAll.ts +32 -0
- package/_src/Fiber/api/evalOn.ts +12 -0
- package/_src/Fiber/api/evalOnIO.ts +18 -0
- package/_src/Fiber/api/fromIO.ts +8 -0
- package/_src/Fiber/api/id.ts +7 -0
- package/_src/Fiber/api/inheritRefs.ts +7 -0
- package/_src/Fiber/api/interrupt.ts +11 -0
- package/_src/Fiber/api/interruptAll.ts +17 -0
- package/_src/Fiber/api/interruptAs.ts +7 -0
- package/_src/Fiber/api/interruptFork.ts +10 -0
- package/_src/Fiber/api/join.ts +13 -0
- package/_src/Fiber/api/joinAll.ts +12 -0
- package/_src/Fiber/api/location.ts +7 -0
- package/_src/Fiber/api/mapFiber.ts +9 -0
- package/_src/Fiber/api/mapIO.ts +31 -0
- package/_src/Fiber/api/poll.ts +7 -0
- package/_src/Fiber/api/zipWith.ts +25 -0
- package/_src/Fiber/constructors.ts +43 -0
- package/_src/Fiber/definition.ts +128 -0
- package/_src/Fiber.ts +28 -0
- package/_src/FiberDescriptor.ts +19 -0
- package/_src/FiberRef/api/locallyScoped.ts +9 -0
- package/_src/FiberRef/api/locallyScopedWith.ts +6 -0
- package/_src/FiberRef/api.ts +135 -0
- package/_src/FiberRef/constructors.ts +98 -0
- package/_src/FiberRef/definition.ts +64 -0
- package/_src/FiberRef.ts +10 -0
- package/_src/FiberRefs/api.ts +15 -0
- package/_src/FiberRefs/definition.ts +11 -0
- package/_src/FiberRefs/join.ts +67 -0
- package/_src/FiberRefs.ts +5 -0
- package/_src/FiberScope/constructors.ts +19 -0
- package/_src/FiberScope/definition.ts +38 -0
- package/_src/FiberScope.ts +4 -0
- package/_src/FiberState/api.ts +12 -0
- package/_src/FiberState/constructors.ts +33 -0
- package/_src/FiberState/definition.ts +44 -0
- package/_src/FiberState.ts +5 -0
- package/_src/FiberStatus/constructors.ts +35 -0
- package/_src/FiberStatus/definition.ts +87 -0
- package/_src/FiberStatus.ts +4 -0
- package/_src/Future/api.ts +204 -0
- package/_src/Future/constructors.ts +28 -0
- package/_src/Future/definition.ts +24 -0
- package/_src/Future.ts +5 -0
- package/_src/Hub/api.ts +434 -0
- package/_src/Hub/definition.ts +102 -0
- package/_src/Hub/internal.ts +493 -0
- package/_src/Hub.ts +4 -0
- package/_src/IO/api/acquireRelease.ts +10 -0
- package/_src/IO/api/acquireReleaseExit.ts +11 -0
- package/_src/IO/api/acquireReleaseInterruptible.ts +10 -0
- package/_src/IO/api/acquireReleaseInterruptibleExit.ts +10 -0
- package/_src/IO/api/addFinalizer.ts +9 -0
- package/_src/IO/api/addFinalizerExit.ts +12 -0
- package/_src/IO/api/bracket.ts +30 -0
- package/_src/IO/api/bracketExit.ts +32 -0
- package/_src/IO/api/clockWith.ts +11 -0
- package/_src/IO/api/concurrency.ts +42 -0
- package/_src/IO/api/concurrentFinalizers.ts +11 -0
- package/_src/IO/api/consoleWith.ts +13 -0
- package/_src/IO/api/core-scope.ts +138 -0
- package/_src/IO/api/environment.ts +126 -0
- package/_src/IO/api/foreachC.ts +178 -0
- package/_src/IO/api/foreachExec.ts +19 -0
- package/_src/IO/api/forkAll.ts +9 -0
- package/_src/IO/api/forkIn.ts +15 -0
- package/_src/IO/api/forkScoped.ts +11 -0
- package/_src/IO/api/fulfill.ts +10 -0
- package/_src/IO/api/interrupt.ts +169 -0
- package/_src/IO/api/memoize.ts +10 -0
- package/_src/IO/api/onExit.ts +12 -0
- package/_src/IO/api/once.ts +6 -0
- package/_src/IO/api/provideLayer.ts +12 -0
- package/_src/IO/api/provideSomeLayer.ts +23 -0
- package/_src/IO/api/race.ts +32 -0
- package/_src/IO/api/raceFirst.ts +17 -0
- package/_src/IO/api/randomWith.ts +11 -0
- package/_src/IO/api/repeat.ts +49 -0
- package/_src/IO/api/retry.ts +42 -0
- package/_src/IO/api/schedule.ts +31 -0
- package/_src/IO/api/scope.ts +4 -0
- package/_src/IO/api/scopeWith.ts +6 -0
- package/_src/IO/api/scoped.ts +13 -0
- package/_src/IO/api/sequenceT.ts +12 -0
- package/_src/IO/api/sleep.ts +6 -0
- package/_src/IO/api/stateful.ts +15 -0
- package/_src/IO/api/withChildren.ts +13 -0
- package/_src/IO/api/withFinalizer.ts +9 -0
- package/_src/IO/api/withFinalizerExit.ts +9 -0
- package/_src/IO/api/withRuntimeConfig.ts +16 -0
- package/_src/IO/api/zipC.ts +8 -0
- package/_src/IO/api/zipWithC.ts +41 -0
- package/_src/IO/api.ts +2126 -0
- package/_src/IO/definition.ts +429 -0
- package/_src/IO/runtime.ts +99 -0
- package/_src/IO.ts +52 -0
- package/_src/IOEnv/definition.ts +20 -0
- package/_src/IOEnv/live.ts +8 -0
- package/_src/IOEnv/services.ts +10 -0
- package/_src/IOEnv.ts +5 -0
- package/_src/InterruptStatus/constructors.ts +16 -0
- package/_src/InterruptStatus/definition.ts +17 -0
- package/_src/InterruptStatus.ts +4 -0
- package/_src/Layer/MemoMap.ts +170 -0
- package/_src/Layer/api.ts +378 -0
- package/_src/Layer/definition.ts +111 -0
- package/_src/Layer.ts +5 -0
- package/_src/LogLevel.ts +79 -0
- package/_src/LogSpan.ts +27 -0
- package/_src/Logger/api.ts +24 -0
- package/_src/Logger/constructors.ts +59 -0
- package/_src/Logger/definition.ts +22 -0
- package/_src/Logger.ts +5 -0
- package/_src/Queue/api/dimapIO.ts +120 -0
- package/_src/Queue/api/filterInputIO.ts +73 -0
- package/_src/Queue/api/filterOutputIO.ts +74 -0
- package/_src/Queue/api/operations.ts +121 -0
- package/_src/Queue/api/poll.ts +11 -0
- package/_src/Queue/api/takeBetween.ts +40 -0
- package/_src/Queue/api/zipWithIO.ts +96 -0
- package/_src/Queue/api.ts +9 -0
- package/_src/Queue/constructors.ts +33 -0
- package/_src/Queue/definition.ts +134 -0
- package/_src/Queue/internal.ts +240 -0
- package/_src/Queue/strategy.ts +177 -0
- package/_src/Queue.ts +7 -0
- package/_src/Random/api.ts +51 -0
- package/_src/Random/definition.ts +21 -0
- package/_src/Random/live.ts +36 -0
- package/_src/Random.ts +5 -0
- package/_src/Ref/Atomic/Atomic.ts +56 -0
- package/_src/Ref/Atomic/api.ts +120 -0
- package/_src/Ref/Atomic.ts +4 -0
- package/_src/Ref/Derived.ts +71 -0
- package/_src/Ref/DerivedAll.ts +75 -0
- package/_src/Ref/Synchronized/api.ts +234 -0
- package/_src/Ref/Synchronized/constructors.ts +12 -0
- package/_src/Ref/Synchronized/definition.ts +126 -0
- package/_src/Ref/api/collect.ts +18 -0
- package/_src/Ref/api/dimap.ts +108 -0
- package/_src/Ref/api/filter.ts +33 -0
- package/_src/Ref/api/get.ts +14 -0
- package/_src/Ref/api/match.ts +24 -0
- package/_src/Ref/api/matchAll.ts +23 -0
- package/_src/Ref/api/modify.ts +225 -0
- package/_src/Ref/api/set.ts +15 -0
- package/_src/Ref/api.ts +39 -0
- package/_src/Ref/constructors.ts +15 -0
- package/_src/Ref/definition.ts +104 -0
- package/_src/Ref.ts +14 -0
- package/_src/RuntimeConfig.ts +37 -0
- package/_src/STM/api/core-api.ts +60 -0
- package/_src/STM/api/core-constructors.ts +65 -0
- package/_src/STM/api.ts +685 -0
- package/_src/STM/definition.ts +155 -0
- package/_src/STM/driver.ts +131 -0
- package/_src/STM/internal/CommitState.ts +75 -0
- package/_src/STM/internal/Entry.ts +76 -0
- package/_src/STM/internal/Journal.ts +341 -0
- package/_src/STM/internal/TryCommit.ts +23 -0
- package/_src/STM/internal/Versioned.ts +7 -0
- package/_src/STM.ts +10 -0
- package/_src/Schedule/Decision.ts +51 -0
- package/_src/Schedule/Driver.ts +24 -0
- package/_src/Schedule/Interval.ts +103 -0
- package/_src/Schedule/api/driver.ts +38 -0
- package/_src/Schedule/api.ts +887 -0
- package/_src/Schedule/definition.ts +60 -0
- package/_src/Schedule.ts +7 -0
- package/_src/Scope/Finalizer/definition.ts +26 -0
- package/_src/Scope/Finalizer.ts +3 -0
- package/_src/Scope/ReleaseMap/api/releaseAll.ts +28 -0
- package/_src/Scope/ReleaseMap/api.ts +86 -0
- package/_src/Scope/ReleaseMap/constructors.ts +17 -0
- package/_src/Scope/ReleaseMap/definition.ts +37 -0
- package/_src/Scope/ReleaseMap.ts +5 -0
- package/_src/Scope/api.ts +117 -0
- package/_src/Scope/definition.ts +31 -0
- package/_src/Scope.ts +4 -0
- package/_src/ScopedRef/api.ts +50 -0
- package/_src/ScopedRef/definition.ts +13 -0
- package/_src/ScopedRef.ts +4 -0
- package/_src/Sink/api.ts +88 -0
- package/_src/Sink/definition.ts +12 -0
- package/_src/Sink.ts +4 -0
- package/_src/State/api.ts +49 -0
- package/_src/State/definition.ts +19 -0
- package/_src/State/internal.ts +10 -0
- package/_src/State.ts +4 -0
- package/_src/Stream/api/zipAllWith.ts +135 -0
- package/_src/Stream/api/zipWith.ts +12 -0
- package/_src/Stream/api/zipWithChunks.ts +89 -0
- package/_src/Stream/api.ts +2931 -0
- package/_src/Stream/definition.ts +42 -0
- package/_src/Stream/internal/DebounceState.ts +79 -0
- package/_src/Stream/internal/Handoff.ts +174 -0
- package/_src/Stream/internal/Pull.ts +58 -0
- package/_src/Stream/internal/SinkEndReason.ts +59 -0
- package/_src/Stream/internal/Take.ts +192 -0
- package/_src/Stream/internal/util.ts +19 -0
- package/_src/Stream.ts +4 -0
- package/_src/Supervisor/api.ts +36 -0
- package/_src/Supervisor/constructors.ts +65 -0
- package/_src/Supervisor/definition.ts +70 -0
- package/_src/Supervisor.ts +5 -0
- package/_src/TExit/constructors.ts +39 -0
- package/_src/TExit/definition.ts +147 -0
- package/_src/TExit.ts +4 -0
- package/_src/TFuture/api.ts +42 -0
- package/_src/TFuture/constructors.ts +14 -0
- package/_src/TFuture/definition.ts +23 -0
- package/_src/TFuture.ts +5 -0
- package/_src/TRef/api.ts +312 -0
- package/_src/TRef/constructors.ts +69 -0
- package/_src/TRef/definition.ts +230 -0
- package/_src/TRef.ts +5 -0
- package/_src/TSemaphore/api.ts +68 -0
- package/_src/TSemaphore/constructors.ts +14 -0
- package/_src/TSemaphore/definition.ts +21 -0
- package/_src/TSemaphore.ts +5 -0
- package/_src/TxnId.ts +19 -0
- package/_src/collection/immutable/Conc/findIO.ts +37 -0
- package/_src/collection/immutable/Conc/mapIO.ts +13 -0
- package/_src/collection/immutable/Conc/takeWhileIO.ts +32 -0
- package/_src/collection/immutable/Conc.ts +5 -0
- package/_src/data/Exit/foreachIO.ts +15 -0
- package/_src/internal/HashedPair.ts +15 -0
- package/_src/internal/Hub.ts +754 -0
- package/_src/internal/MutableQueue.ts +295 -0
- package/_src/internal/Scheduler.ts +15 -0
- package/_src/internal/StackTraceBuilder.ts +16 -0
- package/collection/immutable/Conc/findIO.d.ts +8 -0
- package/collection/immutable/Conc/mapIO.d.ts +7 -0
- package/collection/immutable/Conc/takeWhileIO.d.ts +7 -0
- package/collection/immutable/Conc.d.ts +3 -0
- package/data/Exit/foreachIO.d.ts +9 -0
- package/internal/HashedPair.d.ts +9 -0
- package/internal/Hub.d.ts +121 -0
- package/internal/MutableQueue.d.ts +125 -0
- package/internal/Scheduler.d.ts +1 -0
- package/internal/StackTraceBuilder.d.ts +8 -0
- package/package.json +17 -0
package/Stream/api.d.ts
ADDED
@@ -0,0 +1,1087 @@
|
|
1
|
+
import { Either } from "@fncts/base/data/Either";
|
2
|
+
import { Sink } from "@fncts/io/Sink/definition";
|
3
|
+
import { Schedule } from "@fncts/io/Schedule/definition";
|
4
|
+
import { Maybe } from "@fncts/base/data/Maybe";
|
5
|
+
import { Channel } from "@fncts/io/Channel";
|
6
|
+
import { Conc } from "@fncts/base/collection/immutable/Conc";
|
7
|
+
import { Cause } from "@fncts/base/data/Cause";
|
8
|
+
import { Lazy } from "@fncts/base/data/function";
|
9
|
+
import { IO, UIO } from "@fncts/io/IO/definition";
|
10
|
+
import { Exit } from "@fncts/base/data/Exit";
|
11
|
+
import { Has } from "@fncts/base/typeclass/Has";
|
12
|
+
import { Scope } from "@fncts/io/Scope/definition";
|
13
|
+
import { Future } from "@fncts/io/Future";
|
14
|
+
import { Ref } from "@fncts/io/Ref";
|
15
|
+
import { Environment } from "@fncts/base/data/Environment";
|
16
|
+
import { HashMap } from "@fncts/base/collection/immutable/HashMap";
|
17
|
+
import { Predicate } from "@fncts/base/data/Predicate";
|
18
|
+
import { Fiber } from "@fncts/io/Fiber/definition";
|
19
|
+
import { Refinement } from "@fncts/base/data/Refinement";
|
20
|
+
import { Layer } from "@fncts/io/Layer";
|
21
|
+
import { Hub } from "@fncts/io/Hub/definition";
|
22
|
+
import type { PHub } from "../Hub.js";
|
23
|
+
import type { Canceler } from "../IO.js";
|
24
|
+
import type { PQueue } from "../Queue.js";
|
25
|
+
import type { Erase } from "@fncts/typelevel/Intersection.js";
|
26
|
+
import { MergeDecision } from "../Channel/internal/MergeDecision.js";
|
27
|
+
import { Queue } from "../Queue.js";
|
28
|
+
import { Stream } from "./definition.js";
|
29
|
+
import { Take } from "./internal/Take.js";
|
30
|
+
/**
|
31
|
+
* Submerges the error case of an `Either` into the `Stream`.
|
32
|
+
* @tsplus getter fncts.io.Stream absolve
|
33
|
+
* @tsplus location "@fncts/io/Stream/api"
|
34
|
+
*/
|
35
|
+
export declare function absolve<R, E, E2, A>(self: Stream<R, E, Either<E2, A>>): Stream<R, E | E2, A>;
|
36
|
+
/**
|
37
|
+
* Aggregates elements of this stream using the provided sink for as long
|
38
|
+
* as the downstream operators on the stream are busy.
|
39
|
+
*
|
40
|
+
* This operator divides the stream into two asynchronous "islands". Operators upstream
|
41
|
+
* of this operator run on one fiber, while downstream operators run on another. Whenever
|
42
|
+
* the downstream fiber is busy processing elements, the upstream fiber will feed elements
|
43
|
+
* into the sink until it signals completion.
|
44
|
+
*
|
45
|
+
* Any sink can be used here, but see `Sink.foldWeightedM` and `Sink.foldUntilM` for
|
46
|
+
* sinks that cover the common usecases.
|
47
|
+
* @tsplus fluent fncts.io.Stream aggregateAsync
|
48
|
+
* @tsplus location "@fncts/io/Stream/api"
|
49
|
+
*/
|
50
|
+
export declare function aggregateAsync_<R, E, A extends A1, R1, E1, A1, B>(stream: Stream<R, E, A>, sink: Sink<R1, E1, A1, A1, B>): Stream<R & R1, E | E1, B>;
|
51
|
+
/**
|
52
|
+
* Like `aggregateAsyncWithinEither`, but only returns the `Right` results.
|
53
|
+
* @tsplus fluent fncts.io.Stream aggregateAsyncWithin
|
54
|
+
* @tsplus location "@fncts/io/Stream/api"
|
55
|
+
*/
|
56
|
+
export declare function aggregateAsyncWithin_<R, E, A extends A1, R1, E1, A1, B, R2, C>(stream: Stream<R, E, A>, sink: Sink<R1, E1, A1, A1, B>, schedule: Schedule<R2, Maybe<B>, C>): Stream<R & R1 & R2, E | E1, B>;
|
57
|
+
/**
|
58
|
+
* Aggregates elements using the provided sink until it completes, or until the
|
59
|
+
* delay signalled by the schedule has passed.
|
60
|
+
*
|
61
|
+
* This operator divides the stream into two asynchronous islands. Operators upstream
|
62
|
+
* of this operator run on one fiber, while downstream operators run on another. Elements
|
63
|
+
* will be aggregated by the sink until the downstream fiber pulls the aggregated value,
|
64
|
+
* or until the schedule's delay has passed.
|
65
|
+
*
|
66
|
+
* Aggregated elements will be fed into the schedule to determine the delays between
|
67
|
+
* pulls.
|
68
|
+
* @tsplus fluent fncts.io.Stream aggregateAsyncWithinEither
|
69
|
+
* @tsplus location "@fncts/io/Stream/api"
|
70
|
+
*/
|
71
|
+
export declare function aggregateAsyncWithinEither_<R, E, A extends A1, R1, E1, A1, B, R2, C>(stream: Stream<R, E, A>, sink: Sink<R1, E1, A1, A1, B>, schedule: Schedule<R2, Maybe<B>, C>): Stream<R & R1 & R2, E | E1, Either<C, B>>;
|
72
|
+
/**
|
73
|
+
* Composes this stream with the specified stream to create a cartesian product of elements,
|
74
|
+
* but keeps only elements from this stream.
|
75
|
+
* The `that` stream would be run multiple times, for every element in the `this` stream.
|
76
|
+
* @tsplus fluent fncts.io.Stream apFirst
|
77
|
+
* @tsplus location "@fncts/io/Stream/api"
|
78
|
+
*/
|
79
|
+
export declare function apFirst_<R, R1, E, E1, A, A1>(stream: Stream<R, E, A>, that: Stream<R1, E1, A1>): Stream<R & R1, E | E1, A>;
|
80
|
+
/**
|
81
|
+
* Composes this stream with the specified stream to create a cartesian product of elements,
|
82
|
+
* but keeps only elements from the other stream.
|
83
|
+
* The `that` stream would be run multiple times, for every element in the `this` stream.
|
84
|
+
* @tsplus fluent fncts.io.Stream apSecond
|
85
|
+
* @tsplus location "@fncts/io/Stream/api"
|
86
|
+
*/
|
87
|
+
export declare function apSecond_<R, R1, E, E1, A, A1>(stream: Stream<R, E, A>, that: Stream<R1, E1, A1>): Stream<R & R1, E | E1, A1>;
|
88
|
+
/**
|
89
|
+
* Maps the success values of this stream to the specified constant value.
|
90
|
+
* @tsplus fluent fncts.io.Stream as
|
91
|
+
* @tsplus location "@fncts/io/Stream/api"
|
92
|
+
*/
|
93
|
+
export declare function as_<R, E, A, B>(stream: Stream<R, E, A>, b: Lazy<B>): Stream<R, E, B>;
|
94
|
+
/**
|
95
|
+
* @tsplus static fncts.io.StreamOps asyncInterrupt
|
96
|
+
* @tsplus location "@fncts/io/Stream/api"
|
97
|
+
*/
|
98
|
+
export declare function asyncInterrupt<R, E, A>(register: (resolve: (next: IO<R, Maybe<E>, Conc<A>>, offerCb?: (e: Exit<never, boolean>) => void) => void) => Either<Canceler<R>, Stream<R, E, A>>, outputBuffer?: number): Stream<R, E, A>;
|
99
|
+
/**
|
100
|
+
* Creates a stream from an asynchronous callback that can be called multiple times.
|
101
|
+
* The registration of the callback can possibly return the stream synchronously.
|
102
|
+
* The optionality of the error type `E` can be used to signal the end of the stream,
|
103
|
+
* by setting it to `None`.
|
104
|
+
* @tsplus static fncts.io.StreamOps asyncMaybe
|
105
|
+
* @tsplus location "@fncts/io/Stream/api"
|
106
|
+
*/
|
107
|
+
export declare function asyncMaybe<R, E, A>(register: (resolve: (next: IO<R, Maybe<E>, Conc<A>>, offerCb?: (e: Exit<never, boolean>) => void) => void) => Maybe<Stream<R, E, A>>, outputBuffer?: number): Stream<R, E, A>;
|
108
|
+
/**
|
109
|
+
* @tsplus static fncts.io.StreamOps async
|
110
|
+
* @tsplus location "@fncts/io/Stream/api"
|
111
|
+
*/
|
112
|
+
export declare function async<R, E, A>(register: (resolve: (next: IO<R, Maybe<E>, Conc<A>>, offerCb?: (e: Exit<never, boolean>) => void) => void) => void, outputBuffer?: number): Stream<R, E, A>;
|
113
|
+
/**
|
114
|
+
* @tsplus static fncts.io.StreamOps asyncIO
|
115
|
+
* @tsplus location "@fncts/io/Stream/api"
|
116
|
+
*/
|
117
|
+
export declare function asyncIO<R, E, A, R1 = R, E1 = E>(register: (resolve: (next: IO<R, Maybe<E>, Conc<A>>, offerCb?: (e: Exit<never, boolean>) => void) => void) => IO<R1, E1, unknown>, outputBuffer?: number): Stream<R & R1, E | E1, A>;
|
118
|
+
/**
|
119
|
+
* Returns a stream whose failure and success channels have been mapped by
|
120
|
+
* the specified pair of functions, `f` and `g`.
|
121
|
+
*/
|
122
|
+
export declare function bimap_<R, E, E1, A, A1>(stream: Stream<R, E, A>, f: (e: E) => E1, g: (a: A) => A1): Stream<R, E1, A1>;
|
123
|
+
/**
|
124
|
+
* Creates a stream from a single value that will get cleaned up after the
|
125
|
+
* stream is consumed
|
126
|
+
* @tsplus static fncts.io.StreamOps acquireRelease
|
127
|
+
* @tsplus location "@fncts/io/Stream/api"
|
128
|
+
*/
|
129
|
+
export declare function acquireRelease_<R, E, A, R1>(acquire: IO<R, E, A>, release: (a: A) => IO<R1, never, unknown>): Stream<R & R1, E, A>;
|
130
|
+
/**
|
131
|
+
* Creates a stream from a single value that will get cleaned up after the
|
132
|
+
* stream is consumed
|
133
|
+
* @tsplus static fncts.io.StreamOps acquireReleaseExit
|
134
|
+
* @tsplus location "@fncts/io/Stream/api"
|
135
|
+
*/
|
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>): Stream<R & R1, E, A>;
|
137
|
+
/**
|
138
|
+
* Fan out the stream, producing a list of streams that have the same elements as this stream.
|
139
|
+
* The driver stream will only ever advance of the `maximumLag` chunks before the
|
140
|
+
* slowest downstream stream.
|
141
|
+
* @tsplus fluent fncts.io.Stream broadcast
|
142
|
+
* @tsplus location "@fncts/io/Stream/api"
|
143
|
+
*/
|
144
|
+
export declare function broadcast_<R, E, A>(stream: Stream<R, E, A>, n: number, maximumLag: number): IO<R & Has<Scope>, never, Conc<Stream<unknown, E, A>>>;
|
145
|
+
/**
|
146
|
+
* Fan out the stream, producing a dynamic number of streams that have the same elements as this stream.
|
147
|
+
* The driver stream will only ever advance of the `maximumLag` chunks before the
|
148
|
+
* slowest downstream stream.
|
149
|
+
* @tsplus fluent fncts.io.Stream broadcastDynamic
|
150
|
+
* @tsplus location "@fncts/io/Stream/api"
|
151
|
+
*/
|
152
|
+
export declare function broadcastDynamic_<R, E, A>(stream: Stream<R, E, A>, maximumLag: number): IO<R & Has<Scope>, never, Stream<unknown, E, A>>;
|
153
|
+
/**
|
154
|
+
* Converts the stream to a managed list of queues. Every value will be replicated to every queue with the
|
155
|
+
* slowest queue being allowed to buffer `maximumLag` chunks before the driver is backpressured.
|
156
|
+
*
|
157
|
+
* Queues can unsubscribe from upstream by shutting down.
|
158
|
+
* @tsplus fluent fncts.io.Stream broadcastedQueues
|
159
|
+
* @tsplus location "@fncts/io/Stream/api"
|
160
|
+
*/
|
161
|
+
export declare function broadcastedQueues_<R, E, A>(stream: Stream<R, E, A>, n: number, maximumLag: number): IO<R & Has<Scope>, never, Conc<Hub.Dequeue<unknown, never, Take<E, A>>>>;
|
162
|
+
/**
|
163
|
+
* Converts the stream to a managed dynamic amount of queues. Every chunk will be replicated to every queue with the
|
164
|
+
* slowest queue being allowed to buffer `maximumLag` chunks before the driver is backpressured.
|
165
|
+
*
|
166
|
+
* Queues can unsubscribe from upstream by shutting down.
|
167
|
+
* @tsplus fluent fncts.io.Stream broadcastedQueuesDynamic
|
168
|
+
* @tsplus location "@fncts/io/Stream/api"
|
169
|
+
*/
|
170
|
+
export declare function broadcastedQueuesDynamic_<R, E, A>(stream: Stream<R, E, A>, maximumLag: number): IO<R & Has<Scope>, never, IO<Has<Scope>, never, Hub.Dequeue<unknown, never, Take<E, A>>>>;
|
171
|
+
/**
|
172
|
+
* Allows a faster producer to progress independently of a slower consumer by buffering
|
173
|
+
* up to `capacity` elements in a queue.
|
174
|
+
* @tsplus fluent fncts.io.Stream buffer
|
175
|
+
* @tsplus location "@fncts/io/Stream/api"
|
176
|
+
*/
|
177
|
+
export declare function buffer_<R, E, A>(stream: Stream<R, E, A>, capacity: number): Stream<R, E, A>;
|
178
|
+
/**
|
179
|
+
* @tsplus fluent fncts.io.Stream bufferChunks
|
180
|
+
* @tsplus location "@fncts/io/Stream/api"
|
181
|
+
*/
|
182
|
+
export declare function bufferChunks_<R, E, A>(stream: Stream<R, E, A>, capacity: number): Stream<R, E, A>;
|
183
|
+
/**
|
184
|
+
* Allows a faster producer to progress independently of a slower consumer by buffering
|
185
|
+
* elements into an unbounded queue.
|
186
|
+
* @tsplus getter fncts.io.Stream bufferUnbounded
|
187
|
+
* @tsplus location "@fncts/io/Stream/api"
|
188
|
+
*/
|
189
|
+
export declare function bufferUnbounded<R, E, A>(stream: Stream<R, E, A>): Stream<R, E, A>;
|
190
|
+
/**
|
191
|
+
* Switches over to the stream produced by the provided function in case this one
|
192
|
+
* fails with a typed error.
|
193
|
+
* @tsplus fluent fncts.io.Stream catchAll
|
194
|
+
* @tsplus location "@fncts/io/Stream/api"
|
195
|
+
*/
|
196
|
+
export declare function catchAll_<R, R1, E, E1, A, A1>(stream: Stream<R, E, A>, f: (e: E) => Stream<R1, E1, A1>): Stream<R & R1, E1, A | A1>;
|
197
|
+
/**
|
198
|
+
* Switches over to the stream produced by the provided function in case this one
|
199
|
+
* fails. Allows recovery from all causes of failure, including interruption if the
|
200
|
+
* stream is uninterruptible.
|
201
|
+
* @tsplus fluent fncts.io.Stream catchAllCause
|
202
|
+
* @tsplus location "@fncts/io/Stream/api"
|
203
|
+
*/
|
204
|
+
export declare function catchAllCause_<R, R1, E, E1, A, A1>(stream: Stream<R, E, A>, f: (cause: Cause<E>) => Stream<R1, E1, A1>): Stream<R & R1, E1, A | A1>;
|
205
|
+
/**
|
206
|
+
* Switches over to the stream produced by the provided function in case this one
|
207
|
+
* fails with some typed error.
|
208
|
+
* @tsplus fluent fncts.io.Stream catchJust
|
209
|
+
* @tsplus location "@fncts/io/Stream/api"
|
210
|
+
*/
|
211
|
+
export declare function catchJust_<R, R1, E, E1, A, A1>(stream: Stream<R, E, A>, pf: (e: E) => Maybe<Stream<R1, E1, A1>>): Stream<R & R1, E | E1, A | A1>;
|
212
|
+
/**
|
213
|
+
* Switches over to the stream produced by the provided function in case this one
|
214
|
+
* fails with some errors. Allows recovery from all causes of failure, including interruption if the
|
215
|
+
* stream is uninterruptible.
|
216
|
+
* @tsplus fluent fncts.io.Stream catchJustCause
|
217
|
+
* @tsplus location "@fncts/io/Stream/api"
|
218
|
+
*/
|
219
|
+
export declare function catchJustCause_<R, R1, E, E1, A, A1>(stream: Stream<R, E, A>, pf: (e: Cause<E>) => Maybe<Stream<R1, E1, A1>>): Stream<R & R1, E | E1, A | A1>;
|
220
|
+
/**
|
221
|
+
* Returns a stream made of the concatenation in strict order of all the streams
|
222
|
+
* produced by passing each element of this stream to `f`
|
223
|
+
* @tsplus fluent fncts.io.Stream flatMap
|
224
|
+
* @tsplus location "@fncts/io/Stream/api"
|
225
|
+
*/
|
226
|
+
export declare function flatMap_<R, E, A, R1, E1, B>(stream: Stream<R, E, A>, f: (a: A) => Stream<R1, E1, B>): Stream<R & R1, E | E1, B>;
|
227
|
+
/**
|
228
|
+
* Exposes the underlying chunks of the stream as a stream of chunks of elements
|
229
|
+
* @tsplus getter fncts.io.Stream chunks
|
230
|
+
* @tsplus location "@fncts/io/Stream/api"
|
231
|
+
*/
|
232
|
+
export declare function chunks<R, E, A>(stream: Stream<R, E, A>): Stream<R, E, Conc<A>>;
|
233
|
+
/**
|
234
|
+
* Returns a new stream that only emits elements that are not equal to the
|
235
|
+
* previous element emitted, using the specified function to determine
|
236
|
+
* whether two elements are equal.
|
237
|
+
* @tsplus fluent fncts.io.Stream changesWith
|
238
|
+
* @tsplus location "@fncts/io/Stream/api"
|
239
|
+
*/
|
240
|
+
export declare function changesWith_<R, E, A>(stream: Stream<R, E, A>, f: (x: A, y: A) => boolean): Stream<R, E, A>;
|
241
|
+
/**
|
242
|
+
* Transforms all elements of the stream for as long as the specified partial function is defined.
|
243
|
+
* @tsplus fluent fncts.io.Stream collectWhile
|
244
|
+
* @tsplus location "@fncts/io/Stream/api"
|
245
|
+
*/
|
246
|
+
export declare function collectWhile_<R, E, A, A1>(stream: Stream<R, E, A>, pf: (a: A) => Maybe<A1>): Stream<R, E, A1>;
|
247
|
+
/**
|
248
|
+
* Effectfully transforms all elements of the stream for as long as the specified partial function is defined.
|
249
|
+
*/
|
250
|
+
export declare function collectWhileIO_<R, E, A, R1, E1, B>(stream: Stream<R, E, A>, pf: (a: A) => Maybe<IO<R1, E1, B>>): Stream<R & R1, E | E1, B>;
|
251
|
+
/**
|
252
|
+
* Combines the elements from this stream and the specified stream by repeatedly applying the
|
253
|
+
* function `f` to extract an element using both sides and conceptually "offer"
|
254
|
+
* it to the destination stream. `f` can maintain some internal state to control
|
255
|
+
* the combining process, with the initial state being specified by `s`.
|
256
|
+
*
|
257
|
+
* Where possible, prefer `Stream#combineChunks` for a more efficient implementation.
|
258
|
+
* @tsplus fluent fncts.io.Stream combine
|
259
|
+
* @tsplus location "@fncts/io/Stream/api"
|
260
|
+
*/
|
261
|
+
export declare function combine_<R, E, A, R1, E1, A1, S, R2, A2>(stream: Stream<R, E, A>, 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]>>): Stream<R & R1 & R2, E | E1, A2>;
|
262
|
+
/**
|
263
|
+
* Combines the chunks from this stream and the specified stream by repeatedly applying the
|
264
|
+
* function `f` to extract a chunk using both sides and conceptually "offer"
|
265
|
+
* it to the destination stream. `f` can maintain some internal state to control
|
266
|
+
* the combining process, with the initial state being specified by `s`.
|
267
|
+
* @tsplus fluent fncts.io.Stream combineChunks
|
268
|
+
* @tsplus location "@fncts/io/Stream/api"
|
269
|
+
*/
|
270
|
+
export declare function combineChunks_<R, E, A, R1, E1, A1, S, R2, A2>(stream: Stream<R, E, A>, 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]>>): Stream<R1 & R & R2, E | E1, A2>;
|
271
|
+
/**
|
272
|
+
* Concatenates the specified stream with this stream, resulting in a stream
|
273
|
+
* that emits the elements from this stream and then the elements from the specified stream.
|
274
|
+
* @tsplus fluent fncts.io.Stream concat
|
275
|
+
* @tsplus location "@fncts/io/Stream/api"
|
276
|
+
*/
|
277
|
+
export declare function concat_<R, R1, E, E1, A, A1>(stream: Stream<R, E, A>, that: Stream<R1, E1, A1>): Stream<R & R1, E | E1, A | A1>;
|
278
|
+
/**
|
279
|
+
* Composes this stream with the specified stream to create a cartesian product of elements.
|
280
|
+
* The `that` stream would be run multiple times, for every element in the `this` stream.
|
281
|
+
* @tsplus fluent fncts.io.Stream cross
|
282
|
+
* @tsplus location "@fncts/io/Stream/api"
|
283
|
+
*/
|
284
|
+
export declare function cross_<R, E, A, R1, E1, B>(stream: Stream<R, E, A>, that: Stream<R1, E1, B>): Stream<R & R1, E | E1, readonly [A, B]>;
|
285
|
+
/**
|
286
|
+
* Composes this stream with the specified stream to create a cartesian product of elements
|
287
|
+
* with a specified function.
|
288
|
+
* The `fb` stream would be run multiple times, for every element in the `fa` stream.
|
289
|
+
* @tsplus fluent fncts.io.Stream crossWith
|
290
|
+
* @tsplus location "@fncts/io/Stream/api"
|
291
|
+
*/
|
292
|
+
export declare function crossWith_<R, E, A, R1, E1, B, C>(fa: Stream<R, E, A>, fb: Stream<R1, E1, B>, f: (a: A, b: B) => C): Stream<R & R1, E | E1, C>;
|
293
|
+
/**
|
294
|
+
* Provides some of the environment required to run this effect,
|
295
|
+
* leaving the remainder `R0`.
|
296
|
+
* @tsplus fluent fncts.io.Stream contramapEnvironment
|
297
|
+
* @tsplus location "@fncts/io/Stream/api"
|
298
|
+
*/
|
299
|
+
export declare function contramapEnvironment_<R, E, A, R0>(ra: Stream<R, E, A>, f: (r0: Environment<R0>) => Environment<R>): Stream<R0, E, A>;
|
300
|
+
/**
|
301
|
+
* @tsplus fluent fncts.io.Stream debounce
|
302
|
+
* @tsplus location "@fncts/io/Stream/api"
|
303
|
+
*/
|
304
|
+
export declare function debounce_<R, E, A>(stream: Stream<R, E, A>, duration: number): Stream<R, E, A>;
|
305
|
+
/**
|
306
|
+
* Switches to the provided stream in case this one is empty.
|
307
|
+
* @tsplus fluent fncts.io.Stream defaultIfEmpty
|
308
|
+
* @tsplus location "@fncts/io/Stream/api"
|
309
|
+
*/
|
310
|
+
export declare function defaultIfEmpty_<R, E, A, R1, E1, B>(fa: Stream<R, E, A>, fb: Stream<R1, E1, B>): Stream<R & R1, E | E1, A | B>;
|
311
|
+
/**
|
312
|
+
* More powerful version of `broadcast`. Allows to provide a function that determines what
|
313
|
+
* queues should receive which elements. The decide function will receive the indices of the queues
|
314
|
+
* in the resulting list.
|
315
|
+
* @tsplus fluent fncts.io.Stream distributedWith
|
316
|
+
* @tsplus location "@fncts/io/Stream/api"
|
317
|
+
*/
|
318
|
+
export declare function distributedWith_<R, E, A>(self: Stream<R, E, A>, n: number, maximumLag: number, decide: (_: A) => UIO<(_: number) => boolean>): IO<R & Has<Scope>, never, Conc<Queue.Dequeue<Exit<Maybe<E>, A>>>>;
|
319
|
+
/**
|
320
|
+
* More powerful version of `ZStream#distributedWith`. This returns a function that will produce
|
321
|
+
* new queues and corresponding indices.
|
322
|
+
* You can also provide a function that will be executed after the final events are enqueued in all queues.
|
323
|
+
* Shutdown of the queues is handled by the driver.
|
324
|
+
* Downstream users can also shutdown queues manually. In this case the driver will
|
325
|
+
* continue but no longer backpressure on them.
|
326
|
+
* @tsplus fluent fncts.io.Stream distributedWithDynamic
|
327
|
+
* @tsplus location "@fncts/io/Stream/api"
|
328
|
+
*/
|
329
|
+
export declare function distributedWithDynamic_<R, E, A>(self: Stream<R, E, A>, maximumLag: number, decide: (a: A) => UIO<(_: symbol) => boolean>, done?: (exit: Exit<Maybe<E>, never>) => UIO<any>): IO<R & Has<Scope>, never, UIO<readonly [symbol, Queue.Dequeue<Exit<Maybe<E>, A>>]>>;
|
330
|
+
/**
|
331
|
+
* Converts this stream to a stream that executes its effects but emits no
|
332
|
+
* elements. Useful for sequencing effects using streams.
|
333
|
+
* @tsplus getter fncts.io.Stream drain
|
334
|
+
* @tsplus location "@fncts/io/Stream/api"
|
335
|
+
*/
|
336
|
+
export declare function drain<R, E, A>(fa: Stream<R, E, A>): Stream<R, E, void>;
|
337
|
+
/**
|
338
|
+
* Drops the specified number of elements from this stream.
|
339
|
+
* @tsplus fluent fncts.io.Stream drop
|
340
|
+
* @tsplus location "@fncts/io/Stream/api"
|
341
|
+
*/
|
342
|
+
export declare function drop_<R, E, A>(stream: Stream<R, E, A>, n: number): Stream<R, E, A>;
|
343
|
+
/**
|
344
|
+
* Drops all elements of the stream for as long as the specified predicate
|
345
|
+
* evaluates to `true`.
|
346
|
+
* @tsplus fluent fncts.io.Stream dropWhile
|
347
|
+
* @tsplus location "@fncts/io/Stream/api"
|
348
|
+
*/
|
349
|
+
export declare function dropWhile_<R, E, A>(stream: Stream<R, E, A>, p: Predicate<A>): Stream<R, E, A>;
|
350
|
+
/**
|
351
|
+
* Drops all elements of the stream until the specified predicate evaluates
|
352
|
+
* to `true`.
|
353
|
+
* @tsplus fluent fncts.io.Stream dropUntil
|
354
|
+
* @tsplus location "@fncts/io/Stream/api"
|
355
|
+
*/
|
356
|
+
export declare function dropUntil_<R, E, A>(stream: Stream<R, E, A>, p: Predicate<A>): Stream<R, E, A>;
|
357
|
+
/**
|
358
|
+
* Returns a stream whose failures and successes have been lifted into an
|
359
|
+
* `Either`. The resulting stream cannot fail, because the failures have
|
360
|
+
* been exposed as part of the `Either` success case.
|
361
|
+
* @note the stream will end as soon as the first error occurs.
|
362
|
+
* @tsplus getter fncts.io.Stream either
|
363
|
+
* @tsplus location "@fncts/io/Stream/api"
|
364
|
+
*/
|
365
|
+
export declare function either<R, E, A>(stream: Stream<R, E, A>): Stream<R, never, Either<E, A>>;
|
366
|
+
/**
|
367
|
+
* @tsplus static fncts.io.StreamOps empty
|
368
|
+
* @tsplus location "@fncts/io/Stream/api"
|
369
|
+
*/
|
370
|
+
export declare const empty: Stream<unknown, never, never>;
|
371
|
+
/**
|
372
|
+
* Halts the evaluation of this stream when the provided IO completes. The given IO
|
373
|
+
* will be forked as part of the returned stream, and its success will be discarded.
|
374
|
+
*
|
375
|
+
* An element in the process of being pulled will not be interrupted when the IO
|
376
|
+
* completes. See `interruptWhen` for this behavior.
|
377
|
+
*
|
378
|
+
* If the IO completes with a failure, the stream will emit that failure.
|
379
|
+
* @tsplus fluent fncts.io.Stream endWhen
|
380
|
+
* @tsplus location "@fncts/io/Stream/api"
|
381
|
+
*/
|
382
|
+
export declare function endWhen_<R, E, A, R1, E1>(stream: Stream<R, E, A>, io: IO<R1, E1, any>): Stream<R & R1, E | E1, A>;
|
383
|
+
/**
|
384
|
+
* @tsplus fluent fncts.io.Stream ensuring
|
385
|
+
* @tsplus location "@fncts/io/Stream/api"
|
386
|
+
*/
|
387
|
+
export declare function ensuring_<R, E, A, R1>(self: Stream<R, E, A>, finalizer: IO<R1, never, any>): Stream<R & R1, E, A>;
|
388
|
+
/**
|
389
|
+
* @tsplus static fncts.io.StreamOps environment
|
390
|
+
* @tsplus location "@fncts/io/Stream/api"
|
391
|
+
*/
|
392
|
+
export declare function environment<R>(): Stream<R, never, Environment<R>>;
|
393
|
+
/**
|
394
|
+
* Accesses the environment of the stream.
|
395
|
+
* @tsplus static fncts.io.StreamOps environmentWith
|
396
|
+
* @tsplus location "@fncts/io/Stream/api"
|
397
|
+
*/
|
398
|
+
export declare function environmentWith<R, A>(f: (r: Environment<R>) => A): Stream<R, never, A>;
|
399
|
+
/**
|
400
|
+
* Accesses the environment of the stream in the context of an effect.
|
401
|
+
* @tsplus static fncts.io.StreamOps environmentWithIO
|
402
|
+
* @tsplus location "@fncts/io/Stream/api"
|
403
|
+
*/
|
404
|
+
export declare function environmentWithIO<R0, R, E, A>(f: (r0: Environment<R0>) => IO<R, E, A>): Stream<R0 & R, E, A>;
|
405
|
+
/**
|
406
|
+
* Accesses the environment of the stream in the context of a stream.
|
407
|
+
* @tsplus static fncts.io.StreamOps environmentWithStream
|
408
|
+
* @tsplus location "@fncts/io/Stream/api"
|
409
|
+
*/
|
410
|
+
export declare function environmentWithStream<R0, R, E, A>(f: (r0: Environment<R0>) => Stream<R, E, A>): Stream<R0 & R, E, A>;
|
411
|
+
/**
|
412
|
+
* Halt a stream with the specified error
|
413
|
+
* @tsplus static fncts.io.StreamOps failNow
|
414
|
+
* @tsplus location "@fncts/io/Stream/api"
|
415
|
+
*/
|
416
|
+
export declare function failNow<E>(error: E): Stream<unknown, E, never>;
|
417
|
+
/**
|
418
|
+
* Halt a stream with the specified error
|
419
|
+
* @tsplus static fncts.io.StreamOps fail
|
420
|
+
* @tsplus location "@fncts/io/Stream/api"
|
421
|
+
*/
|
422
|
+
export declare function fail<E>(error: Lazy<E>): Stream<unknown, E, never>;
|
423
|
+
/**
|
424
|
+
* The stream that always halts with `cause`.
|
425
|
+
* @tsplus static fncts.io.StreamOps failCauseNow
|
426
|
+
* @tsplus location "@fncts/io/Stream/api"
|
427
|
+
*/
|
428
|
+
export declare function failCauseNow<E>(cause: Cause<E>): Stream<unknown, E, never>;
|
429
|
+
/**
|
430
|
+
* The stream that always halts with `cause`.
|
431
|
+
* @tsplus static fncts.io.StreamOps failCause
|
432
|
+
* @tsplus location "@fncts/io/Stream/api"
|
433
|
+
*/
|
434
|
+
export declare function failCause<E>(cause: Lazy<Cause<E>>): Stream<unknown, E, never>;
|
435
|
+
/**
|
436
|
+
* @tsplus fluent fncts.io.Stream filter
|
437
|
+
* @tsplus location "@fncts/io/Stream/api"
|
438
|
+
*/
|
439
|
+
export declare function filter_<R, E, A, B extends A>(fa: Stream<R, E, A>, refinement: Refinement<A, B>): Stream<R, E, B>;
|
440
|
+
export declare function filter_<R, E, A>(fa: Stream<R, E, A>, predicate: Predicate<A>): Stream<R, E, A>;
|
441
|
+
/**
|
442
|
+
* @tsplus fluent fncts.io.Stream filterIO
|
443
|
+
* @tsplus location "@fncts/io/Stream/api"
|
444
|
+
*/
|
445
|
+
export declare function filterIO_<R, E, A, R1, E1>(fa: Stream<R, E, A>, f: (a: A) => IO<R1, E1, boolean>): Stream<R & R1, E | E1, A>;
|
446
|
+
/**
|
447
|
+
* @tsplus fluent fncts.io.Stream filterMap
|
448
|
+
* @tsplus location "@fncts/io/Stream/api"
|
449
|
+
*/
|
450
|
+
export declare function filterMap_<R, E, A, B>(fa: Stream<R, E, A>, f: (a: A) => Maybe<B>): Stream<R, E, B>;
|
451
|
+
/**
|
452
|
+
* @tsplus fluent fncts.io.Stream filterMapIO
|
453
|
+
* @tsplus location "@fncts/io/Stream/api"
|
454
|
+
*/
|
455
|
+
export declare function filterMapIO_<R, E, A, R1, E1, B>(fa: Stream<R, E, A>, f: (a: A) => IO<R1, E1, Maybe<B>>): Stream<R & R1, E | E1, B>;
|
456
|
+
/**
|
457
|
+
* Finds the first element emitted by this stream that satisfies the provided predicate.
|
458
|
+
* @tsplus fluent fncts.io.Stream find
|
459
|
+
* @tsplus location "@fncts/io/Stream/api"
|
460
|
+
*/
|
461
|
+
export declare function find_<R, E, A>(stream: Stream<R, E, A>, p: Predicate<A>): Stream<R, E, A>;
|
462
|
+
/**
|
463
|
+
* Finds the first element emitted by this stream that satisfies the provided effectful predicate.
|
464
|
+
* @tsplus fluent fncts.io.Stream findIO
|
465
|
+
* @tsplus location "@fncts/io/Stream/api"
|
466
|
+
*/
|
467
|
+
export declare function findIO_<R, E, A, R1, E1>(stream: Stream<R, E, A>, f: (a: A) => IO<R1, E1, boolean>): Stream<R & R1, E | E1, A>;
|
468
|
+
/**
|
469
|
+
* Flattens this stream-of-streams into a stream made of the concatenation in
|
470
|
+
* strict order of all the streams.
|
471
|
+
* @tsplus getter fncts.io.Stream flatten
|
472
|
+
* @tsplus location "@fncts/io/Stream/api"
|
473
|
+
*/
|
474
|
+
export declare function flatten<R, E, R1, E1, A>(self: Stream<R, E, Stream<R1, E1, A>>): Stream<R & R1, E | E1, A>;
|
475
|
+
/**
|
476
|
+
* Unwraps `Exit` values that also signify end-of-stream by failing with `None`.
|
477
|
+
*
|
478
|
+
* For `Exit<E, A>` values that do not signal end-of-stream, prefer:
|
479
|
+
* @tsplus getter fncts.io.Stream flattenExitOption
|
480
|
+
* @tsplus location "@fncts/io/Stream/api"
|
481
|
+
*/
|
482
|
+
export declare function flattenExitOption<R, E, E1, A>(stream: Stream<R, E, Exit<Maybe<E1>, A>>): Stream<R, E | E1, A>;
|
483
|
+
/**
|
484
|
+
* Unwraps `Exit` values and flatten chunks that also signify end-of-stream by failing with `None`.
|
485
|
+
* @tsplus getter fncts.io.Stream flattenTake
|
486
|
+
* @tsplus location "@fncts/io/Stream/api"
|
487
|
+
*/
|
488
|
+
export declare function flattenTake<R, E, E1, A>(stream: Stream<R, E, Take<E1, A>>): Stream<R, E | E1, A>;
|
489
|
+
/**
|
490
|
+
* Submerges the chunks carried by this stream into the stream's structure, while
|
491
|
+
* still preserving them.
|
492
|
+
* @tsplus getter fncts.io.Stream flattenChunks
|
493
|
+
* @tsplus location "@fncts/io/Stream/api"
|
494
|
+
*/
|
495
|
+
export declare function flattenChunks<R, E, A>(stream: Stream<R, E, Conc<A>>): Stream<R, E, A>;
|
496
|
+
/**
|
497
|
+
* Repeats this stream forever.
|
498
|
+
* @tsplus getter fncts.io.Stream forever
|
499
|
+
* @tsplus location "@fncts/io/Stream/api"
|
500
|
+
*/
|
501
|
+
export declare function forever<R, E, A>(stream: Stream<R, E, A>): Stream<R, E, A>;
|
502
|
+
/**
|
503
|
+
* Creates a stream from a `Chunk` of values
|
504
|
+
* @tsplus static fncts.io.StreamOps fromChunkNow
|
505
|
+
* @tsplus location "@fncts/io/Stream/api"
|
506
|
+
*/
|
507
|
+
export declare function fromChunkNow<O>(c: Conc<O>): Stream<unknown, never, O>;
|
508
|
+
/**
|
509
|
+
* Creates a stream from a `Chunk` of values
|
510
|
+
* @tsplus static fncts.io.StreamOps fromChunk
|
511
|
+
* @tsplus location "@fncts/io/Stream/api"
|
512
|
+
*/
|
513
|
+
export declare function fromChunk<O>(c: Lazy<Conc<O>>): Stream<unknown, never, O>;
|
514
|
+
/**
|
515
|
+
* Creates a single-valued stream from a managed resource
|
516
|
+
* @tsplus static fncts.io.StreamOps scoped
|
517
|
+
* @tsplus location "@fncts/io/Stream/api"
|
518
|
+
*/
|
519
|
+
export declare function scoped<R, E, A>(stream: IO<R & Has<Scope>, E, A>): Stream<R, E, A>;
|
520
|
+
/**
|
521
|
+
* Creates a stream from an effect producing a value of type `A`
|
522
|
+
* @tsplus static fncts.io.StreamOps fromIO
|
523
|
+
* @tsplus location "@fncts/io/Stream/api"
|
524
|
+
*/
|
525
|
+
export declare function fromIO<R, E, A>(fa: IO<R, E, A>): Stream<R, E, A>;
|
526
|
+
/**
|
527
|
+
* Creates a stream from an effect producing a value of type `A` or an empty Stream
|
528
|
+
* @tsplus static fncts.io.StreamOps fromIOMaybe
|
529
|
+
* @tsplus location "@fncts/io/Stream/api"
|
530
|
+
*/
|
531
|
+
export declare function fromIOMaybe<R, E, A>(fa: IO<R, Maybe<E>, A>): Stream<R, E, A>;
|
532
|
+
/**
|
533
|
+
* @tsplus static fncts.io.StreamOps fromAsyncIterable
|
534
|
+
* @tsplus location "@fncts/io/Stream/api"
|
535
|
+
*/
|
536
|
+
export declare function fromAsyncIterable<A>(iterable: AsyncIterable<A>): Stream<unknown, never, A>;
|
537
|
+
/**
|
538
|
+
* @tsplus static fncts.io.StreamOps fromIterable
|
539
|
+
* @tsplus location "@fncts/io/Stream/api"
|
540
|
+
*/
|
541
|
+
export declare function fromIterable<A>(iterable: Iterable<A>, maxChunkSize?: number): Stream<unknown, never, A>;
|
542
|
+
/**
|
543
|
+
* @tsplus static fncts.io.StreamOps fromIterableSingle
|
544
|
+
* @tsplus location "@fncts/io/Stream/api"
|
545
|
+
*/
|
546
|
+
export declare function fromIterableSingle<A>(iterable: Iterable<A>): Stream<unknown, never, A>;
|
547
|
+
/**
|
548
|
+
* @tsplus static fncts.io.StreamOps fromPull
|
549
|
+
* @tsplus location "@fncts/io/Stream/api"
|
550
|
+
*/
|
551
|
+
export declare function fromPull<R, E, A>(scopedPull: IO<R & Has<Scope>, never, IO<R, Maybe<E>, Conc<A>>>): Stream<R, E, A>;
|
552
|
+
/**
|
553
|
+
* Creates a stream from a `Queue` of values
|
554
|
+
* @tsplus static fncts.io.StreamOps fromQueue
|
555
|
+
* @tsplus location "@fncts/io/Stream/api"
|
556
|
+
*/
|
557
|
+
export declare function fromQueue_<R, E, O>(queue: PQueue<never, R, unknown, E, never, O>, maxChunkSize?: number): Stream<R, E, O>;
|
558
|
+
/**
|
559
|
+
* @tsplus static fncts.io.StreamOps fromQueueWithShutdown
|
560
|
+
* @tsplus location "@fncts/io/Stream/api"
|
561
|
+
*/
|
562
|
+
export declare function fromQueueWithShutdown<R, E, A>(queue: PQueue<never, R, unknown, E, never, A>, maxChunkSize?: number): Stream<R, E, A>;
|
563
|
+
/**
|
564
|
+
* Halt a stream with the specified exception
|
565
|
+
* @tsplus static fncts.io.StreamOps haltNow
|
566
|
+
* @tsplus location "@fncts/io/Stream/api"
|
567
|
+
*/
|
568
|
+
export declare function haltNow(u: unknown): Stream<unknown, never, never>;
|
569
|
+
/**
|
570
|
+
* Halt a stream with the specified exception
|
571
|
+
* @tsplus static fncts.io.StreamOps halt
|
572
|
+
* @tsplus location "@fncts/io/Stream/api"
|
573
|
+
*/
|
574
|
+
export declare function halt(u: Lazy<unknown>): Stream<unknown, never, never>;
|
575
|
+
/**
|
576
|
+
* Halts the evaluation of this stream when the provided IO completes. The
|
577
|
+
* given IO will be forked as part of the returned stream, and its success
|
578
|
+
* will be discarded.
|
579
|
+
*
|
580
|
+
* An element in the process of being pulled will not be interrupted when the
|
581
|
+
* IO completes. See `interruptWhen` for this behavior.
|
582
|
+
*
|
583
|
+
* If the IO completes with a failure, the stream will emit that failure.
|
584
|
+
* @tsplus fluent fncts.io.Stream haltWhen
|
585
|
+
* @tsplus location "@fncts/io/Stream/api"
|
586
|
+
*/
|
587
|
+
export declare function haltWhen_<R, E, A, R1, E1>(fa: Stream<R, E, A>, io: IO<R1, E1, any>): Stream<R & R1, E | E1, A>;
|
588
|
+
/**
|
589
|
+
* Halts the evaluation of this stream when the provided promise resolves.
|
590
|
+
*
|
591
|
+
* If the promise completes with a failure, the stream will emit that failure.
|
592
|
+
* @tsplus fluent fncts.io.Stream haltWhen
|
593
|
+
* @tsplus location "@fncts/io/Stream/api"
|
594
|
+
*/
|
595
|
+
export declare function haltWhenFuture_<R, E, A, E1>(fa: Stream<R, E, A>, future: Future<E1, any>): Stream<R, E | E1, A>;
|
596
|
+
/**
|
597
|
+
* @tsplus fluent fncts.io.Stream interleave
|
598
|
+
* @tsplus location "@fncts/io/Stream/api"
|
599
|
+
*/
|
600
|
+
export declare function interleave_<R, E, A, R1, E1, B>(sa: Stream<R, E, A>, sb: Stream<R1, E1, B>): Stream<R & R1, E | E1, A | B>;
|
601
|
+
/**
|
602
|
+
* Combines this stream and the specified stream deterministically using the
|
603
|
+
* stream of boolean values `b` to control which stream to pull from next.
|
604
|
+
* `true` indicates to pull from this stream and `false` indicates to pull
|
605
|
+
* from the specified stream. Only consumes as many elements as requested by
|
606
|
+
* `b`. If either this stream or the specified stream are exhausted further
|
607
|
+
* requests for values from that stream will be ignored.
|
608
|
+
* @tsplus fluent fncts.io.Stream interleaveWith
|
609
|
+
* @tsplus location "@fncts/io/Stream/api"
|
610
|
+
*/
|
611
|
+
export declare function interleaveWith_<R, E, A, R1, E1, B, R2, E2>(sa: Stream<R, E, A>, sb: Stream<R1, E1, B>, b: Stream<R2, E2, boolean>): Stream<R & R1 & R2, E | E1 | E2, A | B>;
|
612
|
+
/**
|
613
|
+
* Intersperse stream with provided element
|
614
|
+
*/
|
615
|
+
export declare function intersperse_<R, E, A, A1>(stream: Stream<R, E, A>, middle: A1): Stream<R, E, A | A1>;
|
616
|
+
/**
|
617
|
+
* Interrupts the evaluation of this stream when the provided IO completes. The given
|
618
|
+
* IO will be forked as part of this stream, and its success will be discarded. This
|
619
|
+
* combinator will also interrupt any in-progress element being pulled from upstream.
|
620
|
+
*
|
621
|
+
* If the IO completes with a failure before the stream completes, the returned stream
|
622
|
+
* will emit that failure.
|
623
|
+
* @tsplus fluent fncts.io.Stream interruptWhen
|
624
|
+
* @tsplus location "@fncts/io/Stream/api"
|
625
|
+
*/
|
626
|
+
export declare function interruptWhen_<R, E, A, R1, E1>(stream: Stream<R, E, A>, io: IO<R1, E1, any>): Stream<R & R1, E | E1, A>;
|
627
|
+
/**
|
628
|
+
* @tsplus fluent fncts.io.Stream interruptWhen
|
629
|
+
* @tsplus location "@fncts/io/Stream/api"
|
630
|
+
*/
|
631
|
+
export declare function interruptWhenFuture_<R, E, A, E1>(fa: Stream<R, E, A>, future: Future<E1, unknown>): Stream<R, E | E1, A>;
|
632
|
+
/**
|
633
|
+
* Loops over the stream chunks concatenating the result of f
|
634
|
+
* @tsplus fluent fncts.io.Stream loopOnChunks
|
635
|
+
* @tsplus location "@fncts/io/Stream/api"
|
636
|
+
*/
|
637
|
+
export declare function loopOnChunks_<R, E, A, R1, E1, A1>(stream: Stream<R, E, A>, f: (a: Conc<A>) => Channel<R1, E | E1, Conc<A>, unknown, E | E1, Conc<A1>, boolean>): Stream<R & R1, E | E1, A1>;
|
638
|
+
/**
|
639
|
+
* Loops on chunks emitting partially
|
640
|
+
* @tsplus fluent fncts.io.Stream loopOnPartialChunks
|
641
|
+
* @tsplus location "@fncts/io/Stream/api"
|
642
|
+
*/
|
643
|
+
export declare function loopOnPartialChunks_<R, E, A, R1, E1, A1>(stream: Stream<R, E, A>, f: (a: Conc<A>, emit: (a: A1) => UIO<void>) => IO<R1, E1, boolean>): Stream<R & R1, E | E1, A1>;
|
644
|
+
/**
|
645
|
+
* Loops on chunks elements emitting partially
|
646
|
+
* @tsplus fluent fncts.io.Stream loopOnPartialChunksElements
|
647
|
+
* @tsplus location "@fncts/io/Stream/api"
|
648
|
+
*/
|
649
|
+
export declare function loopOnPartialChunksElements_<R, E, A, R1, E1, A1>(stream: Stream<R, E, A>, f: (a: A, emit: (a: A1) => UIO<void>) => IO<R1, E1, void>): Stream<R & R1, E | E1, A1>;
|
650
|
+
/**
|
651
|
+
* Transforms the elements of this stream using the supplied function.
|
652
|
+
* @tsplus fluent fncts.io.Stream map
|
653
|
+
* @tsplus location "@fncts/io/Stream/api"
|
654
|
+
*/
|
655
|
+
export declare function map_<R, E, A, B>(stream: Stream<R, E, A>, f: (o: A) => B): Stream<R, E, B>;
|
656
|
+
/**
|
657
|
+
* Statefully maps over the elements of this stream to produce new elements.
|
658
|
+
* @tsplus fluent fncts.io.Stream mapAccum
|
659
|
+
* @tsplus location "@fncts/io/Stream/api"
|
660
|
+
*/
|
661
|
+
export declare function mapAccum_<R, E, A, S, B>(stream: Stream<R, E, A>, s: S, f: (s: S, a: A) => readonly [B, S]): Stream<R, E, B>;
|
662
|
+
/**
|
663
|
+
* Statefully and effectfully maps over the elements of this stream to produce
|
664
|
+
* new elements.
|
665
|
+
* @tsplus fluent fncts.io.Stream mapAccumIO
|
666
|
+
* @tsplus location "@fncts/io/Stream/api"
|
667
|
+
*/
|
668
|
+
export declare function mapAccumIO_<R, E, A, R1, E1, S, B>(stream: Stream<R, E, A>, s: S, f: (s: S, a: A) => IO<R1, E1, readonly [B, S]>): Stream<R & R1, E | E1, B>;
|
669
|
+
/**
|
670
|
+
* Transforms the chunks emitted by this stream.
|
671
|
+
* @tsplus fluent fncts.io.Stream mapChunks
|
672
|
+
* @tsplus location "@fncts/io/Stream/api"
|
673
|
+
*/
|
674
|
+
export declare function mapChunks_<R, E, A, A1>(stream: Stream<R, E, A>, f: (chunk: Conc<A>) => Conc<A1>): Stream<R, E, A1>;
|
675
|
+
/**
|
676
|
+
* Effectfully transforms the chunks emitted by this stream.
|
677
|
+
* @tsplus fluent fncts.io.Stream mapChunksIO
|
678
|
+
* @tsplus location "@fncts/io/Stream/api"
|
679
|
+
*/
|
680
|
+
export declare function mapChunksIO_<R, E, A, R1, E1, B>(stream: Stream<R, E, A>, f: (chunk: Conc<A>) => IO<R1, E1, Conc<B>>): Stream<R & R1, E | E1, B>;
|
681
|
+
/**
|
682
|
+
* Maps each element to an iterable, and flattens the iterables into the
|
683
|
+
* output of this stream.
|
684
|
+
* @tsplus fluent fncts.io.Stream mapConcat
|
685
|
+
* @tsplus location "@fncts/io/Stream/api"
|
686
|
+
*/
|
687
|
+
export declare function mapConcat_<R, E, A, B>(stream: Stream<R, E, A>, f: (a: A) => Iterable<B>): Stream<R, E, B>;
|
688
|
+
/**
|
689
|
+
* Maps each element to a chunk, and flattens the chunks into the output of
|
690
|
+
* this stream.
|
691
|
+
* @tsplus fluent fncts.io.Stream mapConcatChunk
|
692
|
+
* @tsplus location "@fncts/io/Stream/api"
|
693
|
+
*/
|
694
|
+
export declare function mapConcatChunk_<R, E, A, B>(stream: Stream<R, E, A>, f: (a: A) => Conc<B>): Stream<R, E, B>;
|
695
|
+
/**
|
696
|
+
* Effectfully maps each element to a chunk, and flattens the chunks into
|
697
|
+
* the output of this stream.
|
698
|
+
* @tsplus fluent fncts.io.Stream mapConcatChunkIO
|
699
|
+
* @tsplus location "@fncts/io/Stream/api"
|
700
|
+
*/
|
701
|
+
export declare function mapConcatChunkIO_<R, E, A, R1, E1, B>(stream: Stream<R, E, A>, f: (a: A) => IO<R1, E1, Conc<B>>): Stream<R & R1, E | E1, B>;
|
702
|
+
/**
|
703
|
+
* Effectfully maps each element to an iterable, and flattens the iterables into
|
704
|
+
* the output of this stream.
|
705
|
+
* @tsplus fluent fncts.io.Stream mapConcatIO
|
706
|
+
* @tsplus location "@fncts/io/Stream/api"
|
707
|
+
*/
|
708
|
+
export declare function mapConcatIO_<R, E, A, R1, E1, B>(stream: Stream<R, E, A>, f: (a: A) => IO<R1, E1, Iterable<B>>): Stream<R & R1, E | E1, B>;
|
709
|
+
/**
|
710
|
+
* Transforms the errors emitted by this stream using `f`.
|
711
|
+
* @tsplus fluent fncts.io.Stream mapError
|
712
|
+
* @tsplus location "@fncts/io/Stream/api"
|
713
|
+
*/
|
714
|
+
export declare function mapError_<R, E, E1, A>(stream: Stream<R, E, A>, f: (e: E) => E1): Stream<R, E1, A>;
|
715
|
+
/**
|
716
|
+
* Transforms the full causes of failures emitted by this stream.
|
717
|
+
* @tsplus fluent fncts.io.Stream mapErrorCause
|
718
|
+
* @tsplus location "@fncts/io/Stream/api"
|
719
|
+
*/
|
720
|
+
export declare function mapErrorCause_<R, E, A, E1>(fa: Stream<R, E, A>, f: (e: Cause<E>) => Cause<E1>): Stream<R, E1, A>;
|
721
|
+
/**
|
722
|
+
* Maps over elements of the stream with the specified effectful function.
|
723
|
+
* @tsplus fluent fncts.io.Stream mapIO
|
724
|
+
* @tsplus location "@fncts/io/Stream/api"
|
725
|
+
*/
|
726
|
+
export declare function mapIO_<R, E, A, R1, E1, B>(stream: Stream<R, E, A>, f: (a: A) => IO<R1, E1, B>): Stream<R & R1, E | E1, B>;
|
727
|
+
/**
|
728
|
+
* Maps over elements of the stream with the specified effectful function,
|
729
|
+
* executing up to `n` invocations of `f` concurrently. Transformed elements
|
730
|
+
* will be emitted in the original order.
|
731
|
+
* @note This combinator destroys the chunking structure. It's recommended to use chunkN afterwards.
|
732
|
+
* @tsplus fluent fncts.io.Stream mapIOC
|
733
|
+
* @tsplus location "@fncts/io/Stream/api"
|
734
|
+
*/
|
735
|
+
export declare function mapIOC_<R, E, A, R1, E1, B>(stream: Stream<R, E, A>, n: number, f: (a: A) => IO<R1, E1, B>): Stream<R & R1, E | E1, B>;
|
736
|
+
/**
|
737
|
+
* Maps each element of this stream to another stream and returns the
|
738
|
+
* non-deterministic merge of those streams, executing up to `n` inner streams
|
739
|
+
* concurrently. Up to `bufferSize` elements of the produced streams may be
|
740
|
+
* buffered in memory by this operator.
|
741
|
+
* @tsplus fluent fncts.io.Stream mergeMap
|
742
|
+
* @tsplus location "@fncts/io/Stream/api"
|
743
|
+
*/
|
744
|
+
export declare function mergeMap_<R, E, A, R1, E1, B>(ma: Stream<R, E, A>, f: (a: A) => Stream<R1, E1, B>, n: number, bufferSize?: number): Stream<R & R1, E | E1, B>;
|
745
|
+
/**
|
746
|
+
* Maps over elements of the stream with the specified effectful function,
|
747
|
+
* executing up to `n` invocations of `f` concurrently. The element order
|
748
|
+
* is not enforced by this combinator, and elements may be reordered.
|
749
|
+
* @tsplus fluent fncts.io.Stream mergeMapIO
|
750
|
+
* @tsplus location "@fncts/io/Stream/api"
|
751
|
+
*/
|
752
|
+
export declare function mergeMapIO_<R, E, A, R1, E1, B>(stream: Stream<R, E, A>, f: (a: A) => IO<R1, E1, B>, n: number, bufferSize?: number): Stream<R & R1, E | E1, B>;
|
753
|
+
/**
|
754
|
+
* @tsplus fluent fncts.io.Stream mergeEither
|
755
|
+
* @tsplus location "@fncts/io/Stream/api"
|
756
|
+
*/
|
757
|
+
export declare function mergeEither_<R, E, A, R1, E1, B>(fa: Stream<R, E, A>, fb: Stream<R1, E1, B>): Stream<R & R1, E | E1, Either<A, B>>;
|
758
|
+
export declare function mergeWithHandler<R, E>(terminate: boolean): (exit: Exit<E, unknown>) => MergeDecision<R, E, unknown, E, unknown>;
|
759
|
+
export declare type TerminationStrategy = "Left" | "Right" | "Both" | "Either";
|
760
|
+
/**
|
761
|
+
* @tsplus fluent fncts.io.Stream mergeWith
|
762
|
+
* @tsplus location "@fncts/io/Stream/api"
|
763
|
+
*/
|
764
|
+
export declare function mergeWith_<R, E, A, R1, E1, A1, B, C>(sa: Stream<R, E, A>, sb: Stream<R1, E1, A1>, l: (a: A) => B, r: (b: A1) => C, strategy?: TerminationStrategy): Stream<R & R1, E | E1, B | C>;
|
765
|
+
/**
|
766
|
+
* Runs the specified effect if this stream fails, providing the error to the effect if it exists.
|
767
|
+
*
|
768
|
+
* Note: Unlike `IO.onError`, there is no guarantee that the provided effect will not be interrupted.
|
769
|
+
* @tsplus fluent fncts.io.Stream onError
|
770
|
+
* @tsplus location "@fncts/io/Stream/api"
|
771
|
+
*/
|
772
|
+
export declare function onError_<R, E, A, R1>(stream: Stream<R, E, A>, cleanup: (e: Cause<E>) => IO<R1, never, any>): Stream<R & R1, E, A>;
|
773
|
+
/**
|
774
|
+
* Switches to the provided stream in case this one fails with a typed error.
|
775
|
+
*
|
776
|
+
* See also Stream#catchAll
|
777
|
+
* @tsplus fluent fncts.io.Stream orElse
|
778
|
+
* @tsplus location "@fncts/io/Stream/api"
|
779
|
+
*/
|
780
|
+
export declare function orElse_<R, E, A, R1, E1, A1>(stream: Stream<R, E, A>, that: Lazy<Stream<R1, E1, A1>>): Stream<R & R1, E1, A | A1>;
|
781
|
+
/**
|
782
|
+
* Switches to the provided stream in case this one fails with a typed error.
|
783
|
+
*
|
784
|
+
* See also ZStream#catchAll
|
785
|
+
* @tsplus fluent fncts.io.Stream orElseEither
|
786
|
+
* @tsplus location "@fncts/io/Stream/api"
|
787
|
+
*/
|
788
|
+
export declare function orElseEither_<R, E, A, R1, E1, A1>(stream: Stream<R, E, A>, that: Lazy<Stream<R1, E1, A1>>): Stream<R & R1, E1, Either<A, A1>>;
|
789
|
+
/**
|
790
|
+
* Fails with given error in case this one fails with a typed error.
|
791
|
+
*
|
792
|
+
* See also Stream#catchAll
|
793
|
+
* @tsplus fluent fncts.io.Stream orElseFail
|
794
|
+
* @tsplus location "@fncts/io/Stream/api"
|
795
|
+
*/
|
796
|
+
export declare function orElseFail_<R, E, A, E1>(stream: Stream<R, E, A>, e: Lazy<E1>): Stream<R, E1, A>;
|
797
|
+
/**
|
798
|
+
* Switches to the provided stream in case this one fails with the `None` value.
|
799
|
+
*
|
800
|
+
* See also Stream#catchAll.
|
801
|
+
*/
|
802
|
+
export declare function orElseOptional_<R, E, A, R1, E1, A1>(stream: Stream<R, Maybe<E>, A>, that: Lazy<Stream<R1, Maybe<E1>, A1>>): Stream<R & R1, Maybe<E | E1>, A | A1>;
|
803
|
+
/**
|
804
|
+
* Succeeds with the specified value if this one fails with a typed error.
|
805
|
+
* @tsplus fluent fncts.io.Stream orElseSucceed
|
806
|
+
* @tsplus location "@fncts/io/Stream/api"
|
807
|
+
*/
|
808
|
+
export declare function orElseSucceed_<R, E, A, A1>(stream: Stream<R, E, A>, a: Lazy<A1>): Stream<R, never, A | A1>;
|
809
|
+
/**
|
810
|
+
* @tsplus fluent fncts.io.Stream pipeThrough
|
811
|
+
* @tsplus location "@fncts/io/Stream/api"
|
812
|
+
*/
|
813
|
+
export declare function pipeThrough_<R, E, A, R1, E1, L, Z>(ma: Stream<R, E, A>, sa: Sink<R1, E1, A, L, Z>): Stream<R & R1, E | E1, L>;
|
814
|
+
/**
|
815
|
+
* Provides the stream with its required environment, which eliminates
|
816
|
+
* its dependency on `R`.
|
817
|
+
* @tsplus fluent fncts.io.Stream provideEnvironment
|
818
|
+
* @tsplus location "@fncts/io/Stream/api"
|
819
|
+
*/
|
820
|
+
export declare function provideEnvironment_<R, E, A>(ra: Stream<R, E, A>, r: Environment<R>): Stream<unknown, E, A>;
|
821
|
+
/**
|
822
|
+
* @tsplus fluent fncts.io.Stream provideLayer
|
823
|
+
* @tsplus location "@fncts/io/Stream/api"
|
824
|
+
*/
|
825
|
+
export declare function provideLayer_<RIn, E, ROut, E1, A>(self: Stream<ROut, E, A>, layer: Layer<RIn, E1, ROut>, __tsplusTrace?: string): Stream<RIn, E | E1, A>;
|
826
|
+
/**
|
827
|
+
* @tsplus fluent fncts.io.Stream provideSomeLayer
|
828
|
+
* @tsplus location "@fncts/io/Stream/api"
|
829
|
+
*/
|
830
|
+
export declare function provideSomeLayer_<R, E, A, RIn, E1, ROut>(self: Stream<R, E, A>, layer: Layer<RIn, E1, ROut>, __tsplusTrace?: string): Stream<RIn & Erase<R, ROut>, E | E1, A>;
|
831
|
+
/**
|
832
|
+
* Re-chunks the elements of the stream into chunks of
|
833
|
+
* `n` elements each.
|
834
|
+
* The last chunk might contain less than `n` elements
|
835
|
+
* @tsplus fluent fncts.io.Stream rechunk
|
836
|
+
* @tsplus location "@fncts/io/Stream/api"
|
837
|
+
*/
|
838
|
+
export declare function rechunk_<R, E, A>(stream: Stream<R, E, A>, n: number): Stream<R, E, A>;
|
839
|
+
/**
|
840
|
+
* Repeats the provided value infinitely.
|
841
|
+
* @tsplus static fncts.io.StreamOps repeatValue
|
842
|
+
* @tsplus location "@fncts/io/Stream/api"
|
843
|
+
*/
|
844
|
+
export declare function repeatValue<A>(a: A): Stream<unknown, never, A>;
|
845
|
+
/**
|
846
|
+
* Creates a stream from an effect producing a value of type `A` which repeats forever.
|
847
|
+
* @tsplus static fncts.io.StreamOps repeatIO
|
848
|
+
* @tsplus location "@fncts/io/Stream/api"
|
849
|
+
*/
|
850
|
+
export declare function repeatIO<R, E, A>(fa: IO<R, E, A>): Stream<R, E, A>;
|
851
|
+
/**
|
852
|
+
* Creates a stream from an effect producing values of type `A` until it fails with None.
|
853
|
+
* @tsplus static fncts.io.StreamOps repeatIOMaybe
|
854
|
+
* @tsplus location "@fncts/io/Stream/api"
|
855
|
+
*/
|
856
|
+
export declare function repeatIOMaybe<R, E, A>(fa: IO<R, Maybe<E>, A>): Stream<R, E, A>;
|
857
|
+
/**
|
858
|
+
* Creates a stream from an effect producing chunks of `A` values which repeats forever.
|
859
|
+
* @tsplus static fncts.io.StreamOps repeatIOChunk
|
860
|
+
* @tsplus location "@fncts/io/Stream/api"
|
861
|
+
*/
|
862
|
+
export declare function repeatIOChunk<R, E, A>(fa: IO<R, E, Conc<A>>): Stream<R, E, A>;
|
863
|
+
/**
|
864
|
+
* Creates a stream from an effect producing chunks of `A` values until it fails with None.
|
865
|
+
* @tsplus static fncts.io.StreamOps repeatIOChunkMaybe
|
866
|
+
* @tsplus location "@fncts/io/Stream/api"
|
867
|
+
*/
|
868
|
+
export declare function repeatIOChunkMaybe<R, E, A>(fa: IO<R, Maybe<E>, Conc<A>>): Stream<R, E, A>;
|
869
|
+
/**
|
870
|
+
* Runs the sink on the stream to produce either the sink's result or an error.
|
871
|
+
* @tsplus fluent fncts.io.Stream run
|
872
|
+
* @tsplus location "@fncts/io/Stream/api"
|
873
|
+
*/
|
874
|
+
export declare function run_<R, E, A, R2, E2, Z>(stream: Stream<R, E, A>, sink: Sink<R2, E2, A, unknown, Z>): IO<R & R2, E | E2, Z>;
|
875
|
+
/**
|
876
|
+
* Runs the stream and collects all of its elements to a chunk.
|
877
|
+
* @tsplus getter fncts.io.Stream runCollect
|
878
|
+
* @tsplus location "@fncts/io/Stream/api"
|
879
|
+
*/
|
880
|
+
export declare function runCollect<R, E, A>(stream: Stream<R, E, A>): IO<R, E, Conc<A>>;
|
881
|
+
/**
|
882
|
+
* Runs the stream and collects ignore its elements.
|
883
|
+
* @tsplus getter fncts.io.Stream runDrain
|
884
|
+
* @tsplus location "@fncts/io/Stream/api"
|
885
|
+
*/
|
886
|
+
export declare function runDrain<R, E, A>(stream: Stream<R, E, A>): IO<R, E, void>;
|
887
|
+
/**
|
888
|
+
* @tsplus fluent fncts.io.Stream runForeachScoped
|
889
|
+
* @tsplus location "@fncts/io/Stream/api"
|
890
|
+
*/
|
891
|
+
export declare function runForeachScoped_<R, E, A, R2, E2>(self: Stream<R, E, A>, f: (a: A) => IO<R2, E2, any>): IO<R & R2 & Has<Scope>, E | E2, void>;
|
892
|
+
/**
|
893
|
+
* Like `into`, but provides the result as a `Managed` to allow for scope
|
894
|
+
* composition.
|
895
|
+
* @tsplus fluent fncts.io.Stream runIntoElementsScoped
|
896
|
+
* @tsplus location "@fncts/io/Stream/api"
|
897
|
+
*/
|
898
|
+
export declare function runIntoElementsScoped_<R, E, A, R1, E1>(stream: Stream<R, E, A>, queue: PQueue<R1, unknown, never, never, Exit<Maybe<E | E1>, A>, unknown>): IO<R & R1 & Has<Scope>, E | E1, void>;
|
899
|
+
/**
|
900
|
+
* Like `Stream#into`, but provides the result as a `Managed` to allow for scope
|
901
|
+
* composition.
|
902
|
+
* @tsplus fluent fncts.io.Stream runIntoQueueScoped
|
903
|
+
* @tsplus location "@fncts/io/Stream/api"
|
904
|
+
*/
|
905
|
+
export declare function runIntoQueueScoped_<R, R1, E extends E1, E1, A>(stream: Stream<R, E, A>, queue: PQueue<R1, never, never, unknown, Take<E1, A>, any>): IO<R & R1 & Has<Scope>, E | E1, void>;
|
906
|
+
/**
|
907
|
+
* Like `Stream#runIntoHub`, but provides the result as a `Managed` to allow for scope
|
908
|
+
* composition.
|
909
|
+
* @tsplus fluent fncts.io.Stream runIntoHubScoped
|
910
|
+
* @tsplus location "@fncts/io/Stream/api"
|
911
|
+
*/
|
912
|
+
export declare function runIntoHubScoped_<R, R1, E extends E1, E1, A>(stream: Stream<R, E, A>, hub: PHub<R1, never, never, unknown, Take<E1, A>, any>): IO<R & R1 & Has<Scope>, E | E1, void>;
|
913
|
+
/**
|
914
|
+
* Runs the sink on the stream to produce either the sink's result or an error.
|
915
|
+
* @tsplus fluent fncts.io.Stream runScoped
|
916
|
+
* @tsplus location "@fncts/io/Stream/api"
|
917
|
+
*/
|
918
|
+
export declare function runScoped_<R, E, A, R2, E2, Z>(stream: Stream<R, E, A>, sink: Sink<R2, E2, A, unknown, Z>): IO<R & R2 & Has<Scope>, E | E2, Z>;
|
919
|
+
/**
|
920
|
+
* Statefully maps over the elements of this stream to produce all intermediate results
|
921
|
+
* of type `B` given an initial B.
|
922
|
+
* @tsplus fluent fncts.io.Stream scan
|
923
|
+
* @tsplus location "@fncts/io/Stream/api"
|
924
|
+
*/
|
925
|
+
export declare function scan_<R, E, A, B>(sa: Stream<R, E, A>, b: B, f: (b: B, a: A) => B): Stream<R, E, B>;
|
926
|
+
/**
|
927
|
+
* Statefully and effectfully maps over the elements of this stream to produce all
|
928
|
+
* intermediate results of type `B` given an initial B.
|
929
|
+
* @tsplus fluent fncts.io.Stream scanIO
|
930
|
+
* @tsplus location "@fncts/io/Stream/api"
|
931
|
+
*/
|
932
|
+
export declare function scanIO_<R, E, A, R1, E1, B>(sa: Stream<R, E, A>, b: B, f: (b: B, a: A) => IO<R1, E1, B>): Stream<R & R1, E | E1, B>;
|
933
|
+
/**
|
934
|
+
* Statefully maps over the elements of this stream to produce all
|
935
|
+
* intermediate results.
|
936
|
+
* @tsplus fluent fncts.io.Stream scanReduce
|
937
|
+
* @tsplus location "@fncts/io/Stream/api"
|
938
|
+
*/
|
939
|
+
export declare function scanReduce_<R, E, A extends B, B>(fa: Stream<R, E, A>, f: (b: B, a: A) => B): Stream<R, E, B>;
|
940
|
+
/**
|
941
|
+
* Statefully and effectfully maps over the elements of this stream to produce
|
942
|
+
* all intermediate results.
|
943
|
+
* @tsplus fluent fncts.io.Stream scanReduceIO
|
944
|
+
* @tsplus location "@fncts/io/Stream/api"
|
945
|
+
*/
|
946
|
+
export declare function scanReduceIO_<R, E, A extends B, R1, E1, B>(fa: Stream<R, E, A>, f: (b: B, a: A) => IO<R1, E1, B>): Stream<R & R1, E | E1, B>;
|
947
|
+
/**
|
948
|
+
* Creates a single-valued pure stream
|
949
|
+
* @tsplus static fncts.io.StreamOps succeedNow
|
950
|
+
* @tsplus location "@fncts/io/Stream/api"
|
951
|
+
*/
|
952
|
+
export declare function succeedNow<O>(o: O): Stream<unknown, never, O>;
|
953
|
+
/**
|
954
|
+
* Creates a single-valued pure stream
|
955
|
+
* @tsplus static fncts.io.StreamOps succeed
|
956
|
+
* @tsplus location "@fncts/io/Stream/api"
|
957
|
+
*/
|
958
|
+
export declare function succeed<A>(a: Lazy<A>): Stream<unknown, never, A>;
|
959
|
+
/**
|
960
|
+
* Takes the specified number of elements from this stream.
|
961
|
+
* @tsplus fluent fncts.io.Stream take
|
962
|
+
* @tsplus location "@fncts/io/Stream/api"
|
963
|
+
*/
|
964
|
+
export declare function take_<R, E, A>(stream: Stream<R, E, A>, n: number): Stream<R, E, A>;
|
965
|
+
/**
|
966
|
+
* @tsplus fluent fncts.io.Stream takeUntilIO
|
967
|
+
* @tsplus location "@fncts/io/Stream/api"
|
968
|
+
*/
|
969
|
+
export declare function takeUntilIO_<R, E, A, R1, E1>(ma: Stream<R, E, A>, f: (a: A) => IO<R1, E1, boolean>): Stream<R & R1, E | E1, A>;
|
970
|
+
/**
|
971
|
+
* Takes all elements of the stream until the specified predicate evaluates
|
972
|
+
* to `true`.
|
973
|
+
* @tsplus fluent fncts.io.Stream takeUntil
|
974
|
+
* @tsplus location "@fncts/io/Stream/api"
|
975
|
+
*/
|
976
|
+
export declare function takeUntil_<R, E, A>(fa: Stream<R, E, A>, p: Predicate<A>): Stream<R, E, A>;
|
977
|
+
/**
|
978
|
+
* @tsplus fluent fncts.io.Stream tap
|
979
|
+
* @tsplus location "@fncts/io/Stream/api"
|
980
|
+
*/
|
981
|
+
export declare function tap_<R, E, A, R1, E1>(ma: Stream<R, E, A>, f: (a: A) => IO<R1, E1, any>): Stream<R & R1, E | E1, A>;
|
982
|
+
/**
|
983
|
+
* Throttles the chunks of this stream according to the given bandwidth parameters using the token bucket
|
984
|
+
* algorithm. Allows for burst in the processing of elements by allowing the token bucket to accumulate
|
985
|
+
* tokens up to a `units + burst` threshold. Chunks that do not meet the bandwidth constraints are dropped.
|
986
|
+
* The weight of each chunk is determined by the `costFn` function.
|
987
|
+
* @tsplus fluent fncts.io.Stream throttleEnforce
|
988
|
+
* @tsplus location "@fncts/io/Stream/api"
|
989
|
+
*/
|
990
|
+
export declare function throttleEnforce_<R, E, A>(sa: Stream<R, E, A>, costFn: (chunk: Conc<A>) => number, units: number, duration: number, burst?: number): Stream<R, E, A>;
|
991
|
+
/**
|
992
|
+
* Throttles the chunks of this stream according to the given bandwidth parameters using the token bucket
|
993
|
+
* algorithm. Allows for burst in the processing of elements by allowing the token bucket to accumulate
|
994
|
+
* tokens up to a `units + burst` threshold. Chunks that do not meet the bandwidth constraints are dropped.
|
995
|
+
* The weight of each chunk is determined by the `costFn` effectful function.
|
996
|
+
* @tsplus fluent fncts.io.Stream throttleEnforceIO
|
997
|
+
* @tsplus location "@fncts/io/Stream/api"
|
998
|
+
*/
|
999
|
+
export declare function throttleEnforceIO_<R, E, A, R1, E1>(sa: Stream<R, E, A>, costFn: (chunk: Conc<A>) => IO<R1, E1, number>, units: number, duration: number, burst?: number): Stream<R & R1, E | E1, A>;
|
1000
|
+
/**
|
1001
|
+
* Converts the stream to a managed hub of chunks. After the managed hub is used,
|
1002
|
+
* the hub will never again produce values and should be discarded.
|
1003
|
+
* @tsplus fluent fncts.io.Stream toHub
|
1004
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1005
|
+
*/
|
1006
|
+
export declare function toHub_<R, E, A>(stream: Stream<R, E, A>, capacity: number): IO<R & Has<Scope>, never, Hub<Take<E, A>>>;
|
1007
|
+
/**
|
1008
|
+
* Interpret the stream as a managed pull
|
1009
|
+
* @tsplus getter fncts.io.Stream toPull
|
1010
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1011
|
+
*/
|
1012
|
+
export declare function toPull<R, E, A>(stream: Stream<R, E, A>): IO<R & Has<Scope>, never, IO<R, Maybe<E>, Conc<A>>>;
|
1013
|
+
/**
|
1014
|
+
* Converts the stream to a managed queue of chunks. After the managed queue is used,
|
1015
|
+
* the queue will never again produce values and should be discarded.
|
1016
|
+
* @tsplus fluent fncts.io.Stream toQueue
|
1017
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1018
|
+
*/
|
1019
|
+
export declare function toQueue_<R, E, A>(stream: Stream<R, E, A>, capacity?: number): IO<R & Has<Scope>, never, Queue<Take<E, A>>>;
|
1020
|
+
/**
|
1021
|
+
* @tsplus fluent fncts.io.Stream toQueueDropping
|
1022
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1023
|
+
*/
|
1024
|
+
export declare function toQueueDropping_<R, E, A>(stream: Stream<R, E, A>, capacity?: number): IO<R & Has<Scope>, never, Queue.Dequeue<Take<E, A>>>;
|
1025
|
+
/**
|
1026
|
+
* @tsplus fluent fncts.io.Stream toQueueOfElements
|
1027
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1028
|
+
*/
|
1029
|
+
export declare function toQueueOfElements_<R, E, A>(stream: Stream<R, E, A>, capacity?: number): IO<R & Has<Scope>, never, Queue.Dequeue<Exit<Maybe<E>, A>>>;
|
1030
|
+
/**
|
1031
|
+
* @tsplus fluent fncts.io.Stream toQueueSliding
|
1032
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1033
|
+
*/
|
1034
|
+
export declare function toQueueSliding_<R, E, A>(stream: Stream<R, E, A>, capacity?: number): IO<R & Has<Scope>, never, Queue.Dequeue<Take<E, A>>>;
|
1035
|
+
/**
|
1036
|
+
* Converts the stream into an unbounded managed queue. After the managed queue
|
1037
|
+
* is used, the queue will never again produce values and should be discarded.
|
1038
|
+
* @tsplus getter fncts.io.Stream toQueueUnbounded
|
1039
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1040
|
+
*/
|
1041
|
+
export declare function toQueueUnbounded<R, E, A>(stream: Stream<R, E, A>): IO<R & Has<Scope>, never, Queue<Take<E, A>>>;
|
1042
|
+
/**
|
1043
|
+
* Creates a stream by effectfully peeling off the "layers" of a value of type `S`
|
1044
|
+
* @tsplus static fncts.io.StreamOps unfoldChunkIO
|
1045
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1046
|
+
*/
|
1047
|
+
export declare function unfoldChunkIO<R, E, A, S>(s: S, f: (s: S) => IO<R, E, Maybe<readonly [Conc<A>, S]>>): Stream<R, E, A>;
|
1048
|
+
/**
|
1049
|
+
* Creates a stream by effectfully peeling off the "layers" of a value of type `S`
|
1050
|
+
* @tsplus static fncts.io.StreamOps unfoldIO
|
1051
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1052
|
+
*/
|
1053
|
+
export declare function unfoldIO<S, R, E, A>(s: S, f: (s: S) => IO<R, E, Maybe<readonly [A, S]>>): Stream<R, E, A>;
|
1054
|
+
/**
|
1055
|
+
* @tsplus static fncts.io.StreamOps unfoldChunk
|
1056
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1057
|
+
*/
|
1058
|
+
export declare function unfoldChunk<S, A>(s: S, f: (s: S) => Maybe<readonly [Conc<A>, S]>): Stream<unknown, never, A>;
|
1059
|
+
/**
|
1060
|
+
* @tsplus static fncts.io.StreamOps unfold
|
1061
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1062
|
+
*/
|
1063
|
+
export declare function unfold<S, A>(s: S, f: (s: S) => Maybe<readonly [A, S]>): Stream<unknown, never, A>;
|
1064
|
+
/**
|
1065
|
+
* Creates a stream produced from an IO
|
1066
|
+
* @tsplus static fncts.io.StreamOps unwrap
|
1067
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1068
|
+
*/
|
1069
|
+
export declare function unwrap<R, E, R1, E1, A>(stream: IO<R, E, Stream<R1, E1, A>>): Stream<R & R1, E | E1, A>;
|
1070
|
+
/**
|
1071
|
+
* Creates a stream produced from a managed
|
1072
|
+
* @tsplus static fncts.io.StreamOps unwrapScoped
|
1073
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1074
|
+
*/
|
1075
|
+
export declare function unwrapScoped<R0, E0, R, E, A>(stream: IO<R0 & Has<Scope>, E0, Stream<R, E, A>>): Stream<R0 & R, E0 | E, A>;
|
1076
|
+
/**
|
1077
|
+
* Zips the two streams so that when a value is emitted by either of the two
|
1078
|
+
* streams, it is combined with the latest value from the other stream to
|
1079
|
+
* produce a result.
|
1080
|
+
*
|
1081
|
+
* Note: tracking the latest value is done on a per-chunk basis. That means
|
1082
|
+
* that emitted elements that are not the last value in chunks will never be
|
1083
|
+
* used for zipping.
|
1084
|
+
* @tsplus fluent fncts.io.Stream zipWithLatest
|
1085
|
+
* @tsplus location "@fncts/io/Stream/api"
|
1086
|
+
*/
|
1087
|
+
export declare function zipWithLatest_<R, E, A, R1, E1, B, C>(fa: Stream<R, E, A>, fb: Stream<R1, E1, B>, f: (a: A, b: B) => C): Stream<R & R1, E | E1, C>;
|