@fncts/io 0.0.39 → 0.0.41
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.d.ts +2 -2
- package/Channel/ChildExecutorDecision.d.ts +1 -1
- package/Channel/UpstreamPullRequest.d.ts +1 -1
- package/Channel/api/interruptWhen.d.ts +2 -2
- package/Channel/api/mapOutConcurrentIO.d.ts +1 -1
- package/Channel/api/mergeAll.d.ts +1 -1
- package/Channel/api/mergeAllUnboundedWith.d.ts +1 -1
- package/Channel/api/mergeAllWith.d.ts +1 -1
- package/Channel/api/mergeMap.d.ts +1 -1
- package/Channel/api/mergeWith.d.ts +1 -1
- package/Channel/api/zipConcurrent.d.ts +3 -3
- package/Channel/api.d.ts +14 -14
- package/Channel/core-api.d.ts +5 -5
- package/Channel.d.ts +2 -2
- package/Clock/definition.d.ts +1 -1
- package/Clock.d.ts +2 -2
- package/Console/definition.d.ts +1 -1
- package/Console.d.ts +2 -2
- package/Fiber/api/mapFiber.d.ts +1 -1
- package/Fiber/api/mapIO.d.ts +2 -2
- package/Fiber/api/zipWith.d.ts +1 -1
- package/Fiber.d.ts +19 -19
- package/FiberRef/api.d.ts +1 -1
- package/FiberRef/operations.d.ts +2 -2
- package/FiberRef.d.ts +5 -5
- package/FiberRefs/Patch.d.ts +62 -0
- package/FiberRefs.d.ts +2 -1
- package/FiberScope.d.ts +1 -1
- package/FiberStatus.d.ts +1 -1
- package/Future/api.d.ts +5 -5
- package/Future.d.ts +2 -2
- package/Hub/api.d.ts +11 -11
- package/Hub.d.ts +1 -1
- package/IO/api/concurrency.d.ts +1 -1
- package/IO/api/concurrentFinalizers.d.ts +11 -2
- package/IO/api/delay.d.ts +1 -1
- package/IO/api/ensuringChildren.d.ts +1 -1
- package/IO/api/environment.d.ts +5 -5
- package/IO/api/fork.d.ts +1 -1
- package/IO/api/forkIn.d.ts +1 -1
- package/IO/api/fulfill.d.ts +1 -1
- package/IO/api/interrupt.d.ts +4 -4
- package/IO/api/onTermination.d.ts +1 -1
- package/IO/api/patchFiberRefs.d.ts +7 -0
- package/IO/api/provideLayer.d.ts +1 -1
- package/IO/api/provideScope.d.ts +1 -1
- package/IO/api/provideSomeLayer.d.ts +1 -1
- package/IO/api/provideSomeRuntime.d.ts +7 -0
- package/IO/api/race.d.ts +2 -2
- package/IO/api/raceFirst.d.ts +1 -1
- package/IO/api/repeat.d.ts +3 -3
- package/IO/api/retry.d.ts +3 -3
- package/IO/api/schedule.d.ts +2 -2
- package/IO/api/timeout.d.ts +2 -2
- package/IO/api/whenFiberRef.d.ts +1 -1
- package/IO/api/whenRef.d.ts +1 -1
- package/IO/api/withFinalizer.d.ts +1 -1
- package/IO/api/withFinalizerExit.d.ts +1 -1
- package/IO/api/zipConcurrent.d.ts +2 -2
- package/IO/api.d.ts +40 -40
- package/IO/definition.d.ts +6 -1
- package/IO/runtime.d.ts +6 -6
- package/IO.d.ts +62 -60
- package/IOEnv.d.ts +2 -2
- package/InterruptStatus.d.ts +1 -1
- package/Layer/MemoMap.d.ts +3 -3
- package/Layer/api.d.ts +15 -9
- package/Layer.d.ts +1 -1
- package/Logger/api.d.ts +2 -2
- package/Logger.d.ts +2 -2
- package/MVar.d.ts +1 -1
- package/Push/api.d.ts +18 -18
- package/Push.d.ts +2 -2
- package/Queue/api/dimapIO.d.ts +6 -6
- package/Queue/api/filterInputIO.d.ts +3 -3
- package/Queue/api/filterOutputIO.d.ts +3 -3
- package/Queue/api/operations.d.ts +3 -3
- package/Queue/api/takeBetween.d.ts +1 -1
- package/Queue/api/takeN.d.ts +8 -0
- package/Queue/api/zipWithIO.d.ts +3 -3
- package/Queue/api.d.ts +7 -6
- package/Queue.d.ts +4 -4
- package/Random/definition.d.ts +1 -1
- package/Random.d.ts +2 -2
- package/Ref/Synchronized/api.d.ts +14 -14
- package/Ref/Synchronized.d.ts +2 -2
- package/Ref/api/collect.d.ts +1 -1
- package/Ref/api/filter.d.ts +1 -1
- package/Ref/api/modify.d.ts +8 -8
- package/Ref/api/set.d.ts +1 -1
- package/Ref/api.d.ts +7 -7
- package/Ref.d.ts +7 -7
- package/RefSubject/api.d.ts +9 -9
- package/RefSubject/definition.d.ts +2 -0
- package/RefSubject.d.ts +1 -1
- package/Reloadable.d.ts +2 -2
- package/RuntimeFlags.d.ts +1 -1
- package/STM/api/core-api.d.ts +5 -5
- package/STM/api.d.ts +13 -13
- package/STM.d.ts +4 -4
- package/Schedule/api.d.ts +46 -46
- package/Schedule.d.ts +2 -2
- package/Scope/ReleaseMap.d.ts +2 -2
- package/Scope/api.d.ts +6 -1
- package/Scope/definition.d.ts +4 -2
- package/Scope.d.ts +1 -1
- package/ScopedRef.d.ts +1 -1
- package/Semaphore.d.ts +1 -1
- package/Sink/api.d.ts +34 -34
- package/Sink.d.ts +1 -1
- package/State.d.ts +1 -1
- package/Stream/api/zipAllWith.d.ts +1 -1
- package/Stream/api/zipWith.d.ts +1 -1
- package/Stream/api/zipWithChunks.d.ts +1 -1
- package/Stream/api.d.ts +80 -80
- package/Stream.d.ts +1 -1
- package/Subject.d.ts +1 -1
- package/Supervisor/api.d.ts +1 -1
- package/Supervisor.d.ts +2 -2
- package/TExit.d.ts +1 -1
- package/TFuture/api.d.ts +2 -2
- package/TFuture.d.ts +2 -2
- package/TReentrantLock.d.ts +1 -1
- package/TRef/api.d.ts +10 -10
- package/TRef.d.ts +2 -2
- package/TSemaphore/api.d.ts +2 -2
- package/TSemaphore.d.ts +2 -2
- package/_cjs/Cached/api.cjs +6 -8
- package/_cjs/Cached/api.cjs.map +1 -1
- package/_cjs/Cached/internal.cjs +4 -6
- package/_cjs/Cached/internal.cjs.map +1 -1
- package/_cjs/Cached.cjs +8 -8
- package/_cjs/Cached.cjs.map +1 -1
- package/_cjs/CancellerState.cjs +3 -6
- package/_cjs/CancellerState.cjs.map +1 -1
- package/_cjs/Channel/ChildExecutorDecision/api.cjs.map +1 -1
- package/_cjs/Channel/ChildExecutorDecision/definition.cjs +3 -6
- package/_cjs/Channel/ChildExecutorDecision/definition.cjs.map +1 -1
- package/_cjs/Channel/ChildExecutorDecision.cjs +8 -8
- package/_cjs/Channel/ChildExecutorDecision.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullRequest/api.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullRequest/definition.cjs +1 -2
- package/_cjs/Channel/UpstreamPullRequest/definition.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullRequest.cjs +8 -8
- package/_cjs/Channel/UpstreamPullRequest.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullStrategy/definition.cjs +1 -2
- package/_cjs/Channel/UpstreamPullStrategy/definition.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullStrategy.cjs.map +1 -1
- package/_cjs/Channel/api/interruptWhen.cjs +3 -4
- package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
- package/_cjs/Channel/api/mapOutConcurrentIO.cjs +2 -2
- package/_cjs/Channel/api/mergeAll.cjs +2 -2
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs +2 -2
- package/_cjs/Channel/api/mergeAllWith.cjs +2 -2
- package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeMap.cjs +2 -2
- package/_cjs/Channel/api/mergeWith.cjs +4 -3
- package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
- package/_cjs/Channel/api/run.cjs +2 -2
- package/_cjs/Channel/api/runCollect.cjs +2 -2
- package/_cjs/Channel/api/runDrain.cjs +2 -2
- package/_cjs/Channel/api/runScoped.cjs +3 -3
- package/_cjs/Channel/api/runScoped.cjs.map +1 -1
- package/_cjs/Channel/api/toPull.cjs +2 -2
- package/_cjs/Channel/api/toPull.cjs.map +1 -1
- package/_cjs/Channel/api/zipConcurrent.cjs +3 -4
- package/_cjs/Channel/api/zipConcurrent.cjs.map +1 -1
- package/_cjs/Channel/api.cjs +39 -76
- package/_cjs/Channel/api.cjs.map +1 -1
- package/_cjs/Channel/core-api.cjs +6 -12
- package/_cjs/Channel/core-api.cjs.map +1 -1
- package/_cjs/Channel/definition.cjs +2 -4
- package/_cjs/Channel/definition.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelExecutor.cjs +50 -54
- package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelState.cjs +5 -12
- package/_cjs/Channel/internal/ChannelState.cjs.map +1 -1
- package/_cjs/Channel/internal/MergeDecision.cjs +2 -4
- package/_cjs/Channel/internal/MergeDecision.cjs.map +1 -1
- package/_cjs/Channel/internal/MergeState.cjs +1 -2
- package/_cjs/Channel/internal/MergeState.cjs.map +1 -1
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +2 -2
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
- package/_cjs/Channel.cjs +8 -8
- package/_cjs/Channel.cjs.map +1 -1
- package/_cjs/Clock/api.cjs +3 -4
- package/_cjs/Clock/api.cjs.map +1 -1
- package/_cjs/Clock/definition.cjs +3 -4
- package/_cjs/Clock/definition.cjs.map +1 -1
- package/_cjs/Clock/live.cjs +3 -4
- package/_cjs/Clock/live.cjs.map +1 -1
- package/_cjs/Clock.cjs +8 -8
- package/_cjs/Clock.cjs.map +1 -1
- package/_cjs/Console/api.cjs +2 -2
- package/_cjs/Console/definition.cjs +3 -4
- package/_cjs/Console/definition.cjs.map +1 -1
- package/_cjs/Console/live.cjs +3 -4
- package/_cjs/Console/live.cjs.map +1 -1
- package/_cjs/Console.cjs +8 -8
- package/_cjs/Console.cjs.map +1 -1
- package/_cjs/CountdownLatch.cjs +9 -10
- package/_cjs/CountdownLatch.cjs.map +1 -1
- package/_cjs/Differ/api.cjs +2 -2
- package/_cjs/Differ/api.cjs.map +1 -1
- package/_cjs/Differ/definition.cjs +1 -2
- package/_cjs/Differ/definition.cjs.map +1 -1
- package/_cjs/Fiber/FiberMessage.cjs +2 -4
- package/_cjs/Fiber/FiberMessage.cjs.map +1 -1
- package/_cjs/Fiber/FiberRuntime.cjs +71 -70
- package/_cjs/Fiber/FiberRuntime.cjs.map +1 -1
- package/_cjs/Fiber/api/awaitAll.cjs +2 -2
- package/_cjs/Fiber/api/collectAll.cjs +2 -2
- package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
- package/_cjs/Fiber/api/fromIO.cjs +2 -2
- package/_cjs/Fiber/api/interrupt.cjs +2 -2
- package/_cjs/Fiber/api/interruptAll.cjs +3 -4
- package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAs.cjs +3 -4
- package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs +2 -2
- package/_cjs/Fiber/api/join.cjs +2 -2
- package/_cjs/Fiber/api/joinAll.cjs +2 -2
- package/_cjs/Fiber/api/mapFiber.cjs +2 -2
- package/_cjs/Fiber/api/mapIO.cjs +3 -4
- package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
- package/_cjs/Fiber/api/zipWith.cjs +2 -2
- package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
- package/_cjs/Fiber/constructors.cjs +5 -8
- package/_cjs/Fiber/constructors.cjs.map +1 -1
- package/_cjs/Fiber/definition.cjs +6 -10
- package/_cjs/Fiber/definition.cjs.map +1 -1
- package/_cjs/Fiber.cjs +83 -83
- package/_cjs/Fiber.cjs.map +1 -1
- package/_cjs/FiberDescriptor.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScoped.cjs +2 -2
- package/_cjs/FiberRef/api/locallyScopedWith.cjs +2 -2
- package/_cjs/FiberRef/constructors.cjs +2 -2
- package/_cjs/FiberRef/constructors.cjs.map +1 -1
- package/_cjs/FiberRef/definition.cjs +4 -6
- package/_cjs/FiberRef/definition.cjs.map +1 -1
- package/_cjs/FiberRef/operations.cjs +6 -10
- package/_cjs/FiberRef/operations.cjs.map +1 -1
- package/_cjs/FiberRef/unsafe.cjs +18 -34
- package/_cjs/FiberRef/unsafe.cjs.map +1 -1
- package/_cjs/FiberRef.cjs +24 -24
- package/_cjs/FiberRef.cjs.map +1 -1
- package/_cjs/FiberRefs/Patch.cjs +172 -0
- package/_cjs/FiberRefs/Patch.cjs.map +1 -0
- package/_cjs/FiberRefs/api.cjs +2 -2
- package/_cjs/FiberRefs/api.cjs.map +1 -1
- package/_cjs/FiberRefs/definition.cjs +3 -4
- package/_cjs/FiberRefs/definition.cjs.map +1 -1
- package/_cjs/FiberRefs.cjs +15 -4
- package/_cjs/FiberRefs.cjs.map +1 -1
- package/_cjs/FiberScope/constructors.cjs +1 -2
- package/_cjs/FiberScope/constructors.cjs.map +1 -1
- package/_cjs/FiberScope/definition.cjs +2 -2
- package/_cjs/FiberScope/definition.cjs.map +1 -1
- package/_cjs/FiberScope.cjs +8 -8
- package/_cjs/FiberScope.cjs.map +1 -1
- package/_cjs/FiberStatus/constructors.cjs +1 -2
- package/_cjs/FiberStatus/constructors.cjs.map +1 -1
- package/_cjs/FiberStatus/definition.cjs +3 -4
- package/_cjs/FiberStatus/definition.cjs.map +1 -1
- package/_cjs/FiberStatus.cjs +8 -8
- package/_cjs/FiberStatus.cjs.map +1 -1
- package/_cjs/Future/api.cjs +5 -8
- package/_cjs/Future/api.cjs.map +1 -1
- package/_cjs/Future/constructors.cjs +4 -6
- package/_cjs/Future/constructors.cjs.map +1 -1
- package/_cjs/Future/definition.cjs +2 -4
- package/_cjs/Future/definition.cjs.map +1 -1
- package/_cjs/Future.cjs +8 -8
- package/_cjs/Future.cjs.map +1 -1
- package/_cjs/Hub/api.cjs +14 -18
- package/_cjs/Hub/api.cjs.map +1 -1
- package/_cjs/Hub/definition.cjs +3 -6
- package/_cjs/Hub/definition.cjs.map +1 -1
- package/_cjs/Hub/internal.cjs +2 -2
- package/_cjs/Hub/internal.cjs.map +1 -1
- package/_cjs/Hub.cjs +8 -8
- package/_cjs/Hub.cjs.map +1 -1
- package/_cjs/IO/api/acquireRelease.cjs +2 -2
- package/_cjs/IO/api/acquireReleaseExit.cjs +2 -2
- package/_cjs/IO/api/acquireReleaseInterruptible.cjs +2 -2
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +2 -2
- package/_cjs/IO/api/addFinalizer.cjs +2 -2
- package/_cjs/IO/api/addFinalizerExit.cjs +2 -2
- package/_cjs/IO/api/all.cjs +2 -2
- package/_cjs/IO/api/all.cjs.map +1 -1
- package/_cjs/IO/api/asyncIO.cjs +2 -2
- package/_cjs/IO/api/asyncInterrupt.cjs +4 -6
- package/_cjs/IO/api/asyncInterrupt.cjs.map +1 -1
- package/_cjs/IO/api/blocking.cjs +2 -2
- package/_cjs/IO/api/blocking.cjs.map +1 -1
- package/_cjs/IO/api/bracket.cjs +2 -2
- package/_cjs/IO/api/bracketExit.cjs +2 -2
- package/_cjs/IO/api/clockWith.cjs +4 -6
- package/_cjs/IO/api/clockWith.cjs.map +1 -1
- package/_cjs/IO/api/concurrency.cjs +6 -10
- package/_cjs/IO/api/concurrency.cjs.map +1 -1
- package/_cjs/IO/api/concurrentFinalizers.cjs +57 -9
- package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
- package/_cjs/IO/api/consoleWith.cjs +4 -6
- package/_cjs/IO/api/consoleWith.cjs.map +1 -1
- package/_cjs/IO/api/daemonChildren.cjs +2 -2
- package/_cjs/IO/api/delay.cjs +2 -2
- package/_cjs/IO/api/descriptor.cjs +4 -6
- package/_cjs/IO/api/descriptor.cjs.map +1 -1
- package/_cjs/IO/api/disconnect.cjs +2 -2
- package/_cjs/IO/api/ensuringChildren.cjs +2 -2
- package/_cjs/IO/api/environment.cjs +7 -12
- package/_cjs/IO/api/environment.cjs.map +1 -1
- package/_cjs/IO/api/foreachConcurrent.cjs +22 -21
- package/_cjs/IO/api/foreachConcurrent.cjs.map +1 -1
- package/_cjs/IO/api/foreachExec.cjs +2 -2
- package/_cjs/IO/api/fork.cjs +3 -4
- package/_cjs/IO/api/fork.cjs.map +1 -1
- package/_cjs/IO/api/forkAll.cjs +2 -2
- package/_cjs/IO/api/forkDaemon.cjs +2 -2
- package/_cjs/IO/api/forkIn.cjs +2 -2
- package/_cjs/IO/api/forkScoped.cjs +2 -2
- package/_cjs/IO/api/fulfill.cjs +2 -2
- package/_cjs/IO/api/interrupt.cjs +8 -14
- package/_cjs/IO/api/interrupt.cjs.map +1 -1
- package/_cjs/IO/api/memoize.cjs +2 -2
- package/_cjs/IO/api/onTermination.cjs +2 -2
- package/_cjs/IO/api/once.cjs +2 -2
- package/_cjs/IO/api/patchFiberRefs.cjs +18 -0
- package/_cjs/IO/api/patchFiberRefs.cjs.map +1 -0
- package/_cjs/IO/api/provideLayer.cjs +2 -2
- package/_cjs/IO/api/provideScope.cjs +2 -2
- package/_cjs/IO/api/provideSomeLayer.cjs +2 -2
- package/_cjs/IO/api/provideSomeRuntime.cjs +29 -0
- package/_cjs/IO/api/provideSomeRuntime.cjs.map +1 -0
- package/_cjs/IO/api/race.cjs +3 -4
- package/_cjs/IO/api/race.cjs.map +1 -1
- package/_cjs/IO/api/raceFirst.cjs +2 -2
- package/_cjs/IO/api/raceWith.cjs +3 -4
- package/_cjs/IO/api/raceWith.cjs.map +1 -1
- package/_cjs/IO/api/randomWith.cjs +4 -6
- package/_cjs/IO/api/randomWith.cjs.map +1 -1
- package/_cjs/IO/api/repeat.cjs +4 -6
- package/_cjs/IO/api/repeat.cjs.map +1 -1
- package/_cjs/IO/api/retry.cjs +4 -6
- package/_cjs/IO/api/retry.cjs.map +1 -1
- package/_cjs/IO/api/schedule.cjs +3 -4
- package/_cjs/IO/api/schedule.cjs.map +1 -1
- package/_cjs/IO/api/scope.cjs +3 -4
- package/_cjs/IO/api/scope.cjs.map +1 -1
- package/_cjs/IO/api/scopeWith.cjs +2 -2
- package/_cjs/IO/api/scoped.cjs +3 -4
- package/_cjs/IO/api/scoped.cjs.map +1 -1
- package/_cjs/IO/api/sequenceT.cjs +2 -2
- package/_cjs/IO/api/sequenceT.cjs.map +1 -1
- package/_cjs/IO/api/sleep.cjs +2 -2
- package/_cjs/IO/api/stateful.cjs +2 -2
- package/_cjs/IO/api/supervised.cjs +2 -2
- package/_cjs/IO/api/timeout.cjs +3 -4
- package/_cjs/IO/api/timeout.cjs.map +1 -1
- package/_cjs/IO/api/transplant.cjs +2 -2
- package/_cjs/IO/api/whenFiberRef.cjs +2 -2
- package/_cjs/IO/api/whenRef.cjs +2 -2
- package/_cjs/IO/api/withChildren.cjs +2 -2
- package/_cjs/IO/api/withEarlyRelease.cjs +3 -3
- package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizer.cjs +2 -2
- package/_cjs/IO/api/withFinalizerExit.cjs +2 -2
- package/_cjs/IO/api/zipConcurrent.cjs +3 -4
- package/_cjs/IO/api/zipConcurrent.cjs.map +1 -1
- package/_cjs/IO/api.cjs +76 -143
- package/_cjs/IO/api.cjs.map +1 -1
- package/_cjs/IO/definition.cjs +5 -8
- package/_cjs/IO/definition.cjs.map +1 -1
- package/_cjs/IO/runtime.cjs +8 -14
- package/_cjs/IO/runtime.cjs.map +1 -1
- package/_cjs/IO.cjs +266 -244
- package/_cjs/IO.cjs.map +1 -1
- package/_cjs/IOEnv/definition.cjs +4 -6
- package/_cjs/IOEnv/definition.cjs.map +1 -1
- package/_cjs/IOEnv/live.cjs +3 -4
- package/_cjs/IOEnv/live.cjs.map +1 -1
- package/_cjs/IOEnv/services.cjs +3 -4
- package/_cjs/IOEnv/services.cjs.map +1 -1
- package/_cjs/IOEnv.cjs +8 -8
- package/_cjs/IOEnv.cjs.map +1 -1
- package/_cjs/InterruptStatus/constructors.cjs +2 -4
- package/_cjs/InterruptStatus/constructors.cjs.map +1 -1
- package/_cjs/InterruptStatus.cjs +8 -8
- package/_cjs/InterruptStatus.cjs.map +1 -1
- package/_cjs/Layer/MemoMap.cjs +11 -13
- package/_cjs/Layer/MemoMap.cjs.map +1 -1
- package/_cjs/Layer/api.cjs +28 -34
- package/_cjs/Layer/api.cjs.map +1 -1
- package/_cjs/Layer/definition.cjs +2 -4
- package/_cjs/Layer/definition.cjs.map +1 -1
- package/_cjs/Layer.cjs +8 -8
- package/_cjs/Layer.cjs.map +1 -1
- package/_cjs/LogLevel.cjs +8 -16
- package/_cjs/LogLevel.cjs.map +1 -1
- package/_cjs/LogSpan.cjs.map +1 -1
- package/_cjs/Logger/api.cjs +2 -2
- package/_cjs/Logger/api.cjs.map +1 -1
- package/_cjs/Logger/constructors.cjs +4 -6
- package/_cjs/Logger/constructors.cjs.map +1 -1
- package/_cjs/Logger/definition.cjs +1 -2
- package/_cjs/Logger/definition.cjs.map +1 -1
- package/_cjs/Logger.cjs +8 -8
- package/_cjs/Logger.cjs.map +1 -1
- package/_cjs/MVar/api.cjs +2 -2
- package/_cjs/MVar/api.cjs.map +1 -1
- package/_cjs/MVar/definition.cjs +2 -4
- package/_cjs/MVar/definition.cjs.map +1 -1
- package/_cjs/MVar.cjs +8 -8
- package/_cjs/MVar.cjs.map +1 -1
- package/_cjs/Push/api.cjs +21 -40
- package/_cjs/Push/api.cjs.map +1 -1
- package/_cjs/Push/definition.cjs +2 -4
- package/_cjs/Push/definition.cjs.map +1 -1
- package/_cjs/Push/internal.cjs +2 -2
- package/_cjs/Push.cjs +8 -8
- package/_cjs/Push.cjs.map +1 -1
- package/_cjs/Queue/api/dimapIO.cjs +10 -13
- package/_cjs/Queue/api/dimapIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterInputIO.cjs +12 -13
- package/_cjs/Queue/api/filterInputIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterOutputIO.cjs +19 -20
- package/_cjs/Queue/api/filterOutputIO.cjs.map +1 -1
- package/_cjs/Queue/api/operations.cjs +3 -3
- package/_cjs/Queue/api/operations.cjs.map +1 -1
- package/_cjs/Queue/api/poll.cjs +2 -2
- package/_cjs/Queue/api/poll.cjs.map +1 -1
- package/_cjs/Queue/api/takeBetween.cjs +16 -21
- package/_cjs/Queue/api/takeBetween.cjs.map +1 -1
- package/_cjs/Queue/api/takeN.cjs +18 -0
- package/_cjs/Queue/api/takeN.cjs.map +1 -0
- package/_cjs/Queue/api/zipWithIO.cjs +4 -6
- package/_cjs/Queue/api/zipWithIO.cjs.map +1 -1
- package/_cjs/Queue/api.cjs +35 -24
- package/_cjs/Queue/api.cjs.map +1 -1
- package/_cjs/Queue/constructors.cjs +2 -2
- package/_cjs/Queue/constructors.cjs.map +1 -1
- package/_cjs/Queue/definition.cjs +5 -10
- package/_cjs/Queue/definition.cjs.map +1 -1
- package/_cjs/Queue/internal.cjs +4 -4
- package/_cjs/Queue/internal.cjs.map +1 -1
- package/_cjs/Queue/strategy.cjs +2 -2
- package/_cjs/Queue/strategy.cjs.map +1 -1
- package/_cjs/Queue.cjs +16 -16
- package/_cjs/Queue.cjs.map +1 -1
- package/_cjs/Random/api.cjs +5 -8
- package/_cjs/Random/api.cjs.map +1 -1
- package/_cjs/Random/definition.cjs +3 -4
- package/_cjs/Random/definition.cjs.map +1 -1
- package/_cjs/Random/live.cjs +3 -4
- package/_cjs/Random/live.cjs.map +1 -1
- package/_cjs/Random.cjs +8 -8
- package/_cjs/Random.cjs.map +1 -1
- package/_cjs/Ref/Atomic.cjs +3 -4
- package/_cjs/Ref/Atomic.cjs.map +1 -1
- package/_cjs/Ref/Derived.cjs +3 -4
- package/_cjs/Ref/Derived.cjs.map +1 -1
- package/_cjs/Ref/DerivedAll.cjs +3 -4
- package/_cjs/Ref/DerivedAll.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/api.cjs +5 -8
- package/_cjs/Ref/Synchronized/api.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/constructors.cjs +2 -2
- package/_cjs/Ref/Synchronized/constructors.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/definition.cjs +4 -6
- package/_cjs/Ref/Synchronized/definition.cjs.map +1 -1
- package/_cjs/Ref/Synchronized.cjs +8 -8
- package/_cjs/Ref/Synchronized.cjs.map +1 -1
- package/_cjs/Ref/api/collect.cjs +2 -2
- package/_cjs/Ref/api/collect.cjs.map +1 -1
- package/_cjs/Ref/api/dimap.cjs +5 -8
- package/_cjs/Ref/api/dimap.cjs.map +1 -1
- package/_cjs/Ref/api/filter.cjs +2 -2
- package/_cjs/Ref/api/filter.cjs.map +1 -1
- package/_cjs/Ref/api/modify.cjs +3 -4
- package/_cjs/Ref/api/modify.cjs.map +1 -1
- package/_cjs/Ref/api.cjs +36 -35
- package/_cjs/Ref/api.cjs.map +1 -1
- package/_cjs/Ref/constructors.cjs +3 -4
- package/_cjs/Ref/constructors.cjs.map +1 -1
- package/_cjs/Ref/definition.cjs +3 -6
- package/_cjs/Ref/definition.cjs.map +1 -1
- package/_cjs/Ref.cjs +35 -35
- package/_cjs/Ref.cjs.map +1 -1
- package/_cjs/RefSubject/Atomic.cjs +5 -5
- package/_cjs/RefSubject/Atomic.cjs.map +1 -1
- package/_cjs/RefSubject/Synchronized/api.cjs +2 -2
- package/_cjs/RefSubject/Synchronized/api.cjs.map +1 -1
- package/_cjs/RefSubject/Synchronized/definition.cjs +11 -13
- package/_cjs/RefSubject/Synchronized/definition.cjs.map +1 -1
- package/_cjs/RefSubject/api.cjs +8 -11
- package/_cjs/RefSubject/api.cjs.map +1 -1
- package/_cjs/RefSubject/definition.cjs +2 -2
- package/_cjs/RefSubject/definition.cjs.map +1 -1
- package/_cjs/RefSubject.cjs +11 -11
- package/_cjs/RefSubject.cjs.map +1 -1
- package/_cjs/Reloadable/api.cjs +2 -2
- package/_cjs/Reloadable/constructors.cjs +4 -6
- package/_cjs/Reloadable/constructors.cjs.map +1 -1
- package/_cjs/Reloadable/definition.cjs +4 -5
- package/_cjs/Reloadable/definition.cjs.map +1 -1
- package/_cjs/Reloadable.cjs +8 -8
- package/_cjs/Reloadable.cjs.map +1 -1
- package/_cjs/RuntimeFlags/Patch.cjs +5 -8
- package/_cjs/RuntimeFlags/Patch.cjs.map +1 -1
- package/_cjs/RuntimeFlags/RuntimeFlags.cjs +9 -16
- package/_cjs/RuntimeFlags/RuntimeFlags.cjs.map +1 -1
- package/_cjs/RuntimeFlags.cjs +8 -8
- package/_cjs/RuntimeFlags.cjs.map +1 -1
- package/_cjs/STM/api/atomically.cjs +2 -2
- package/_cjs/STM/api/atomically.cjs.map +1 -1
- package/_cjs/STM/api/core-api.cjs +6 -10
- package/_cjs/STM/api/core-api.cjs.map +1 -1
- package/_cjs/STM/api/core-constructors.cjs +3 -6
- package/_cjs/STM/api/core-constructors.cjs.map +1 -1
- package/_cjs/STM/api.cjs +24 -46
- package/_cjs/STM/api.cjs.map +1 -1
- package/_cjs/STM/definition.cjs +8 -16
- package/_cjs/STM/definition.cjs.map +1 -1
- package/_cjs/STM/driver.cjs +5 -4
- package/_cjs/STM/driver.cjs.map +1 -1
- package/_cjs/STM/internal/CommitState.cjs +6 -10
- package/_cjs/STM/internal/CommitState.cjs.map +1 -1
- package/_cjs/STM/internal/Entry.cjs +2 -4
- package/_cjs/STM/internal/Entry.cjs.map +1 -1
- package/_cjs/STM/internal/Journal.cjs +12 -22
- package/_cjs/STM/internal/Journal.cjs.map +1 -1
- package/_cjs/STM/internal/TryCommit.cjs +1 -2
- package/_cjs/STM/internal/TryCommit.cjs.map +1 -1
- package/_cjs/STM/internal/Versioned.cjs +1 -2
- package/_cjs/STM/internal/Versioned.cjs.map +1 -1
- package/_cjs/STM.cjs +16 -16
- package/_cjs/STM.cjs.map +1 -1
- package/_cjs/Schedule/Decision.cjs +4 -6
- package/_cjs/Schedule/Decision.cjs.map +1 -1
- package/_cjs/Schedule/api/driver.cjs +4 -3
- package/_cjs/Schedule/api/driver.cjs.map +1 -1
- package/_cjs/Schedule/api.cjs +40 -76
- package/_cjs/Schedule/api.cjs.map +1 -1
- package/_cjs/Schedule/definition.cjs +1 -2
- package/_cjs/Schedule/definition.cjs.map +1 -1
- package/_cjs/Schedule.cjs +16 -16
- package/_cjs/Schedule.cjs.map +1 -1
- package/_cjs/Scope/Finalizer/definition.cjs +4 -6
- package/_cjs/Scope/Finalizer/definition.cjs.map +1 -1
- package/_cjs/Scope/Finalizer.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +2 -2
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api.cjs +4 -6
- package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/constructors.cjs +4 -6
- package/_cjs/Scope/ReleaseMap/constructors.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/definition.cjs +3 -4
- package/_cjs/Scope/ReleaseMap/definition.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap.cjs +8 -8
- package/_cjs/Scope/ReleaseMap.cjs.map +1 -1
- package/_cjs/Scope/api.cjs +41 -34
- package/_cjs/Scope/api.cjs.map +1 -1
- package/_cjs/Scope/definition.cjs +7 -7
- package/_cjs/Scope/definition.cjs.map +1 -1
- package/_cjs/Scope.cjs +8 -8
- package/_cjs/Scope.cjs.map +1 -1
- package/_cjs/ScopedRef/api.cjs +2 -2
- package/_cjs/ScopedRef/definition.cjs +1 -2
- package/_cjs/ScopedRef/definition.cjs.map +1 -1
- package/_cjs/ScopedRef.cjs +8 -8
- package/_cjs/ScopedRef.cjs.map +1 -1
- package/_cjs/Semaphore.cjs +3 -4
- package/_cjs/Semaphore.cjs.map +1 -1
- package/_cjs/Sink/api.cjs +44 -80
- package/_cjs/Sink/api.cjs.map +1 -1
- package/_cjs/Sink.cjs +8 -8
- package/_cjs/Sink.cjs.map +1 -1
- package/_cjs/State/api.cjs +2 -2
- package/_cjs/State/api.cjs.map +1 -1
- package/_cjs/State/internal.cjs +2 -4
- package/_cjs/State/internal.cjs.map +1 -1
- package/_cjs/State.cjs +8 -8
- package/_cjs/State.cjs.map +1 -1
- package/_cjs/Stream/api/zipAllWith.cjs +2 -2
- package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWith.cjs +2 -2
- package/_cjs/Stream/api/zipWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWithChunks.cjs +2 -2
- package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
- package/_cjs/Stream/api.cjs +82 -162
- package/_cjs/Stream/api.cjs.map +1 -1
- package/_cjs/Stream/definition.cjs +3 -6
- package/_cjs/Stream/definition.cjs.map +1 -1
- package/_cjs/Stream/internal/DebounceState.cjs +5 -10
- package/_cjs/Stream/internal/DebounceState.cjs.map +1 -1
- package/_cjs/Stream/internal/Handoff.cjs +19 -26
- package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
- package/_cjs/Stream/internal/Pull.cjs +4 -6
- package/_cjs/Stream/internal/Pull.cjs.map +1 -1
- package/_cjs/Stream/internal/SinkEndReason.cjs +1 -2
- package/_cjs/Stream/internal/SinkEndReason.cjs.map +1 -1
- package/_cjs/Stream/internal/Take.cjs +6 -10
- package/_cjs/Stream/internal/Take.cjs.map +1 -1
- package/_cjs/Stream/internal/util.cjs +2 -2
- package/_cjs/Stream/internal/util.cjs.map +1 -1
- package/_cjs/Stream.cjs +8 -8
- package/_cjs/Stream.cjs.map +1 -1
- package/_cjs/Subject/Atomic.cjs +2 -2
- package/_cjs/Subject/Atomic.cjs.map +1 -1
- package/_cjs/Subject/api.cjs +3 -4
- package/_cjs/Subject/api.cjs.map +1 -1
- package/_cjs/Subject/definition.cjs +2 -4
- package/_cjs/Subject/definition.cjs.map +1 -1
- package/_cjs/Subject.cjs +11 -11
- package/_cjs/Subject.cjs.map +1 -1
- package/_cjs/SubscriptionRef.cjs +9 -11
- package/_cjs/SubscriptionRef.cjs.map +1 -1
- package/_cjs/Supervisor/api.cjs +5 -8
- package/_cjs/Supervisor/api.cjs.map +1 -1
- package/_cjs/Supervisor/constructors.cjs +4 -6
- package/_cjs/Supervisor/constructors.cjs.map +1 -1
- package/_cjs/Supervisor/definition.cjs +3 -5
- package/_cjs/Supervisor/definition.cjs.map +1 -1
- package/_cjs/Supervisor.cjs +8 -8
- package/_cjs/Supervisor.cjs.map +1 -1
- package/_cjs/SupervisorPatch.cjs +5 -8
- package/_cjs/SupervisorPatch.cjs.map +1 -1
- package/_cjs/TExit/constructors.cjs +2 -4
- package/_cjs/TExit/constructors.cjs.map +1 -1
- package/_cjs/TExit/definition.cjs +11 -29
- package/_cjs/TExit/definition.cjs.map +1 -1
- package/_cjs/TExit.cjs +8 -8
- package/_cjs/TExit.cjs.map +1 -1
- package/_cjs/TFuture/api.cjs +3 -4
- package/_cjs/TFuture/api.cjs.map +1 -1
- package/_cjs/TFuture/constructors.cjs +3 -4
- package/_cjs/TFuture/constructors.cjs.map +1 -1
- package/_cjs/TFuture/definition.cjs +3 -4
- package/_cjs/TFuture/definition.cjs.map +1 -1
- package/_cjs/TFuture.cjs +8 -8
- package/_cjs/TFuture.cjs.map +1 -1
- package/_cjs/TReentrantLock/api.cjs +9 -16
- package/_cjs/TReentrantLock/api.cjs.map +1 -1
- package/_cjs/TReentrantLock/definition.cjs +2 -3
- package/_cjs/TReentrantLock/definition.cjs.map +1 -1
- package/_cjs/TReentrantLock.cjs +8 -8
- package/_cjs/TReentrantLock.cjs.map +1 -1
- package/_cjs/TRef/api.cjs +5 -8
- package/_cjs/TRef/api.cjs.map +1 -1
- package/_cjs/TRef/constructors.cjs +4 -6
- package/_cjs/TRef/constructors.cjs.map +1 -1
- package/_cjs/TRef/definition.cjs +38 -41
- package/_cjs/TRef/definition.cjs.map +1 -1
- package/_cjs/TRef.cjs +8 -8
- package/_cjs/TRef.cjs.map +1 -1
- package/_cjs/TSemaphore/api.cjs +5 -8
- package/_cjs/TSemaphore/api.cjs.map +1 -1
- package/_cjs/TSemaphore/constructors.cjs +3 -4
- package/_cjs/TSemaphore/constructors.cjs.map +1 -1
- package/_cjs/TSemaphore/definition.cjs +3 -4
- package/_cjs/TSemaphore/definition.cjs.map +1 -1
- package/_cjs/TSemaphore.cjs +8 -8
- package/_cjs/TSemaphore.cjs.map +1 -1
- package/_cjs/TxnId.cjs +1 -2
- package/_cjs/TxnId.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +2 -2
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +2 -2
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/filterIO.cjs +2 -2
- package/_cjs/collection/immutable/Conc/findIO.cjs +2 -2
- package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/mapIO.cjs +2 -2
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +2 -2
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc.cjs +24 -24
- package/_cjs/collection/immutable/Conc.cjs.map +1 -1
- package/_cjs/data/Exit/foreachIO.cjs +2 -2
- package/_cjs/internal/BackgroundScheduler.cjs +1 -2
- package/_cjs/internal/BackgroundScheduler.cjs.map +1 -1
- package/_cjs/internal/HashedPair.cjs +2 -2
- package/_cjs/internal/HashedPair.cjs.map +1 -1
- package/_cjs/internal/Hub.cjs +2 -2
- package/_cjs/internal/Hub.cjs.map +1 -1
- package/_cjs/internal/IsFatal.cjs +2 -4
- package/_cjs/internal/IsFatal.cjs.map +1 -1
- package/_cjs/internal/MutableQueue.cjs +3 -4
- package/_cjs/internal/MutableQueue.cjs.map +1 -1
- package/_cjs/internal/Scheduler.cjs +3 -4
- package/_cjs/internal/Scheduler.cjs.map +1 -1
- package/_cjs/internal/StackTraceBuilder.cjs +2 -2
- package/_cjs/internal/StackTraceBuilder.cjs.map +1 -1
- package/_mjs/Cached/api.mjs +2 -2
- package/_mjs/Cached/api.mjs.map +1 -1
- package/_mjs/Cached.mjs +3 -2
- package/_mjs/Cached.mjs.map +1 -1
- package/_mjs/CancellerState.mjs +0 -3
- package/_mjs/CancellerState.mjs.map +1 -1
- package/_mjs/Channel/ChildExecutorDecision/api.mjs.map +1 -1
- package/_mjs/Channel/ChildExecutorDecision.mjs +2 -1
- package/_mjs/Channel/ChildExecutorDecision.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullRequest/api.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullRequest.mjs +2 -1
- package/_mjs/Channel/UpstreamPullRequest.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullStrategy.mjs +1 -0
- package/_mjs/Channel/UpstreamPullStrategy.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeWith.mjs.map +1 -1
- package/_mjs/Channel/api/runScoped.mjs +1 -1
- package/_mjs/Channel/api/runScoped.mjs.map +1 -1
- package/_mjs/Channel/api/toPull.mjs.map +1 -1
- package/_mjs/Channel/api.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelExecutor.mjs +48 -52
- package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelState.mjs +0 -4
- package/_mjs/Channel/internal/ChannelState.mjs.map +1 -1
- package/_mjs/Channel/internal/MergeDecision.mjs +0 -1
- package/_mjs/Channel/internal/MergeDecision.mjs.map +1 -1
- package/_mjs/Channel/internal/MergeState.mjs +0 -3
- package/_mjs/Channel/internal/MergeState.mjs.map +1 -1
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +0 -3
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -1
- package/_mjs/Channel.mjs +4 -3
- package/_mjs/Channel.mjs.map +1 -1
- package/_mjs/Clock.mjs +3 -2
- package/_mjs/Clock.mjs.map +1 -1
- package/_mjs/Console.mjs +3 -2
- package/_mjs/Console.mjs.map +1 -1
- package/_mjs/CountdownLatch.mjs +6 -6
- package/_mjs/CountdownLatch.mjs.map +1 -1
- package/_mjs/Differ/api.mjs.map +1 -1
- package/_mjs/Fiber/FiberRuntime.mjs +66 -67
- package/_mjs/Fiber/FiberRuntime.mjs.map +1 -1
- package/_mjs/Fiber.mjs +21 -19
- package/_mjs/Fiber.mjs.map +1 -1
- package/_mjs/FiberDescriptor.mjs.map +1 -1
- package/_mjs/FiberRef.mjs +7 -5
- package/_mjs/FiberRef.mjs.map +1 -1
- package/_mjs/FiberRefs/Patch.mjs +154 -0
- package/_mjs/FiberRefs/Patch.mjs.map +1 -0
- package/_mjs/FiberRefs/api.mjs.map +1 -1
- package/_mjs/FiberRefs.mjs +3 -1
- package/_mjs/FiberRefs.mjs.map +1 -1
- package/_mjs/FiberScope/definition.mjs.map +1 -1
- package/_mjs/FiberScope.mjs +2 -1
- package/_mjs/FiberScope.mjs.map +1 -1
- package/_mjs/FiberStatus/definition.mjs.map +1 -1
- package/_mjs/FiberStatus.mjs +2 -1
- package/_mjs/FiberStatus.mjs.map +1 -1
- package/_mjs/Future/api.mjs.map +1 -1
- package/_mjs/Future/definition.mjs +0 -1
- package/_mjs/Future/definition.mjs.map +1 -1
- package/_mjs/Future.mjs +3 -2
- package/_mjs/Future.mjs.map +1 -1
- package/_mjs/Hub/api.mjs +8 -8
- package/_mjs/Hub/api.mjs.map +1 -1
- package/_mjs/Hub/internal.mjs.map +1 -1
- package/_mjs/Hub.mjs +3 -2
- package/_mjs/Hub.mjs.map +1 -1
- package/_mjs/IO/api/all.mjs.map +1 -1
- package/_mjs/IO/api/concurrentFinalizers.mjs +52 -6
- package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -1
- package/_mjs/IO/api/foreachConcurrent.mjs +20 -19
- package/_mjs/IO/api/foreachConcurrent.mjs.map +1 -1
- package/_mjs/IO/api/fork.mjs.map +1 -1
- package/_mjs/IO/api/interrupt.mjs.map +1 -1
- package/_mjs/IO/api/patchFiberRefs.mjs +10 -0
- package/_mjs/IO/api/patchFiberRefs.mjs.map +1 -0
- package/_mjs/IO/api/provideSomeRuntime.mjs +21 -0
- package/_mjs/IO/api/provideSomeRuntime.mjs.map +1 -0
- package/_mjs/IO/api/raceWith.mjs.map +1 -1
- package/_mjs/IO/api/withEarlyRelease.mjs +1 -1
- package/_mjs/IO/api/withEarlyRelease.mjs.map +1 -1
- package/_mjs/IO/api/zipConcurrent.mjs.map +1 -1
- package/_mjs/IO/api.mjs.map +1 -1
- package/_mjs/IO/definition.mjs.map +1 -1
- package/_mjs/IO/runtime.mjs.map +1 -1
- package/_mjs/IO.mjs +64 -60
- package/_mjs/IO.mjs.map +1 -1
- package/_mjs/IOEnv.mjs +3 -2
- package/_mjs/IOEnv.mjs.map +1 -1
- package/_mjs/InterruptStatus.mjs +2 -1
- package/_mjs/InterruptStatus.mjs.map +1 -1
- package/_mjs/Layer/MemoMap.mjs +2 -2
- package/_mjs/Layer/MemoMap.mjs.map +1 -1
- package/_mjs/Layer/api.mjs +9 -0
- package/_mjs/Layer/api.mjs.map +1 -1
- package/_mjs/Layer/definition.mjs +0 -6
- package/_mjs/Layer/definition.mjs.map +1 -1
- package/_mjs/Layer.mjs +2 -1
- package/_mjs/Layer.mjs.map +1 -1
- package/_mjs/LogLevel.mjs.map +1 -1
- package/_mjs/LogSpan.mjs.map +1 -1
- package/_mjs/Logger/api.mjs.map +1 -1
- package/_mjs/Logger/constructors.mjs.map +1 -1
- package/_mjs/Logger.mjs +3 -2
- package/_mjs/Logger.mjs.map +1 -1
- package/_mjs/MVar.mjs +2 -1
- package/_mjs/MVar.mjs.map +1 -1
- package/_mjs/Push/api.mjs.map +1 -1
- package/_mjs/Push.mjs +3 -2
- package/_mjs/Push.mjs.map +1 -1
- package/_mjs/Queue/api/dimapIO.mjs +5 -5
- package/_mjs/Queue/api/dimapIO.mjs.map +1 -1
- package/_mjs/Queue/api/filterInputIO.mjs +9 -9
- package/_mjs/Queue/api/filterInputIO.mjs.map +1 -1
- package/_mjs/Queue/api/filterOutputIO.mjs +16 -16
- package/_mjs/Queue/api/filterOutputIO.mjs.map +1 -1
- package/_mjs/Queue/api/operations.mjs +2 -2
- package/_mjs/Queue/api/operations.mjs.map +1 -1
- package/_mjs/Queue/api/takeBetween.mjs +14 -19
- package/_mjs/Queue/api/takeBetween.mjs.map +1 -1
- package/_mjs/Queue/api/takeN.mjs +10 -0
- package/_mjs/Queue/api/takeN.mjs.map +1 -0
- package/_mjs/Queue/api.mjs +8 -6
- package/_mjs/Queue/api.mjs.map +1 -1
- package/_mjs/Queue/internal.mjs +2 -2
- package/_mjs/Queue/internal.mjs.map +1 -1
- package/_mjs/Queue/strategy.mjs.map +1 -1
- package/_mjs/Queue.mjs +5 -4
- package/_mjs/Queue.mjs.map +1 -1
- package/_mjs/Random.mjs +3 -2
- package/_mjs/Random.mjs.map +1 -1
- package/_mjs/Ref/Synchronized.mjs +3 -2
- package/_mjs/Ref/Synchronized.mjs.map +1 -1
- package/_mjs/Ref/api.mjs +9 -8
- package/_mjs/Ref/api.mjs.map +1 -1
- package/_mjs/Ref.mjs +9 -7
- package/_mjs/Ref.mjs.map +1 -1
- package/_mjs/RefSubject/Atomic.mjs +3 -3
- package/_mjs/RefSubject/Atomic.mjs.map +1 -1
- package/_mjs/RefSubject/Synchronized/api.mjs.map +1 -1
- package/_mjs/RefSubject/Synchronized/definition.mjs +7 -7
- package/_mjs/RefSubject/Synchronized/definition.mjs.map +1 -1
- package/_mjs/RefSubject/api.mjs +3 -3
- package/_mjs/RefSubject/api.mjs.map +1 -1
- package/_mjs/RefSubject/definition.mjs +1 -0
- package/_mjs/RefSubject/definition.mjs.map +1 -1
- package/_mjs/RefSubject.mjs +2 -1
- package/_mjs/RefSubject.mjs.map +1 -1
- package/_mjs/Reloadable/definition.mjs +1 -1
- package/_mjs/Reloadable/definition.mjs.map +1 -1
- package/_mjs/Reloadable.mjs +3 -2
- package/_mjs/Reloadable.mjs.map +1 -1
- package/_mjs/RuntimeFlags.mjs +2 -1
- package/_mjs/RuntimeFlags.mjs.map +1 -1
- package/_mjs/STM/api/atomically.mjs.map +1 -1
- package/_mjs/STM/api.mjs.map +1 -1
- package/_mjs/STM/definition.mjs +0 -7
- package/_mjs/STM/definition.mjs.map +1 -1
- package/_mjs/STM/driver.mjs +1 -1
- package/_mjs/STM/driver.mjs.map +1 -1
- package/_mjs/STM/internal/CommitState.mjs.map +1 -1
- package/_mjs/STM/internal/Journal.mjs.map +1 -1
- package/_mjs/STM/internal/TryCommit.mjs +0 -2
- package/_mjs/STM/internal/TryCommit.mjs.map +1 -1
- package/_mjs/STM.mjs +6 -4
- package/_mjs/STM.mjs.map +1 -1
- package/_mjs/Schedule/Decision.mjs +0 -2
- package/_mjs/Schedule/Decision.mjs.map +1 -1
- package/_mjs/Schedule/api.mjs +2 -2
- package/_mjs/Schedule/api.mjs.map +1 -1
- package/_mjs/Schedule.mjs +3 -2
- package/_mjs/Schedule.mjs.map +1 -1
- package/_mjs/Scope/Finalizer.mjs +1 -0
- package/_mjs/Scope/Finalizer.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/definition.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap.mjs +3 -2
- package/_mjs/Scope/ReleaseMap.mjs.map +1 -1
- package/_mjs/Scope/api.mjs +31 -19
- package/_mjs/Scope/api.mjs.map +1 -1
- package/_mjs/Scope/definition.mjs +4 -2
- package/_mjs/Scope/definition.mjs.map +1 -1
- package/_mjs/Scope.mjs +3 -2
- package/_mjs/Scope.mjs.map +1 -1
- package/_mjs/ScopedRef.mjs +2 -1
- package/_mjs/ScopedRef.mjs.map +1 -1
- package/_mjs/Semaphore.mjs.map +1 -1
- package/_mjs/Sink/api.mjs +4 -4
- package/_mjs/Sink/api.mjs.map +1 -1
- package/_mjs/Sink.mjs +2 -1
- package/_mjs/Sink.mjs.map +1 -1
- package/_mjs/State/api.mjs.map +1 -1
- package/_mjs/State.mjs +3 -2
- package/_mjs/State.mjs.map +1 -1
- package/_mjs/Stream/api/zipAllWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -1
- package/_mjs/Stream/api.mjs.map +1 -1
- package/_mjs/Stream/internal/DebounceState.mjs +0 -3
- package/_mjs/Stream/internal/DebounceState.mjs.map +1 -1
- package/_mjs/Stream/internal/Handoff.mjs +10 -15
- package/_mjs/Stream/internal/Handoff.mjs.map +1 -1
- package/_mjs/Stream/internal/SinkEndReason.mjs +0 -2
- package/_mjs/Stream/internal/SinkEndReason.mjs.map +1 -1
- package/_mjs/Stream/internal/util.mjs.map +1 -1
- package/_mjs/Stream.mjs +3 -2
- package/_mjs/Stream.mjs.map +1 -1
- package/_mjs/Subject.mjs +2 -1
- package/_mjs/Subject.mjs.map +1 -1
- package/_mjs/SubscriptionRef.mjs +5 -5
- package/_mjs/SubscriptionRef.mjs.map +1 -1
- package/_mjs/Supervisor/api.mjs.map +1 -1
- package/_mjs/Supervisor/constructors.mjs.map +1 -1
- package/_mjs/Supervisor/definition.mjs +1 -3
- package/_mjs/Supervisor/definition.mjs.map +1 -1
- package/_mjs/Supervisor.mjs +3 -2
- package/_mjs/Supervisor.mjs.map +1 -1
- package/_mjs/SupervisorPatch.mjs +0 -3
- package/_mjs/SupervisorPatch.mjs.map +1 -1
- package/_mjs/TExit/definition.mjs +0 -9
- package/_mjs/TExit/definition.mjs.map +1 -1
- package/_mjs/TExit.mjs +2 -1
- package/_mjs/TExit.mjs.map +1 -1
- package/_mjs/TFuture.mjs +3 -2
- package/_mjs/TFuture.mjs.map +1 -1
- package/_mjs/TReentrantLock/api.mjs.map +1 -1
- package/_mjs/TReentrantLock/definition.mjs +0 -1
- package/_mjs/TReentrantLock/definition.mjs.map +1 -1
- package/_mjs/TReentrantLock.mjs +2 -1
- package/_mjs/TReentrantLock.mjs.map +1 -1
- package/_mjs/TRef/definition.mjs +33 -33
- package/_mjs/TRef/definition.mjs.map +1 -1
- package/_mjs/TRef.mjs +3 -2
- package/_mjs/TRef.mjs.map +1 -1
- package/_mjs/TSemaphore.mjs +3 -2
- package/_mjs/TSemaphore.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc.mjs +6 -5
- package/_mjs/collection/immutable/Conc.mjs.map +1 -1
- package/_mjs/internal/BackgroundScheduler.mjs.map +1 -1
- package/_mjs/internal/HashedPair.mjs.map +1 -1
- package/_mjs/internal/Hub.mjs.map +1 -1
- package/_mjs/internal/IsFatal.mjs +0 -3
- package/_mjs/internal/IsFatal.mjs.map +1 -1
- package/_mjs/internal/MutableQueue.mjs.map +1 -1
- package/_mjs/internal/Scheduler.mjs.map +1 -1
- package/_mjs/internal/StackTraceBuilder.mjs.map +1 -1
- package/_src/Cached/api.ts +4 -1
- package/_src/Cached.ts +3 -2
- package/_src/Channel/ChildExecutorDecision.ts +2 -1
- package/_src/Channel/UpstreamPullRequest.ts +2 -1
- package/_src/Channel/UpstreamPullStrategy.ts +1 -0
- package/_src/Channel/internal/ChannelExecutor.ts +4 -1
- package/_src/Channel/internal/MergeState.ts +4 -1
- package/_src/Channel.ts +4 -3
- package/_src/Clock.ts +3 -2
- package/_src/Console.ts +3 -2
- package/_src/CountdownLatch.ts +4 -1
- package/_src/Fiber/FiberRuntime.ts +12 -2
- package/_src/Fiber.ts +21 -19
- package/_src/FiberDescriptor.ts +5 -1
- package/_src/FiberRef.ts +7 -5
- package/_src/FiberRefs/Patch.ts +145 -0
- package/_src/FiberRefs.ts +3 -1
- package/_src/FiberScope/definition.ts +4 -1
- package/_src/FiberScope.ts +2 -1
- package/_src/FiberStatus/definition.ts +9 -2
- package/_src/FiberStatus.ts +2 -1
- package/_src/Future/definition.ts +4 -1
- package/_src/Future.ts +3 -2
- package/_src/Hub/api.ts +8 -2
- package/_src/Hub.ts +3 -2
- package/_src/IO/api/concurrentFinalizers.ts +74 -7
- package/_src/IO/api/foreachConcurrent.ts +16 -14
- package/_src/IO/api/interrupt.ts +1 -1
- package/_src/IO/api/patchFiberRefs.ts +8 -0
- package/_src/IO/api/provideSomeRuntime.ts +22 -0
- package/_src/IO/api.ts +4 -1
- package/_src/IO/definition.ts +6 -1
- package/_src/IO.ts +64 -60
- package/_src/IOEnv.ts +3 -2
- package/_src/InterruptStatus.ts +2 -1
- package/_src/Layer/MemoMap.ts +11 -3
- package/_src/Layer/api.ts +10 -0
- package/_src/Layer/definition.ts +17 -4
- package/_src/Layer.ts +2 -1
- package/_src/LogLevel.ts +5 -1
- package/_src/LogSpan.ts +4 -1
- package/_src/Logger.ts +3 -2
- package/_src/MVar.ts +2 -1
- package/_src/Push.ts +3 -2
- package/_src/Queue/api/dimapIO.ts +8 -2
- package/_src/Queue/api/filterInputIO.ts +8 -2
- package/_src/Queue/api/filterOutputIO.ts +8 -2
- package/_src/Queue/api/operations.ts +2 -2
- package/_src/Queue/api/takeBetween.ts +18 -20
- package/_src/Queue/api/takeN.ts +10 -0
- package/_src/Queue/api.ts +8 -6
- package/_src/Queue/internal.ts +4 -1
- package/_src/Queue.ts +5 -4
- package/_src/Random.ts +3 -2
- package/_src/Ref/Synchronized.ts +3 -2
- package/_src/Ref/api.ts +8 -7
- package/_src/Ref.ts +9 -7
- package/_src/RefSubject/Atomic.ts +14 -3
- package/_src/RefSubject/Synchronized/definition.ts +4 -1
- package/_src/RefSubject/api.ts +5 -1
- package/_src/RefSubject/definition.ts +1 -0
- package/_src/RefSubject.ts +2 -1
- package/_src/Reloadable/definition.ts +4 -1
- package/_src/Reloadable.ts +3 -2
- package/_src/RuntimeFlags.ts +2 -1
- package/_src/STM/definition.ts +16 -4
- package/_src/STM/driver.ts +6 -1
- package/_src/STM.ts +6 -4
- package/_src/Schedule.ts +3 -2
- package/_src/Scope/Finalizer.ts +1 -0
- package/_src/Scope/ReleaseMap/definition.ts +5 -1
- package/_src/Scope/ReleaseMap.ts +3 -2
- package/_src/Scope/api.ts +36 -26
- package/_src/Scope/definition.ts +2 -1
- package/_src/Scope.ts +3 -2
- package/_src/ScopedRef.ts +2 -1
- package/_src/Sink/api.ts +4 -4
- package/_src/Sink.ts +2 -1
- package/_src/State.ts +3 -2
- package/_src/Stream/internal/Handoff.ts +4 -1
- package/_src/Stream.ts +3 -2
- package/_src/Subject/definition.ts +1 -1
- package/_src/Subject.ts +2 -1
- package/_src/SubscriptionRef.ts +5 -1
- package/_src/Supervisor/definition.ts +8 -2
- package/_src/Supervisor.ts +3 -2
- package/_src/SupervisorPatch.ts +4 -1
- package/_src/TExit.ts +2 -1
- package/_src/TFuture.ts +3 -2
- package/_src/TReentrantLock/definition.ts +5 -1
- package/_src/TReentrantLock.ts +2 -1
- package/_src/TRef/definition.ts +4 -1
- package/_src/TRef.ts +3 -2
- package/_src/TSemaphore.ts +3 -2
- package/_src/collection/immutable/Conc.ts +6 -5
- package/_src/index.ts +47 -46
- package/_src/internal/HashedPair.ts +4 -1
- package/_src/internal/Hub.ts +20 -4
- package/_src/internal/IsFatal.ts +4 -1
- package/collection/immutable/Conc.d.ts +5 -5
- package/data/Exit/foreachIO.d.ts +1 -1
- package/index.d.ts +46 -46
- package/internal/Hub.d.ts +1 -1
- package/package.json +4 -4
package/IO/api.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ export declare function bimap<E, A, E1, B>(f: (e: E) => E1, g: (a: A) => B, __ts
|
|
|
84
84
|
* @tsplus pipeable fncts.io.IO bitap
|
|
85
85
|
* @tsplus location "@fncts/io/IO/api"
|
|
86
86
|
*/
|
|
87
|
-
export declare function bitap<E, A, R1, E1, R2, E2>(onFailure: (e: E) => IO<R1, E1, any>, onSuccess: (a: A) => IO<R2, E2, any>, __tsplusTrace?: string): <R>(self: IO<R, E, A>) => IO<
|
|
87
|
+
export declare function bitap<E, A, R1, E1, R2, E2>(onFailure: (e: E) => IO<R1, E1, any>, onSuccess: (a: A) => IO<R2, E2, any>, __tsplusTrace?: string): <R>(self: IO<R, E, A>) => IO<R | R1 | R2, E | E1 | E2, A>;
|
|
88
88
|
/**
|
|
89
89
|
* Recovers from the specified error
|
|
90
90
|
* @tsplus pipeable fncts.io.IO catch
|
|
@@ -98,7 +98,7 @@ export declare function catchTagWith<N extends keyof E, K extends E[N] & string,
|
|
|
98
98
|
* @tsplus pipeable fncts.io.IO catchAll
|
|
99
99
|
* @tsplus location "@fncts/io/IO/api"
|
|
100
100
|
*/
|
|
101
|
-
export declare function catchAll<E, R1, E1, A1>(f: (e: E) => IO<R1, E1, A1>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<
|
|
101
|
+
export declare function catchAll<E, R1, E1, A1>(f: (e: E) => IO<R1, E1, A1>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R | R1, E1, A | A1>;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
104
|
* Recovers from all errors with provided cause.
|
|
@@ -111,13 +111,13 @@ export declare function catchAllCause<R, E, A, R1, E1, A1>(f: (_: Cause<E>) => I
|
|
|
111
111
|
* @tsplus pipeable fncts.io.IO catchJust
|
|
112
112
|
* @tsplus location "@fncts/io/IO/api"
|
|
113
113
|
*/
|
|
114
|
-
export declare function catchJust<E, R1, E1, A1>(f: (e: E) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<
|
|
114
|
+
export declare function catchJust<E, R1, E1, A1>(f: (e: E) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R | R1, E | E1, A | A1>;
|
|
115
115
|
/**
|
|
116
116
|
* Recovers from some or all of the error cases with provided cause.
|
|
117
117
|
* @tsplus pipeable fncts.io.IO catchJustCause
|
|
118
118
|
* @tsplus location "@fncts/io/IO/api"
|
|
119
119
|
*/
|
|
120
|
-
export declare function catchJustCause<E, R1, E1, A1>(f: (_: Cause<E>) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<
|
|
120
|
+
export declare function catchJustCause<E, R1, E1, A1>(f: (_: Cause<E>) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R | R1, E | E1, A | A1>;
|
|
121
121
|
/**
|
|
122
122
|
* Recovers from some or all of the defects with provided partial function.
|
|
123
123
|
*
|
|
@@ -128,7 +128,7 @@ export declare function catchJustCause<E, R1, E1, A1>(f: (_: Cause<E>) => Maybe<
|
|
|
128
128
|
* @tsplus pipeable fncts.io.IO catchJustDefect
|
|
129
129
|
* @tsplus location "@fncts/io/IO/api"
|
|
130
130
|
*/
|
|
131
|
-
export declare function catchJustDefect<R1, E1, A1>(f: (_: unknown) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<
|
|
131
|
+
export declare function catchJustDefect<R1, E1, A1>(f: (_: unknown) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R | R1, E | E1, A | A1>;
|
|
132
132
|
/**
|
|
133
133
|
* Recovers from the specified error
|
|
134
134
|
* @tsplus pipeable IO catchTag
|
|
@@ -138,9 +138,9 @@ export declare function catchTag<K extends E["_tag"] & string, E extends {
|
|
|
138
138
|
_tag: string;
|
|
139
139
|
}, R1, E1, A1>(k: K, f: (e: Extract<E, {
|
|
140
140
|
_tag: K;
|
|
141
|
-
}>) => IO<R1, E1, A1>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<
|
|
141
|
+
}>) => IO<R1, E1, A1>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R | R1, Exclude<E, {
|
|
142
142
|
_tag: K;
|
|
143
|
-
}
|
|
143
|
+
}> | E1, A | A1>;
|
|
144
144
|
/**
|
|
145
145
|
* @tsplus getter fncts.io.IO cause
|
|
146
146
|
* @tsplus location "@fncts/io/IO/api"
|
|
@@ -150,7 +150,7 @@ export declare function cause<R, E, A>(ma: IO<R, E, A>, __tsplusTrace?: string):
|
|
|
150
150
|
* @tsplus pipeable fncts.io.IO causeAsError
|
|
151
151
|
* @tsplus location "@fncts/io/IO/api"
|
|
152
152
|
*/
|
|
153
|
-
export declare function causeAsError(__tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R,
|
|
153
|
+
export declare function causeAsError(__tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R, Cause<E>, A>;
|
|
154
154
|
/**
|
|
155
155
|
* Checks the interrupt status, and produces the IO returned by the
|
|
156
156
|
* specified callback.
|
|
@@ -165,22 +165,22 @@ export declare function checkInterruptible<R, E, A>(f: (i: InterruptStatus) => I
|
|
|
165
165
|
* @tsplus pipeable fncts.io.IO flatMap
|
|
166
166
|
* @tsplus location "@fncts/io/IO/api"
|
|
167
167
|
*/
|
|
168
|
-
export declare function flatMap<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<
|
|
168
|
+
export declare function flatMap<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R | R1, E | E1, B>;
|
|
169
169
|
/**
|
|
170
170
|
* @tsplus pipeable fncts.io.IO flatMapError
|
|
171
171
|
* @tsplus location "@fncts/io/IO/api"
|
|
172
172
|
*/
|
|
173
|
-
export declare function flatMapError<R1, E, E1>(f: (e: E) => IO<R1, never, E1>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<
|
|
173
|
+
export declare function flatMapError<R1, E, E1>(f: (e: E) => IO<R1, never, E1>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, A>) => IO<R | R1, E1, A>;
|
|
174
174
|
/**
|
|
175
175
|
* @tsplus pipeable fncts.io.IO collect
|
|
176
176
|
* @tsplus location "@fncts/io/IO/api"
|
|
177
177
|
*/
|
|
178
|
-
export declare function collect<A, E1, A1>(f: Lazy<E1>, pf: (a: A) => Maybe<A1>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R,
|
|
178
|
+
export declare function collect<A, E1, A1>(f: Lazy<E1>, pf: (a: A) => Maybe<A1>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R, E | E1, A1>;
|
|
179
179
|
/**
|
|
180
180
|
* @tsplus pipeable fncts.io.IO collectIO
|
|
181
181
|
* @tsplus location "@fncts/io/IO/api"
|
|
182
182
|
*/
|
|
183
|
-
export declare function collectIO<A, R1, E1, A1, E2>(f: Lazy<E2>, pf: (a: A) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<
|
|
183
|
+
export declare function collectIO<A, R1, E1, A1, E2>(f: Lazy<E2>, pf: (a: A) => Maybe<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R | R1, E | E1 | E2, A1>;
|
|
184
184
|
/**
|
|
185
185
|
* @tsplus static fncts.io.IOOps condIO
|
|
186
186
|
* @tsplus location "@fncts/io/IO/api"
|
|
@@ -221,7 +221,7 @@ export declare function either<R, E, A>(ma: IO<R, E, A>, __tsplusTrace?: string)
|
|
|
221
221
|
* @tsplus pipeable fncts.io.IO errorAsCause
|
|
222
222
|
* @tsplus location "@fncts/io/IO/api"
|
|
223
223
|
*/
|
|
224
|
-
export declare function errorAsCause(__tsplusTrace?: string): <R, E, A>(ma: IO<R,
|
|
224
|
+
export declare function errorAsCause(__tsplusTrace?: string): <R, E, A>(ma: IO<R, Cause<E>, A>) => IO<R, E, A>;
|
|
225
225
|
/**
|
|
226
226
|
* @tsplus getter fncts.io.IO eventually
|
|
227
227
|
* @tsplus location "@fncts/io/IO/api"
|
|
@@ -460,13 +460,13 @@ export declare function get<R, E, A>(ma: IO<R, E, Maybe<A>>, __tsplusTrace?: str
|
|
|
460
460
|
* @tsplus pipeable fncts.io.IO getOrElse
|
|
461
461
|
* @tsplus location "@fncts/io/IO/api"
|
|
462
462
|
*/
|
|
463
|
-
export declare function getOrElse<B>(orElse: Lazy<B>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E,
|
|
463
|
+
export declare function getOrElse<B>(orElse: Lazy<B>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, Maybe<A>>) => IO<R, E, A | B>;
|
|
464
464
|
/**
|
|
465
465
|
* Extracts the optional value, or executes the effect 'orElse'.
|
|
466
466
|
* @tsplus pipeable fncts.io.IO getOrElseIO
|
|
467
467
|
* @tsplus location "@fncts/io/IO/api"
|
|
468
468
|
*/
|
|
469
|
-
export declare function getOrElseIO<R1, E1, B>(orElse: Lazy<IO<R1, E1, B>>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E,
|
|
469
|
+
export declare function getOrElseIO<R1, E1, B>(orElse: Lazy<IO<R1, E1, B>>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, Maybe<A>>) => IO<R | R1, E | E1, A | B>;
|
|
470
470
|
/**
|
|
471
471
|
* Lifts a Maybe into an IO. If the option is `Nothing`, fail with `onNothing`.
|
|
472
472
|
* @tsplus static fncts.io.IOOps getOrFailWith
|
|
@@ -499,7 +499,7 @@ export declare function haltNow(e: unknown, __tsplusTrace?: string): UIO<never>;
|
|
|
499
499
|
* @tsplus pipeable fncts.io.IO ifIO
|
|
500
500
|
* @tsplus location "@fncts/io/IO/api"
|
|
501
501
|
*/
|
|
502
|
-
export declare function ifIO<R1, E1, B, R2, E2, C>(onFalse: Lazy<IO<R1, E1, B>>, onTrue: Lazy<IO<R2, E2, C>>, __tsplusTrace?: string): <R, E>(self: IO<R, E, boolean>) => IO<
|
|
502
|
+
export declare function ifIO<R1, E1, B, R2, E2, C>(onFalse: Lazy<IO<R1, E1, B>>, onTrue: Lazy<IO<R2, E2, C>>, __tsplusTrace?: string): <R, E>(self: IO<R, E, boolean>) => IO<R | R1 | R2, E | E1 | E2, B | C>;
|
|
503
503
|
/**
|
|
504
504
|
* @tsplus static fncts.io.IOOps if
|
|
505
505
|
* @tsplus location "@fncts/io/IO/api"
|
|
@@ -629,12 +629,12 @@ export declare function matchCause<E, A, A1, A2>(onFailure: (cause: Cause<E>) =>
|
|
|
629
629
|
* @tsplus pipeable fncts.io.IO matchCauseIO
|
|
630
630
|
* @tsplus location "@fncts/io/IO/api"
|
|
631
631
|
*/
|
|
632
|
-
export declare function matchCauseIO<E, A, R1, E1, A1, R2, E2, A2>(onFailure: (cause: Cause<E>) => IO<R1, E1, A1>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): <R>(self: IO<R, E, A>) => IO<
|
|
632
|
+
export declare function matchCauseIO<E, A, R1, E1, A1, R2, E2, A2>(onFailure: (cause: Cause<E>) => IO<R1, E1, A1>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): <R>(self: IO<R, E, A>) => IO<R | R1 | R2, E1 | E2, A1 | A2>;
|
|
633
633
|
/**
|
|
634
634
|
* @tsplus pipeable fncts.io.IO matchIO
|
|
635
635
|
* @tsplus location "@fncts/io/IO/api"
|
|
636
636
|
*/
|
|
637
|
-
export declare function matchIO<R1, R2, E, E1, E2, A, A1, A2>(onFailure: (e: E) => IO<R1, E1, A1>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): <R>(self: IO<R, E, A>) => IO<
|
|
637
|
+
export declare function matchIO<R1, R2, E, E1, E2, A, A1, A2>(onFailure: (e: E) => IO<R1, E1, A1>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): <R>(self: IO<R, E, A>) => IO<R | R1 | R2, E1 | E2, A1 | A2>;
|
|
638
638
|
/**
|
|
639
639
|
* Folds over the failure value or the success value to yield an IO that
|
|
640
640
|
* does not fail, but succeeds with the value returned by the left or right
|
|
@@ -648,7 +648,7 @@ export declare function match<E, A, B, C>(onFailure: (e: E) => B, onSuccess: (a:
|
|
|
648
648
|
* @tsplus pipeable fncts.io.IO matchTraceIO
|
|
649
649
|
* @tsplus location "@fncts/io/IO/api"
|
|
650
650
|
*/
|
|
651
|
-
export declare function matchTraceIO<E, A, R1, E1, A1, R2, E2, A2>(onFailure: (e: E, trace: Trace) => IO<R1, E1, A1>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): <R>(ma: IO<R, E, A>) => IO<
|
|
651
|
+
export declare function matchTraceIO<E, A, R1, E1, A1, R2, E2, A2>(onFailure: (e: E, trace: Trace) => IO<R1, E1, A1>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): <R>(ma: IO<R, E, A>) => IO<R | R1 | R2, E1 | E2, A1 | A2>;
|
|
652
652
|
/**
|
|
653
653
|
* @tsplus getter fncts.io.IO maybe
|
|
654
654
|
* @tsplus location "@fncts/io/IO/api"
|
|
@@ -685,17 +685,17 @@ export declare function optional<R, E, A>(ma: IO<R, Maybe<E>, A>, __tsplusTrace?
|
|
|
685
685
|
* @tsplus pipeable-operator fncts.io.IO ||
|
|
686
686
|
* @tsplus location "@fncts/io/IO/api"
|
|
687
687
|
*/
|
|
688
|
-
export declare function or<R1, E1>(mb: IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, boolean>) => IO<
|
|
688
|
+
export declare function or<R1, E1>(mb: IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, boolean>) => IO<R | R1, E | E1, boolean>;
|
|
689
689
|
/**
|
|
690
690
|
* @tsplus pipeable fncts.io.IO orElse
|
|
691
691
|
* @tsplus location "@fncts/io/IO/api"
|
|
692
692
|
*/
|
|
693
|
-
export declare function orElse<R1, E1, A1>(that: Lazy<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<
|
|
693
|
+
export declare function orElse<R1, E1, A1>(that: Lazy<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R | R1, E1, A | A1>;
|
|
694
694
|
/**
|
|
695
695
|
* @tsplus pipeable fncts.io.IO orElseEither
|
|
696
696
|
* @tsplus location "@fncts/io/IO/api"
|
|
697
697
|
*/
|
|
698
|
-
export declare function orElseEither<R1, E1, A1>(that: Lazy<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) => IO<
|
|
698
|
+
export declare function orElseEither<R1, E1, A1>(that: Lazy<IO<R1, E1, A1>>, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) => IO<R | R1, E1, Either<A, A1>>;
|
|
699
699
|
/**
|
|
700
700
|
* @tsplus pipeable fncts.io.IO orElseFail
|
|
701
701
|
* @tsplus location "@fncts/io/IO/api"
|
|
@@ -705,12 +705,12 @@ export declare function orElseFail<E1>(e: Lazy<E1>, __tsplusTrace?: string): <R,
|
|
|
705
705
|
* @tsplus pipeable fncts.io.IO orElseMaybe
|
|
706
706
|
* @tsplus location "@fncts/io/IO/api"
|
|
707
707
|
*/
|
|
708
|
-
export declare function orElseMaybe<R1, E1, A1>(that: Lazy<IO<R1, Maybe<E1>, A1>>, __tsplusTrace?: string): <R, E, A>(ma: IO<R,
|
|
708
|
+
export declare function orElseMaybe<R1, E1, A1>(that: Lazy<IO<R1, Maybe<E1>, A1>>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, Maybe<E>, A>) => IO<R | R1, Maybe<E | E1>, A | A1>;
|
|
709
709
|
/**
|
|
710
710
|
* @tsplus pipeable fncts.io.IO orElseSucceed
|
|
711
711
|
* @tsplus location "@fncts/io/IO/api"
|
|
712
712
|
*/
|
|
713
|
-
export declare function orElseSucceed<A1>(a: Lazy<A1>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R, E,
|
|
713
|
+
export declare function orElseSucceed<A1>(a: Lazy<A1>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R, E, A | A1>;
|
|
714
714
|
/**
|
|
715
715
|
* @tsplus getter fncts.io.IO orHalt
|
|
716
716
|
* @tsplus location "@fncts/io/IO/api"
|
|
@@ -731,7 +731,7 @@ export declare function orHaltWith<E>(f: (e: E) => unknown, __tsplusTrace?: stri
|
|
|
731
731
|
* @tsplus pipeable fncts.io.IO concurrentErrors
|
|
732
732
|
* @tsplus location "@fncts/io/IO/api"
|
|
733
733
|
*/
|
|
734
|
-
export declare function concurrentErrors(__tsplusTrace?: string): <R, E, A>(io: IO<R, E, A>) => IO<R,
|
|
734
|
+
export declare function concurrentErrors(__tsplusTrace?: string): <R, E, A>(io: IO<R, E, A>) => IO<R, List<E>, A>;
|
|
735
735
|
/**
|
|
736
736
|
* Feeds elements of type `A` to a function `f` that returns an IO.
|
|
737
737
|
* Collects all successes and failures in a separated fashion.
|
|
@@ -758,7 +758,7 @@ export declare function refineOrHaltWith<E, E1>(pf: (e: E) => Maybe<E1>, f: (e:
|
|
|
758
758
|
* @tsplus pipeable fncts.io.IO reject
|
|
759
759
|
* @tsplus location "@fncts/io/IO/api"
|
|
760
760
|
*/
|
|
761
|
-
export declare function reject<A, E1>(pf: (a: A) => Maybe<E1>, __tsplusTrace?: string): <R, E>(fa: IO<R, E, A>) => IO<R,
|
|
761
|
+
export declare function reject<A, E1>(pf: (a: A) => Maybe<E1>, __tsplusTrace?: string): <R, E>(fa: IO<R, E, A>) => IO<R, E | E1, A>;
|
|
762
762
|
/**
|
|
763
763
|
* Continue with the returned computation if the partial function `pf` matches,
|
|
764
764
|
* translating the successful match into a failure, otherwise continue with
|
|
@@ -766,7 +766,7 @@ export declare function reject<A, E1>(pf: (a: A) => Maybe<E1>, __tsplusTrace?: s
|
|
|
766
766
|
* @tsplus pipeable fncts.io.IO rejectIO
|
|
767
767
|
* @tsplus location "@fncts/io/IO/api"
|
|
768
768
|
*/
|
|
769
|
-
export declare function rejectIO<A, R1, E1>(pf: (a: A) => Maybe<IO<R1, E1, E1>>, __tsplusTrace?: string): <R, E>(fa: IO<R, E, A>) => IO<
|
|
769
|
+
export declare function rejectIO<A, R1, E1>(pf: (a: A) => Maybe<IO<R1, E1, E1>>, __tsplusTrace?: string): <R, E>(fa: IO<R, E, A>) => IO<R | R1, E | E1, A>;
|
|
770
770
|
/**
|
|
771
771
|
* Repeats this effect the specified number of times.
|
|
772
772
|
* @tsplus pipeable fncts.io.IO repeatN
|
|
@@ -784,7 +784,7 @@ export declare function repeatUntil<A>(f: (a: A) => boolean, __tsplusTrace?: str
|
|
|
784
784
|
* @tsplus pipeable fncts.io.IO repeatUntilIO
|
|
785
785
|
* @tsplus location "@fncts/io/IO/api"
|
|
786
786
|
*/
|
|
787
|
-
export declare function repeatUntilIO<A, R1, E1>(f: (a: A) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<
|
|
787
|
+
export declare function repeatUntilIO<A, R1, E1>(f: (a: A) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R | R1, E | E1, A>;
|
|
788
788
|
/**
|
|
789
789
|
* Repeats this effect while its error satisfies the specified predicate.
|
|
790
790
|
* @tsplus pipeable fncts.io.IO repeatWhile
|
|
@@ -796,17 +796,17 @@ export declare function repeatWhile<A>(f: (a: A) => boolean, __tsplusTrace?: str
|
|
|
796
796
|
* @tsplus pipeable fncts.io.IO repeatWhileIO
|
|
797
797
|
* @tsplus location "@fncts/io/IO/api"
|
|
798
798
|
*/
|
|
799
|
-
export declare function repeatWhileIO<A, R1, E1>(f: (a: A) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<
|
|
799
|
+
export declare function repeatWhileIO<A, R1, E1>(f: (a: A) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R | R1, E | E1, A>;
|
|
800
800
|
/**
|
|
801
801
|
* @tsplus pipeable fncts.io.IO replicate
|
|
802
802
|
* @tsplus location "@fncts/io/IO/api"
|
|
803
803
|
*/
|
|
804
|
-
export declare function replicate(n: number, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) =>
|
|
804
|
+
export declare function replicate(n: number, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) => ImmutableArray<IO<R, E, A>>;
|
|
805
805
|
/**
|
|
806
806
|
* @tsplus pipeable fncts.io.IO require
|
|
807
807
|
* @tsplus location "@fncts/io/IO/api"
|
|
808
808
|
*/
|
|
809
|
-
export declare function require<E>(error: Lazy<E>, __tsplusTrace?: string): <R, A>(ma: IO<R, E,
|
|
809
|
+
export declare function require<E>(error: Lazy<E>, __tsplusTrace?: string): <R, A>(ma: IO<R, E, Maybe<A>>) => IO<R, E, A>;
|
|
810
810
|
/**
|
|
811
811
|
* Returns an IO that semantically runs the IO on a fiber,
|
|
812
812
|
* producing an `Exit` for the completion value of the fiber.
|
|
@@ -831,7 +831,7 @@ export declare function retryUntil<E>(f: (e: E) => boolean, __tsplusTrace?: stri
|
|
|
831
831
|
* @tsplus pipeable fncts.io.IO retryUntilIO
|
|
832
832
|
* @tsplus location "@fncts/io/IO/api"
|
|
833
833
|
*/
|
|
834
|
-
export declare function retryUntilIO<E, R1, E1>(f: (e: E) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, A>(fa: IO<R, E, A>) => IO<
|
|
834
|
+
export declare function retryUntilIO<E, R1, E1>(f: (e: E) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, A>(fa: IO<R, E, A>) => IO<R | R1, E | E1, A>;
|
|
835
835
|
/**
|
|
836
836
|
* Retries this effect while its error satisfies the specified predicate.
|
|
837
837
|
* @tsplus pipeable fncts.io.IO retryWhile
|
|
@@ -843,7 +843,7 @@ export declare function retryWhile<E>(f: (e: E) => boolean, __tsplusTrace?: stri
|
|
|
843
843
|
* @tsplus pipeable fncts.io.IO retryWhileIO
|
|
844
844
|
* @tsplus location "@fncts/io/IO/api"
|
|
845
845
|
*/
|
|
846
|
-
export declare function retryWhileIO<E, R1, E1>(f: (e: E) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, A>(fa: IO<R, E, A>) => IO<
|
|
846
|
+
export declare function retryWhileIO<E, R1, E1>(f: (e: E) => IO<R1, E1, boolean>, __tsplusTrace?: string): <R, A>(fa: IO<R, E, A>) => IO<R | R1, E | E1, A>;
|
|
847
847
|
/**
|
|
848
848
|
* Exposes the full cause of failure of this effect.
|
|
849
849
|
* @tsplus getter fncts.io.IO sandbox
|
|
@@ -884,7 +884,7 @@ export declare function succeed<A>(effect: Lazy<A>, __tsplusTrace?: string): UIO
|
|
|
884
884
|
* @tsplus pipeable fncts.io.IO summarized
|
|
885
885
|
* @tsplus location "@fncts/io/IO/api"
|
|
886
886
|
*/
|
|
887
|
-
export declare function summarized<R1, E1, B, C>(summary: IO<R1, E1, B>, f: (start: B, end: B) => C, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<
|
|
887
|
+
export declare function summarized<R1, E1, B, C>(summary: IO<R1, E1, B>, f: (start: B, end: B) => C, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R | R1, E | E1, readonly [C, A]>;
|
|
888
888
|
/**
|
|
889
889
|
* Swaps the positions of a Bifunctor's arguments
|
|
890
890
|
* @tsplus getter fncts.io.IO swap
|
|
@@ -935,7 +935,7 @@ export declare function tap<A, R1, E1, B>(f: (a: A) => IO<R1, E1, B>, __tsplusTr
|
|
|
935
935
|
* @tsplus pipeable fncts.io.IO tapCause
|
|
936
936
|
* @tsplus location "@fncts/io/IO/api"
|
|
937
937
|
*/
|
|
938
|
-
export declare function tapCause<R, E, E2>(f: (e: Cause<E2>) => IO<R, E, any>, __tsplusTrace?: string): <R2, A2>(ma: IO<R2, E2, A2>) => IO<
|
|
938
|
+
export declare function tapCause<R, E, E2>(f: (e: Cause<E2>) => IO<R, E, any>, __tsplusTrace?: string): <R2, A2>(ma: IO<R2, E2, A2>) => IO<R2 | R, E | E2, A2>;
|
|
939
939
|
/**
|
|
940
940
|
* Returns an IO that effectfully "peeks" at the failure of this effect.
|
|
941
941
|
* @tsplus pipeable fncts.io.IO tapError
|
|
@@ -948,12 +948,12 @@ export declare function tapError<E, R1, E1>(f: (e: E) => IO<R1, E1, any>, __tspl
|
|
|
948
948
|
* @tsplus pipeable fncts.io.IO tapErrorCause
|
|
949
949
|
* @tsplus location "@fncts/io/IO/api"
|
|
950
950
|
*/
|
|
951
|
-
export declare function tapErrorCause<E, R1, E1>(f: (e: Cause<E>) => IO<R1, E1, any>, __tsplusTrace?: string): <R, A>(self: IO<R, E, A>) => IO<
|
|
951
|
+
export declare function tapErrorCause<E, R1, E1>(f: (e: Cause<E>) => IO<R1, E1, any>, __tsplusTrace?: string): <R, A>(self: IO<R, E, A>) => IO<R | R1, E | E1, A>;
|
|
952
952
|
/**
|
|
953
953
|
* @tsplus pipeable fncts.io.IO tryOrElse
|
|
954
954
|
* @tsplus location "@fncts/io/IO/api"
|
|
955
955
|
*/
|
|
956
|
-
export declare function tryOrElse<A, R1, E1, A1, R2, E2, A2>(that: Lazy<IO<R1, E1, A1>>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<
|
|
956
|
+
export declare function tryOrElse<A, R1, E1, A1, R2, E2, A2>(that: Lazy<IO<R1, E1, A1>>, onSuccess: (a: A) => IO<R2, E2, A2>, __tsplusTrace?: string): <R, E>(ma: IO<R, E, A>) => IO<R | R1 | R2, E1 | E2, A1 | A2>;
|
|
957
957
|
/**
|
|
958
958
|
* @tsplus static fncts.io.IOOps unit
|
|
959
959
|
* @tsplus location "@fncts/io/IO/api"
|
|
@@ -1001,7 +1001,7 @@ export declare function when(b: Lazy<boolean>, __tsplusTrace?: string): <R, E, A
|
|
|
1001
1001
|
* @tsplus static fncts.io.IOOps whenIO
|
|
1002
1002
|
* @tsplus location "@fncts/io/IO/api"
|
|
1003
1003
|
*/
|
|
1004
|
-
export declare function whenIO<R1, E1>(mb: IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R1 | R,
|
|
1004
|
+
export declare function whenIO<R1, E1>(mb: IO<R1, E1, boolean>, __tsplusTrace?: string): <R, E, A>(ma: IO<R, E, A>) => IO<R1 | R, E | E1, Maybe<A>>;
|
|
1005
1005
|
/**
|
|
1006
1006
|
* @tsplus static fncts.io.IOOps withFiberRuntime
|
|
1007
1007
|
* @tsplus location "@fncts/io/IO/api"
|
|
@@ -1029,12 +1029,12 @@ export declare const yieldNow: UIO<void>;
|
|
|
1029
1029
|
* @tsplus pipeable fncts.io.IO zip
|
|
1030
1030
|
* @tsplus location "@fncts/io/IO/api"
|
|
1031
1031
|
*/
|
|
1032
|
-
export declare function zip<R1, E1, B>(that: IO<R1, E1, B>, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) => IO<
|
|
1032
|
+
export declare function zip<R1, E1, B>(that: IO<R1, E1, B>, __tsplusTrace?: string): <R, E, A>(self: IO<R, E, A>) => IO<R | R1, E | E1, readonly [A, B]>;
|
|
1033
1033
|
/**
|
|
1034
1034
|
* @tsplus pipeable fncts.io.IO zipWith
|
|
1035
1035
|
* @tsplus location "@fncts/io/IO/api"
|
|
1036
1036
|
*/
|
|
1037
|
-
export declare function zipWith<A, R1, E1, B, C>(that: IO<R1, E1, B>, f: (a: A, b: B) => C, __tsplusTrace?: string): <R, E>(self: IO<R, E, A>) => IO<
|
|
1037
|
+
export declare function zipWith<A, R1, E1, B, C>(that: IO<R1, E1, B>, f: (a: A, b: B) => C, __tsplusTrace?: string): <R, E>(self: IO<R, E, A>) => IO<R | R1, E | E1, C>;
|
|
1038
1038
|
export declare class GenIO<R, E, A> {
|
|
1039
1039
|
readonly effect: IO<R, E, A>;
|
|
1040
1040
|
readonly _trace?: string | undefined;
|
package/IO/definition.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { FiberId } from "@fncts/base/data/FiberId/definition";
|
|
|
4
4
|
import { Cause } from "@fncts/base/data/Cause/definition";
|
|
5
5
|
import { STM } from "@fncts/io/STM/definition";
|
|
6
6
|
import { Nothing, Just } from "@fncts/base/data/Maybe/definition";
|
|
7
|
+
import { Tag } from "@fncts/base/data/Tag/definition";
|
|
7
8
|
import type { FiberRuntime } from "../Fiber/FiberRuntime.js";
|
|
8
9
|
import type { Running } from "../FiberStatus.js";
|
|
9
10
|
import type { RuntimeFlagsPatch } from "../RuntimeFlags.js";
|
|
@@ -65,6 +66,10 @@ declare module "@fncts/base/data/Exit/definition" {
|
|
|
65
66
|
interface Failure<E> extends IO<never, E, never> {
|
|
66
67
|
}
|
|
67
68
|
}
|
|
69
|
+
declare module "@fncts/base/data/Tag/definition" {
|
|
70
|
+
interface Tag<T, Identifier = T> extends IO<never, never, T> {
|
|
71
|
+
}
|
|
72
|
+
}
|
|
68
73
|
/**
|
|
69
74
|
* @tsplus type fncts.io.IOAspects
|
|
70
75
|
*/
|
|
@@ -202,7 +207,7 @@ export interface Fail extends IOOp<IOTag.Fail, {
|
|
|
202
207
|
readonly trace: string | undefined;
|
|
203
208
|
}> {
|
|
204
209
|
}
|
|
205
|
-
export type Primitive = OnSuccessAndFailure | OnFailure | OnSuccess | UpdateRuntimeFlagsWithin | Sync | Async | SucceedNow | UpdateRuntimeFlags | GenerateStackTrace | Stateful | WhileLoop | YieldNow | Fail | STM<any, any, any> | Left<any> | Right<any> | Nothing | Just<any> | Failure<any> | Success<any>;
|
|
210
|
+
export type Primitive = OnSuccessAndFailure | OnFailure | OnSuccess | UpdateRuntimeFlagsWithin | Sync | Async | SucceedNow | UpdateRuntimeFlags | GenerateStackTrace | Stateful | WhileLoop | YieldNow | Fail | STM<any, any, any> | Left<any> | Right<any> | Nothing | Just<any> | Failure<any> | Success<any> | Tag<any>;
|
|
206
211
|
/**
|
|
207
212
|
* @tsplus static fncts.io.IOOps concrete
|
|
208
213
|
* @tsplus macro identity
|
package/IO/runtime.d.ts
CHANGED
|
@@ -16,12 +16,12 @@ export declare class Runtime<R> {
|
|
|
16
16
|
readonly runtimeFlags: RuntimeFlags;
|
|
17
17
|
readonly fiberRefs: FiberRefs;
|
|
18
18
|
constructor(environment: Environment<R>, runtimeFlags: RuntimeFlags, fiberRefs: FiberRefs);
|
|
19
|
-
makeFiber: <E, A>(io:
|
|
20
|
-
unsafeRunFiber: <E, A>(io:
|
|
21
|
-
unsafeRunPromiseExit: <E, A>(io:
|
|
22
|
-
unsafeRunPromise: <E, A>(io:
|
|
23
|
-
unsafeRunOrFork: <E, A>(io:
|
|
24
|
-
unsafeRun: <E, A>(io:
|
|
19
|
+
makeFiber: <E, A>(io: IO<R, E, A>, __tsplusTrace?: string) => FiberRuntime<E, A>;
|
|
20
|
+
unsafeRunFiber: <E, A>(io: IO<R, E, A>, __tsplusTrace?: string) => FiberRuntime<E, A>;
|
|
21
|
+
unsafeRunPromiseExit: <E, A>(io: IO<R, E, A>, __tsplusTrace?: string) => Promise<Exit<E, A>>;
|
|
22
|
+
unsafeRunPromise: <E, A>(io: IO<R, E, A>, __tsplusTrace?: string) => Promise<A>;
|
|
23
|
+
unsafeRunOrFork: <E, A>(io: IO<R, E, A>, __tsplusTrace?: string) => Either<Fiber.Runtime<E, A>, Exit<E, A>>;
|
|
24
|
+
unsafeRun: <E, A>(io: IO<R, E, A>, __tsplusTrace?: string) => Exit<E, A>;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* @tsplus static fncts.io.IOOps runtime
|
package/IO.d.ts
CHANGED
|
@@ -1,63 +1,65 @@
|
|
|
1
|
-
export * from "./IO/api.js";
|
|
2
|
-
export * from "./IO/definition.js";
|
|
3
1
|
export * from "./IO/runtime.js";
|
|
4
|
-
export * from "./IO/
|
|
5
|
-
export * from "./IO/api
|
|
6
|
-
export * from "./IO/api/
|
|
7
|
-
export * from "./IO/api/
|
|
8
|
-
export * from "./IO/api/
|
|
9
|
-
export * from "./IO/api/
|
|
10
|
-
export * from "./IO/api/
|
|
11
|
-
export * from "./IO/api/
|
|
12
|
-
export * from "./IO/api/
|
|
13
|
-
export * from "./IO/api/
|
|
14
|
-
export * from "./IO/api/
|
|
15
|
-
export * from "./IO/api/
|
|
16
|
-
export * from "./IO/api/
|
|
17
|
-
export * from "./IO/api/
|
|
18
|
-
export * from "./IO/api/
|
|
19
|
-
export * from "./IO/api/consoleWith.js";
|
|
20
|
-
export * from "./IO/api/daemonChildren.js";
|
|
21
|
-
export * from "./IO/api/delay.js";
|
|
22
|
-
export * from "./IO/api/descriptor.js";
|
|
23
|
-
export * from "./IO/api/disconnect.js";
|
|
24
|
-
export * from "./IO/api/ensuringChildren.js";
|
|
25
|
-
export * from "./IO/api/environment.js";
|
|
26
|
-
export * from "./IO/api/foreachConcurrent.js";
|
|
27
|
-
export * from "./IO/api/foreachExec.js";
|
|
28
|
-
export * from "./IO/api/fork.js";
|
|
29
|
-
export * from "./IO/api/forkAll.js";
|
|
30
|
-
export * from "./IO/api/forkDaemon.js";
|
|
31
|
-
export * from "./IO/api/forkIn.js";
|
|
32
|
-
export * from "./IO/api/forkScoped.js";
|
|
33
|
-
export * from "./IO/api/fulfill.js";
|
|
34
|
-
export * from "./IO/api/interrupt.js";
|
|
35
|
-
export * from "./IO/api/memoize.js";
|
|
36
|
-
export * from "./IO/api/once.js";
|
|
37
|
-
export * from "./IO/api/onTermination.js";
|
|
38
|
-
export * from "./IO/api/provideLayer.js";
|
|
39
|
-
export * from "./IO/api/provideScope.js";
|
|
40
|
-
export * from "./IO/api/provideSomeLayer.js";
|
|
41
|
-
export * from "./IO/api/race.js";
|
|
42
|
-
export * from "./IO/api/raceFirst.js";
|
|
43
|
-
export * from "./IO/api/raceWith.js";
|
|
44
|
-
export * from "./IO/api/randomWith.js";
|
|
45
|
-
export * from "./IO/api/repeat.js";
|
|
46
|
-
export * from "./IO/api/retry.js";
|
|
47
|
-
export * from "./IO/api/schedule.js";
|
|
48
|
-
export * from "./IO/api/scope.js";
|
|
2
|
+
export * from "./IO/definition.js";
|
|
3
|
+
export * from "./IO/api.js";
|
|
4
|
+
export * from "./IO/api/zipConcurrent.js";
|
|
5
|
+
export * from "./IO/api/withFinalizerExit.js";
|
|
6
|
+
export * from "./IO/api/withFinalizer.js";
|
|
7
|
+
export * from "./IO/api/withEarlyRelease.js";
|
|
8
|
+
export * from "./IO/api/withChildren.js";
|
|
9
|
+
export * from "./IO/api/whenRef.js";
|
|
10
|
+
export * from "./IO/api/whenFiberRef.js";
|
|
11
|
+
export * from "./IO/api/transplant.js";
|
|
12
|
+
export * from "./IO/api/timeout.js";
|
|
13
|
+
export * from "./IO/api/supervised.js";
|
|
14
|
+
export * from "./IO/api/stateful.js";
|
|
15
|
+
export * from "./IO/api/sleep.js";
|
|
16
|
+
export * from "./IO/api/sequenceT.js";
|
|
49
17
|
export * from "./IO/api/scoped.js";
|
|
50
18
|
export * from "./IO/api/scopeWith.js";
|
|
51
|
-
export * from "./IO/api/
|
|
52
|
-
export * from "./IO/api/
|
|
53
|
-
export * from "./IO/api/
|
|
54
|
-
export * from "./IO/api/
|
|
55
|
-
export * from "./IO/api/
|
|
56
|
-
export * from "./IO/api/
|
|
57
|
-
export * from "./IO/api/
|
|
58
|
-
export * from "./IO/api/
|
|
59
|
-
export * from "./IO/api/
|
|
60
|
-
export * from "./IO/api/
|
|
61
|
-
export * from "./IO/api/
|
|
62
|
-
export * from "./IO/api/
|
|
63
|
-
export * from "./IO/api/
|
|
19
|
+
export * from "./IO/api/scope.js";
|
|
20
|
+
export * from "./IO/api/schedule.js";
|
|
21
|
+
export * from "./IO/api/retry.js";
|
|
22
|
+
export * from "./IO/api/repeat.js";
|
|
23
|
+
export * from "./IO/api/randomWith.js";
|
|
24
|
+
export * from "./IO/api/raceWith.js";
|
|
25
|
+
export * from "./IO/api/raceFirst.js";
|
|
26
|
+
export * from "./IO/api/race.js";
|
|
27
|
+
export * from "./IO/api/provideSomeRuntime.js";
|
|
28
|
+
export * from "./IO/api/provideSomeLayer.js";
|
|
29
|
+
export * from "./IO/api/provideScope.js";
|
|
30
|
+
export * from "./IO/api/provideLayer.js";
|
|
31
|
+
export * from "./IO/api/patchFiberRefs.js";
|
|
32
|
+
export * from "./IO/api/once.js";
|
|
33
|
+
export * from "./IO/api/onTermination.js";
|
|
34
|
+
export * from "./IO/api/memoize.js";
|
|
35
|
+
export * from "./IO/api/interrupt.js";
|
|
36
|
+
export * from "./IO/api/fulfill.js";
|
|
37
|
+
export * from "./IO/api/forkScoped.js";
|
|
38
|
+
export * from "./IO/api/forkIn.js";
|
|
39
|
+
export * from "./IO/api/forkDaemon.js";
|
|
40
|
+
export * from "./IO/api/forkAll.js";
|
|
41
|
+
export * from "./IO/api/fork.js";
|
|
42
|
+
export * from "./IO/api/foreachExec.js";
|
|
43
|
+
export * from "./IO/api/foreachConcurrent.js";
|
|
44
|
+
export * from "./IO/api/environment.js";
|
|
45
|
+
export * from "./IO/api/ensuringChildren.js";
|
|
46
|
+
export * from "./IO/api/disconnect.js";
|
|
47
|
+
export * from "./IO/api/descriptor.js";
|
|
48
|
+
export * from "./IO/api/delay.js";
|
|
49
|
+
export * from "./IO/api/daemonChildren.js";
|
|
50
|
+
export * from "./IO/api/consoleWith.js";
|
|
51
|
+
export * from "./IO/api/concurrentFinalizers.js";
|
|
52
|
+
export * from "./IO/api/concurrency.js";
|
|
53
|
+
export * from "./IO/api/clockWith.js";
|
|
54
|
+
export * from "./IO/api/bracketExit.js";
|
|
55
|
+
export * from "./IO/api/bracket.js";
|
|
56
|
+
export * from "./IO/api/blocking.js";
|
|
57
|
+
export * from "./IO/api/asyncInterrupt.js";
|
|
58
|
+
export * from "./IO/api/asyncIO.js";
|
|
59
|
+
export * from "./IO/api/all.js";
|
|
60
|
+
export * from "./IO/api/addFinalizerExit.js";
|
|
61
|
+
export * from "./IO/api/addFinalizer.js";
|
|
62
|
+
export * from "./IO/api/acquireReleaseInterruptibleExit.js";
|
|
63
|
+
export * from "./IO/api/acquireReleaseInterruptible.js";
|
|
64
|
+
export * from "./IO/api/acquireReleaseExit.js";
|
|
65
|
+
export * from "./IO/api/acquireRelease.js";
|
package/IOEnv.d.ts
CHANGED
package/InterruptStatus.d.ts
CHANGED
package/Layer/MemoMap.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare class MemoMap {
|
|
|
19
19
|
* returns it. Otherwise, obtains the dependency, stores it in the memo map,
|
|
20
20
|
* and adds a finalizer to the outer `Managed`.
|
|
21
21
|
*/
|
|
22
|
-
getOrElseMemoize: <R, E, A>(scope: Scope, layer:
|
|
22
|
+
getOrElseMemoize: <R, E, A>(scope: Scope, layer: Layer<R, E, A>, __tsplusTrace?: string) => import("../IO").IO<R, E, import("@fncts/base/data/Environment").Environment<A>>;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @tsplus fluent fncts.io.Layer isFresh
|
|
@@ -36,9 +36,9 @@ export declare function build<R, E, A>(self: Layer<R, E, A>, __tsplusTrace?: str
|
|
|
36
36
|
* @tsplus pipeable fncts.io.Layer build
|
|
37
37
|
* @tsplus location "@fncts/io/Layer/MemoMap"
|
|
38
38
|
*/
|
|
39
|
-
export declare function build_(scope: Scope, __tsplusTrace?: string): <R, E, A>(self:
|
|
39
|
+
export declare function build_(scope: Scope, __tsplusTrace?: string): <R, E, A>(self: Layer<R, E, A>) => IO<R, E, Environment<A>>;
|
|
40
40
|
/**
|
|
41
41
|
* @tsplus pipeable fncts.io.Layer scope
|
|
42
42
|
* @tsplus location "@fncts/io/Layer/MemoMap"
|
|
43
43
|
*/
|
|
44
|
-
export declare function scope(scope: Scope, __tsplusTrace?: string): <R, E, A>(layer:
|
|
44
|
+
export declare function scope(scope: Scope, __tsplusTrace?: string): <R, E, A>(layer: Layer<R, E, A>) => import("../IO").IO<never, never, (_: MemoMap) => IO<R, E, Environment<A>>>;
|
package/Layer/api.d.ts
CHANGED
|
@@ -6,12 +6,13 @@ import { IO, URIO } from "@fncts/io/IO/definition";
|
|
|
6
6
|
import { Scope } from "@fncts/io/Scope/definition";
|
|
7
7
|
import { Schedule } from "@fncts/io/Schedule/definition";
|
|
8
8
|
import type { Spreadable } from "@fncts/base/types";
|
|
9
|
+
import type { Runtime } from "@fncts/io/IO";
|
|
9
10
|
import { Layer } from "@fncts/io/Layer/definition";
|
|
10
11
|
/**
|
|
11
12
|
* @tsplus pipeable fncts.io.Layer and
|
|
12
13
|
* @tsplus location "@fncts/io/Layer/api"
|
|
13
14
|
*/
|
|
14
|
-
export declare function and<RIn1, E1, ROut1>(that: Layer<RIn1, E1, ROut1>, __tsplusTrace?: string): <RIn, E, ROut>(self: Layer<RIn, E, ROut>) => Layer<
|
|
15
|
+
export declare function and<RIn1, E1, ROut1>(that: Layer<RIn1, E1, ROut1>, __tsplusTrace?: string): <RIn, E, ROut>(self: Layer<RIn, E, ROut>) => Layer<RIn | RIn1, E | E1, ROut | ROut1>;
|
|
15
16
|
/**
|
|
16
17
|
* Feeds the output services of this layer into the input of the specified
|
|
17
18
|
* layer, resulting in a new layer with the inputs of this layer, and the
|
|
@@ -19,7 +20,7 @@ export declare function and<RIn1, E1, ROut1>(that: Layer<RIn1, E1, ROut1>, __tsp
|
|
|
19
20
|
* @tsplus pipeable fncts.io.Layer andTo
|
|
20
21
|
* @tsplus location "@fncts/io/Layer/api"
|
|
21
22
|
*/
|
|
22
|
-
export declare function andTo<RIn1, E1, ROut1>(that: Layer<RIn1, E1, ROut1>, __tsplusTrace?: string): <RIn, E, ROut>(self: Layer<RIn, E, ROut>) => Layer<RIn | Exclude<RIn1, ROut>,
|
|
23
|
+
export declare function andTo<RIn1, E1, ROut1>(that: Layer<RIn1, E1, ROut1>, __tsplusTrace?: string): <RIn, E, ROut>(self: Layer<RIn, E, ROut>) => Layer<RIn | Exclude<RIn1, ROut>, E | E1, ROut | ROut1>;
|
|
23
24
|
/**
|
|
24
25
|
* Feeds the output services of this layer into the input of the specified
|
|
25
26
|
* layer, resulting in a new layer with the inputs of this layer, and the
|
|
@@ -32,17 +33,17 @@ export declare function andUsing<RIn, E, ROut>(that: Layer<RIn, E, ROut>, __tspl
|
|
|
32
33
|
* @tsplus pipeable fncts.io.Layer catchAll
|
|
33
34
|
* @tsplus location "@fncts/io/Layer/api"
|
|
34
35
|
*/
|
|
35
|
-
export declare function catchAll<E, RIn1, E1, ROut1>(f: (e: E) => Layer<RIn1, E1, ROut1>, __tsplusTrace?: string): <RIn, ROut>(self: Layer<RIn, E, ROut>) => Layer<
|
|
36
|
+
export declare function catchAll<E, RIn1, E1, ROut1>(f: (e: E) => Layer<RIn1, E1, ROut1>, __tsplusTrace?: string): <RIn, ROut>(self: Layer<RIn, E, ROut>) => Layer<RIn | RIn1, E1, ROut | ROut1>;
|
|
36
37
|
/**
|
|
37
38
|
* @tsplus pipeable fncts.io.Layer flatMap
|
|
38
39
|
* @tsplus location "@fncts/io/Layer/api"
|
|
39
40
|
*/
|
|
40
|
-
export declare function flatMap<ROut, RIn1, E1, ROut1>(f: (r: Environment<ROut>) => Layer<RIn1, E1, ROut1>, __tsplusTrace?: string): <RIn, E>(self: Layer<RIn, E, ROut>) => Layer<
|
|
41
|
+
export declare function flatMap<ROut, RIn1, E1, ROut1>(f: (r: Environment<ROut>) => Layer<RIn1, E1, ROut1>, __tsplusTrace?: string): <RIn, E>(self: Layer<RIn, E, ROut>) => Layer<RIn | RIn1, E | E1, ROut1>;
|
|
41
42
|
/**
|
|
42
43
|
* @tsplus pipeable fncts.io.Layer compose
|
|
43
44
|
* @tsplus location "@fncts/io/Layer/api"
|
|
44
45
|
*/
|
|
45
|
-
export declare function compose<ROut, E1, ROut1>(that: Layer<ROut, E1, ROut1>, __tsplusTrace?: string): <RIn, E>(self: Layer<RIn, E, ROut>) => Layer<RIn,
|
|
46
|
+
export declare function compose<ROut, E1, ROut1>(that: Layer<ROut, E1, ROut1>, __tsplusTrace?: string): <RIn, E>(self: Layer<RIn, E, ROut>) => Layer<RIn, E | E1, ROut1>;
|
|
46
47
|
/**
|
|
47
48
|
* @tsplus static fncts.io.LayerOps environment
|
|
48
49
|
* @tsplus location "@fncts/io/Layer/api"
|
|
@@ -120,12 +121,12 @@ export declare function haltNow(defect: unknown, __tsplusTrace?: string): Layer<
|
|
|
120
121
|
* @tsplus pipeable fncts.io.Layer matchCauseLayer
|
|
121
122
|
* @tsplus location "@fncts/io/Layer/api"
|
|
122
123
|
*/
|
|
123
|
-
export declare function matchCauseLayer<E, ROut, RIn1, E1, ROut1, RIn2, E2, ROut2>(failure: (cause: Cause<E>) => Layer<RIn1, E1, ROut1>, success: (r: Environment<ROut>) => Layer<RIn2, E2, ROut2>, __tsplusTrace?: string): <RIn>(self: Layer<RIn, E, ROut>) => Layer<
|
|
124
|
+
export declare function matchCauseLayer<E, ROut, RIn1, E1, ROut1, RIn2, E2, ROut2>(failure: (cause: Cause<E>) => Layer<RIn1, E1, ROut1>, success: (r: Environment<ROut>) => Layer<RIn2, E2, ROut2>, __tsplusTrace?: string): <RIn>(self: Layer<RIn, E, ROut>) => Layer<RIn | RIn1 | RIn2, E1 | E2, ROut1 | ROut2>;
|
|
124
125
|
/**
|
|
125
126
|
* @tsplus pipeable fncts.io.Layer matchLayer
|
|
126
127
|
* @tsplus location "@fncts/io/Layer/api"
|
|
127
128
|
*/
|
|
128
|
-
export declare function matchLayer<E, ROut, RIn1, E1, ROut1, RIn2, E2, ROut2>(failure: (e: E) => Layer<RIn1, E1, ROut1>, success: (r: Environment<ROut>) => Layer<RIn2, E2, ROut2>, __tsplusTrace?: string): <RIn>(self: Layer<RIn, E, ROut>) => Layer<
|
|
129
|
+
export declare function matchLayer<E, ROut, RIn1, E1, ROut1, RIn2, E2, ROut2>(failure: (e: E) => Layer<RIn1, E1, ROut1>, success: (r: Environment<ROut>) => Layer<RIn2, E2, ROut2>, __tsplusTrace?: string): <RIn>(self: Layer<RIn, E, ROut>) => Layer<RIn | RIn1 | RIn2, E1 | E2, ROut1 | ROut2>;
|
|
129
130
|
/**
|
|
130
131
|
* @tsplus pipeable fncts.io.Layer map
|
|
131
132
|
* @tsplus location "@fncts/io/Layer/api"
|
|
@@ -145,7 +146,7 @@ export declare function memoize<RIn, E, ROut>(self: Layer<RIn, E, ROut>, __tsplu
|
|
|
145
146
|
* @tsplus pipeable fncts.io.Layer orElse
|
|
146
147
|
* @tsplus location "@fncts/io/Layer/api"
|
|
147
148
|
*/
|
|
148
|
-
export declare function orElse<RIn1, E1, ROut1>(that: Layer<RIn1, E1, ROut1>, __tsplusTrace?: string): <RIn, E, ROut>(self: Layer<RIn, E, ROut>) => Layer<
|
|
149
|
+
export declare function orElse<RIn1, E1, ROut1>(that: Layer<RIn1, E1, ROut1>, __tsplusTrace?: string): <RIn, E, ROut>(self: Layer<RIn, E, ROut>) => Layer<RIn | RIn1, E | E1, ROut | ROut1>;
|
|
149
150
|
/**
|
|
150
151
|
* @tsplus getter fncts.io.Layer orHalt
|
|
151
152
|
* @tsplus location "@fncts/io/Layer/api"
|
|
@@ -160,7 +161,7 @@ export declare function passthrough<RIn extends Spreadable, E, ROut extends Spre
|
|
|
160
161
|
* @tsplus pipeable fncts.io.Layer retry
|
|
161
162
|
* @tsplus location "@fncts/io/Layer/api"
|
|
162
163
|
*/
|
|
163
|
-
export declare function retry<E, S, RIn1>(schedule: Schedule.WithState<S, RIn1, E, any>, __tsplusTrace?: string): <RIn, ROut>(self: Layer<RIn, E, ROut>) => Layer<
|
|
164
|
+
export declare function retry<E, S, RIn1>(schedule: Schedule.WithState<S, RIn1, E, any>, __tsplusTrace?: string): <RIn, ROut>(self: Layer<RIn, E, ROut>) => Layer<RIn | RIn1, E, ROut>;
|
|
164
165
|
/**
|
|
165
166
|
* @tsplus static fncts.io.LayerOps scoped
|
|
166
167
|
* @tsplus location "@fncts/io/Layer/api"
|
|
@@ -206,3 +207,8 @@ export declare function to<RIn1, E1, ROut1>(that: Layer<RIn1, E1, ROut1>): <RIn,
|
|
|
206
207
|
* @tsplus location "@fncts/io/Layer/api"
|
|
207
208
|
*/
|
|
208
209
|
export declare function using<RIn, E, ROut>(that: Layer<RIn, E, ROut>): <RIn1, E1, ROut1>(self: Layer<RIn1, E1, ROut1>) => Layer<RIn | Exclude<RIn1, ROut>, E | E1, ROut1>;
|
|
210
|
+
/**
|
|
211
|
+
* @tsplus getter fncts.io.Layer toRuntime
|
|
212
|
+
* @tsplus location "@fncts/io/Layer/api"
|
|
213
|
+
*/
|
|
214
|
+
export declare function toRuntime<RIn, E, ROut>(self: Layer<RIn, E, ROut>): IO<RIn | Scope, E, Runtime<ROut>>;
|