@fncts/io 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cached/api.d.ts +2 -2
- package/Channel/ChildExecutorDecision/api.d.ts +2 -2
- package/Channel/UpstreamPullRequest/api.d.ts +2 -2
- package/Channel/api/interruptWhen.d.ts +5 -5
- package/Channel/api/mapOutIOC.d.ts +3 -3
- package/Channel/api/mergeAll.d.ts +2 -2
- package/Channel/api/mergeAllUnboundedWith.d.ts +2 -2
- package/Channel/api/mergeAllWith.d.ts +2 -2
- package/Channel/api/mergeMap.d.ts +2 -2
- package/Channel/api/mergeWith.d.ts +2 -2
- package/Channel/api/zipC.d.ts +6 -6
- package/Channel/api.d.ts +64 -64
- package/Channel/core-api.d.ts +11 -11
- package/Channel/definition.d.ts +35 -21
- package/Differ/api.d.ts +24 -0
- package/Differ/definition.d.ts +15 -0
- package/Fiber/api/evalOn.d.ts +3 -3
- package/Fiber/api/evalOnIO.d.ts +3 -3
- package/Fiber/api/interruptAs.d.ts +3 -3
- package/Fiber/api/interruptAsFork.d.ts +3 -3
- package/Fiber/api/mapFiber.d.ts +2 -2
- package/Fiber/api/mapIO.d.ts +5 -5
- package/Fiber/api/zipWith.d.ts +2 -2
- package/Fiber.d.ts +1 -0
- package/FiberRef/api/locallyScoped.d.ts +2 -2
- package/FiberRef/api/locallyScopedWith.d.ts +2 -2
- package/FiberRef/api.d.ts +18 -18
- package/FiberRef/unsafe.d.ts +12 -6
- package/FiberRefs/api.d.ts +2 -2
- package/FiberRefs/join.d.ts +3 -3
- package/Future/api.d.ts +21 -21
- package/Hub/constructors.d.ts +49 -0
- package/Hub/definition.d.ts +37 -81
- package/Hub/internal.d.ts +4 -11
- package/Hub.d.ts +1 -1
- package/IO/api/acquireRelease.d.ts +1 -1
- package/IO/api/acquireReleaseExit.d.ts +1 -1
- package/IO/api/bracket.d.ts +1 -1
- package/IO/api/bracketExit.d.ts +1 -1
- package/IO/api/concurrency.d.ts +2 -2
- package/IO/api/core-scope.d.ts +5 -5
- package/IO/api/ensuringChildren.d.ts +3 -3
- package/IO/api/environment.d.ts +11 -15
- package/IO/api/foreachC.d.ts +2 -2
- package/IO/api/foreachExec.d.ts +1 -1
- package/IO/api/forkIn.d.ts +3 -3
- package/IO/api/fulfill.d.ts +3 -3
- package/IO/api/interrupt.d.ts +6 -6
- package/IO/api/onExit.d.ts +3 -3
- package/IO/api/onTermination.d.ts +4 -4
- package/IO/api/provideLayer.d.ts +3 -3
- package/IO/api/provideSomeLayer.d.ts +3 -7
- package/IO/api/race.d.ts +2 -2
- package/IO/api/raceFirst.d.ts +2 -2
- package/IO/api/repeat.d.ts +3 -3
- package/IO/api/retry.d.ts +7 -7
- package/IO/api/schedule.d.ts +5 -5
- package/IO/api/scoped.d.ts +2 -2
- package/IO/api/supervised.d.ts +3 -3
- package/IO/api/timeout.d.ts +5 -5
- package/IO/api/withFinalizer.d.ts +3 -3
- package/IO/api/withFinalizerExit.d.ts +3 -3
- package/IO/api/withRuntimeConfig.d.ts +3 -3
- package/IO/api/zipC.d.ts +4 -4
- package/IO/api.d.ts +179 -176
- package/IO/definition.d.ts +15 -9
- package/IOEnv/services.d.ts +2 -2
- package/Layer/MemoMap.d.ts +4 -4
- package/Layer/api.d.ts +28 -28
- package/LogLevel.d.ts +12 -12
- package/LogSpan.d.ts +2 -2
- package/Logger/api.d.ts +5 -5
- package/Queue/constructors.d.ts +2 -1
- package/Queue/definition.d.ts +91 -82
- package/Queue/internal.d.ts +7 -9
- package/Queue.d.ts +0 -2
- package/Ref/Atomic.d.ts +15 -2
- package/Ref/Synchronized.d.ts +72 -0
- package/Ref/constructors.d.ts +7 -0
- package/Ref/definition.d.ts +60 -58
- package/Ref.d.ts +1 -6
- package/STM/api/core-api.d.ts +10 -10
- package/STM/api.d.ts +61 -61
- package/STM/internal/Journal.d.ts +4 -4
- package/Schedule/Decision.d.ts +2 -2
- package/Schedule/api.d.ts +94 -94
- package/Scope/ReleaseMap/api/releaseAll.d.ts +2 -2
- package/Scope/ReleaseMap/api.d.ts +10 -10
- package/Scope/api.d.ts +8 -8
- package/Sink/api.d.ts +68 -68
- package/State/api.d.ts +4 -4
- package/State/internal.d.ts +1 -1
- package/Stream/api/zipAllWith.d.ts +2 -2
- package/Stream/api/zipWith.d.ts +2 -2
- package/Stream/api/zipWithChunks.d.ts +2 -2
- package/Stream/api.d.ts +216 -205
- package/Stream/internal/DebounceState.d.ts +3 -3
- package/Stream/internal/Handoff.d.ts +5 -5
- package/Stream/internal/Pull.d.ts +2 -2
- package/Stream/internal/SinkEndReason.d.ts +3 -3
- package/Stream/internal/Take.d.ts +8 -8
- package/SubscriptionRef.d.ts +29 -0
- package/Supervisor/api.d.ts +13 -7
- package/Supervisor/definition.d.ts +28 -0
- package/SupervisorPatch.d.ts +61 -0
- package/TFuture/api.d.ts +7 -7
- package/TReentrantLock/api.d.ts +4 -4
- package/TRef/api.d.ts +24 -24
- package/TSemaphore/api.d.ts +4 -4
- package/TSemaphore/constructors.d.ts +6 -0
- package/_cjs/Cached/api.cjs +9 -9
- package/_cjs/Cached/api.cjs.map +1 -1
- package/_cjs/Channel/ChildExecutorDecision/api.cjs +19 -17
- package/_cjs/Channel/ChildExecutorDecision/api.cjs.map +1 -1
- package/_cjs/Channel/UpstreamPullRequest/api.cjs +16 -14
- package/_cjs/Channel/UpstreamPullRequest/api.cjs.map +1 -1
- package/_cjs/Channel/api/interruptWhen.cjs +14 -10
- package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
- package/_cjs/Channel/api/mapOutIOC.cjs +25 -25
- package/_cjs/Channel/api/mapOutIOC.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAll.cjs +6 -4
- package/_cjs/Channel/api/mergeAll.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs +6 -4
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllWith.cjs +48 -52
- package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeMap.cjs +6 -4
- package/_cjs/Channel/api/mergeMap.cjs.map +1 -1
- package/_cjs/Channel/api/mergeWith.cjs +48 -46
- package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
- package/_cjs/Channel/api/run.cjs +1 -1
- package/_cjs/Channel/api/run.cjs.map +1 -1
- package/_cjs/Channel/api/runScoped.cjs +2 -2
- package/_cjs/Channel/api/runScoped.cjs.map +1 -1
- package/_cjs/Channel/api/toPull.cjs +3 -3
- package/_cjs/Channel/api/toPull.cjs.map +1 -1
- package/_cjs/Channel/api/zipC.cjs +20 -14
- package/_cjs/Channel/api/zipC.cjs.map +1 -1
- package/_cjs/Channel/api.cjs +264 -218
- package/_cjs/Channel/api.cjs.map +1 -1
- package/_cjs/Channel/core-api.cjs +34 -24
- package/_cjs/Channel/core-api.cjs.map +1 -1
- package/_cjs/Channel/definition.cjs +1 -1
- package/_cjs/Channel/definition.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelExecutor.cjs +83 -83
- package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +22 -24
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
- package/_cjs/Differ/api.cjs +108 -0
- package/_cjs/Differ/api.cjs.map +1 -0
- package/_cjs/Differ/definition.cjs +23 -0
- package/_cjs/Differ/definition.cjs.map +1 -0
- package/_cjs/Fiber/FiberContext.cjs +48 -48
- package/_cjs/Fiber/FiberContext.cjs.map +1 -1
- package/_cjs/Fiber/api/awaitAll.cjs +1 -1
- package/_cjs/Fiber/api/awaitAll.cjs.map +1 -1
- package/_cjs/Fiber/api/collectAll.cjs +1 -1
- package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
- package/_cjs/Fiber/api/evalOn.cjs +12 -10
- package/_cjs/Fiber/api/evalOn.cjs.map +1 -1
- package/_cjs/Fiber/api/evalOnIO.cjs +6 -4
- package/_cjs/Fiber/api/evalOnIO.cjs.map +1 -1
- package/_cjs/Fiber/api/fromIO.cjs +1 -1
- package/_cjs/Fiber/api/fromIO.cjs.map +1 -1
- package/_cjs/Fiber/api/interrupt.cjs +1 -1
- package/_cjs/Fiber/api/interrupt.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAll.cjs +2 -2
- package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAs.cjs +6 -4
- package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAsFork.cjs +6 -4
- package/_cjs/Fiber/api/interruptAsFork.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs.map +1 -1
- package/_cjs/Fiber/api/join.cjs +1 -1
- package/_cjs/Fiber/api/join.cjs.map +1 -1
- package/_cjs/Fiber/api/joinAll.cjs +1 -1
- package/_cjs/Fiber/api/joinAll.cjs.map +1 -1
- package/_cjs/Fiber/api/mapFiber.cjs +6 -4
- package/_cjs/Fiber/api/mapFiber.cjs.map +1 -1
- package/_cjs/Fiber/api/mapIO.cjs +14 -10
- package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
- package/_cjs/Fiber/api/zipWith.cjs +6 -4
- package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
- package/_cjs/Fiber/definition.cjs.map +1 -1
- package/_cjs/Fiber.cjs +13 -0
- package/_cjs/Fiber.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScoped.cjs +6 -4
- package/_cjs/FiberRef/api/locallyScoped.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScopedWith.cjs +5 -3
- package/_cjs/FiberRef/api/locallyScopedWith.cjs.map +1 -1
- package/_cjs/FiberRef/api.cjs +64 -47
- package/_cjs/FiberRef/api.cjs.map +1 -1
- package/_cjs/FiberRef/constructors.cjs +1 -1
- package/_cjs/FiberRef/constructors.cjs.map +1 -1
- package/_cjs/FiberRef/unsafe.cjs +35 -21
- package/_cjs/FiberRef/unsafe.cjs.map +1 -1
- package/_cjs/FiberRef.cjs.map +1 -1
- package/_cjs/FiberRefs/api.cjs +15 -13
- package/_cjs/FiberRefs/api.cjs.map +1 -1
- package/_cjs/FiberRefs/join.cjs +37 -35
- package/_cjs/FiberRefs/join.cjs.map +1 -1
- package/_cjs/FiberState/definition.cjs.map +1 -1
- package/_cjs/Future/api.cjs +97 -79
- package/_cjs/Future/api.cjs.map +1 -1
- package/_cjs/Future/constructors.cjs +1 -1
- package/_cjs/Future/constructors.cjs.map +1 -1
- package/_cjs/Hub/constructors.cjs +93 -0
- package/_cjs/Hub/constructors.cjs.map +1 -0
- package/_cjs/Hub/definition.cjs +104 -13
- package/_cjs/Hub/definition.cjs.map +1 -1
- package/_cjs/Hub/internal.cjs +104 -129
- package/_cjs/Hub/internal.cjs.map +1 -1
- package/_cjs/Hub.cjs +4 -4
- package/_cjs/IO/api/acquireReleaseExit.cjs +1 -1
- package/_cjs/IO/api/acquireReleaseExit.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizerExit.cjs +1 -1
- package/_cjs/IO/api/addFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/asyncIO.cjs +4 -4
- package/_cjs/IO/api/asyncIO.cjs.map +1 -1
- package/_cjs/IO/api/bracket.cjs +3 -3
- package/_cjs/IO/api/bracket.cjs.map +1 -1
- package/_cjs/IO/api/bracketExit.cjs +3 -3
- package/_cjs/IO/api/bracketExit.cjs.map +1 -1
- package/_cjs/IO/api/clockWith.cjs +2 -2
- package/_cjs/IO/api/clockWith.cjs.map +1 -1
- package/_cjs/IO/api/concurrency.cjs +9 -7
- package/_cjs/IO/api/concurrency.cjs.map +1 -1
- package/_cjs/IO/api/concurrentFinalizers.cjs +1 -1
- package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
- package/_cjs/IO/api/consoleWith.cjs +2 -2
- package/_cjs/IO/api/consoleWith.cjs.map +1 -1
- package/_cjs/IO/api/core-scope.cjs +45 -41
- package/_cjs/IO/api/core-scope.cjs.map +1 -1
- package/_cjs/IO/api/ensuringChildren.cjs +5 -3
- package/_cjs/IO/api/ensuringChildren.cjs.map +1 -1
- package/_cjs/IO/api/environment.cjs +35 -35
- package/_cjs/IO/api/environment.cjs.map +1 -1
- package/_cjs/IO/api/foreachC.cjs +19 -23
- package/_cjs/IO/api/foreachC.cjs.map +1 -1
- package/_cjs/IO/api/foreachExec.cjs +3 -3
- package/_cjs/IO/api/foreachExec.cjs.map +1 -1
- package/_cjs/IO/api/forkAll.cjs +1 -1
- package/_cjs/IO/api/forkAll.cjs.map +1 -1
- package/_cjs/IO/api/forkIn.cjs +8 -6
- package/_cjs/IO/api/forkIn.cjs.map +1 -1
- package/_cjs/IO/api/forkScoped.cjs +1 -1
- package/_cjs/IO/api/forkScoped.cjs.map +1 -1
- package/_cjs/IO/api/fulfill.cjs +8 -6
- package/_cjs/IO/api/fulfill.cjs.map +1 -1
- package/_cjs/IO/api/interrupt.cjs +36 -30
- package/_cjs/IO/api/interrupt.cjs.map +1 -1
- package/_cjs/IO/api/memoize.cjs +1 -1
- package/_cjs/IO/api/memoize.cjs.map +1 -1
- package/_cjs/IO/api/onExit.cjs +6 -4
- package/_cjs/IO/api/onExit.cjs.map +1 -1
- package/_cjs/IO/api/onTermination.cjs +5 -3
- package/_cjs/IO/api/onTermination.cjs.map +1 -1
- package/_cjs/IO/api/once.cjs +3 -5
- package/_cjs/IO/api/once.cjs.map +1 -1
- package/_cjs/IO/api/provideLayer.cjs +6 -4
- package/_cjs/IO/api/provideLayer.cjs.map +1 -1
- package/_cjs/IO/api/provideSomeLayer.cjs +5 -15
- package/_cjs/IO/api/provideSomeLayer.cjs.map +1 -1
- package/_cjs/IO/api/race.cjs +6 -4
- package/_cjs/IO/api/race.cjs.map +1 -1
- package/_cjs/IO/api/raceFirst.cjs +6 -4
- package/_cjs/IO/api/raceFirst.cjs.map +1 -1
- package/_cjs/IO/api/randomWith.cjs +1 -1
- package/_cjs/IO/api/randomWith.cjs.map +1 -1
- package/_cjs/IO/api/repeat.cjs +12 -12
- package/_cjs/IO/api/repeat.cjs.map +1 -1
- package/_cjs/IO/api/retry.cjs +14 -14
- package/_cjs/IO/api/retry.cjs.map +1 -1
- package/_cjs/IO/api/schedule.cjs +15 -11
- package/_cjs/IO/api/schedule.cjs.map +1 -1
- package/_cjs/IO/api/scoped.cjs +6 -6
- package/_cjs/IO/api/scoped.cjs.map +1 -1
- package/_cjs/IO/api/sequenceT.cjs +1 -1
- package/_cjs/IO/api/sequenceT.cjs.map +1 -1
- package/_cjs/IO/api/stateful.cjs.map +1 -1
- package/_cjs/IO/api/supervised.cjs +6 -4
- package/_cjs/IO/api/supervised.cjs.map +1 -1
- package/_cjs/IO/api/timeout.cjs +10 -6
- package/_cjs/IO/api/timeout.cjs.map +1 -1
- package/_cjs/IO/api/withChildren.cjs +1 -1
- package/_cjs/IO/api/withChildren.cjs.map +1 -1
- package/_cjs/IO/api/withEarlyRelease.cjs +1 -1
- package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizer.cjs +6 -4
- package/_cjs/IO/api/withFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizerExit.cjs +6 -4
- package/_cjs/IO/api/withFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/withRuntimeConfig.cjs +6 -4
- package/_cjs/IO/api/withRuntimeConfig.cjs.map +1 -1
- package/_cjs/IO/api/zipC.cjs +21 -17
- package/_cjs/IO/api/zipC.cjs.map +1 -1
- package/_cjs/IO/api.cjs +634 -509
- package/_cjs/IO/api.cjs.map +1 -1
- package/_cjs/IO/definition.cjs.map +1 -1
- package/_cjs/IO/runtime.cjs +7 -7
- package/_cjs/IO/runtime.cjs.map +1 -1
- package/_cjs/IO.cjs.map +1 -1
- package/_cjs/IOEnv/definition.cjs +1 -1
- package/_cjs/IOEnv/definition.cjs.map +1 -1
- package/_cjs/IOEnv/live.cjs +1 -1
- package/_cjs/IOEnv/live.cjs.map +1 -1
- package/_cjs/IOEnv/services.cjs.map +1 -1
- package/_cjs/Layer/MemoMap.cjs +86 -92
- package/_cjs/Layer/MemoMap.cjs.map +1 -1
- package/_cjs/Layer/api.cjs +110 -81
- package/_cjs/Layer/api.cjs.map +1 -1
- package/_cjs/Layer/definition.cjs.map +1 -1
- package/_cjs/LogLevel.cjs +24 -16
- package/_cjs/LogLevel.cjs.map +1 -1
- package/_cjs/LogSpan.cjs +18 -16
- package/_cjs/LogSpan.cjs.map +1 -1
- package/_cjs/Logger/api.cjs +18 -14
- package/_cjs/Logger/api.cjs.map +1 -1
- package/_cjs/Logger/constructors.cjs +1 -1
- package/_cjs/Logger/constructors.cjs.map +1 -1
- package/_cjs/Queue/constructors.cjs +19 -5
- package/_cjs/Queue/constructors.cjs.map +1 -1
- package/_cjs/Queue/definition.cjs +191 -16
- package/_cjs/Queue/definition.cjs.map +1 -1
- package/_cjs/Queue/internal.cjs +27 -181
- package/_cjs/Queue/internal.cjs.map +1 -1
- package/_cjs/Queue/strategy.cjs +19 -19
- package/_cjs/Queue/strategy.cjs.map +1 -1
- package/_cjs/Queue.cjs +0 -26
- package/_cjs/Queue.cjs.map +1 -1
- package/_cjs/Random/live.cjs +2 -2
- package/_cjs/Random/live.cjs.map +1 -1
- package/_cjs/Ref/Atomic.cjs +47 -24
- package/_cjs/Ref/Atomic.cjs.map +1 -1
- package/_cjs/Ref/Synchronized.cjs +140 -0
- package/_cjs/Ref/Synchronized.cjs.map +1 -0
- package/_cjs/Ref/constructors.cjs +21 -2
- package/_cjs/Ref/constructors.cjs.map +1 -1
- package/_cjs/Ref/definition.cjs +105 -10
- package/_cjs/Ref/definition.cjs.map +1 -1
- package/_cjs/Ref.cjs +4 -69
- package/_cjs/Ref.cjs.map +1 -1
- package/_cjs/Reloadable/constructors.cjs +10 -10
- package/_cjs/Reloadable/constructors.cjs.map +1 -1
- package/_cjs/RuntimeConfig.cjs +2 -2
- package/_cjs/RuntimeConfig.cjs.map +1 -1
- package/_cjs/STM/api/core-api.cjs +36 -26
- package/_cjs/STM/api/core-api.cjs.map +1 -1
- package/_cjs/STM/api.cjs +217 -163
- package/_cjs/STM/api.cjs.map +1 -1
- package/_cjs/STM/driver.cjs +3 -3
- package/_cjs/STM/driver.cjs.map +1 -1
- package/_cjs/STM/internal/Entry.cjs.map +1 -1
- package/_cjs/STM/internal/Journal.cjs +33 -29
- package/_cjs/STM/internal/Journal.cjs.map +1 -1
- package/_cjs/STM.cjs.map +1 -1
- package/_cjs/Schedule/Decision.cjs +16 -14
- package/_cjs/Schedule/Decision.cjs.map +1 -1
- package/_cjs/Schedule/api/driver.cjs +16 -20
- package/_cjs/Schedule/api/driver.cjs.map +1 -1
- package/_cjs/Schedule/api.cjs +381 -290
- package/_cjs/Schedule/api.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +14 -14
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api.cjs +68 -61
- package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
- package/_cjs/Scope/api.cjs +34 -27
- package/_cjs/Scope/api.cjs.map +1 -1
- package/_cjs/ScopedRef/api.cjs +9 -13
- package/_cjs/ScopedRef/api.cjs.map +1 -1
- package/_cjs/ScopedRef/definition.cjs +1 -1
- package/_cjs/ScopedRef/definition.cjs.map +1 -1
- package/_cjs/Sink/api.cjs +307 -249
- package/_cjs/Sink/api.cjs.map +1 -1
- package/_cjs/State/api.cjs +18 -14
- package/_cjs/State/api.cjs.map +1 -1
- package/_cjs/Stream/api/zipAllWith.cjs +15 -13
- package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWith.cjs +6 -4
- package/_cjs/Stream/api/zipWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWithChunks.cjs +13 -11
- package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
- package/_cjs/Stream/api.cjs +992 -788
- package/_cjs/Stream/api.cjs.map +1 -1
- package/_cjs/Stream/definition.cjs.map +1 -1
- package/_cjs/Stream/internal/DebounceState.cjs +21 -19
- package/_cjs/Stream/internal/DebounceState.cjs.map +1 -1
- package/_cjs/Stream/internal/Handoff.cjs +35 -33
- package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
- package/_cjs/Stream/internal/Pull.cjs +9 -11
- package/_cjs/Stream/internal/Pull.cjs.map +1 -1
- package/_cjs/Stream/internal/SinkEndReason.cjs +16 -14
- package/_cjs/Stream/internal/SinkEndReason.cjs.map +1 -1
- package/_cjs/Stream/internal/Take.cjs +32 -24
- package/_cjs/Stream/internal/Take.cjs.map +1 -1
- package/_cjs/Stream/internal/util.cjs +3 -3
- package/_cjs/Stream/internal/util.cjs.map +1 -1
- package/_cjs/SubscriptionRef.cjs +68 -0
- package/_cjs/SubscriptionRef.cjs.map +1 -0
- package/_cjs/Supervisor/api.cjs +49 -34
- package/_cjs/Supervisor/api.cjs.map +1 -1
- package/_cjs/Supervisor/constructors.cjs +2 -2
- package/_cjs/Supervisor/constructors.cjs.map +1 -1
- package/_cjs/Supervisor/definition.cjs +66 -1
- package/_cjs/Supervisor/definition.cjs.map +1 -1
- package/_cjs/SupervisorPatch.cjs +176 -0
- package/_cjs/SupervisorPatch.cjs.map +1 -0
- package/_cjs/TExit/definition.cjs.map +1 -1
- package/_cjs/TFuture/api.cjs +21 -15
- package/_cjs/TFuture/api.cjs.map +1 -1
- package/_cjs/TFuture/constructors.cjs +1 -1
- package/_cjs/TFuture/constructors.cjs.map +1 -1
- package/_cjs/TFuture/definition.cjs.map +1 -1
- package/_cjs/TReentrantLock/api.cjs +32 -28
- package/_cjs/TReentrantLock/api.cjs.map +1 -1
- package/_cjs/TReentrantLock/definition.cjs +4 -4
- package/_cjs/TReentrantLock/definition.cjs.map +1 -1
- package/_cjs/TRef/api.cjs +233 -209
- package/_cjs/TRef/api.cjs.map +1 -1
- package/_cjs/TRef/definition.cjs +4 -4
- package/_cjs/TRef/definition.cjs.map +1 -1
- package/_cjs/TSemaphore/api.cjs +27 -23
- package/_cjs/TSemaphore/api.cjs.map +1 -1
- package/_cjs/TSemaphore/constructors.cjs +18 -3
- package/_cjs/TSemaphore/constructors.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +21 -19
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +21 -19
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/filterIO.cjs +16 -14
- package/_cjs/collection/immutable/Conc/filterIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/findIO.cjs +19 -17
- package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/mapIO.cjs +11 -9
- package/_cjs/collection/immutable/Conc/mapIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +31 -29
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
- package/_cjs/data/Exit/foreachIO.cjs +6 -4
- package/_cjs/data/Exit/foreachIO.cjs.map +1 -1
- package/_cjs/internal/Hub.cjs +13 -11
- package/_cjs/internal/Hub.cjs.map +1 -1
- package/_cjs/internal/IsFatal.cjs +18 -16
- package/_cjs/internal/IsFatal.cjs.map +1 -1
- package/_cjs/internal/MutableQueue.cjs +11 -9
- package/_cjs/internal/MutableQueue.cjs.map +1 -1
- package/_cjs/internal/StackTraceBuilder.cjs.map +1 -1
- package/_mjs/Cached/api.mjs +6 -6
- package/_mjs/Cached/api.mjs.map +1 -1
- package/_mjs/Channel/ChildExecutorDecision/api.mjs +18 -16
- package/_mjs/Channel/ChildExecutorDecision/api.mjs.map +1 -1
- package/_mjs/Channel/UpstreamPullRequest/api.mjs +14 -12
- package/_mjs/Channel/UpstreamPullRequest/api.mjs.map +1 -1
- package/_mjs/Channel/api/interruptWhen.mjs +11 -7
- package/_mjs/Channel/api/interruptWhen.mjs.map +1 -1
- package/_mjs/Channel/api/mapOutIOC.mjs +24 -23
- package/_mjs/Channel/api/mapOutIOC.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAll.mjs +5 -3
- package/_mjs/Channel/api/mergeAll.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllUnboundedWith.mjs +5 -3
- package/_mjs/Channel/api/mergeAllUnboundedWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeAllWith.mjs +45 -46
- package/_mjs/Channel/api/mergeAllWith.mjs.map +1 -1
- package/_mjs/Channel/api/mergeMap.mjs +5 -3
- package/_mjs/Channel/api/mergeMap.mjs.map +1 -1
- package/_mjs/Channel/api/mergeWith.mjs +46 -44
- package/_mjs/Channel/api/mergeWith.mjs.map +1 -1
- package/_mjs/Channel/api/run.mjs +1 -1
- package/_mjs/Channel/api/run.mjs.map +1 -1
- package/_mjs/Channel/api/runScoped.mjs +2 -2
- package/_mjs/Channel/api/runScoped.mjs.map +1 -1
- package/_mjs/Channel/api/toPull.mjs +3 -3
- package/_mjs/Channel/api/toPull.mjs.map +1 -1
- package/_mjs/Channel/api/zipC.mjs +16 -10
- package/_mjs/Channel/api/zipC.mjs.map +1 -1
- package/_mjs/Channel/api.mjs +224 -173
- package/_mjs/Channel/api.mjs.map +1 -1
- package/_mjs/Channel/core-api.mjs +28 -18
- package/_mjs/Channel/core-api.mjs.map +1 -1
- package/_mjs/Channel/definition.mjs +1 -1
- package/_mjs/Channel/definition.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelExecutor.mjs +83 -83
- package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs +22 -23
- package/_mjs/Channel/internal/SingleProducerAsyncInput.mjs.map +1 -1
- package/_mjs/Differ/api.mjs +90 -0
- package/_mjs/Differ/api.mjs.map +1 -0
- package/_mjs/Differ/definition.mjs +13 -0
- package/_mjs/Differ/definition.mjs.map +1 -0
- package/_mjs/Fiber/FiberContext.mjs +48 -48
- package/_mjs/Fiber/FiberContext.mjs.map +1 -1
- package/_mjs/Fiber/api/awaitAll.mjs +1 -1
- package/_mjs/Fiber/api/awaitAll.mjs.map +1 -1
- package/_mjs/Fiber/api/collectAll.mjs +1 -1
- package/_mjs/Fiber/api/collectAll.mjs.map +1 -1
- package/_mjs/Fiber/api/evalOn.mjs +11 -9
- package/_mjs/Fiber/api/evalOn.mjs.map +1 -1
- package/_mjs/Fiber/api/evalOnIO.mjs +5 -3
- package/_mjs/Fiber/api/evalOnIO.mjs.map +1 -1
- package/_mjs/Fiber/api/fromIO.mjs +1 -1
- package/_mjs/Fiber/api/fromIO.mjs.map +1 -1
- package/_mjs/Fiber/api/interrupt.mjs +1 -1
- package/_mjs/Fiber/api/interrupt.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAll.mjs +2 -2
- package/_mjs/Fiber/api/interruptAll.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAs.mjs +6 -4
- package/_mjs/Fiber/api/interruptAs.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAsFork.mjs +6 -4
- package/_mjs/Fiber/api/interruptAsFork.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptFork.mjs +1 -1
- package/_mjs/Fiber/api/interruptFork.mjs.map +1 -1
- package/_mjs/Fiber/api/join.mjs +1 -1
- package/_mjs/Fiber/api/join.mjs.map +1 -1
- package/_mjs/Fiber/api/joinAll.mjs +1 -1
- package/_mjs/Fiber/api/joinAll.mjs.map +1 -1
- package/_mjs/Fiber/api/mapFiber.mjs +5 -3
- package/_mjs/Fiber/api/mapFiber.mjs.map +1 -1
- package/_mjs/Fiber/api/mapIO.mjs +11 -7
- package/_mjs/Fiber/api/mapIO.mjs.map +1 -1
- package/_mjs/Fiber/api/zipWith.mjs +5 -3
- package/_mjs/Fiber/api/zipWith.mjs.map +1 -1
- package/_mjs/Fiber/definition.mjs.map +1 -1
- package/_mjs/Fiber.mjs +1 -0
- package/_mjs/Fiber.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScoped.mjs +5 -3
- package/_mjs/FiberRef/api/locallyScoped.mjs.map +1 -1
- package/_mjs/FiberRef/api/locallyScopedWith.mjs +5 -3
- package/_mjs/FiberRef/api/locallyScopedWith.mjs.map +1 -1
- package/_mjs/FiberRef/api.mjs +52 -36
- package/_mjs/FiberRef/api.mjs.map +1 -1
- package/_mjs/FiberRef/constructors.mjs +1 -1
- package/_mjs/FiberRef/constructors.mjs.map +1 -1
- package/_mjs/FiberRef/unsafe.mjs +31 -20
- package/_mjs/FiberRef/unsafe.mjs.map +1 -1
- package/_mjs/FiberRef.mjs.map +1 -1
- package/_mjs/FiberRefs/api.mjs +14 -12
- package/_mjs/FiberRefs/api.mjs.map +1 -1
- package/_mjs/FiberRefs/join.mjs +35 -33
- package/_mjs/FiberRefs/join.mjs.map +1 -1
- package/_mjs/FiberState/definition.mjs.map +1 -1
- package/_mjs/Future/api.mjs +84 -66
- package/_mjs/Future/api.mjs.map +1 -1
- package/_mjs/Future/constructors.mjs +1 -1
- package/_mjs/Future/constructors.mjs.map +1 -1
- package/_mjs/Hub/constructors.mjs +66 -0
- package/_mjs/Hub/constructors.mjs.map +1 -0
- package/_mjs/Hub/definition.mjs +88 -9
- package/_mjs/Hub/definition.mjs.map +1 -1
- package/_mjs/Hub/internal.mjs +105 -122
- package/_mjs/Hub/internal.mjs.map +1 -1
- package/_mjs/Hub.mjs +1 -1
- package/_mjs/Hub.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseExit.mjs +1 -1
- package/_mjs/IO/api/acquireReleaseExit.mjs.map +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs +1 -1
- package/_mjs/IO/api/acquireReleaseInterruptibleExit.mjs.map +1 -1
- package/_mjs/IO/api/addFinalizerExit.mjs +1 -1
- package/_mjs/IO/api/addFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/asyncIO.mjs +4 -4
- package/_mjs/IO/api/asyncIO.mjs.map +1 -1
- package/_mjs/IO/api/bracket.mjs +2 -2
- package/_mjs/IO/api/bracket.mjs.map +1 -1
- package/_mjs/IO/api/bracketExit.mjs +2 -2
- package/_mjs/IO/api/bracketExit.mjs.map +1 -1
- package/_mjs/IO/api/clockWith.mjs +2 -2
- package/_mjs/IO/api/clockWith.mjs.map +1 -1
- package/_mjs/IO/api/concurrency.mjs +8 -6
- package/_mjs/IO/api/concurrency.mjs.map +1 -1
- package/_mjs/IO/api/concurrentFinalizers.mjs +1 -1
- package/_mjs/IO/api/concurrentFinalizers.mjs.map +1 -1
- package/_mjs/IO/api/consoleWith.mjs +2 -2
- package/_mjs/IO/api/consoleWith.mjs.map +1 -1
- package/_mjs/IO/api/core-scope.mjs +40 -36
- package/_mjs/IO/api/core-scope.mjs.map +1 -1
- package/_mjs/IO/api/ensuringChildren.mjs +5 -3
- package/_mjs/IO/api/ensuringChildren.mjs.map +1 -1
- package/_mjs/IO/api/environment.mjs +29 -27
- package/_mjs/IO/api/environment.mjs.map +1 -1
- package/_mjs/IO/api/foreachC.mjs +17 -19
- package/_mjs/IO/api/foreachC.mjs.map +1 -1
- package/_mjs/IO/api/foreachExec.mjs +2 -2
- package/_mjs/IO/api/foreachExec.mjs.map +1 -1
- package/_mjs/IO/api/forkAll.mjs +1 -1
- package/_mjs/IO/api/forkAll.mjs.map +1 -1
- package/_mjs/IO/api/forkIn.mjs +7 -5
- package/_mjs/IO/api/forkIn.mjs.map +1 -1
- package/_mjs/IO/api/forkScoped.mjs +1 -1
- package/_mjs/IO/api/forkScoped.mjs.map +1 -1
- package/_mjs/IO/api/fulfill.mjs +7 -5
- package/_mjs/IO/api/fulfill.mjs.map +1 -1
- package/_mjs/IO/api/interrupt.mjs +34 -28
- package/_mjs/IO/api/interrupt.mjs.map +1 -1
- package/_mjs/IO/api/memoize.mjs +1 -1
- package/_mjs/IO/api/memoize.mjs.map +1 -1
- package/_mjs/IO/api/onExit.mjs +5 -3
- package/_mjs/IO/api/onExit.mjs.map +1 -1
- package/_mjs/IO/api/onTermination.mjs +5 -3
- package/_mjs/IO/api/onTermination.mjs.map +1 -1
- package/_mjs/IO/api/once.mjs +3 -4
- package/_mjs/IO/api/once.mjs.map +1 -1
- package/_mjs/IO/api/provideLayer.mjs +5 -3
- package/_mjs/IO/api/provideLayer.mjs.map +1 -1
- package/_mjs/IO/api/provideSomeLayer.mjs +5 -11
- package/_mjs/IO/api/provideSomeLayer.mjs.map +1 -1
- package/_mjs/IO/api/race.mjs +5 -3
- package/_mjs/IO/api/race.mjs.map +1 -1
- package/_mjs/IO/api/raceFirst.mjs +5 -3
- package/_mjs/IO/api/raceFirst.mjs.map +1 -1
- package/_mjs/IO/api/randomWith.mjs +1 -1
- package/_mjs/IO/api/randomWith.mjs.map +1 -1
- package/_mjs/IO/api/repeat.mjs +8 -8
- package/_mjs/IO/api/repeat.mjs.map +1 -1
- package/_mjs/IO/api/retry.mjs +12 -12
- package/_mjs/IO/api/retry.mjs.map +1 -1
- package/_mjs/IO/api/schedule.mjs +15 -11
- package/_mjs/IO/api/schedule.mjs.map +1 -1
- package/_mjs/IO/api/scoped.mjs +3 -3
- package/_mjs/IO/api/scoped.mjs.map +1 -1
- package/_mjs/IO/api/sequenceT.mjs +1 -1
- package/_mjs/IO/api/sequenceT.mjs.map +1 -1
- package/_mjs/IO/api/stateful.mjs.map +1 -1
- package/_mjs/IO/api/supervised.mjs +5 -3
- package/_mjs/IO/api/supervised.mjs.map +1 -1
- package/_mjs/IO/api/timeout.mjs +10 -6
- package/_mjs/IO/api/timeout.mjs.map +1 -1
- package/_mjs/IO/api/withChildren.mjs +1 -1
- package/_mjs/IO/api/withChildren.mjs.map +1 -1
- package/_mjs/IO/api/withEarlyRelease.mjs +1 -1
- package/_mjs/IO/api/withEarlyRelease.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizer.mjs +5 -3
- package/_mjs/IO/api/withFinalizer.mjs.map +1 -1
- package/_mjs/IO/api/withFinalizerExit.mjs +5 -3
- package/_mjs/IO/api/withFinalizerExit.mjs.map +1 -1
- package/_mjs/IO/api/withRuntimeConfig.mjs +5 -3
- package/_mjs/IO/api/withRuntimeConfig.mjs.map +1 -1
- package/_mjs/IO/api/zipC.mjs +18 -14
- package/_mjs/IO/api/zipC.mjs.map +1 -1
- package/_mjs/IO/api.mjs +511 -387
- package/_mjs/IO/api.mjs.map +1 -1
- package/_mjs/IO/definition.mjs.map +1 -1
- package/_mjs/IO/runtime.mjs +7 -7
- package/_mjs/IO/runtime.mjs.map +1 -1
- package/_mjs/IO.mjs.map +1 -1
- package/_mjs/IOEnv/definition.mjs +1 -1
- package/_mjs/IOEnv/definition.mjs.map +1 -1
- package/_mjs/IOEnv/live.mjs +1 -1
- package/_mjs/IOEnv/live.mjs.map +1 -1
- package/_mjs/IOEnv/services.mjs.map +1 -1
- package/_mjs/Layer/MemoMap.mjs +86 -87
- package/_mjs/Layer/MemoMap.mjs.map +1 -1
- package/_mjs/Layer/api.mjs +91 -63
- package/_mjs/Layer/api.mjs.map +1 -1
- package/_mjs/Layer/definition.mjs.map +1 -1
- package/_mjs/LogLevel.mjs +24 -16
- package/_mjs/LogLevel.mjs.map +1 -1
- package/_mjs/LogSpan.mjs +16 -14
- package/_mjs/LogSpan.mjs.map +1 -1
- package/_mjs/Logger/api.mjs +16 -12
- package/_mjs/Logger/api.mjs.map +1 -1
- package/_mjs/Logger/constructors.mjs +1 -1
- package/_mjs/Logger/constructors.mjs.map +1 -1
- package/_mjs/Queue/constructors.mjs +16 -5
- package/_mjs/Queue/constructors.mjs.map +1 -1
- package/_mjs/Queue/definition.mjs +174 -12
- package/_mjs/Queue/definition.mjs.map +1 -1
- package/_mjs/Queue/internal.mjs +21 -170
- package/_mjs/Queue/internal.mjs.map +1 -1
- package/_mjs/Queue/strategy.mjs +20 -23
- package/_mjs/Queue/strategy.mjs.map +1 -1
- package/_mjs/Queue.mjs +1 -3
- package/_mjs/Queue.mjs.map +1 -1
- package/_mjs/Random/live.mjs +2 -2
- package/_mjs/Random/live.mjs.map +1 -1
- package/_mjs/Ref/Atomic.mjs +39 -3
- package/_mjs/Ref/Atomic.mjs.map +1 -1
- package/_mjs/Ref/Synchronized.mjs +123 -0
- package/_mjs/Ref/Synchronized.mjs.map +1 -0
- package/_mjs/Ref/constructors.mjs +15 -1
- package/_mjs/Ref/constructors.mjs.map +1 -1
- package/_mjs/Ref/definition.mjs +96 -4
- package/_mjs/Ref/definition.mjs.map +1 -1
- package/_mjs/Ref.mjs +1 -8
- package/_mjs/Ref.mjs.map +1 -1
- package/_mjs/Reloadable/constructors.mjs +10 -10
- package/_mjs/Reloadable/constructors.mjs.map +1 -1
- package/_mjs/RuntimeConfig.mjs +2 -2
- package/_mjs/RuntimeConfig.mjs.map +1 -1
- package/_mjs/STM/api/core-api.mjs +29 -19
- package/_mjs/STM/api/core-api.mjs.map +1 -1
- package/_mjs/STM/api.mjs +180 -127
- package/_mjs/STM/api.mjs.map +1 -1
- package/_mjs/STM/driver.mjs +3 -3
- package/_mjs/STM/driver.mjs.map +1 -1
- package/_mjs/STM/internal/Entry.mjs.map +1 -1
- package/_mjs/STM/internal/Journal.mjs +33 -29
- package/_mjs/STM/internal/Journal.mjs.map +1 -1
- package/_mjs/STM.mjs.map +1 -1
- package/_mjs/Schedule/Decision.mjs +14 -12
- package/_mjs/Schedule/Decision.mjs.map +1 -1
- package/_mjs/Schedule/api/driver.mjs +15 -17
- package/_mjs/Schedule/api/driver.mjs.map +1 -1
- package/_mjs/Schedule/api.mjs +326 -234
- package/_mjs/Schedule/api.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs +12 -11
- package/_mjs/Scope/ReleaseMap/api/releaseAll.mjs.map +1 -1
- package/_mjs/Scope/ReleaseMap/api.mjs +60 -51
- package/_mjs/Scope/ReleaseMap/api.mjs.map +1 -1
- package/_mjs/Scope/api.mjs +28 -22
- package/_mjs/Scope/api.mjs.map +1 -1
- package/_mjs/ScopedRef/api.mjs +9 -11
- package/_mjs/ScopedRef/api.mjs.map +1 -1
- package/_mjs/ScopedRef/definition.mjs +1 -1
- package/_mjs/ScopedRef/definition.mjs.map +1 -1
- package/_mjs/Sink/api.mjs +301 -240
- package/_mjs/Sink/api.mjs.map +1 -1
- package/_mjs/State/api.mjs +16 -12
- package/_mjs/State/api.mjs.map +1 -1
- package/_mjs/Stream/api/zipAllWith.mjs +14 -12
- package/_mjs/Stream/api/zipAllWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWith.mjs +5 -3
- package/_mjs/Stream/api/zipWith.mjs.map +1 -1
- package/_mjs/Stream/api/zipWithChunks.mjs +12 -10
- package/_mjs/Stream/api/zipWithChunks.mjs.map +1 -1
- package/_mjs/Stream/api.mjs +856 -653
- package/_mjs/Stream/api.mjs.map +1 -1
- package/_mjs/Stream/definition.mjs.map +1 -1
- package/_mjs/Stream/internal/DebounceState.mjs +18 -16
- package/_mjs/Stream/internal/DebounceState.mjs.map +1 -1
- package/_mjs/Stream/internal/Handoff.mjs +35 -32
- package/_mjs/Stream/internal/Handoff.mjs.map +1 -1
- package/_mjs/Stream/internal/Pull.mjs +9 -10
- package/_mjs/Stream/internal/Pull.mjs.map +1 -1
- package/_mjs/Stream/internal/SinkEndReason.mjs +14 -12
- package/_mjs/Stream/internal/SinkEndReason.mjs.map +1 -1
- package/_mjs/Stream/internal/Take.mjs +28 -20
- package/_mjs/Stream/internal/Take.mjs.map +1 -1
- package/_mjs/Stream/internal/util.mjs +3 -3
- package/_mjs/Stream/internal/util.mjs.map +1 -1
- package/_mjs/SubscriptionRef.mjs +45 -0
- package/_mjs/SubscriptionRef.mjs.map +1 -0
- package/_mjs/Supervisor/api.mjs +44 -33
- package/_mjs/Supervisor/api.mjs.map +1 -1
- package/_mjs/Supervisor/constructors.mjs +2 -2
- package/_mjs/Supervisor/constructors.mjs.map +1 -1
- package/_mjs/Supervisor/definition.mjs +55 -0
- package/_mjs/Supervisor/definition.mjs.map +1 -1
- package/_mjs/SupervisorPatch.mjs +135 -0
- package/_mjs/SupervisorPatch.mjs.map +1 -0
- package/_mjs/TExit/definition.mjs.map +1 -1
- package/_mjs/TFuture/api.mjs +17 -11
- package/_mjs/TFuture/api.mjs.map +1 -1
- package/_mjs/TFuture/constructors.mjs +1 -1
- package/_mjs/TFuture/constructors.mjs.map +1 -1
- package/_mjs/TFuture/definition.mjs.map +1 -1
- package/_mjs/TReentrantLock/api.mjs +32 -28
- package/_mjs/TReentrantLock/api.mjs.map +1 -1
- package/_mjs/TReentrantLock/definition.mjs +4 -4
- package/_mjs/TReentrantLock/definition.mjs.map +1 -1
- package/_mjs/TRef/api.mjs +218 -194
- package/_mjs/TRef/api.mjs.map +1 -1
- package/_mjs/TRef/definition.mjs +4 -4
- package/_mjs/TRef/definition.mjs.map +1 -1
- package/_mjs/TSemaphore/api.mjs +23 -19
- package/_mjs/TSemaphore/api.mjs.map +1 -1
- package/_mjs/TSemaphore/constructors.mjs +12 -2
- package/_mjs/TSemaphore/constructors.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs +19 -17
- package/_mjs/collection/immutable/Conc/dropUntilIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs +19 -17
- package/_mjs/collection/immutable/Conc/dropWhileIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/filterIO.mjs +14 -12
- package/_mjs/collection/immutable/Conc/filterIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/findIO.mjs +17 -15
- package/_mjs/collection/immutable/Conc/findIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/mapIO.mjs +10 -8
- package/_mjs/collection/immutable/Conc/mapIO.mjs.map +1 -1
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs +28 -26
- package/_mjs/collection/immutable/Conc/takeWhileIO.mjs.map +1 -1
- package/_mjs/data/Exit/foreachIO.mjs +5 -3
- package/_mjs/data/Exit/foreachIO.mjs.map +1 -1
- package/_mjs/internal/Hub.mjs +13 -11
- package/_mjs/internal/Hub.mjs.map +1 -1
- package/_mjs/internal/IsFatal.mjs +18 -16
- package/_mjs/internal/IsFatal.mjs.map +1 -1
- package/_mjs/internal/MutableQueue.mjs +10 -8
- package/_mjs/internal/MutableQueue.mjs.map +1 -1
- package/_mjs/internal/StackTraceBuilder.mjs.map +1 -1
- package/_src/Cached/api.ts +2 -2
- package/_src/Channel/ChildExecutorDecision/api.ts +14 -17
- package/_src/Channel/UpstreamPullRequest/api.ts +11 -13
- package/_src/Channel/api/interruptWhen.ts +18 -17
- package/_src/Channel/api/mapOutIOC.ts +58 -58
- package/_src/Channel/api/mergeAll.ts +15 -16
- package/_src/Channel/api/mergeAllUnboundedWith.ts +15 -27
- package/_src/Channel/api/mergeAllWith.ts +114 -126
- package/_src/Channel/api/mergeMap.ts +8 -18
- package/_src/Channel/api/mergeWith.ts +154 -158
- package/_src/Channel/api/toPull.ts +1 -1
- package/_src/Channel/api/zipC.ts +52 -88
- package/_src/Channel/api.ts +345 -405
- package/_src/Channel/core-api.ts +75 -122
- package/_src/Channel/definition.ts +49 -7
- package/_src/Channel/internal/ChannelExecutor.ts +1 -5
- package/_src/Channel/internal/SingleProducerAsyncInput.ts +1 -3
- package/_src/Differ/api.ts +72 -0
- package/_src/Differ/definition.ts +16 -0
- package/_src/Fiber/FiberContext.ts +13 -33
- package/_src/Fiber/api/collectAll.ts +1 -2
- package/_src/Fiber/api/evalOn.ts +11 -14
- package/_src/Fiber/api/evalOnIO.ts +10 -13
- package/_src/Fiber/api/interruptAll.ts +1 -2
- package/_src/Fiber/api/interruptAs.ts +6 -4
- package/_src/Fiber/api/interruptAsFork.ts +6 -4
- package/_src/Fiber/api/interruptFork.ts +1 -1
- package/_src/Fiber/api/mapFiber.ts +5 -7
- package/_src/Fiber/api/mapIO.ts +21 -21
- package/_src/Fiber/api/zipWith.ts +14 -17
- package/_src/Fiber/definition.ts +1 -15
- package/_src/Fiber.ts +1 -1
- package/_src/FiberRef/api/locallyScoped.ts +8 -6
- package/_src/FiberRef/api/locallyScopedWith.ts +5 -7
- package/_src/FiberRef/api.ts +50 -39
- package/_src/FiberRef/unsafe.ts +24 -22
- package/_src/FiberRef.ts +0 -1
- package/_src/FiberRefs/api.ts +14 -12
- package/_src/FiberRefs/join.ts +37 -46
- package/_src/FiberState/definition.ts +1 -2
- package/_src/Future/api.ts +67 -53
- package/_src/Hub/constructors.ts +80 -0
- package/_src/Hub/definition.ts +95 -89
- package/_src/Hub/internal.ts +115 -165
- package/_src/Hub.ts +1 -1
- package/_src/IO/api/acquireRelease.ts +1 -1
- package/_src/IO/api/acquireReleaseExit.ts +1 -1
- package/_src/IO/api/bracket.ts +1 -1
- package/_src/IO/api/bracketExit.ts +1 -1
- package/_src/IO/api/clockWith.ts +0 -1
- package/_src/IO/api/concurrency.ts +5 -7
- package/_src/IO/api/consoleWith.ts +0 -2
- package/_src/IO/api/core-scope.ts +36 -33
- package/_src/IO/api/ensuringChildren.ts +8 -7
- package/_src/IO/api/environment.ts +24 -42
- package/_src/IO/api/foreachC.ts +24 -12
- package/_src/IO/api/foreachExec.ts +1 -1
- package/_src/IO/api/forkIn.ts +7 -9
- package/_src/IO/api/fulfill.ts +5 -3
- package/_src/IO/api/interrupt.ts +37 -40
- package/_src/IO/api/onExit.ts +8 -10
- package/_src/IO/api/onTermination.ts +12 -14
- package/_src/IO/api/provideLayer.ts +8 -10
- package/_src/IO/api/provideSomeLayer.ts +5 -14
- package/_src/IO/api/race.ts +19 -21
- package/_src/IO/api/raceFirst.ts +5 -7
- package/_src/IO/api/repeat.ts +3 -5
- package/_src/IO/api/retry.ts +19 -21
- package/_src/IO/api/schedule.ts +20 -21
- package/_src/IO/api/scoped.ts +2 -2
- package/_src/IO/api/sequenceT.ts +7 -1
- package/_src/IO/api/stateful.ts +0 -2
- package/_src/IO/api/supervised.ts +5 -7
- package/_src/IO/api/timeout.ts +10 -16
- package/_src/IO/api/withFinalizer.ts +5 -7
- package/_src/IO/api/withFinalizerExit.ts +6 -5
- package/_src/IO/api/withRuntimeConfig.ts +12 -14
- package/_src/IO/api/zipC.ts +57 -62
- package/_src/IO/api.ts +512 -539
- package/_src/IO/definition.ts +21 -9
- package/_src/IO/runtime.ts +0 -12
- package/_src/IO.ts +0 -1
- package/_src/IOEnv/definition.ts +0 -2
- package/_src/IOEnv/services.ts +5 -4
- package/_src/Layer/MemoMap.ts +61 -63
- package/_src/Layer/api.ts +95 -104
- package/_src/Layer/definition.ts +0 -1
- package/_src/LogLevel.ts +24 -16
- package/_src/LogSpan.ts +16 -16
- package/_src/Logger/api.ts +18 -17
- package/_src/Logger/constructors.ts +9 -15
- package/_src/Queue/constructors.ts +22 -6
- package/_src/Queue/definition.ts +230 -81
- package/_src/Queue/internal.ts +9 -180
- package/_src/Queue/strategy.ts +9 -23
- package/_src/Queue.ts +1 -3
- package/_src/Ref/Atomic.ts +37 -4
- package/_src/Ref/Synchronized.ts +107 -0
- package/_src/Ref/constructors.ts +15 -0
- package/_src/Ref/definition.ts +86 -85
- package/_src/Ref.ts +1 -9
- package/_src/Reloadable/constructors.ts +2 -2
- package/_src/RuntimeConfig.ts +0 -2
- package/_src/STM/api/core-api.ts +32 -35
- package/_src/STM/api.ts +210 -200
- package/_src/STM/internal/Entry.ts +0 -10
- package/_src/STM/internal/Journal.ts +23 -26
- package/_src/STM.ts +0 -1
- package/_src/Schedule/Decision.ts +10 -8
- package/_src/Schedule/api/driver.ts +0 -4
- package/_src/Schedule/api.ts +419 -444
- package/_src/Schedule/definition.ts +0 -1
- package/_src/Scope/ReleaseMap/api/releaseAll.ts +23 -26
- package/_src/Scope/ReleaseMap/api.ts +77 -74
- package/_src/Scope/api.ts +16 -18
- package/_src/ScopedRef/api.ts +0 -3
- package/_src/ScopedRef/definition.ts +1 -2
- package/_src/Sink/api.ts +326 -357
- package/_src/State/api.ts +12 -8
- package/_src/State/internal.ts +1 -1
- package/_src/Stream/api/zipAllWith.ts +6 -5
- package/_src/Stream/api/zipWith.ts +5 -8
- package/_src/Stream/api/zipWithChunks.ts +6 -5
- package/_src/Stream/api.ts +1049 -1176
- package/_src/Stream/definition.ts +0 -2
- package/_src/Stream/internal/DebounceState.ts +16 -17
- package/_src/Stream/internal/Handoff.ts +31 -35
- package/_src/Stream/internal/Pull.ts +1 -2
- package/_src/Stream/internal/SinkEndReason.ts +13 -14
- package/_src/Stream/internal/Take.ts +21 -21
- package/_src/Stream/internal/util.ts +0 -2
- package/_src/SubscriptionRef.ts +44 -0
- package/_src/Supervisor/api.ts +39 -31
- package/_src/Supervisor/definition.ts +58 -0
- package/_src/SupervisorPatch.ts +111 -0
- package/_src/TExit/definition.ts +0 -8
- package/_src/TFuture/api.ts +23 -17
- package/_src/TFuture/definition.ts +0 -1
- package/_src/TReentrantLock/api.ts +14 -10
- package/_src/TReentrantLock/definition.ts +0 -7
- package/_src/TRef/api.ts +207 -209
- package/_src/TRef/definition.ts +0 -12
- package/_src/TSemaphore/api.ts +19 -18
- package/_src/TSemaphore/constructors.ts +7 -0
- package/_src/collection/immutable/Conc/dropUntilIO.ts +19 -21
- package/_src/collection/immutable/Conc/dropWhileIO.ts +21 -23
- package/_src/collection/immutable/Conc/filterIO.ts +15 -17
- package/_src/collection/immutable/Conc/findIO.ts +17 -19
- package/_src/collection/immutable/Conc/mapIO.ts +12 -10
- package/_src/collection/immutable/Conc/takeWhileIO.ts +27 -29
- package/_src/data/Exit/foreachIO.ts +8 -10
- package/_src/global.ts +11 -3
- package/_src/index.ts +3 -0
- package/_src/internal/Hub.ts +17 -27
- package/_src/internal/IsFatal.ts +14 -12
- package/_src/internal/MutableQueue.ts +8 -8
- package/_src/internal/StackTraceBuilder.ts +1 -2
- package/collection/immutable/Conc/dropUntilIO.d.ts +3 -3
- package/collection/immutable/Conc/dropWhileIO.d.ts +3 -3
- package/collection/immutable/Conc/filterIO.d.ts +3 -3
- package/collection/immutable/Conc/findIO.d.ts +2 -2
- package/collection/immutable/Conc/mapIO.d.ts +3 -3
- package/collection/immutable/Conc/takeWhileIO.d.ts +3 -3
- package/data/Exit/foreachIO.d.ts +3 -3
- package/global.d.ts +11 -3
- package/index.d.ts +3 -0
- package/internal/Hub.d.ts +2 -2
- package/internal/IsFatal.d.ts +3 -3
- package/internal/MutableQueue.d.ts +3 -3
- package/package.json +3 -3
- package/Hub/api.d.ts +0 -190
- package/Queue/api/dimapIO.d.ts +0 -41
- package/Queue/api/filterInputIO.d.ts +0 -33
- package/Queue/api/filterOutputIO.d.ts +0 -31
- package/Queue/api/operations.d.ts +0 -82
- package/Queue/api/poll.d.ts +0 -9
- package/Queue/api/takeBetween.d.ts +0 -11
- package/Queue/api/zipWithIO.d.ts +0 -44
- package/Queue/api.d.ts +0 -7
- package/Ref/Atomic/Atomic.d.ts +0 -18
- package/Ref/Atomic/api.d.ts +0 -53
- package/Ref/Derived.d.ts +0 -14
- package/Ref/DerivedAll.d.ts +0 -14
- package/Ref/Synchronized/api.d.ts +0 -100
- package/Ref/Synchronized/constructors.d.ts +0 -8
- package/Ref/Synchronized/definition.d.ts +0 -42
- package/Ref/api/collect.d.ts +0 -11
- package/Ref/api/dimap.d.ts +0 -56
- package/Ref/api/filter.d.ts +0 -20
- package/Ref/api/get.d.ts +0 -9
- package/Ref/api/match.d.ts +0 -13
- package/Ref/api/matchAll.d.ts +0 -11
- package/Ref/api/modify.d.ts +0 -79
- package/Ref/api/set.d.ts +0 -10
- package/Ref/api.d.ts +0 -23
- package/_cjs/Hub/api.cjs +0 -456
- package/_cjs/Hub/api.cjs.map +0 -1
- package/_cjs/Queue/api/dimapIO.cjs +0 -120
- package/_cjs/Queue/api/dimapIO.cjs.map +0 -1
- package/_cjs/Queue/api/filterInputIO.cjs +0 -84
- package/_cjs/Queue/api/filterInputIO.cjs.map +0 -1
- package/_cjs/Queue/api/filterOutputIO.cjs +0 -89
- package/_cjs/Queue/api/filterOutputIO.cjs.map +0 -1
- package/_cjs/Queue/api/operations.cjs +0 -147
- package/_cjs/Queue/api/operations.cjs.map +0 -1
- package/_cjs/Queue/api/poll.cjs +0 -27
- package/_cjs/Queue/api/poll.cjs.map +0 -1
- package/_cjs/Queue/api/takeBetween.cjs +0 -57
- package/_cjs/Queue/api/takeBetween.cjs.map +0 -1
- package/_cjs/Queue/api/zipWithIO.cjs +0 -97
- package/_cjs/Queue/api/zipWithIO.cjs.map +0 -1
- package/_cjs/Queue/api.cjs +0 -97
- package/_cjs/Queue/api.cjs.map +0 -1
- package/_cjs/Ref/Atomic/Atomic.cjs +0 -64
- package/_cjs/Ref/Atomic/Atomic.cjs.map +0 -1
- package/_cjs/Ref/Atomic/api.cjs +0 -156
- package/_cjs/Ref/Atomic/api.cjs.map +0 -1
- package/_cjs/Ref/Derived.cjs +0 -55
- package/_cjs/Ref/Derived.cjs.map +0 -1
- package/_cjs/Ref/DerivedAll.cjs +0 -55
- package/_cjs/Ref/DerivedAll.cjs.map +0 -1
- package/_cjs/Ref/Synchronized/api.cjs +0 -196
- package/_cjs/Ref/Synchronized/api.cjs.map +0 -1
- package/_cjs/Ref/Synchronized/constructors.cjs +0 -32
- package/_cjs/Ref/Synchronized/constructors.cjs.map +0 -1
- package/_cjs/Ref/Synchronized/definition.cjs +0 -88
- package/_cjs/Ref/Synchronized/definition.cjs.map +0 -1
- package/_cjs/Ref/api/collect.cjs +0 -31
- package/_cjs/Ref/api/collect.cjs.map +0 -1
- package/_cjs/Ref/api/dimap.cjs +0 -110
- package/_cjs/Ref/api/dimap.cjs.map +0 -1
- package/_cjs/Ref/api/filter.cjs +0 -45
- package/_cjs/Ref/api/filter.cjs.map +0 -1
- package/_cjs/Ref/api/get.cjs +0 -20
- package/_cjs/Ref/api/get.cjs.map +0 -1
- package/_cjs/Ref/api/match.cjs +0 -26
- package/_cjs/Ref/api/match.cjs.map +0 -1
- package/_cjs/Ref/api/matchAll.cjs +0 -24
- package/_cjs/Ref/api/matchAll.cjs.map +0 -1
- package/_cjs/Ref/api/modify.cjs +0 -239
- package/_cjs/Ref/api/modify.cjs.map +0 -1
- package/_cjs/Ref/api/set.cjs +0 -21
- package/_cjs/Ref/api/set.cjs.map +0 -1
- package/_cjs/Ref/api.cjs +0 -158
- package/_cjs/Ref/api.cjs.map +0 -1
- package/_mjs/Hub/api.mjs +0 -384
- package/_mjs/Hub/api.mjs.map +0 -1
- package/_mjs/Queue/api/dimapIO.mjs +0 -97
- package/_mjs/Queue/api/dimapIO.mjs.map +0 -1
- package/_mjs/Queue/api/filterInputIO.mjs +0 -63
- package/_mjs/Queue/api/filterInputIO.mjs.map +0 -1
- package/_mjs/Queue/api/filterOutputIO.mjs +0 -68
- package/_mjs/Queue/api/filterOutputIO.mjs.map +0 -1
- package/_mjs/Queue/api/operations.mjs +0 -122
- package/_mjs/Queue/api/operations.mjs.map +0 -1
- package/_mjs/Queue/api/poll.mjs +0 -14
- package/_mjs/Queue/api/poll.mjs.map +0 -1
- package/_mjs/Queue/api/takeBetween.mjs +0 -43
- package/_mjs/Queue/api/takeBetween.mjs.map +0 -1
- package/_mjs/Queue/api/zipWithIO.mjs +0 -74
- package/_mjs/Queue/api/zipWithIO.mjs.map +0 -1
- package/_mjs/Queue/api.mjs +0 -9
- package/_mjs/Queue/api.mjs.map +0 -1
- package/_mjs/Ref/Atomic/Atomic.mjs +0 -47
- package/_mjs/Ref/Atomic/Atomic.mjs.map +0 -1
- package/_mjs/Ref/Atomic/api.mjs +0 -127
- package/_mjs/Ref/Atomic/api.mjs.map +0 -1
- package/_mjs/Ref/Derived.mjs +0 -35
- package/_mjs/Ref/Derived.mjs.map +0 -1
- package/_mjs/Ref/DerivedAll.mjs +0 -35
- package/_mjs/Ref/DerivedAll.mjs.map +0 -1
- package/_mjs/Ref/Synchronized/api.mjs +0 -154
- package/_mjs/Ref/Synchronized/api.mjs.map +0 -1
- package/_mjs/Ref/Synchronized/constructors.mjs +0 -15
- package/_mjs/Ref/Synchronized/constructors.mjs.map +0 -1
- package/_mjs/Ref/Synchronized/definition.mjs +0 -66
- package/_mjs/Ref/Synchronized/definition.mjs.map +0 -1
- package/_mjs/Ref/api/collect.mjs +0 -17
- package/_mjs/Ref/api/collect.mjs.map +0 -1
- package/_mjs/Ref/api/dimap.mjs +0 -84
- package/_mjs/Ref/api/dimap.mjs.map +0 -1
- package/_mjs/Ref/api/filter.mjs +0 -29
- package/_mjs/Ref/api/filter.mjs.map +0 -1
- package/_mjs/Ref/api/get.mjs +0 -13
- package/_mjs/Ref/api/get.mjs.map +0 -1
- package/_mjs/Ref/api/match.mjs +0 -18
- package/_mjs/Ref/api/match.mjs.map +0 -1
- package/_mjs/Ref/api/matchAll.mjs +0 -16
- package/_mjs/Ref/api/matchAll.mjs.map +0 -1
- package/_mjs/Ref/api/modify.mjs +0 -204
- package/_mjs/Ref/api/modify.mjs.map +0 -1
- package/_mjs/Ref/api/set.mjs +0 -14
- package/_mjs/Ref/api/set.mjs.map +0 -1
- package/_mjs/Ref/api.mjs +0 -34
- package/_mjs/Ref/api.mjs.map +0 -1
- package/_src/Hub/api.ts +0 -461
- package/_src/Queue/api/dimapIO.ts +0 -130
- package/_src/Queue/api/filterInputIO.ts +0 -75
- package/_src/Queue/api/filterOutputIO.ts +0 -76
- package/_src/Queue/api/operations.ts +0 -139
- package/_src/Queue/api/poll.ts +0 -14
- package/_src/Queue/api/takeBetween.ts +0 -45
- package/_src/Queue/api/zipWithIO.ts +0 -99
- package/_src/Queue/api.ts +0 -9
- package/_src/Ref/Atomic/Atomic.ts +0 -56
- package/_src/Ref/Atomic/api.ts +0 -124
- package/_src/Ref/Derived.ts +0 -71
- package/_src/Ref/DerivedAll.ts +0 -75
- package/_src/Ref/Synchronized/api.ts +0 -249
- package/_src/Ref/Synchronized/constructors.ts +0 -12
- package/_src/Ref/Synchronized/definition.ts +0 -126
- package/_src/Ref/api/collect.ts +0 -19
- package/_src/Ref/api/dimap.ts +0 -115
- package/_src/Ref/api/filter.ts +0 -35
- package/_src/Ref/api/get.ts +0 -17
- package/_src/Ref/api/match.ts +0 -24
- package/_src/Ref/api/matchAll.ts +0 -23
- package/_src/Ref/api/modify.ts +0 -237
- package/_src/Ref/api/set.ts +0 -19
- package/_src/Ref/api.ts +0 -39
package/Schedule/api.d.ts
CHANGED
|
@@ -15,116 +15,116 @@ import { Decision } from "./Decision.js";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare function make<State, Env, In, Out>(initial: State, step: (now: number, inp: In, state: State, __tsplusTrace?: string) => IO<Env, never, readonly [State, Out, Decision]>, __tsplusTrace?: string): Schedule.WithState<State, Env, In, Out>;
|
|
17
17
|
/**
|
|
18
|
-
* @tsplus
|
|
18
|
+
* @tsplus pipeable fncts.io.Schedule addDelay
|
|
19
19
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
20
20
|
*/
|
|
21
|
-
export declare function
|
|
21
|
+
export declare function addDelay<Out>(f: (out: Out) => number, __tsplusTrace?: string): <State, Env, In>(self: import("./definition.js").Schedule.WithState<State, Env, In, Out>) => import("./definition.js").Schedule.WithState<State, Env, In, Out>;
|
|
22
22
|
/**
|
|
23
|
-
* @tsplus
|
|
23
|
+
* @tsplus pipeable fncts.io.Schedule addDelayIO
|
|
24
24
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
25
25
|
*/
|
|
26
|
-
export declare function
|
|
26
|
+
export declare function addDelayIO<Out, Env1>(f: (out: Out) => URIO<Env1, number>, __tsplusTrace?: string): <State, Env, In>(self: import("./definition.js").Schedule.WithState<State, Env, In, Out>) => import("./definition.js").Schedule.WithState<State, Env1 | Env, In, Out>;
|
|
27
27
|
/**
|
|
28
|
-
* @tsplus
|
|
28
|
+
* @tsplus pipeable fncts.io.Schedule andThen
|
|
29
29
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
30
30
|
*/
|
|
31
|
-
export declare function andThen<
|
|
31
|
+
export declare function andThen<State1, Env1, In1, Out1>(that: Schedule.WithState<State1, Env1, In1, Out1>, __tsplusTrace?: string): <State, Env, In, Out>(self: import("./definition.js").Schedule.WithState<State, Env, In, Out>) => import("./definition.js").Schedule.WithState<readonly [State, State1, boolean], Env1 | Env, In & In1, Out1 | Out>;
|
|
32
32
|
/**
|
|
33
|
-
* @tsplus
|
|
33
|
+
* @tsplus pipeable fncts.io.Schedule andThenEither
|
|
34
34
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
35
35
|
*/
|
|
36
|
-
export declare function
|
|
36
|
+
export declare function andThenEither<State1, Env1, In1, Out1>(that: Schedule.WithState<State1, Env1, In1, Out1>, __tsplusTrace?: string): <State, Env, In, Out>(self: import("./definition.js").Schedule.WithState<State, Env, In, Out>) => import("./definition.js").Schedule.WithState<readonly [State, State1, boolean], Env1 | Env, In & In1, import("@fncts/base/data/Either.js").Either<Out, Out1>>;
|
|
37
37
|
/**
|
|
38
|
-
* @tsplus
|
|
38
|
+
* @tsplus pipeable fncts.io.Schedule as
|
|
39
39
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
40
40
|
*/
|
|
41
|
-
export declare function
|
|
41
|
+
export declare function as<Out2>(out2: Lazy<Out2>, __tsplusTrace?: string): <State, Env, In, Out>(self: import("./definition.js").Schedule.WithState<State, Env, In, Out>) => import("./definition.js").Schedule.WithState<State, Env, In, Out2>;
|
|
42
42
|
/**
|
|
43
|
-
* @tsplus
|
|
43
|
+
* @tsplus pipeable fncts.io.Schedule check
|
|
44
44
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
45
45
|
*/
|
|
46
|
-
export declare function
|
|
46
|
+
export declare function check<In, Out>(test: (inp: In, out: Out) => boolean, __tsplusTrace?: string): <State, Env>(self: import("./definition.js").Schedule.WithState<State, Env, In, Out>) => import("./definition.js").Schedule.WithState<State, Env, In, Out>;
|
|
47
47
|
/**
|
|
48
|
-
* @tsplus
|
|
48
|
+
* @tsplus pipeable fncts.io.Schedule checkIO
|
|
49
49
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
50
50
|
*/
|
|
51
|
-
export declare function
|
|
51
|
+
export declare function checkIO<In, Out, Env1>(test: (inp: In, out: Out) => URIO<Env1, boolean>, __tsplusTrace?: string): <State, Env>(self: import("./definition.js").Schedule.WithState<State, Env, In, Out>) => import("./definition.js").Schedule.WithState<State, Env1 | Env, In, Out>;
|
|
52
52
|
/**
|
|
53
|
-
* @tsplus
|
|
53
|
+
* @tsplus pipeable fncts.io.Schedule compose_
|
|
54
54
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
55
55
|
*/
|
|
56
|
-
export declare function
|
|
56
|
+
export declare function compose<O, S1, R1, O2>(that: Schedule.WithState<S1, R1, O, O2>, __tsplusTrace?: string): <S, R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<readonly [S, S1], R1 | R, I, O2>;
|
|
57
57
|
/**
|
|
58
|
-
* @tsplus
|
|
58
|
+
* @tsplus pipeable fncts.io.Schedule contramap
|
|
59
59
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
60
60
|
*/
|
|
61
|
-
export declare function
|
|
61
|
+
export declare function contramap<I, I2>(f: (inp: I2) => I, __tsplusTrace?: string): <S, R, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R, I2, O>;
|
|
62
62
|
/**
|
|
63
|
-
* @tsplus
|
|
63
|
+
* @tsplus pipeable fncts.io.Schedule contramapEnvironment
|
|
64
64
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
65
65
|
*/
|
|
66
|
-
export declare function
|
|
66
|
+
export declare function contramapEnvironment<R, R1>(f: (env: Environment<R1>) => Environment<R>, __tsplusTrace?: string): <S, I, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R1, I, O>;
|
|
67
67
|
/**
|
|
68
|
-
* @tsplus
|
|
68
|
+
* @tsplus pipeable fncts.io.Schedule contramapIO
|
|
69
69
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
70
70
|
*/
|
|
71
|
-
export declare function
|
|
71
|
+
export declare function contramapIO<I, R1, I2>(f: (inp: I2) => URIO<R1, I>, __tsplusTrace?: string): <S, R, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R1 | R, I2, O>;
|
|
72
72
|
/**
|
|
73
73
|
* @tsplus static fncts.io.ScheduleOps delayed
|
|
74
74
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
75
75
|
*/
|
|
76
76
|
export declare function delayed<S, R, I>(schedule: Schedule.WithState<S, R, I, number>, __tsplusTrace?: string): Schedule.WithState<S, R, I, number>;
|
|
77
77
|
/**
|
|
78
|
-
* @tsplus
|
|
78
|
+
* @tsplus pipeable fncts.io.Schedule delayed
|
|
79
79
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
80
80
|
*/
|
|
81
|
-
export declare function
|
|
81
|
+
export declare function delayedSelf(f: (delay: number) => number, __tsplusTrace?: string): <S, R, I, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R, I, O>;
|
|
82
82
|
/**
|
|
83
|
-
* @tsplus
|
|
83
|
+
* @tsplus pipeable fncts.io.Schedule delayedIO
|
|
84
84
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
85
85
|
*/
|
|
86
|
-
export declare function
|
|
86
|
+
export declare function delayedIO<R1>(f: (delay: number) => URIO<R1, number>, __tsplusTrace?: string): <S, R, I, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R1 | R, I, O>;
|
|
87
87
|
/**
|
|
88
88
|
* @tsplus getter fncts.io.Schedule delays
|
|
89
89
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
90
90
|
*/
|
|
91
91
|
export declare function delays<S, R, I, O>(self: Schedule.WithState<S, R, I, O>, __tsplusTrace?: string): Schedule.WithState<S, R, I, number>;
|
|
92
92
|
/**
|
|
93
|
-
* @tsplus
|
|
93
|
+
* @tsplus pipeable fncts.io.Schedule dimap
|
|
94
94
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
95
95
|
*/
|
|
96
|
-
export declare function
|
|
96
|
+
export declare function dimap<I, O, I2, O2>(f: (inp2: I2) => I, g: (out: O) => O2, __tsplusTrace?: string): <S, R>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R, I2, O2>;
|
|
97
97
|
/**
|
|
98
|
-
* @tsplus
|
|
98
|
+
* @tsplus pipeable fncts.io.Schedule dimapIO
|
|
99
99
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
100
100
|
*/
|
|
101
|
-
export declare function
|
|
101
|
+
export declare function dimapIO<I, O, R1, I2, R2, O2>(f: (inp2: I2) => URIO<R1, I>, g: (out: O) => URIO<R2, O2>, __tsplusTrace?: string): <S, R>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R1 | R2 | R, I2, O2>;
|
|
102
102
|
/**
|
|
103
103
|
* @tsplus static fncts.io.ScheduleOps duration
|
|
104
104
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
105
105
|
*/
|
|
106
106
|
export declare function duration(duration: number, __tsplusTrace?: string): Schedule.WithState<boolean, never, unknown, number>;
|
|
107
107
|
/**
|
|
108
|
-
* @tsplus
|
|
109
|
-
* @tsplus operator fncts.io.Schedule ||
|
|
108
|
+
* @tsplus pipeable fncts.io.Schedule either
|
|
109
|
+
* @tsplus pipeable-operator fncts.io.Schedule ||
|
|
110
110
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
111
111
|
*/
|
|
112
|
-
export declare function either<
|
|
112
|
+
export declare function either<S1, R1, I1, O1>(that: Schedule.WithState<S1, R1, I1, O1>, __tsplusTrace?: string): <S, R, I, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<readonly [S, S1], R1 | R, I & I1, readonly [O, O1]>;
|
|
113
113
|
/**
|
|
114
|
-
* @tsplus
|
|
114
|
+
* @tsplus pipeable fncts.io.Schedule eitherWith
|
|
115
115
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
116
116
|
*/
|
|
117
|
-
export declare function eitherWith<
|
|
117
|
+
export declare function eitherWith<O, S1, R1, I1, O1, O2>(that: Schedule.WithState<S1, R1, I1, O1>, f: (out1: O, out2: O1) => O2, __tsplusTrace?: string): <S, R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<readonly [S, S1], R1 | R, I & I1, O2>;
|
|
118
118
|
/**
|
|
119
119
|
* @tsplus static fncts.io.ScheduleOps elapsed
|
|
120
120
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
121
121
|
*/
|
|
122
122
|
export declare const elapsed: Schedule.WithState<Maybe<number>, never, unknown, number>;
|
|
123
123
|
/**
|
|
124
|
-
* @tsplus
|
|
124
|
+
* @tsplus pipeable fncts.io.Schedule ensuring
|
|
125
125
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
126
126
|
*/
|
|
127
|
-
export declare function
|
|
127
|
+
export declare function ensuring(finalizer: UIO<any>, __tsplusTrace?: string): <S, R, I, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R, I, O>;
|
|
128
128
|
/**
|
|
129
129
|
* @tsplus static fncts.io.ScheduleOps exponential
|
|
130
130
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
@@ -146,20 +146,20 @@ export declare function exponential(base: number, factor?: number, __tsplusTrace
|
|
|
146
146
|
*/
|
|
147
147
|
export declare function fixed(interval: number, __tsplusTrace?: string): Schedule.WithState<readonly [Maybe<readonly [number, number]>, number], never, unknown, number>;
|
|
148
148
|
/**
|
|
149
|
-
* @tsplus
|
|
149
|
+
* @tsplus pipeable fncts.io.Schedule fold
|
|
150
150
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
151
151
|
*/
|
|
152
|
-
export declare function
|
|
152
|
+
export declare function fold<O, Z>(z: Z, f: (z: Z, out: O) => Z, __tsplusTrace?: string): <S, R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<readonly [S, Z], R, I, Z>;
|
|
153
153
|
/**
|
|
154
|
-
* @tsplus
|
|
154
|
+
* @tsplus pipeable fncts.io.Schedule foldIO
|
|
155
155
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
156
156
|
*/
|
|
157
|
-
export declare function
|
|
157
|
+
export declare function foldIO<O, Z, R1>(z: Z, f: (z: Z, out: O) => URIO<R1, Z>, __tsplusTrace?: string): <S, R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<readonly [S, Z], R1 | R, I, Z>;
|
|
158
158
|
/**
|
|
159
159
|
* @tsplus getter fncts.io.Schedule forever
|
|
160
160
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
161
161
|
*/
|
|
162
|
-
export declare function
|
|
162
|
+
export declare function repeatForever<S, R, I, O>(self: Schedule.WithState<S, R, I, O>, __tsplusTrace?: string): Schedule.WithState<S, R, I, O>;
|
|
163
163
|
/**
|
|
164
164
|
* @tsplus static fncts.io.ScheduleOps forever
|
|
165
165
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
@@ -171,50 +171,50 @@ export declare const forever: import("./definition.js").Schedule.WithState<numbe
|
|
|
171
171
|
*/
|
|
172
172
|
export declare function identity<A>(__tsplusTrace?: string): Schedule.WithState<void, never, A, A>;
|
|
173
173
|
/**
|
|
174
|
-
* @tsplus
|
|
174
|
+
* @tsplus pipeable fncts.io.Schedule intersectWith
|
|
175
175
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
176
176
|
*/
|
|
177
|
-
export declare function
|
|
177
|
+
export declare function intersectWith<S1, R1, I1, O1>(that: Schedule.WithState<S1, R1, I1, O1>, f: (int1: Intervals, int2: Intervals) => Intervals, __tsplusTrace?: string): <S, R, I, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<readonly [S, S1], R1 | R, I & I1, readonly [O, O1]>;
|
|
178
178
|
/**
|
|
179
179
|
* @tsplus static fncts.io.Schedule linear
|
|
180
180
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
181
181
|
*/
|
|
182
182
|
export declare function linear(base: number, __tsplusTrace?: string): Schedule.WithState<number, never, unknown, number>;
|
|
183
183
|
/**
|
|
184
|
-
* @tsplus
|
|
184
|
+
* @tsplus pipeable fncts.io.Schedule map
|
|
185
185
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
186
186
|
*/
|
|
187
|
-
export declare function
|
|
187
|
+
export declare function map<Out, Out1>(f: (out: Out) => Out1, __tsplusTrace?: string): <State, Env, In>(self: import("./definition.js").Schedule.WithState<State, Env, In, Out>) => import("./definition.js").Schedule.WithState<State, Env, In, Out1>;
|
|
188
188
|
/**
|
|
189
|
-
* @tsplus
|
|
189
|
+
* @tsplus pipeable fncts.io.Schedule mapIO
|
|
190
190
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
191
191
|
*/
|
|
192
|
-
export declare function
|
|
192
|
+
export declare function mapIO<Out, Env1, Out1>(f: (out: Out) => URIO<Env1, Out1>, __tsplusTrace?: string): <State, Env, In>(self: import("./definition.js").Schedule.WithState<State, Env, In, Out>) => import("./definition.js").Schedule.WithState<State, Env1 | Env, In, Out1>;
|
|
193
193
|
/**
|
|
194
|
-
* @tsplus
|
|
194
|
+
* @tsplus pipeable fncts.io.Schedule modifyDelayIO
|
|
195
195
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
196
196
|
*/
|
|
197
|
-
export declare function
|
|
197
|
+
export declare function modifyDelayIO<Out, Env1>(f: (out: Out, duration: number) => URIO<Env1, number>, __tsplusTrace?: string): <State, Env, In>(self: import("./definition.js").Schedule.WithState<State, Env, In, Out>) => import("./definition.js").Schedule.WithState<State, Env1 | Env, In, Out>;
|
|
198
198
|
/**
|
|
199
|
-
* @tsplus
|
|
199
|
+
* @tsplus pipeable fncts.io.Schedule onDecision
|
|
200
200
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
201
201
|
*/
|
|
202
|
-
export declare function
|
|
202
|
+
export declare function onDecision<S, O, R1>(f: (state: S, out: O, decision: Decision) => URIO<R1, any>, __tsplusTrace?: string): <R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R1 | R, I, O>;
|
|
203
203
|
/**
|
|
204
|
-
* @tsplus
|
|
204
|
+
* @tsplus pipeable fncts.io.Schedule provideEnvironment
|
|
205
205
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
206
206
|
*/
|
|
207
|
-
export declare function
|
|
207
|
+
export declare function provideEnvironment<R>(env: Environment<R>, __tsplusTrace?: string): <S, I, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, never, I, O>;
|
|
208
208
|
/**
|
|
209
|
-
* @tsplus
|
|
209
|
+
* @tsplus pipeable fncts.io.Schedule reconsider
|
|
210
210
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
211
211
|
*/
|
|
212
|
-
export declare function
|
|
212
|
+
export declare function reconsider<S, O, O2>(f: (state: S, out: O, decision: Decision) => Either<O2, readonly [O2, Interval]>, __tsplusTrace?: string): <R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R, I, O2>;
|
|
213
213
|
/**
|
|
214
|
-
* @tsplus
|
|
214
|
+
* @tsplus pipeable fncts.io.Schedule reconsiderIO
|
|
215
215
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
216
216
|
*/
|
|
217
|
-
export declare function
|
|
217
|
+
export declare function reconsiderIO<S, O, R1, O1>(f: (state: S, out: O, decision: Decision) => URIO<R1, Either<O1, readonly [O1, Interval]>>, __tsplusTrace?: string): <R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R1 | R, I, O1>;
|
|
218
218
|
/**
|
|
219
219
|
* @tsplus static fncts.io.Schedule recurs
|
|
220
220
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
@@ -256,20 +256,20 @@ export declare function recurUntilEquals<A>(value: Lazy<A>, __tsplusTrace?: stri
|
|
|
256
256
|
*/
|
|
257
257
|
export declare function repetitions<S, R, I, O>(self: Schedule.WithState<S, R, I, O>, __tsplusTrace?: string): Schedule.WithState<readonly [S, number], R, I, number>;
|
|
258
258
|
/**
|
|
259
|
-
* @tsplus
|
|
259
|
+
* @tsplus pipeable fncts.io.Schedule resetAfter
|
|
260
260
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
261
261
|
*/
|
|
262
|
-
export declare function
|
|
262
|
+
export declare function resetAfter(duration: number, __tsplusTrace?: string): <S, R, I, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<readonly [S, import("@fncts/base/data/Maybe.js").Maybe<number>], R, I, O>;
|
|
263
263
|
/**
|
|
264
|
-
* @tsplus
|
|
264
|
+
* @tsplus pipeable fncts.io.Schedule resetWhen
|
|
265
265
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
266
266
|
*/
|
|
267
|
-
export declare function
|
|
267
|
+
export declare function resetWhen<O>(f: (out: O) => boolean, __tsplusTrace?: string): <S, R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R, I, O>;
|
|
268
268
|
/**
|
|
269
|
-
* @tsplus
|
|
269
|
+
* @tsplus pipeable fncts.io.Schedule run
|
|
270
270
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
271
271
|
*/
|
|
272
|
-
export declare function
|
|
272
|
+
export declare function run<I>(now: number, input: Iterable<I>, __tsplusTrace?: string): <S, R, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("../IO.js").URIO<R, import("@fncts/base/collection/immutable/Conc.js").Conc<O>>;
|
|
273
273
|
/**
|
|
274
274
|
* @tsplus static fncts.io.Schedule spaced
|
|
275
275
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
@@ -281,92 +281,92 @@ export declare function spaced(duration: number, __tsplusTrace?: string): Schedu
|
|
|
281
281
|
*/
|
|
282
282
|
export declare function succeed<A>(a: Lazy<A>, __tsplusTrace?: string): Schedule.WithState<number, never, unknown, A>;
|
|
283
283
|
/**
|
|
284
|
-
* @tsplus
|
|
284
|
+
* @tsplus pipeable fncts.io.Schedule tapInput
|
|
285
285
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
286
286
|
*/
|
|
287
|
-
export declare function
|
|
287
|
+
export declare function tapInput<I, R1>(f: (inp: I) => URIO<R1, any>, __tsplusTrace?: string): <S, R, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R1 | R, I, O>;
|
|
288
288
|
/**
|
|
289
|
-
* @tsplus
|
|
289
|
+
* @tsplus pipeable fncts.io.Schedule tapOutput
|
|
290
290
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
291
291
|
*/
|
|
292
|
-
export declare function
|
|
292
|
+
export declare function tapOutput<O, R1>(f: (out: O) => URIO<R1, any>, __tsplusTrace?: string): <S, R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R1 | R, I, O>;
|
|
293
293
|
/**
|
|
294
|
-
* @tsplus
|
|
294
|
+
* @tsplus pipeable fncts.io.Schedule unionWith
|
|
295
295
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
296
296
|
*/
|
|
297
|
-
export declare function
|
|
297
|
+
export declare function unionWith<S1, R1, I1, O1>(that: Schedule.WithState<S1, R1, I1, O1>, f: (int1: Intervals, int2: Intervals) => Intervals, __tsplusTrace?: string): <S, R, I, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<readonly [S, S1], R1 | R, I & I1, readonly [O, O1]>;
|
|
298
298
|
/**
|
|
299
299
|
* @tsplus static fncts.io.ScheduleOps unfold
|
|
300
300
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
301
301
|
*/
|
|
302
302
|
export declare function unfold<A>(a: Lazy<A>, f: (a: A) => A, __tsplusTrace?: string): Schedule.WithState<A, never, unknown, A>;
|
|
303
303
|
/**
|
|
304
|
-
* @tsplus
|
|
304
|
+
* @tsplus pipeable fncts.io.Schedule untilInput
|
|
305
305
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
306
306
|
*/
|
|
307
|
-
export declare function
|
|
307
|
+
export declare function untilInput<I>(f: (inp: I) => boolean, __tsplusTrace?: string): <S, R, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R, I, O>;
|
|
308
308
|
/**
|
|
309
|
-
* @tsplus
|
|
309
|
+
* @tsplus pipeable fncts.io.Schedule untilInputIO
|
|
310
310
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
311
311
|
*/
|
|
312
|
-
export declare function
|
|
312
|
+
export declare function untilInputIO<I, R1>(f: (inp: I) => URIO<R1, boolean>, __tsplusTrace?: string): <S, R, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R1 | R, I, O>;
|
|
313
313
|
/**
|
|
314
|
-
* @tsplus
|
|
314
|
+
* @tsplus pipeable fncts.io.Schedule untilOutput
|
|
315
315
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
316
316
|
*/
|
|
317
|
-
export declare function
|
|
317
|
+
export declare function untilOutput<O>(f: (out: O) => boolean, __tsplusTrace?: string): <S, R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R, I, O>;
|
|
318
318
|
/**
|
|
319
|
-
* @tsplus
|
|
319
|
+
* @tsplus pipeable fncts.io.Schedule untilOutputIO
|
|
320
320
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
321
321
|
*/
|
|
322
|
-
export declare function
|
|
322
|
+
export declare function untilOutputIO<O, R1>(f: (out: O) => URIO<R1, boolean>, __tsplusTrace?: string): <S, R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R1 | R, I, O>;
|
|
323
323
|
/**
|
|
324
324
|
* @tsplus static fncts.io.Schedule upTo
|
|
325
325
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
326
326
|
*/
|
|
327
327
|
export declare function upTo(duration: number, __tsplusTrace?: string): Schedule.WithState<Maybe<number>, never, unknown, number>;
|
|
328
328
|
/**
|
|
329
|
-
* @tsplus
|
|
329
|
+
* @tsplus pipeable fncts.io.Schedule whileInput
|
|
330
330
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
331
331
|
*/
|
|
332
|
-
export declare function
|
|
332
|
+
export declare function whileInput<I>(f: (inp: I) => boolean, __tsplusTrace?: string): <S, R, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R, I, O>;
|
|
333
333
|
/**
|
|
334
|
-
* @tsplus
|
|
334
|
+
* @tsplus pipeable fncts.io.Schedule whileInputIO
|
|
335
335
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
336
336
|
*/
|
|
337
|
-
export declare function
|
|
337
|
+
export declare function whileInputIO<I, R1>(f: (inp: I) => URIO<R1, boolean>, __tsplusTrace?: string): <S, R, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R1 | R, I, O>;
|
|
338
338
|
/**
|
|
339
|
-
* @tsplus
|
|
339
|
+
* @tsplus pipeable fncts.io.Schedule whileOutput
|
|
340
340
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
341
341
|
*/
|
|
342
|
-
export declare function
|
|
342
|
+
export declare function whileOutput<O>(f: (out: O) => boolean, __tsplusTrace?: string): <S, R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R, I, O>;
|
|
343
343
|
/**
|
|
344
|
-
* @tsplus
|
|
344
|
+
* @tsplus pipeable fncts.io.Schedule whileOutputIO
|
|
345
345
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
346
346
|
*/
|
|
347
|
-
export declare function
|
|
347
|
+
export declare function whileOutputIO<O, R1>(f: (out: O) => URIO<R1, boolean>, __tsplusTrace?: string): <S, R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<S, R1 | R, I, O>;
|
|
348
348
|
/**
|
|
349
349
|
* @tsplus static fncts.io.Schedule windowed
|
|
350
350
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
351
351
|
*/
|
|
352
352
|
export declare function windowed(interval: number, __tsplusTrace?: string): Schedule.WithState<readonly [Maybe<number>, number], never, unknown, number>;
|
|
353
353
|
/**
|
|
354
|
-
* @tsplus
|
|
354
|
+
* @tsplus pipeable fncts.io.Schedule zip
|
|
355
355
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
356
356
|
*/
|
|
357
|
-
export declare function
|
|
357
|
+
export declare function zip<S1, R1, I1, O1>(that: Schedule.WithState<S1, R1, I1, O1>, __tsplusTrace?: string): <S, R, I, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<readonly [S, S1], R1 | R, I & I1, readonly [O, O1]>;
|
|
358
358
|
/**
|
|
359
|
-
* @tsplus
|
|
359
|
+
* @tsplus pipeable fncts.io.Schedule zipLeft
|
|
360
360
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
361
361
|
*/
|
|
362
|
-
export declare function
|
|
362
|
+
export declare function zipLeft<S1, R1, I1, O1>(that: Schedule.WithState<S1, R1, I1, O1>, __tsplusTrace?: string): <S, R, I, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<readonly [S, S1], R1 | R, I & I1, O>;
|
|
363
363
|
/**
|
|
364
|
-
* @tsplus
|
|
364
|
+
* @tsplus pipeable fncts.io.Schedule zipRight
|
|
365
365
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
366
366
|
*/
|
|
367
|
-
export declare function
|
|
367
|
+
export declare function zipRight<S1, R1, I1, O1>(that: Schedule.WithState<S1, R1, I1, O1>, __tsplusTrace?: string): <S, R, I, O>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<readonly [S, S1], R1 | R, I & I1, O1>;
|
|
368
368
|
/**
|
|
369
|
-
* @tsplus
|
|
369
|
+
* @tsplus pipeable fncts.io.Schedule zipWith
|
|
370
370
|
* @tsplus location "@fncts/io/Schedule/api"
|
|
371
371
|
*/
|
|
372
|
-
export declare function
|
|
372
|
+
export declare function zipWith<O, S1, R1, I1, O2, O3>(that: Schedule.WithState<S1, R1, I1, O2>, f: (out1: O, out2: O2) => O3, __tsplusTrace?: string): <S, R, I>(self: import("./definition.js").Schedule.WithState<S, R, I, O>) => import("./definition.js").Schedule.WithState<readonly [S, S1], R1 | R, I & I1, O3>;
|
|
@@ -3,7 +3,7 @@ import { ExecutionStrategy } from "@fncts/base/data/ExecutionStrategy";
|
|
|
3
3
|
import { UIO } from "@fncts/io/IO/definition";
|
|
4
4
|
import { ReleaseMap } from "../definition.js";
|
|
5
5
|
/**
|
|
6
|
-
* @tsplus
|
|
6
|
+
* @tsplus pipeable fncts.io.Scope.ReleaseMap releaseAll
|
|
7
7
|
* @tsplus location "@fncts/io/Scope/ReleaseMap/api/releaseAll"
|
|
8
8
|
*/
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function releaseAll(exit: Exit<any, any>, execStrategy: ExecutionStrategy, __tsplusTrace?: string): (releaseMap: ReleaseMap) => import("../../../IO.js").UIO<any>;
|
|
@@ -4,27 +4,27 @@ import { Maybe } from "@fncts/base/data/Maybe/definition";
|
|
|
4
4
|
import { Exit } from "@fncts/base/data/Exit/definition";
|
|
5
5
|
import { ReleaseMap } from "./definition.js";
|
|
6
6
|
/**
|
|
7
|
-
* @tsplus
|
|
7
|
+
* @tsplus pipeable fncts.io.Scope.ReleaseMap addIfOpen
|
|
8
8
|
* @tsplus location "@fncts/io/Scope/ReleaseMap/api"
|
|
9
9
|
*/
|
|
10
|
-
export declare function
|
|
10
|
+
export declare function addIfOpen(finalizer: Finalizer, __tsplusTrace?: string): (releaseMap: ReleaseMap) => import("../../IO.js").UIO<import("@fncts/base/data/Maybe.js").Maybe<number>>;
|
|
11
11
|
/**
|
|
12
|
-
* @tsplus
|
|
12
|
+
* @tsplus pipeable fncts.io.Scope.ReleaseMap release
|
|
13
13
|
* @tsplus location "@fncts/io/Scope/ReleaseMap/api"
|
|
14
14
|
*/
|
|
15
|
-
export declare function
|
|
15
|
+
export declare function release(key: number, exit: Exit<any, any>, __tsplusTrace?: string): (releaseMap: ReleaseMap) => IO<never, never, any>;
|
|
16
16
|
/**
|
|
17
|
-
* @tsplus
|
|
17
|
+
* @tsplus pipeable fncts.io.Scope.ReleaseMap add
|
|
18
18
|
* @tsplus location "@fncts/io/Scope/ReleaseMap/api"
|
|
19
19
|
*/
|
|
20
|
-
export declare function
|
|
20
|
+
export declare function add(finalizer: Finalizer, __tsplusTrace?: string): (releaseMap: ReleaseMap) => import("../../IO.js").UIO<import("../Finalizer.js").Finalizer>;
|
|
21
21
|
/**
|
|
22
|
-
* @tsplus
|
|
22
|
+
* @tsplus pipeable fncts.io.Scope.ReleaseMap replace
|
|
23
23
|
* @tsplus location "@fncts/io/Scope/ReleaseMap/api"
|
|
24
24
|
*/
|
|
25
|
-
export declare function
|
|
25
|
+
export declare function replace(key: number, finalizer: Finalizer, __tsplusTrace?: string): (releaseMap: ReleaseMap) => import("../../IO.js").UIO<import("@fncts/base/data/Maybe.js").Maybe<import("../Finalizer.js").Finalizer>>;
|
|
26
26
|
/**
|
|
27
|
-
* @tsplus
|
|
27
|
+
* @tsplus pipeable fncts.io.Scope.ReleaseMap updateAll
|
|
28
28
|
* @tsplus location "@fncts/io/Scope/ReleaseMap/api"
|
|
29
29
|
*/
|
|
30
|
-
export declare function
|
|
30
|
+
export declare function updateAll(f: (_: Finalizer) => Finalizer, __tsplusTrace?: string): (releaseMap: ReleaseMap) => import("../../IO.js").UIO<void>;
|
package/Scope/api.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Scope } from "@fncts/io/Scope/definition";
|
|
2
1
|
import { Lazy } from "@fncts/base/data/function/definition";
|
|
3
2
|
import { UIO, IO } from "@fncts/io/IO/definition";
|
|
3
|
+
import { Scope } from "@fncts/io/Scope/definition";
|
|
4
4
|
import { Finalizer } from "@fncts/io/Scope/Finalizer";
|
|
5
5
|
import { Exit } from "@fncts/base/data/Exit/definition";
|
|
6
6
|
import { ExecutionStrategy } from "@fncts/base/data/ExecutionStrategy";
|
|
7
7
|
import { Closeable } from "./definition.js";
|
|
8
8
|
/**
|
|
9
|
-
* @tsplus
|
|
9
|
+
* @tsplus pipeable fncts.io.Scope addFinalizer
|
|
10
10
|
* @tsplus location "@fncts/io/Scope/api"
|
|
11
11
|
*/
|
|
12
|
-
export declare function
|
|
12
|
+
export declare function addFinalizer(finalizer: Lazy<UIO<any>>, __tsplusTrace?: string): (self: Scope) => import("../IO.js").UIO<void>;
|
|
13
13
|
/**
|
|
14
14
|
* @tsplus static fncts.io.ScopeOps addFinalizer
|
|
15
15
|
* @tsplus location "@fncts/io/Scope/api"
|
|
16
16
|
*/
|
|
17
|
-
export declare function
|
|
17
|
+
export declare function makeAddFinalizer(finalizer: Lazy<UIO<void>>, __tsplusTrace?: string): IO<Scope, never, void>;
|
|
18
18
|
/**
|
|
19
19
|
* @tsplus static fncts.io.ScopeOps concurrent
|
|
20
20
|
* @tsplus static fncts.io.Scope.CloseableOps concurrent
|
|
@@ -22,10 +22,10 @@ export declare function addFinalizer(finalizer: Lazy<UIO<void>>, __tsplusTrace?:
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const concurrent: UIO<Scope.Closeable>;
|
|
24
24
|
/**
|
|
25
|
-
* @tsplus
|
|
25
|
+
* @tsplus pipeable fncts.io.Scope extend
|
|
26
26
|
* @tsplus location "@fncts/io/Scope/api"
|
|
27
27
|
*/
|
|
28
|
-
export declare function
|
|
28
|
+
export declare function extend<R, E, A>(io: Lazy<IO<R, E, A>>, __tsplusTrace?: string): (self: Scope) => IO<Exclude<R, Scope>, E, A>;
|
|
29
29
|
/**
|
|
30
30
|
* @tsplus static fncts.io.ScopeOps global
|
|
31
31
|
* @tsplus location "@fncts/io/Scope/api"
|
|
@@ -54,7 +54,7 @@ export declare function unsafeMake(__tsplusTrace?: string): Closeable;
|
|
|
54
54
|
*/
|
|
55
55
|
export declare function unsafeMakeWith(executionStrategy: ExecutionStrategy, __tsplusTrace?: string): Scope.Closeable;
|
|
56
56
|
/**
|
|
57
|
-
* @tsplus
|
|
57
|
+
* @tsplus pipeable fncts.io.Scope.Closeable use
|
|
58
58
|
* @tsplus location "@fncts/io/Scope/api"
|
|
59
59
|
*/
|
|
60
|
-
export declare function
|
|
60
|
+
export declare function use<R, E, A>(io: Lazy<IO<R, E, A>>, __tsplusTrace?: string): (self: Scope.Closeable) => IO<Exclude<R, Scope>, E, A>;
|