@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/Layer/api.d.ts
ADDED
@@ -0,0 +1,209 @@
|
|
1
|
+
import { Environment } from "@fncts/base/data/Environment";
|
2
|
+
import { Lazy } from "@fncts/base/data/function";
|
3
|
+
import { Cause } from "@fncts/base/data/Cause";
|
4
|
+
import { Has } from "@fncts/base/typeclass/Has";
|
5
|
+
import { Tag } from "@fncts/base/data/Tag";
|
6
|
+
import { IO, URIO } from "@fncts/io/IO/definition";
|
7
|
+
import { Scope } from "@fncts/io/Scope/definition";
|
8
|
+
import type { Spreadable } from "@fncts/base/types";
|
9
|
+
import type { Erase } from "@fncts/typelevel/Intersection";
|
10
|
+
import { Layer } from "@fncts/io/Layer/definition";
|
11
|
+
/**
|
12
|
+
* @tsplus fluent fncts.io.Layer and
|
13
|
+
* @tsplus location "@fncts/io/Layer/api"
|
14
|
+
*/
|
15
|
+
export declare function and_<RIn, E, ROut, RIn1, E1, ROut1>(self: Layer<RIn, E, ROut>, that: Layer<RIn1, E1, ROut1>): Layer<RIn & RIn1, E | E1, ROut & ROut1>;
|
16
|
+
/**
|
17
|
+
* Feeds the output services of this layer into the input of the specified
|
18
|
+
* layer, resulting in a new layer with the inputs of this layer, and the
|
19
|
+
* outputs of both layers.
|
20
|
+
* @tsplus fluent fncts.io.Layer andTo
|
21
|
+
* @tsplus location "@fncts/io/Layer/api"
|
22
|
+
*/
|
23
|
+
export declare function andTo_<RIn, E, ROut, RIn1, E1, ROut1>(self: Layer<RIn, E, ROut>, that: Layer<RIn1, E1, ROut1>): Layer<RIn & Erase<ROut & RIn1, ROut>, E | E1, ROut & ROut1>;
|
24
|
+
/**
|
25
|
+
* Feeds the output services of this layer into the input of the specified
|
26
|
+
* layer, resulting in a new layer with the inputs of this layer, and the
|
27
|
+
* outputs of both layers.
|
28
|
+
* @tsplus fluent fncts.io.Layer andTo
|
29
|
+
* @tsplus location "@fncts/io/Layer/api"
|
30
|
+
*/
|
31
|
+
export declare function andUsing_<RIn, E, ROut, RIn1, E1, ROut1>(self: Layer<RIn1, E1, ROut1>, that: Layer<RIn, E, ROut>): Layer<RIn & Erase<ROut & RIn1, ROut>, E | E1, ROut & ROut1>;
|
32
|
+
/**
|
33
|
+
* @tsplus fluent fncts.io.Layer catchAll
|
34
|
+
* @tsplus location "@fncts/io/Layer/api"
|
35
|
+
*/
|
36
|
+
export declare function catchAll_<RIn, E, ROut, RIn1, E1, ROut1>(self: Layer<RIn, E, ROut>, f: (e: E) => Layer<RIn1, E1, ROut1>): Layer<RIn & RIn1, E1, ROut | ROut1>;
|
37
|
+
/**
|
38
|
+
* @tsplus fluent fncts.io.Layer flatMap
|
39
|
+
* @tsplus location "@fncts/io/Layer/api"
|
40
|
+
*/
|
41
|
+
export declare function flatMap_<RIn, E, ROut, RIn1, E1, ROut1>(self: Layer<RIn, E, ROut>, f: (r: Environment<ROut>) => Layer<RIn1, E1, ROut1>): Layer<RIn & RIn1, E | E1, ROut1>;
|
42
|
+
/**
|
43
|
+
* @tsplus fluent fncts.io.Layer compose
|
44
|
+
* @tsplus location "@fncts/io/Layer/api"
|
45
|
+
*/
|
46
|
+
export declare function compose_<RIn, E, ROut, E1, ROut1>(self: Layer<RIn, E, ROut>, that: Layer<ROut, E1, ROut1>): Layer<RIn, E | E1, ROut1>;
|
47
|
+
/**
|
48
|
+
* @tsplus static fncts.io.LayerOps environment
|
49
|
+
* @tsplus location "@fncts/io/Layer/api"
|
50
|
+
*/
|
51
|
+
export declare function environment<RIn>(): Layer<RIn, never, RIn>;
|
52
|
+
/**
|
53
|
+
* @tsplus static fncts.io.LayerOps fail
|
54
|
+
* @tsplus location "@fncts/io/Layer/api"
|
55
|
+
*/
|
56
|
+
export declare function fail<E>(e: Lazy<E>): Layer<unknown, E, never>;
|
57
|
+
/**
|
58
|
+
* @tsplus static fncts.io.LayerOps failCause
|
59
|
+
* @tsplus location "@fncts/io/Layer/api"
|
60
|
+
*/
|
61
|
+
export declare function failCause<E>(cause: Lazy<Cause<E>>): Layer<unknown, E, never>;
|
62
|
+
/**
|
63
|
+
* @tsplus static fncts.io.LayerOps failCauseNow
|
64
|
+
* @tsplus location "@fncts/io/Layer/api"
|
65
|
+
*/
|
66
|
+
export declare function failCauseNow<E>(cause: Cause<E>): Layer<unknown, E, never>;
|
67
|
+
/**
|
68
|
+
* @tsplus static fncts.io.LayerOps failNow
|
69
|
+
* @tsplus location "@fncts/io/Layer/api"
|
70
|
+
*/
|
71
|
+
export declare function failNow<E>(e: E): Layer<unknown, E, never>;
|
72
|
+
/**
|
73
|
+
* @tsplus getter fncts.io.Layer flatten
|
74
|
+
* @tsplus location "@fncts/io/Layer/api"
|
75
|
+
*/
|
76
|
+
export declare function flatten<RIn, E, RIn1, E1, ROut>(self: Layer<RIn, E, Has<Layer<RIn1, E1, ROut>>>, tag: Tag<Layer<RIn1, E1, ROut>>): Layer<RIn & RIn1, E | E1, ROut>;
|
77
|
+
/**
|
78
|
+
* @tsplus getter fncts.io.Layer fresh
|
79
|
+
* @tsplus location "@fncts/io/Layer/api"
|
80
|
+
*/
|
81
|
+
export declare function fresh<R, E, A>(self: Layer<R, E, A>): Layer<R, E, A>;
|
82
|
+
/**
|
83
|
+
* @tsplus static fncts.io.LayerOps fromFunction
|
84
|
+
* @tsplus location "@fncts/io/Layer/api"
|
85
|
+
*/
|
86
|
+
export declare function fromFunction<R, A>(f: (r: R) => A,
|
87
|
+
/** @tsplus implicit local */ tagR: Tag<R>,
|
88
|
+
/** @tsplus implicit local */ tagA: Tag<A>): Layer<Has<R>, never, Has<A>>;
|
89
|
+
/**
|
90
|
+
* @tsplus static fncts.io.LayerOps fromFunctionIO
|
91
|
+
* @tsplus location "@fncts/io/Layer/api"
|
92
|
+
*/
|
93
|
+
export declare function fromFunctionIO<R, E, A, R1>(f: (r: R) => IO<R1, E, A>, tagR: Tag<R>, tagA: Tag<A>): Layer<R1 & Has<R>, E, Has<A>>;
|
94
|
+
/**
|
95
|
+
* @tsplus static fncts.io.LayerOps fromIOEnvironment
|
96
|
+
* @tsplus static fncts.io.LayerOps __call
|
97
|
+
* @tsplus location "@fncts/io/Layer/api"
|
98
|
+
*/
|
99
|
+
export declare function fromIOEnvironment<R, E, A>(io: IO<R, E, Environment<A>>, __tsplusTrace?: string): Layer<R, E, A>;
|
100
|
+
/**
|
101
|
+
* @tsplus static fncts.io.LayerOps fromIO
|
102
|
+
* @tsplus location "@fncts/io/Layer/api"
|
103
|
+
*/
|
104
|
+
export declare function fromIO<R, E, A>(resource: IO<R, E, A>, tag: Tag<A>): Layer<R, E, Has<A>>;
|
105
|
+
/**
|
106
|
+
* @tsplus static fncts.io.LayerOps fromValue
|
107
|
+
* @tsplus location "@fncts/io/Layer/api"
|
108
|
+
*/
|
109
|
+
export declare function fromValue<A>(value: Lazy<A>, tag: Tag<A>): Layer<unknown, never, Has<A>>;
|
110
|
+
/**
|
111
|
+
* @tsplus static fncts.io.LayerOps halt
|
112
|
+
* @tsplus location "@fncts/io/Layer/api"
|
113
|
+
*/
|
114
|
+
export declare function halt(defect: Lazy<unknown>): Layer<unknown, never, never>;
|
115
|
+
/**
|
116
|
+
* @tsplus static fncts.io.LayerOps haltNow
|
117
|
+
* @tsplus location "@fncts/io/Layer/api"
|
118
|
+
*/
|
119
|
+
export declare function haltNow(defect: unknown): Layer<unknown, never, never>;
|
120
|
+
/**
|
121
|
+
* @tsplus fluent fncts.io.Layer matchCauseLayer
|
122
|
+
* @tsplus location "@fncts/io/Layer/api"
|
123
|
+
*/
|
124
|
+
export declare function matchCauseLayer_<RIn, E, ROut, RIn1, E1, ROut1, RIn2, E2, ROut2>(self: Layer<RIn, E, ROut>, failure: (cause: Cause<E>) => Layer<RIn1, E1, ROut1>, success: (r: Environment<ROut>) => Layer<RIn2, E2, ROut2>): Layer<RIn & RIn1 & RIn2, E1 | E2, ROut1 | ROut2>;
|
125
|
+
/**
|
126
|
+
* @tsplus fluent fncts.io.Layer matchLayer
|
127
|
+
* @tsplus location "@fncts/io/Layer/api"
|
128
|
+
*/
|
129
|
+
export declare function matchLayer_<RIn, E, ROut, RIn1, E1, ROut1, RIn2, E2, ROut2>(self: Layer<RIn, E, ROut>, failure: (e: E) => Layer<RIn1, E1, ROut1>, success: (r: Environment<ROut>) => Layer<RIn2, E2, ROut2>): Layer<RIn & RIn1 & RIn2, E1 | E2, ROut1 | ROut2>;
|
130
|
+
/**
|
131
|
+
* @tsplus fluent fncts.io.Layer map
|
132
|
+
* @tsplus location "@fncts/io/Layer/api"
|
133
|
+
*/
|
134
|
+
export declare function map_<RIn, E, ROut, ROut1>(self: Layer<RIn, E, ROut>, f: (r: Environment<ROut>) => Environment<ROut1>): Layer<RIn, E, ROut1>;
|
135
|
+
/**
|
136
|
+
* @tsplus fluent fncts.io.Layer mapError
|
137
|
+
* @tsplus location "@fncts/io/Layer/api"
|
138
|
+
*/
|
139
|
+
export declare function mapError_<RIn, E, ROut, E1>(self: Layer<RIn, E, ROut>, f: (e: E) => E1): Layer<RIn, E1, ROut>;
|
140
|
+
/**
|
141
|
+
* @tsplus getter fncts.io.Layer memoize
|
142
|
+
* @tsplus location "@fncts/io/Layer/api"
|
143
|
+
*/
|
144
|
+
export declare function memoize<RIn, E, ROut>(self: Layer<RIn, E, ROut>): URIO<Has<Scope>, Layer<RIn, E, ROut>>;
|
145
|
+
/**
|
146
|
+
* @tsplus fluent fncts.io.Layer orElse
|
147
|
+
* @tsplus location "@fncts/io/Layer/api"
|
148
|
+
*/
|
149
|
+
export declare function orElse_<RIn, E, ROut, RIn1, E1, ROut1>(self: Layer<RIn, E, ROut>, that: Layer<RIn1, E1, ROut1>): Layer<RIn & RIn1, E | E1, ROut | ROut1>;
|
150
|
+
/**
|
151
|
+
* @tsplus getter fncts.io.Layer orHalt
|
152
|
+
* @tsplus location "@fncts/io/Layer/api"
|
153
|
+
*/
|
154
|
+
export declare function orHalt<RIn, E, ROut>(self: Layer<RIn, E, ROut>): Layer<RIn, never, ROut>;
|
155
|
+
/**
|
156
|
+
* @tsplus getter fncts.io.Layer passthrough
|
157
|
+
* @tsplus location "@fncts/io/Layer/api"
|
158
|
+
*/
|
159
|
+
export declare function passthrough<RIn extends Spreadable, E, ROut extends Spreadable>(self: Layer<RIn, E, ROut>): Layer<RIn, E, RIn & ROut>;
|
160
|
+
/**
|
161
|
+
* @tsplus fluent fncts.io.Layer retry
|
162
|
+
* @tsplus location "@fncts/io/Layer/api"
|
163
|
+
*/
|
164
|
+
export declare function retry_<RIn, E, ROut, S, RIn1>(self: Layer<RIn, E, ROut>, schedule: Schedule.WithState<S, RIn1, E, any>): Layer<RIn & RIn1, E, ROut>;
|
165
|
+
/**
|
166
|
+
* @tsplus static fncts.io.LayerOps scoped
|
167
|
+
* @tsplus location "@fncts/io/Layer/api"
|
168
|
+
*/
|
169
|
+
export declare function scoped<R, E, A>(io: Lazy<IO<R & Has<Scope>, E, A>>, tag: Tag<A>): Layer<R, E, Has<A>>;
|
170
|
+
/**
|
171
|
+
* @tsplus static fncts.io.LayerOps scopedEnvironment
|
172
|
+
* @tsplus location "@fncts/io/Layer/api"
|
173
|
+
*/
|
174
|
+
export declare function scopedEnvironment<R, E, A>(io: Lazy<IO<R & Has<Scope>, E, Environment<A>>>): Layer<R, E, A>;
|
175
|
+
/**
|
176
|
+
* @tsplus static fncts.io.LayerOps service
|
177
|
+
* @tsplus location "@fncts/io/Layer/api"
|
178
|
+
*/
|
179
|
+
export declare function service<A>(tag: Tag<A>): Layer<Has<A>, never, Has<A>>;
|
180
|
+
/**
|
181
|
+
* @tsplus static fncts.io.LayerOps succeed
|
182
|
+
* @tsplus location "@fncts/io/Layer/api"
|
183
|
+
*/
|
184
|
+
export declare function succeed<A>(resource: Lazy<A>, tag: Tag<A>): Layer<unknown, never, Has<A>>;
|
185
|
+
/**
|
186
|
+
* @tsplus static fncts.io.LayerOps succeedEnvironment
|
187
|
+
* @tsplus location "@fncts/io/Layer/api"
|
188
|
+
*/
|
189
|
+
export declare function succeedEnvironment<A>(a: Lazy<Environment<A>>): Layer<unknown, never, A>;
|
190
|
+
/**
|
191
|
+
* @tsplus static fncts.io.LayerOps succeedEnvironmentNow
|
192
|
+
* @tsplus location "@fncts/io/Layer/api"
|
193
|
+
*/
|
194
|
+
export declare function succeedEnvironmentNow<A>(a: Environment<A>): Layer<unknown, never, A>;
|
195
|
+
/**
|
196
|
+
* @tsplus static fncts.io.LayerOps succeedNow
|
197
|
+
* @tsplus location "@fncts/io/Layer/api"
|
198
|
+
*/
|
199
|
+
export declare function succeedNow<A>(resource: A, tag: Tag<A>): Layer<unknown, never, Has<A>>;
|
200
|
+
/**
|
201
|
+
* @tsplus fluent fncts.io.Layer to
|
202
|
+
* @tsplus location "@fncts/io/Layer/api"
|
203
|
+
*/
|
204
|
+
export declare function to_<RIn, E, ROut, RIn1, E1, ROut1>(self: Layer<RIn, E, ROut>, that: Layer<RIn1, E1, ROut1>): Layer<RIn & Erase<RIn1, ROut>, E | E1, ROut1>;
|
205
|
+
/**
|
206
|
+
* @tsplus fluent fncts.io.Layer using
|
207
|
+
* @tsplus location "@fncts/io/Layer/api"
|
208
|
+
*/
|
209
|
+
export declare function using_<RIn, E, ROut, RIn1, E1, ROut1>(self: Layer<RIn1, E1, ROut1>, that: Layer<RIn, E, ROut>): Layer<RIn & Erase<RIn1, ROut>, E | E1, ROut1>;
|
@@ -0,0 +1,75 @@
|
|
1
|
+
import { Cause } from "@fncts/base/data/Cause";
|
2
|
+
import { Environment } from "@fncts/base/data/Environment";
|
3
|
+
import { IO } from "@fncts/io/IO/definition";
|
4
|
+
import { Has } from "@fncts/base/typeclass/Has";
|
5
|
+
import { Scope } from "@fncts/io/Scope/definition";
|
6
|
+
export declare const LayerHash: unique symbol;
|
7
|
+
export declare type LayerHash = typeof LayerHash;
|
8
|
+
/**
|
9
|
+
* @tsplus type fncts.io.Layer
|
10
|
+
* @tsplus companion fncts.io.LayerOps
|
11
|
+
*/
|
12
|
+
export declare abstract class Layer<RIn, E, ROut> {
|
13
|
+
readonly _R: (_: RIn) => void;
|
14
|
+
readonly _E: () => E;
|
15
|
+
readonly _A: () => ROut;
|
16
|
+
[LayerHash]: PropertyKey;
|
17
|
+
setKey(hash: PropertyKey): this;
|
18
|
+
}
|
19
|
+
export declare type Concrete = Fold<any, any, any, any, any, any, any, any, any> | Fresh<any, any, any> | FromScoped<any, any, any> | Defer<any, any, any> | To<any, any, any, any, any> | ZipWith<any, any, any, any, any, any, any> | ZipWithC<any, any, any, any, any, any, any>;
|
20
|
+
/**
|
21
|
+
* @tsplus fluent fncts.io.Layer concrete
|
22
|
+
* @tsplus location "@fncts/io/Layer/definition"
|
23
|
+
*/
|
24
|
+
export declare function concrete(self: Layer<any, any, any>): asserts self is Concrete;
|
25
|
+
export declare const enum LayerTag {
|
26
|
+
Fold = "Fold",
|
27
|
+
Fresh = "Fresh",
|
28
|
+
Scoped = "Scoped",
|
29
|
+
Defer = "Defer",
|
30
|
+
To = "To",
|
31
|
+
ZipWith = "ZipWith",
|
32
|
+
ZipWithC = "ZipWithC"
|
33
|
+
}
|
34
|
+
export declare class Fold<RIn, E, ROut, RIn1, E1, ROut1, RIn2, E2, ROut2> extends Layer<RIn & RIn1 & RIn2, E1 | E2, ROut1 | ROut2> {
|
35
|
+
readonly self: Layer<RIn, E, ROut>;
|
36
|
+
readonly failure: (cause: Cause<E>) => Layer<RIn1, E1, ROut1>;
|
37
|
+
readonly success: (r: Environment<ROut>) => Layer<RIn2, E2, ROut2>;
|
38
|
+
readonly _tag = LayerTag.Fold;
|
39
|
+
constructor(self: Layer<RIn, E, ROut>, failure: (cause: Cause<E>) => Layer<RIn1, E1, ROut1>, success: (r: Environment<ROut>) => Layer<RIn2, E2, ROut2>);
|
40
|
+
}
|
41
|
+
export declare class Fresh<RIn, E, ROut> extends Layer<RIn, E, ROut> {
|
42
|
+
readonly self: Layer<RIn, E, ROut>;
|
43
|
+
readonly _tag = LayerTag.Fresh;
|
44
|
+
constructor(self: Layer<RIn, E, ROut>);
|
45
|
+
}
|
46
|
+
export declare class FromScoped<RIn, E, ROut> extends Layer<RIn, E, ROut> {
|
47
|
+
readonly self: IO<RIn & Has<Scope>, E, Environment<ROut>>;
|
48
|
+
readonly _tag = LayerTag.Scoped;
|
49
|
+
constructor(self: IO<RIn & Has<Scope>, E, Environment<ROut>>);
|
50
|
+
}
|
51
|
+
export declare class Defer<RIn, E, ROut> extends Layer<RIn, E, ROut> {
|
52
|
+
readonly self: () => Layer<RIn, E, ROut>;
|
53
|
+
readonly _tag = LayerTag.Defer;
|
54
|
+
constructor(self: () => Layer<RIn, E, ROut>);
|
55
|
+
}
|
56
|
+
export declare class To<RIn, E, ROut, E1, ROut1> extends Layer<RIn, E | E1, ROut1> {
|
57
|
+
readonly self: Layer<RIn, E, ROut>;
|
58
|
+
readonly that: Layer<ROut, E1, ROut1>;
|
59
|
+
readonly _tag = LayerTag.To;
|
60
|
+
constructor(self: Layer<RIn, E, ROut>, that: Layer<ROut, E1, ROut1>);
|
61
|
+
}
|
62
|
+
export declare class ZipWith<RIn, E, ROut, RIn1, E1, ROut1, ROut2> extends Layer<RIn & RIn1, E | E1, ROut2> {
|
63
|
+
readonly self: Layer<RIn, E, ROut>;
|
64
|
+
readonly that: Layer<RIn1, E1, ROut1>;
|
65
|
+
readonly f: (a: Environment<ROut>, b: Environment<ROut1>) => Environment<ROut2>;
|
66
|
+
readonly _tag = LayerTag.ZipWith;
|
67
|
+
constructor(self: Layer<RIn, E, ROut>, that: Layer<RIn1, E1, ROut1>, f: (a: Environment<ROut>, b: Environment<ROut1>) => Environment<ROut2>);
|
68
|
+
}
|
69
|
+
export declare class ZipWithC<RIn, E, ROut, RIn1, E1, ROut1, ROut2> extends Layer<RIn & RIn1, E | E1, ROut2> {
|
70
|
+
readonly self: Layer<RIn, E, ROut>;
|
71
|
+
readonly that: Layer<RIn1, E1, ROut1>;
|
72
|
+
readonly f: (a: Environment<ROut>, b: Environment<ROut1>) => Environment<ROut2>;
|
73
|
+
readonly _tag = LayerTag.ZipWithC;
|
74
|
+
constructor(self: Layer<RIn, E, ROut>, that: Layer<RIn1, E1, ROut1>, f: (a: Environment<ROut>, b: Environment<ROut1>) => Environment<ROut2>);
|
75
|
+
}
|
package/Layer.d.ts
ADDED
package/LogLevel.d.ts
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
/**
|
2
|
+
* @tsplus type fncts.LogLevel
|
3
|
+
* @tsplus companion fncts.LogLevelOps
|
4
|
+
*/
|
5
|
+
export declare class LogLevel {
|
6
|
+
readonly ordinal: number;
|
7
|
+
readonly label: string;
|
8
|
+
readonly syslog: number;
|
9
|
+
constructor(ordinal: number, label: string, syslog: number);
|
10
|
+
}
|
11
|
+
/**
|
12
|
+
* @tsplus fluent fncts.LogLevel lt
|
13
|
+
* @tsplus operator fncts.LogLevel <
|
14
|
+
* @tsplus location "@fncts/io/LogLevel"
|
15
|
+
*/
|
16
|
+
export declare function lt(self: LogLevel, that: LogLevel): boolean;
|
17
|
+
/**
|
18
|
+
* @tsplus fluent fncts.LogLevel lte
|
19
|
+
* @tsplus operator fncts.LogLevel <=
|
20
|
+
* @tsplus location "@fncts/io/LogLevel"
|
21
|
+
*/
|
22
|
+
export declare function lte(self: LogLevel, that: LogLevel): boolean;
|
23
|
+
/**
|
24
|
+
* @tsplus fluent fncts.LogLevel gte
|
25
|
+
* @tsplus operator fncts.LogLevel >=
|
26
|
+
* @tsplus location "@fncts/io/LogLevel"
|
27
|
+
*/
|
28
|
+
export declare function gte(self: LogLevel, that: LogLevel): boolean;
|
29
|
+
/**
|
30
|
+
* @tsplus fluent fncts.LogLevel gt
|
31
|
+
* @tsplus operator fncts.LogLevel >
|
32
|
+
* @tsplus location "@fncts/io/LogLevel"
|
33
|
+
*/
|
34
|
+
export declare function gt(self: LogLevel, that: LogLevel): boolean;
|
35
|
+
/**
|
36
|
+
* @tsplus static fncts.LogLevelOps All
|
37
|
+
* @tsplus location "@fncts/io/LogLevel"
|
38
|
+
*/
|
39
|
+
export declare const All: LogLevel;
|
40
|
+
/**
|
41
|
+
* @tsplus static fncts.LogLevelOps Fatal
|
42
|
+
* @tsplus location "@fncts/io/LogLevel"
|
43
|
+
*/
|
44
|
+
export declare const Fatal: LogLevel;
|
45
|
+
/**
|
46
|
+
* @tsplus static fncts.LogLevelOps Error
|
47
|
+
* @tsplus location "@fncts/io/LogLevel"
|
48
|
+
*/
|
49
|
+
export declare const Error: LogLevel;
|
50
|
+
/**
|
51
|
+
* @tsplus static fncts.LogLevelOps Warning
|
52
|
+
* @tsplus location "@fncts/io/LogLevel"
|
53
|
+
*/
|
54
|
+
export declare const Warning: LogLevel;
|
55
|
+
/**
|
56
|
+
* @tsplus static fncts.LogLevelOps Info
|
57
|
+
* @tsplus location "@fncts/io/LogLevel"
|
58
|
+
*/
|
59
|
+
export declare const Info: LogLevel;
|
60
|
+
/**
|
61
|
+
* @tsplus static fncts.LogLevelOps Debug
|
62
|
+
* @tsplus location "@fncts/io/LogLevel"
|
63
|
+
*/
|
64
|
+
export declare const Debug: LogLevel;
|
65
|
+
/**
|
66
|
+
* @tsplus static fncts.LogLevelOps Trace
|
67
|
+
* @tsplus location "@fncts/io/LogLevel"
|
68
|
+
*/
|
69
|
+
export declare const Trace: LogLevel;
|
70
|
+
/**
|
71
|
+
* @tsplus static fncts.LogLevelOps None
|
72
|
+
* @tsplus location "@fncts/io/LogLevel"
|
73
|
+
*/
|
74
|
+
export declare const None: LogLevel;
|
package/LogSpan.d.ts
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* @tsplus type fncts.LogSpan
|
3
|
+
* @tsplus companion fncts.LogSpanOps
|
4
|
+
*/
|
5
|
+
export declare class LogSpan {
|
6
|
+
readonly label: string;
|
7
|
+
readonly startTime: number;
|
8
|
+
constructor(label: string, startTime: number);
|
9
|
+
}
|
10
|
+
/**
|
11
|
+
* @tsplus fluent fncts.LogSpan render
|
12
|
+
* @tsplus location "@fncts/io/LogSpan"
|
13
|
+
*/
|
14
|
+
export declare function render(self: LogSpan, now: number): string;
|
package/Logger/api.d.ts
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
import { Logger } from "@fncts/io/Logger/definition";
|
2
|
+
import { Predicate } from "@fncts/base/data/Predicate";
|
3
|
+
import { LogLevel } from "@fncts/io/LogLevel";
|
4
|
+
import { Maybe } from "@fncts/base/data/Maybe";
|
5
|
+
/**
|
6
|
+
* @tsplus fluent fncts.io.Logger filterLogLevel
|
7
|
+
* @tsplus location "@fncts/io/Logger/api"
|
8
|
+
*/
|
9
|
+
export declare function filterLogLevel_<Message, Output>(self: Logger<Message, Output>, p: Predicate<LogLevel>): Logger<Message, Maybe<Output>>;
|
10
|
+
/**
|
11
|
+
* @tsplus fluent fncts.io.Logger map
|
12
|
+
* @tsplus location "@fncts/io/Logger/api"
|
13
|
+
*/
|
14
|
+
export declare function map_<Message, Output, B>(self: Logger<Message, Output>, f: (_: Output) => B): Logger<Message, B>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { Logger } from "@fncts/io/Logger/definition";
|
2
|
+
/**
|
3
|
+
* @tsplus static fncts.io.LoggerOps defaultString
|
4
|
+
* @tsplus location "@fncts/io/Logger/constructors"
|
5
|
+
*/
|
6
|
+
export declare const defaultString: Logger<string, string>;
|
7
|
+
/**
|
8
|
+
* @tsplus fncts.io.Logger none
|
9
|
+
*/
|
10
|
+
export declare const none: Logger<unknown, void>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { TraceElement } from "@fncts/base/data/TraceElement/definition";
|
2
|
+
import { FiberId } from "@fncts/base/data/FiberId";
|
3
|
+
import { LogLevel } from "@fncts/io/LogLevel";
|
4
|
+
import { Cause } from "@fncts/base/data/Cause";
|
5
|
+
import { HashMap } from "@fncts/base/collection/immutable/HashMap";
|
6
|
+
import { FiberRef } from "@fncts/io/FiberRef/definition";
|
7
|
+
import { List } from "@fncts/base/collection/immutable/List";
|
8
|
+
import type { LogSpan } from "@fncts/io/LogSpan";
|
9
|
+
/**
|
10
|
+
* @tsplus type fncts.io.Logger
|
11
|
+
* @tsplus companion fncts.io.LoggerOps
|
12
|
+
*/
|
13
|
+
export declare class Logger<Message, Output> {
|
14
|
+
readonly log: (trace: TraceElement, fiberId: FiberId, logLevel: LogLevel, message: () => Message, cause: Cause<any>, context: HashMap<FiberRef<unknown>, unknown>, spans: List<LogSpan>, annotations: HashMap<string, string>) => Output;
|
15
|
+
readonly _Message: (_: Message) => void;
|
16
|
+
readonly _Output: () => Output;
|
17
|
+
constructor(log: (trace: TraceElement, fiberId: FiberId, logLevel: LogLevel, message: () => Message, cause: Cause<any>, context: HashMap<FiberRef<unknown>, unknown>, spans: List<LogSpan>, annotations: HashMap<string, string>) => Output);
|
18
|
+
}
|
package/Logger.d.ts
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
import { IO, UIO } from "@fncts/io/IO/definition";
|
2
|
+
import { Conc } from "@fncts/base/collection/immutable/Conc";
|
3
|
+
import { PQueue } from "@fncts/io/Queue/definition";
|
4
|
+
/**
|
5
|
+
* Transforms elements enqueued into and dequeued from this queue with the
|
6
|
+
* specified effectual functions.
|
7
|
+
* @tsplus fluent fncts.io.Queue dimap
|
8
|
+
* @tsplus location "@fncts/io/Queue/api/dimapIO"
|
9
|
+
*/
|
10
|
+
export declare function dimap_<RA, RB, EA, EB, A, B, C, D>(self: PQueue<RA, RB, EA, EB, A, B>, f: (c: C) => A, g: (b: B) => D): import("@fncts/io/Queue/definition").PQueue<RA, RB, EA, EB, C, D>;
|
11
|
+
/**
|
12
|
+
* Transforms elements enqueued into and dequeued from this queue with the
|
13
|
+
* specified effectual functions.
|
14
|
+
* @tsplus fluent fncts.io.Queue dimapIO
|
15
|
+
* @tsplus location "@fncts/io/Queue/api/dimapIO"
|
16
|
+
*/
|
17
|
+
export declare function dimapIO_<RA, RB, EA, EB, A, B, C, RC, EC, RD, ED, D>(queue: PQueue<RA, RB, EA, EB, A, B>, f: (c: C) => IO<RC, EC, A>, g: (b: B) => IO<RD, ED, D>): PQueue<RC & RA, RD & RB, EC | EA, ED | EB, C, D>;
|
18
|
+
/**
|
19
|
+
* Transforms elements enqueued into this queue with an effectful function.
|
20
|
+
* @tsplus fluent fncts.io.Queue contramapIO
|
21
|
+
* @tsplus location "@fncts/io/Queue/api/dimapIO"
|
22
|
+
*/
|
23
|
+
export declare function contramapIO_<RA, RB, EA, EB, A, B, RC, EC, C>(queue: PQueue<RA, RB, EA, EB, A, B>, f: (c: C) => IO<RC, EC, A>): PQueue<RA & RC, RB, EA | EC, EB, C, B>;
|
24
|
+
/**
|
25
|
+
* Transforms elements enqueued into this queue with an effectful function.
|
26
|
+
* @tsplus fluent fncts.io.Queue contramap
|
27
|
+
* @tsplus location "@fncts/io/Queue/api/dimapIO"
|
28
|
+
*/
|
29
|
+
export declare function contramap_<RA, RB, EA, EB, A, B, C>(queue: PQueue<RA, RB, EA, EB, A, B>, f: (c: C) => A): PQueue<RA, RB, EA, EB, C, B>;
|
30
|
+
/**
|
31
|
+
* Transforms elements dequeued from this queue with an effectful function.
|
32
|
+
* @tsplus fluent fncts.io.Queue mapIO
|
33
|
+
* @tsplus location "@fncts/io/Queue/api/dimapIO"
|
34
|
+
*/
|
35
|
+
export declare function mapIO_<RA, RB, EA, EB, A, B, R2, E2, C>(queue: PQueue<RA, RB, EA, EB, A, B>, f: (b: B) => IO<R2, E2, C>): PQueue<RA, R2 & RB, EA, EB | E2, A, C>;
|
36
|
+
/**
|
37
|
+
* Transforms elements dequeued from this queue with a function.
|
38
|
+
* @tsplus fluent fncts.io.Queue map
|
39
|
+
* @tsplus location "@fncts/io/Queue/api/dimapIO"
|
40
|
+
*/
|
41
|
+
export declare function map_<RA, RB, EA, EB, A, B, C>(queue: PQueue<RA, RB, EA, EB, A, B>, f: (b: B) => C): PQueue<RA, RB, EA, EB, A, C>;
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { IO, UIO } from "@fncts/io/IO/definition";
|
2
|
+
import { Conc } from "@fncts/base/collection/immutable/Conc";
|
3
|
+
import { PQueue } from "@fncts/io/Queue/definition";
|
4
|
+
import { QueueInternal } from "@fncts/io/Queue/definition";
|
5
|
+
export declare class FilterInputIO<RA, RB, EA, EB, B, A, A1 extends A, R2, E2> extends QueueInternal<RA & R2, RB, EA | E2, EB, A1, B> {
|
6
|
+
readonly queue: QueueInternal<RA, RB, EA, EB, A, B>;
|
7
|
+
readonly f: (_: A1) => IO<R2, E2, boolean>;
|
8
|
+
constructor(queue: QueueInternal<RA, RB, EA, EB, A, B>, f: (_: A1) => IO<R2, E2, boolean>);
|
9
|
+
awaitShutdown: UIO<void>;
|
10
|
+
capacity: number;
|
11
|
+
isShutdown: UIO<boolean>;
|
12
|
+
offer(a: A1): IO<RA & R2, EA | E2, boolean>;
|
13
|
+
offerAll(as: Iterable<A1>): IO<RA & R2, EA | E2, boolean>;
|
14
|
+
shutdown: UIO<void>;
|
15
|
+
size: UIO<number>;
|
16
|
+
take: IO<RB, EB, B>;
|
17
|
+
takeAll: IO<RB, EB, Conc<B>>;
|
18
|
+
takeUpTo(max: number): IO<RB, EB, Conc<B>>;
|
19
|
+
}
|
20
|
+
/**
|
21
|
+
* Like `filterInput`, but uses an effectful function to filter the elements.
|
22
|
+
* @tsplus fluent fncts.io.Queue filterInputIO
|
23
|
+
* @tsplus location "@fncts/io/Queue/api/filterInputIO"
|
24
|
+
*/
|
25
|
+
export declare function filterInputIO_<RA, RB, EA, EB, B, A, A1 extends A, R2, E2>(queue: PQueue<RA, RB, EA, EB, A, B>, f: (_: A1) => IO<R2, E2, boolean>): PQueue<RA & R2, RB, EA | E2, EB, A1, B>;
|
26
|
+
/**
|
27
|
+
* Applies a filter to elements enqueued into this queue. Elements that do not
|
28
|
+
* pass the filter will be immediately dropped.
|
29
|
+
* @tsplus fluent fncts.io.Queue filterInput
|
30
|
+
* @tsplus location "@fncts/io/Queue/api/filterInputIO"
|
31
|
+
*/
|
32
|
+
export declare function filterInput_<RA, RB, EA, EB, B, A, A1 extends A>(queue: PQueue<RA, RB, EA, EB, A, B>, f: (_: A1) => boolean): PQueue<RA, RB, EA, EB, A1, B>;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { IO, UIO } from "@fncts/io/IO/definition";
|
2
|
+
import { Conc } from "@fncts/base/collection/immutable/Conc";
|
3
|
+
import { PQueue } from "@fncts/io/Queue/definition";
|
4
|
+
import { Predicate } from "@fncts/base/data/Predicate";
|
5
|
+
import { QueueInternal } from "@fncts/io/Queue/definition";
|
6
|
+
export declare class FilterOutputIO<RA, RB, EA, EB, A, B, RB1, EB1> extends QueueInternal<RA, RB & RB1, EA, EB | EB1, A, B> {
|
7
|
+
readonly queue: QueueInternal<RA, RB, EA, EB, A, B>;
|
8
|
+
readonly f: (b: B) => IO<RB1, EB1, boolean>;
|
9
|
+
constructor(queue: QueueInternal<RA, RB, EA, EB, A, B>, f: (b: B) => IO<RB1, EB1, boolean>);
|
10
|
+
awaitShutdown: UIO<void>;
|
11
|
+
capacity: number;
|
12
|
+
isShutdown: UIO<boolean>;
|
13
|
+
offer(a: A): IO<RA, EA, boolean>;
|
14
|
+
offerAll(as: Iterable<A>): IO<RA, EA, boolean>;
|
15
|
+
shutdown: UIO<void>;
|
16
|
+
size: UIO<number>;
|
17
|
+
take: IO<RB & RB1, EB1 | EB, B>;
|
18
|
+
takeAll: IO<RB & RB1, EB | EB1, Conc<B>>;
|
19
|
+
loop(max: number, acc: Conc<B>): IO<RB & RB1, EB | EB1, Conc<B>>;
|
20
|
+
takeUpTo(n: number): IO<RB & RB1, EB | EB1, Conc<B>>;
|
21
|
+
}
|
22
|
+
/**
|
23
|
+
* @tsplus fluent fncts.io.Queue filterOutputIO
|
24
|
+
* @tsplus location "@fncts/io/Queue/api/filterOutputIO"
|
25
|
+
*/
|
26
|
+
export declare function filterOutputIO_<RA, RB, EA, EB, A, B, RB1, EB1>(queue: PQueue<RA, RB, EA, EB, A, B>, f: (b: B) => IO<RB1, EB1, boolean>): PQueue<RA, RB & RB1, EA, EB | EB1, A, B>;
|
27
|
+
/**
|
28
|
+
* @tsplus fluent fncts.io.Queue filterOutput
|
29
|
+
* @tsplus location "@fncts/io/Queue/api/filterOutputIO"
|
30
|
+
*/
|
31
|
+
export declare function filterOutput_<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>, p: Predicate<B>): PQueue<RA, RB, EA, EB, A, B>;
|
@@ -0,0 +1,82 @@
|
|
1
|
+
import { PQueue } from "@fncts/io/Queue/definition";
|
2
|
+
import { UIO, IO } from "@fncts/io/IO/definition";
|
3
|
+
/**
|
4
|
+
* Waits until the queue is shutdown.
|
5
|
+
* The `IO` returned by this method will not resume until the queue has been shutdown.
|
6
|
+
* If the queue is already shutdown, the `IO` will resume right away.
|
7
|
+
* @tsplus getter fncts.io.Queue awaitShutdown
|
8
|
+
* @tsplus location "@fncts/io/Queue/api/operations"
|
9
|
+
*/
|
10
|
+
export declare function awaitShutdown<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>): UIO<void>;
|
11
|
+
/**
|
12
|
+
* How many elements can hold in the queue
|
13
|
+
* @tsplus getter fncts.io.Queue capacity
|
14
|
+
* @tsplus location "@fncts/io/Queue/api/operations"
|
15
|
+
*/
|
16
|
+
export declare function capacity<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>): number;
|
17
|
+
/**
|
18
|
+
* `true` if `shutdown` has been called.
|
19
|
+
* @tsplus getter fncts.io.Queue isShutdown
|
20
|
+
* @tsplus location "@fncts/io/Queue/api/operations"
|
21
|
+
*/
|
22
|
+
export declare function isShutdown<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>): UIO<boolean>;
|
23
|
+
/**
|
24
|
+
* Places one value in the queue.
|
25
|
+
* @tsplus fluent fncts.io.Queue offer
|
26
|
+
* @tsplus location "@fncts/io/Queue/api/operations"
|
27
|
+
*/
|
28
|
+
export declare function offer_<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>, a: A): IO<RA, EA, boolean>;
|
29
|
+
/**
|
30
|
+
* For Bounded Queue: uses the `BackPressure` Strategy, places the values in the queue and always returns true.
|
31
|
+
* If the queue has reached capacity, then
|
32
|
+
* the fiber performing the `offerAll` will be suspended until there is room in
|
33
|
+
* the queue.
|
34
|
+
*
|
35
|
+
* For Unbounded Queue:
|
36
|
+
* Places all values in the queue and returns true.
|
37
|
+
*
|
38
|
+
* For Sliding Queue: uses `Sliding` Strategy
|
39
|
+
* If there is room in the queue, it places the values otherwise it removes the old elements and
|
40
|
+
* enqueues the new ones. Always returns true.
|
41
|
+
*
|
42
|
+
* For Dropping Queue: uses `Dropping` Strategy,
|
43
|
+
* It places the values in the queue but if there is no room it will not enqueue them and return false.
|
44
|
+
* @tsplus fluent fncts.io.Queue offerAll
|
45
|
+
* @tsplus location "@fncts/io/Queue/api/operations"
|
46
|
+
*/
|
47
|
+
export declare function offerAll_<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>, as: Iterable<A>): import("../../IO").IO<RA, EA, boolean>;
|
48
|
+
/**
|
49
|
+
* Interrupts any fibers that are suspended on `offer` or `take`.
|
50
|
+
* Future calls to `offer*` and `take*` will be interrupted immediately.
|
51
|
+
* @tsplus getter fncts.io.Queue shutdown
|
52
|
+
* @tsplus location "@fncts/io/Queue/api/operations"
|
53
|
+
*/
|
54
|
+
export declare function shutdown<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>): import("../../IO").UIO<void>;
|
55
|
+
/**
|
56
|
+
* Retrieves the size of the queue, which is equal to the number of elements
|
57
|
+
* in the queue. This may be negative if fibers are suspended waiting for
|
58
|
+
* elements to be added to the queue.
|
59
|
+
* @tsplus getter fncts.io.Queue size
|
60
|
+
* @tsplus location "@fncts/io/Queue/api/operations"
|
61
|
+
*/
|
62
|
+
export declare function size<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>): import("../../IO").UIO<number>;
|
63
|
+
/**
|
64
|
+
* Removes the oldest value in the queue. If the queue is empty, this will
|
65
|
+
* return a computation that resumes when an item has been added to the queue.
|
66
|
+
* @tsplus getter fncts.io.Queue take
|
67
|
+
* @tsplus location "@fncts/io/Queue/api/operations"
|
68
|
+
*/
|
69
|
+
export declare function take<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>): import("../../IO").IO<RB, EB, B>;
|
70
|
+
/**
|
71
|
+
* Removes all the values in the queue and returns the list of the values. If the queue
|
72
|
+
* is empty returns empty list.
|
73
|
+
* @tsplus getter fncts.io.Queue takeAll
|
74
|
+
* @tsplus location "@fncts/io/Queue/api/operations"
|
75
|
+
*/
|
76
|
+
export declare function takeAll<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>): import("../../IO").IO<RB, EB, import("@fncts/base/collection/immutable/Conc").Conc<B>>;
|
77
|
+
/**
|
78
|
+
* Takes up to max number of values in the queue.
|
79
|
+
* @tsplus fluent fncts.io.Queue takeAllUpTo
|
80
|
+
* @tsplus location "@fncts/io/Queue/api/operations"
|
81
|
+
*/
|
82
|
+
export declare function takeAllUpTo_<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>, n: number): import("../../IO").IO<RB, EB, import("@fncts/base/collection/immutable/Conc").Conc<B>>;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { PQueue } from "@fncts/io/Queue/definition";
|
2
|
+
import { IO } from "@fncts/io/IO/definition";
|
3
|
+
import { Maybe } from "@fncts/base/data/Maybe";
|
4
|
+
/**
|
5
|
+
* Take the head option of values in the queue.
|
6
|
+
* @tsplus getter fncts.io.Queue poll
|
7
|
+
* @tsplus location "@fncts/io/Queue/api/poll"
|
8
|
+
*/
|
9
|
+
export declare function poll<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>): IO<RB, EB, Maybe<B>>;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { PQueue } from "@fncts/io/Queue/definition";
|
2
|
+
import { IO } from "@fncts/io/IO/definition";
|
3
|
+
import { Conc } from "@fncts/base/collection/immutable/Conc";
|
4
|
+
/**
|
5
|
+
* Takes between min and max number of values from the queue. If there
|
6
|
+
* is less than min items available, it'll block until the items are
|
7
|
+
* collected.
|
8
|
+
* @tsplus fluent fncts.io.Queue takeBetween
|
9
|
+
* @tsplus location "@fncts/io/Queue/api/takeBetween"
|
10
|
+
*/
|
11
|
+
export declare function takeBetween_<RA, RB, EA, EB, A, B>(queue: PQueue<RA, RB, EA, EB, A, B>, min: number, max: number): IO<RB, EB, Conc<B>>;
|