@fncts/io 0.0.39 → 0.0.41
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SingleProducerAsyncInput.mjs","names":["tuple","StateDone","constructor","a","_stateTag","StateError","cause","StateEmpty","notifyProducer","StateEmit","notifyConsumers","SingleProducerAsyncInput","ref","take","takeWith","c","tsplus_module_12","failCause","tsplus_module_11","map","tsplus_module_4","left","fileName_1","el","succeed","d","fail","right","close","tsplus_module_3","flatMap","id","error","interrupt","fiberId","awaitRead","tsplus_module_7","modify","s","tsplus_module_5","wait","unit","emit","p","flatten","state","x","tsplus_module_1","dequeue","tsplus_module_2","isNothing","notifyConsumer","value","succeed_","length","tsplus_module_6","tsplus_module_8","make","done","foreachDiscard","f","onError","onElement","onDone","matchCause","de","tsplus_module_9","match","Left","Right","enqueue","zipRight","undefined","tsplus_module_10","single","makeSingleProducerAsyncInput","tsplus_module_13"],"sources":["../../../_src/Channel/internal/SingleProducerAsyncInput.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;AAIA,SAASA,KAAK,QAAQ,2BAA2B;AASjD,OAAM,MAAOC,SAAS;EAEpBC,YAAqBC,CAAO;IAAP,KAAAA,CAAC,GAADA,CAAC;IADb,KAAAC,SAAS;EACa
|
1
|
+
{"version":3,"file":"SingleProducerAsyncInput.mjs","names":["tuple","StateDone","constructor","a","_stateTag","StateError","cause","StateEmpty","notifyProducer","StateEmit","notifyConsumers","SingleProducerAsyncInput","ref","take","takeWith","c","tsplus_module_12","failCause","tsplus_module_11","map","tsplus_module_4","left","fileName_1","el","succeed","d","fail","right","close","tsplus_module_3","flatMap","id","error","interrupt","fiberId","awaitRead","tsplus_module_7","modify","s","tsplus_module_5","wait","unit","emit","p","flatten","state","x","tsplus_module_1","dequeue","tsplus_module_2","isNothing","notifyConsumer","value","succeed_","length","tsplus_module_6","tsplus_module_8","make","done","foreachDiscard","f","onError","onElement","onDone","matchCause","de","tsplus_module_9","match","Left","Right","enqueue","zipRight","undefined","tsplus_module_10","single","makeSingleProducerAsyncInput","tsplus_module_13"],"sources":["../../../_src/Channel/internal/SingleProducerAsyncInput.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;AAIA,SAASA,KAAK,QAAQ,2BAA2B;AASjD,OAAM,MAAOC,SAAS;EAEpBC,YAAqBC,CAAO;IAAP,KAAAA,CAAC,GAADA,CAAC;IADb,KAAAC,SAAS;EACa;;AAGjC,OAAM,MAAOC,UAAU;EAErBH,YAAqBI,KAAe;IAAf,KAAAA,KAAK,GAALA,KAAK;IADjB,KAAAF,SAAS;EACqB;;AAGzC,OAAM,MAAOG,UAAU;EAErBL,YAAqBM,cAAmC;IAAnC,KAAAA,cAAc,GAAdA,cAAc;IAD1B,KAAAJ,SAAS;EACyC;;AAG7D,OAAM,MAAOK,SAAS;EAEpBP,YAAqBQ,eAAuD;IAAvD,KAAAA,eAAe,GAAfA,eAAe;IAD3B,KAAAN,SAAS;EAC6D;;AAKjF;;;;;;;;;;;;;;;;;;AAkBA,OAAM,MAAOO,w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AA3C,UAAA,cAAAiB,eAAA,CAAAC,IAAA,CAAhFG,CAAC,EAAArB,UAAA,cAAgF,EAAAA,UAAA,cAF7FiB,eAAA,CAAAc,QAAA,CACWmB,SAAS,EAAAlD,UAAA,cADpBuB,KAAK,CAACrC,cAAc,CACC,CACyE,EAC9F,IAAIC,SAAS,CAACgE,gBAAA,CAAAC,MAAA,CAAa/B,CAAC,CAAC,CAAC,CAC/B;UACH;MACF;IACF,CAAC,EAAArB,UAAA,cAvBD,IAAI,CAACV,GAAG,CAuBN,EAAAU,UAAA,aAAQ,EAAAA,UAAA,cAzBPkC,eAAA,CAAAC,IAAA,CAAAnC,UAAA,aAAsC,CA0B5C;EACH;;AAaF;;;;;AAKA,OAAM,SAAUqD,4BAA4BA,CAAA;EAC1C,OAAO9C,eAAA,CAAAV,GAAA,CAECP,GAAG,IAAK,IAAID,wBAAwB,CAACC,GAAG,CAAC,EAAAU,UAAA,aAF1CO,eAAA,CAAAC,OAAA,CACKa,CAAC,IAAKiC,gBAAA,CAAAnB,IAAA,OAAiC,IAAIlD,UAAU,CAACoC,CAAC,CAAC,EAAArB,UAAA,aAAC,EAAAA,UAAA,cAD9DkC,eAAA,CAAAC,IAAA,CAAAnC,UAAA,aAA0B,CACqC,CACpB;AACpD"}
|
package/_mjs/Channel.mjs
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
export * from "./Channel/core-api.mjs";
|
1
|
+
/* eslint-disable simple-import-sort/exports */
|
2
|
+
// codegen:start { preset: barrel, include: ./Channel/*.ts, exclude: Channel/*(ChildExecutorDecision|UpstreamPullRequest|UpstreamPullStrategy).ts }
|
4
3
|
export * from "./Channel/definition.mjs";
|
4
|
+
export * from "./Channel/core-api.mjs";
|
5
|
+
export * from "./Channel/api.mjs";
|
5
6
|
//# sourceMappingURL=Channel.mjs.map
|
package/_mjs/Channel.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Channel.mjs","names":[],"sources":["../_src/Channel.ts"],"sourcesContent":[null],"mappings":"AAAA;AACA,cAAc,
|
1
|
+
{"version":3,"file":"Channel.mjs","names":[],"sources":["../_src/Channel.ts"],"sourcesContent":[null],"mappings":"AAAA;AACA;AACA,cAAc,0BAAyB;AACvC,cAAc,wBAAuB;AACrC,cAAc,mBAAkB"}
|
package/_mjs/Clock.mjs
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
+
/* eslint-disable simple-import-sort/exports */
|
1
2
|
// codegen:start { preset: barrel, include: ./Clock/*.ts }
|
2
|
-
export * from "./Clock/api.mjs";
|
3
|
-
export * from "./Clock/definition.mjs";
|
4
3
|
export * from "./Clock/live.mjs";
|
4
|
+
export * from "./Clock/definition.mjs";
|
5
|
+
export * from "./Clock/api.mjs";
|
5
6
|
//# sourceMappingURL=Clock.mjs.map
|
package/_mjs/Clock.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Clock.mjs","names":[],"sources":["../_src/Clock.ts"],"sourcesContent":[null],"mappings":"AAAA;AACA,cAAc,
|
1
|
+
{"version":3,"file":"Clock.mjs","names":[],"sources":["../_src/Clock.ts"],"sourcesContent":[null],"mappings":"AAAA;AACA;AACA,cAAc,kBAAiB;AAC/B,cAAc,wBAAuB;AACrC,cAAc,iBAAgB"}
|
package/_mjs/Console.mjs
CHANGED
@@ -1,5 +1,6 @@
|
|
1
|
+
/* eslint-disable simple-import-sort/exports */
|
1
2
|
// codegen:start { preset: barrel, include: ./Console/*.ts }
|
2
|
-
export * from "./Console/api.mjs";
|
3
|
-
export * from "./Console/definition.mjs";
|
4
3
|
export * from "./Console/live.mjs";
|
4
|
+
export * from "./Console/definition.mjs";
|
5
|
+
export * from "./Console/api.mjs";
|
5
6
|
//# sourceMappingURL=Console.mjs.map
|
package/_mjs/Console.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Console.mjs","names":[],"sources":["../_src/Console.ts"],"sourcesContent":[null],"mappings":"AAAA;AACA,cAAc,
|
1
|
+
{"version":3,"file":"Console.mjs","names":[],"sources":["../_src/Console.ts"],"sourcesContent":[null],"mappings":"AAAA;AACA;AACA,cAAc,oBAAmB;AACjC,cAAc,0BAAyB;AACvC,cAAc,mBAAkB"}
|
package/_mjs/CountdownLatch.mjs
CHANGED
@@ -16,18 +16,18 @@ export class CountdownLatch {
|
|
16
16
|
this._count = _count;
|
17
17
|
this._waiters = _waiters;
|
18
18
|
this[_a] = CountdownLatchTypeId;
|
19
|
-
this.await = tsplus_module_1.wait(this._waiters, fileName_1 + ":
|
19
|
+
this.await = tsplus_module_1.wait(this._waiters, fileName_1 + ":15:44");
|
20
20
|
this.countDown = tsplus_module_2.asUnit(tsplus_module_2.flatten(tsplus_module_3.modify(n => {
|
21
21
|
if (n === 0) {
|
22
22
|
return [tsplus_module_2.unit, 0];
|
23
23
|
} else if (n === 1) {
|
24
|
-
return [tsplus_module_1.succeed_(undefined, fileName_1 + ":
|
24
|
+
return [tsplus_module_1.succeed_(undefined, fileName_1 + ":21:36")(this._waiters), 0];
|
25
25
|
} else {
|
26
26
|
return [tsplus_module_2.unit, n - 1];
|
27
27
|
}
|
28
|
-
}, fileName_1 + ":
|
29
|
-
this.count = tsplus_module_4.get(this._count, fileName_1 + ":
|
30
|
-
this.increment = tsplus_module_3.update(n => n + 1, fileName_1 + ":
|
28
|
+
}, fileName_1 + ":17:53")(this._count), fileName_1 + ":25:5"), fileName_1 + ":25:13");
|
29
|
+
this.count = tsplus_module_4.get(this._count, fileName_1 + ":27:44");
|
30
|
+
this.increment = tsplus_module_3.update(n => n + 1, fileName_1 + ":29:53")(this._count);
|
31
31
|
}
|
32
32
|
}
|
33
33
|
_a = CountdownLatchTypeId;
|
@@ -36,6 +36,6 @@ _a = CountdownLatchTypeId;
|
|
36
36
|
* @tsplus static fncts.io.CountdownLatchOps __call
|
37
37
|
*/
|
38
38
|
export function make(n) {
|
39
|
-
return tsplus_module_2.flatMap(count => tsplus_module_2.map(waiters => new CountdownLatch(count, waiters), fileName_1 + ":
|
39
|
+
return tsplus_module_2.flatMap(count => tsplus_module_2.map(waiters => new CountdownLatch(count, waiters), fileName_1 + ":39:22")(tsplus_module_5.make(fileName_1 + ":39:34")), fileName_1 + ":38:22")(tsplus_module_6.make(() => n, fileName_1 + ":38:31"));
|
40
40
|
}
|
41
41
|
//# sourceMappingURL=CountdownLatch.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CountdownLatch.mjs","names":["CountdownLatchTypeId","Symbol","for","CountdownLatch","constructor","_count","_waiters","_a","await","tsplus_module_1","wait","fileName_1","countDown","tsplus_module_2","asUnit","flatten","tsplus_module_3","modify","n","unit","succeed_","undefined","count","tsplus_module_4","get","increment","update","make","flatMap","map","waiters","tsplus_module_5","tsplus_module_6"],"sources":["../_src/CountdownLatch.ts"],"sourcesContent":[null],"mappings":";;;;;;;;AAAA,OAAO,MAAMA,oBAAoB,gBAAGC,MAAM,CAACC,GAAG,CAAC,yBAAyB,CAAC;AAGzE;;;;AAIA,OAAM,MAAOC,cAAc;EAEzBC,
|
1
|
+
{"version":3,"file":"CountdownLatch.mjs","names":["CountdownLatchTypeId","Symbol","for","CountdownLatch","constructor","_count","_waiters","_a","await","tsplus_module_1","wait","fileName_1","countDown","tsplus_module_2","asUnit","flatten","tsplus_module_3","modify","n","unit","succeed_","undefined","count","tsplus_module_4","get","increment","update","make","flatMap","map","waiters","tsplus_module_5","tsplus_module_6"],"sources":["../_src/CountdownLatch.ts"],"sourcesContent":[null],"mappings":";;;;;;;;AAAA,OAAO,MAAMA,oBAAoB,gBAAGC,MAAM,CAACC,GAAG,CAAC,yBAAyB,CAAC;AAGzE;;;;AAIA,OAAM,MAAOC,cAAc;EAEzBC,YACUC,MAAmB,EACnBC,QAA6B;IAD7B,KAAAD,MAAM,GAANA,MAAM;IACN,KAAAC,QAAQ,GAARA,QAAQ;IAHT,KAAAC,EAAA,CAAsB,GAAyBP,oBAAoB;IAMnE,KAAAQ,KAA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ANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api.mjs","names":["Differ","update","constructor","empty","tsplus_module_1","identity","combine","first","second","compose","diff","oldValue","newValue","patch","environment","tsplus_module_2","apply","supervisor","tsplus_module_3"],"sources":["../../_src/Differ/api.ts"],"sourcesContent":[null],"mappings":";;;AAKA,SAASA,MAAM,QAAQ,kBAAiB;AAExC;;;;;;;;AAQA,OAAM,SAAUC,MAAMA,CAAA;EACpB,OAAO,IAAK,cAAcD,MAAsB;IAApCE,YAAA;;MAUV,KAAAC,KAAK,GAAAC,eAAA,CAAAC,QAAA;IAIP;IAbEC,OAAOA,CAACC,KAAkB,EAAEC,MAAmB;MAC7C,IAAID,KAAK,KAAK,IAAI,CAACJ,KAAK,EAAE,OAAOK,MAAM,CAAC,KACnC,IAAIA,MAAM,KAAK,IAAI,CAACL,KAAK,EAAE,OAAOI,KAAK;MAC5C,OAAOH,eAAA,CAAAK,OAAA,CAAcD,MAAM,EAApBD,KAAK,CAAgB;IAC9B;IACAG,IAAIA,CAACC,QAAW,EAAEC,QAAW;MAC3B,IAAID,QAAQ,KAAKC,QAAQ,EAAE,OAAO,IAAI,CAACT,KAAK,CAAC,KACxC,OAAO,MAAMS,QAAQ;IAC5B;IAEAC,KAAKA,CAACA,KAAkB;MACtB,OAAOA,KAAK;IACd;GACD,
|
1
|
+
{"version":3,"file":"api.mjs","names":["Differ","update","constructor","empty","tsplus_module_1","identity","combine","first","second","compose","diff","oldValue","newValue","patch","environment","tsplus_module_2","apply","supervisor","tsplus_module_3"],"sources":["../../_src/Differ/api.ts"],"sourcesContent":[null],"mappings":";;;AAKA,SAASA,MAAM,QAAQ,kBAAiB;AAExC;;;;;;;;AAQA,OAAM,SAAUC,MAAMA,CAAA;EACpB,OAAO,IAAK,cAAcD,MAAsB;IAApCE,YAAA;;MAUV,KAAAC,KAAK,GAAAC,eAAA,CAAAC,QAAA;IAIP;IAbEC,OAAOA,CAACC,KAAkB,EAAEC,MAAmB;MAC7C,I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yB;MACvD,OAAOM,eAAA,CAAAR,IAAA,CAAqBC,QAAQ,EAAEC,QAAQ,CAAC;IACjD;IAEAC,KAAKA,CAACA,KAAsB;MAC1B,OAAQF,QAAQ,IAAKO,eAAA,CAAAF,KAAA,CAAML,QAAQ,EAAdE,KAAK,CAAU;IACtC;GACD,CAAC,CAAE;AACN"}
|
@@ -17,18 +17,19 @@ import * as tsplus_module_14 from "@fncts/base/data/exceptions";
|
|
17
17
|
import * as tsplus_module_15 from "@fncts/io/IO/definition";
|
18
18
|
import * as tsplus_module_16 from "@fncts/base/data/Exit/constructors";
|
19
19
|
import * as tsplus_module_17 from "@fncts/io/STM/api/atomically";
|
20
|
-
import * as tsplus_module_18 from "@fncts/
|
21
|
-
import * as tsplus_module_19 from "@fncts/base/data/
|
22
|
-
import * as tsplus_module_20 from "@fncts/base/data/
|
23
|
-
import * as tsplus_module_21 from "@fncts/base/data/
|
24
|
-
import * as tsplus_module_22 from "@fncts/base/
|
25
|
-
import * as tsplus_module_23 from "@fncts/
|
26
|
-
import * as tsplus_module_24 from "@fncts/
|
27
|
-
import * as tsplus_module_25 from "@fncts/
|
28
|
-
import * as tsplus_module_26 from "@fncts/
|
29
|
-
import * as tsplus_module_27 from "@fncts/
|
30
|
-
import * as tsplus_module_28 from "@fncts/io/
|
31
|
-
import * as tsplus_module_29 from "@fncts/io/Logger/
|
20
|
+
import * as tsplus_module_18 from "@fncts/io/IO/api/environment";
|
21
|
+
import * as tsplus_module_19 from "@fncts/base/data/FiberId/constructors";
|
22
|
+
import * as tsplus_module_20 from "@fncts/base/data/TraceElement/definition";
|
23
|
+
import * as tsplus_module_21 from "@fncts/base/data/Trace/constructors";
|
24
|
+
import * as tsplus_module_22 from "@fncts/base/data/Cause/api/isEmpty";
|
25
|
+
import * as tsplus_module_23 from "@fncts/base/collection/immutable/HashMap/api";
|
26
|
+
import * as tsplus_module_24 from "@fncts/io/FiberRef/api";
|
27
|
+
import * as tsplus_module_25 from "@fncts/base/collection/immutable/List/api";
|
28
|
+
import * as tsplus_module_26 from "@fncts/io/FiberScope/constructors";
|
29
|
+
import * as tsplus_module_27 from "@fncts/base/data/Maybe/api";
|
30
|
+
import * as tsplus_module_28 from "@fncts/io/LogLevel";
|
31
|
+
import * as tsplus_module_29 from "@fncts/io/Logger/constructors";
|
32
|
+
import * as tsplus_module_30 from "@fncts/io/Logger/api";
|
32
33
|
import { isIOError } from "@fncts/base/data/exceptions";
|
33
34
|
import { Trace } from "@fncts/base/data/Trace";
|
34
35
|
import { FiberTypeId, FiberVariance } from "@fncts/io/Fiber/definition";
|
@@ -44,7 +45,6 @@ export class RevertFlags {
|
|
44
45
|
this._tag = 14 /* IOTag.RevertFlags */;
|
45
46
|
}
|
46
47
|
}
|
47
|
-
|
48
48
|
export class UpdateTrace {
|
49
49
|
constructor(trace) {
|
50
50
|
this.trace = trace;
|
@@ -79,14 +79,14 @@ export class FiberRuntime {
|
|
79
79
|
ask(f) {
|
80
80
|
return tsplus_module_4.defer(() => {
|
81
81
|
const future = tsplus_module_3.unsafeMake(this.fiberId);
|
82
|
-
this.tell(tsplus_module_6.stateful((fiber, status) => tsplus_module_5.unsafeDone(tsplus_module_4.succeed(() => f(fiber, status), fileName_1 + ":
|
83
|
-
return tsplus_module_5.wait(future, fileName_1 + ":
|
84
|
-
}, fileName_1 + ":
|
82
|
+
this.tell(tsplus_module_6.stateful((fiber, status) => tsplus_module_5.unsafeDone(tsplus_module_4.succeed(() => f(fiber, status), fileName_1 + ":76:86"), fileName_1 + ":76:75")(future)));
|
83
|
+
return tsplus_module_5.wait(future, fileName_1 + ":78:20");
|
84
|
+
}, fileName_1 + ":73:20");
|
85
85
|
}
|
86
86
|
get await() {
|
87
87
|
return tsplus_module_4.async(cb => this.tell(tsplus_module_6.stateful((fiber, _) => {
|
88
|
-
if (fiber._exitValue !== null) cb(tsplus_module_4.succeedNow(fiber.exitValue(), fileName_1 + ":
|
89
|
-
})), this.id, fileName_1 + ":
|
88
|
+
if (fiber._exitValue !== null) cb(tsplus_module_4.succeedNow(fiber.exitValue(), fileName_1 + ":87:60"));else fiber.addObserver(exit => cb(tsplus_module_4.succeedNow(exit, fileName_1 + ":88:62")));
|
89
|
+
})), this.id, fileName_1 + ":83:20");
|
90
90
|
}
|
91
91
|
get children() {
|
92
92
|
return this.ask(fiber => tsplus_module_7.from(fiber.getChildren()));
|
@@ -104,9 +104,9 @@ export class FiberRuntime {
|
|
104
104
|
parentFiber.setFiberRefs(updatedFiberRefs);
|
105
105
|
return tsplus_module_4.flatMap(childRuntimeFlags => {
|
106
106
|
const patch = tsplus_module_10.exclude(tsplus_module_10.exclude(tsplus_module_9.diff(parentRuntimeFlags, childRuntimeFlags), 64 /* RuntimeFlag.WindDown */), 1 /* RuntimeFlag.Interruption */);
|
107
|
-
return tsplus_module_4.updateRuntimeFlags(patch, fileName_1 + ":
|
108
|
-
}, fileName_1 + ":
|
109
|
-
}, fileName_1 + ":
|
107
|
+
return tsplus_module_4.updateRuntimeFlags(patch, fileName_1 + ":120:37");
|
108
|
+
}, fileName_1 + ":114:39")(this.runtimeFlags);
|
109
|
+
}, fileName_1 + ":104:31");
|
110
110
|
}
|
111
111
|
get runtimeFlags() {
|
112
112
|
return this.ask((state, status) => {
|
@@ -117,13 +117,13 @@ export class FiberRuntime {
|
|
117
117
|
return tsplus_module_4.succeed(() => {
|
118
118
|
const cause = tsplus_module_11.interrupt(fiberId);
|
119
119
|
this.tell(tsplus_module_6.interruptSignal(cause));
|
120
|
-
}, fileName_1 + ":
|
120
|
+
}, fileName_1 + ":133:22");
|
121
121
|
}
|
122
122
|
getSupervisor() {
|
123
123
|
return this.getFiberRef(tsplus_module_12.currentSupervisor);
|
124
124
|
}
|
125
125
|
get poll() {
|
126
|
-
return tsplus_module_4.succeed(() => tsplus_module_13.fromNullable(this.exitValue()), fileName_1 + ":
|
126
|
+
return tsplus_module_4.succeed(() => tsplus_module_13.fromNullable(this.exitValue()), fileName_1 + ":144:22");
|
127
127
|
}
|
128
128
|
run() {
|
129
129
|
this.drainQueueOnCurrentThread();
|
@@ -171,7 +171,7 @@ export class FiberRuntime {
|
|
171
171
|
case 0 /* FiberMessageTag.InterruptSignal */:
|
172
172
|
{
|
173
173
|
this.processNewInterruptSignal(message.cause);
|
174
|
-
cur = tsplus_module_9.interruptible(runtimeFlags) ? tsplus_module_4.failCause(() => message.cause, fileName_1 + ":
|
174
|
+
cur = tsplus_module_9.interruptible(runtimeFlags) ? tsplus_module_4.failCause(() => message.cause, fileName_1 + ":207:58") : cur;
|
175
175
|
break;
|
176
176
|
}
|
177
177
|
case 1 /* FiberMessageTag.GenStackTrace */:
|
@@ -208,7 +208,7 @@ export class FiberRuntime {
|
|
208
208
|
try {
|
209
209
|
let effect;
|
210
210
|
if (tsplus_module_9.interruptible(this._runtimeFlags) && this.isInterrupted()) {
|
211
|
-
effect = tsplus_module_4.failCause(() => this.getInterruptedCause(), fileName_1 + ":
|
211
|
+
effect = tsplus_module_4.failCause(() => this.getInterruptedCause(), fileName_1 + ":245:30");
|
212
212
|
} else {
|
213
213
|
effect = effect0;
|
214
214
|
}
|
@@ -223,11 +223,11 @@ export class FiberRuntime {
|
|
223
223
|
finalExit = exit;
|
224
224
|
this.setExitValue(exit);
|
225
225
|
} else {
|
226
|
-
this.tell(tsplus_module_6.resume(tsplus_module_4.fromExitNow(exit, fileName_1 + ":
|
226
|
+
this.tell(tsplus_module_6.resume(tsplus_module_4.fromExitNow(exit, fileName_1 + ":263:59")));
|
227
227
|
}
|
228
228
|
effect = null;
|
229
229
|
} else {
|
230
|
-
effect = tsplus_module_4.flatMap(() => tsplus_module_4.fromExitNow(exit, fileName_1 + ":
|
230
|
+
effect = tsplus_module_4.flatMap(() => tsplus_module_4.fromExitNow(exit, fileName_1 + ":268:63"), this.id.location)(interruption);
|
231
231
|
}
|
232
232
|
} catch (e) {
|
233
233
|
if (isIO(e)) {
|
@@ -305,9 +305,9 @@ export class FiberRuntime {
|
|
305
305
|
{
|
306
306
|
this.patchRuntimeFlags(this._runtimeFlags, cont.patch);
|
307
307
|
if (tsplus_module_9.interruptible(this._runtimeFlags) && this.isInterrupted()) {
|
308
|
-
cur = tsplus_module_4.failCauseNow(this.getInterruptedCause(), fileName_1 + ":
|
308
|
+
cur = tsplus_module_4.failCauseNow(this.getInterruptedCause(), fileName_1 + ":348:54");
|
309
309
|
} else {
|
310
|
-
cur = tsplus_module_4.succeedNow(value, fileName_1 + ":
|
310
|
+
cur = tsplus_module_4.succeedNow(value, fileName_1 + ":350:52");
|
311
311
|
}
|
312
312
|
break;
|
313
313
|
}
|
@@ -319,7 +319,7 @@ export class FiberRuntime {
|
|
319
319
|
}
|
320
320
|
}
|
321
321
|
} else {
|
322
|
-
return tsplus_module_16.succeed(value, fileName_1 + ":
|
322
|
+
return tsplus_module_16.succeed(value, fileName_1 + ":361:34");
|
323
323
|
}
|
324
324
|
break;
|
325
325
|
}
|
@@ -347,7 +347,7 @@ export class FiberRuntime {
|
|
347
347
|
cur = cur.i1(oldRuntimeFlags);
|
348
348
|
} else {
|
349
349
|
if (tsplus_module_9.interruptible(newRuntimeFlags) && this.isInterrupted()) {
|
350
|
-
cur = tsplus_module_4.failCauseNow(this.getInterruptedCause(), fileName_1 + ":
|
350
|
+
cur = tsplus_module_4.failCauseNow(this.getInterruptedCause(), fileName_1 + ":387:50");
|
351
351
|
} else {
|
352
352
|
this.patchRuntimeFlags(this._runtimeFlags, updateFlags);
|
353
353
|
const revertFlags = tsplus_module_9.diff(newRuntimeFlags, oldRuntimeFlags);
|
@@ -359,7 +359,7 @@ export class FiberRuntime {
|
|
359
359
|
}
|
360
360
|
case 9 /* IOTag.GenerateStackTrace */:
|
361
361
|
{
|
362
|
-
cur = tsplus_module_4.succeedNow(this.generateStackTrace(), fileName_1 + ":
|
362
|
+
cur = tsplus_module_4.succeedNow(this.generateStackTrace(), fileName_1 + ":398:44");
|
363
363
|
break;
|
364
364
|
}
|
365
365
|
case 10 /* IOTag.Stateful */:
|
@@ -398,7 +398,7 @@ export class FiberRuntime {
|
|
398
398
|
{
|
399
399
|
this.patchRuntimeFlags(this._runtimeFlags, cont.patch);
|
400
400
|
if (tsplus_module_9.interruptible(this._runtimeFlags) && this.isInterrupted()) {
|
401
|
-
cur = tsplus_module_4.failCauseNow(this.getInterruptedCause(), fileName_1 + ":
|
401
|
+
cur = tsplus_module_4.failCauseNow(this.getInterruptedCause(), fileName_1 + ":431:54");
|
402
402
|
}
|
403
403
|
break;
|
404
404
|
}
|
@@ -410,7 +410,7 @@ export class FiberRuntime {
|
|
410
410
|
}
|
411
411
|
}
|
412
412
|
} else {
|
413
|
-
return tsplus_module_16.succeed(oldCur.i0, fileName_1 + ":
|
413
|
+
return tsplus_module_16.succeed(oldCur.i0, fileName_1 + ":442:34");
|
414
414
|
}
|
415
415
|
break;
|
416
416
|
}
|
@@ -426,7 +426,7 @@ export class FiberRuntime {
|
|
426
426
|
if (!(tsplus_module_9.interruptible(this._runtimeFlags) && this.isInterrupted())) {
|
427
427
|
cur = cont.i1(cause);
|
428
428
|
} else {
|
429
|
-
cur = tsplus_module_4.failCauseNow(tsplus_module_11.stripFailures(cause), fileName_1 + ":
|
429
|
+
cur = tsplus_module_4.failCauseNow(tsplus_module_11.stripFailures(cause), fileName_1 + ":456:54");
|
430
430
|
}
|
431
431
|
break;
|
432
432
|
}
|
@@ -436,9 +436,9 @@ export class FiberRuntime {
|
|
436
436
|
if (tsplus_module_9.interruptible(this._runtimeFlags) && this.isInterrupted()) {
|
437
437
|
const interruptedCause = this.getInterruptedCause();
|
438
438
|
if (tsplus_module_11.contains(interruptedCause)(cause)) {
|
439
|
-
cur = tsplus_module_4.failCauseNow(cause, fileName_1 + ":
|
439
|
+
cur = tsplus_module_4.failCauseNow(cause, fileName_1 + ":465:56");
|
440
440
|
} else {
|
441
|
-
cur = tsplus_module_4.failCauseNow(tsplus_module_11.sequential(cause, this.getInterruptedCause()), fileName_1 + ":
|
441
|
+
cur = tsplus_module_4.failCauseNow(tsplus_module_11.sequential(cause, this.getInterruptedCause()), fileName_1 + ":467:56");
|
442
442
|
}
|
443
443
|
}
|
444
444
|
break;
|
@@ -451,7 +451,7 @@ export class FiberRuntime {
|
|
451
451
|
}
|
452
452
|
}
|
453
453
|
} else {
|
454
|
-
return tsplus_module_16.failCause(cause, fileName_1 + ":
|
454
|
+
return tsplus_module_16.failCause(cause, fileName_1 + ":479:36");
|
455
455
|
}
|
456
456
|
break;
|
457
457
|
}
|
@@ -480,49 +480,53 @@ export class FiberRuntime {
|
|
480
480
|
}
|
481
481
|
case 13 /* IOTag.Commit */:
|
482
482
|
{
|
483
|
-
cur = tsplus_module_17.atomically(cur, fileName_1 + ":
|
483
|
+
cur = tsplus_module_17.atomically(cur, fileName_1 + ":504:34");
|
484
484
|
break;
|
485
485
|
}
|
486
486
|
case "Just":
|
487
487
|
{
|
488
|
-
cur = tsplus_module_4.succeedNow(cur.value, fileName_1 + ":
|
488
|
+
cur = tsplus_module_4.succeedNow(cur.value, fileName_1 + ":508:44");
|
489
489
|
break;
|
490
490
|
}
|
491
491
|
case "Nothing":
|
492
492
|
{
|
493
|
-
cur = tsplus_module_4.failNow(new tsplus_module_14.NoSuchElementError(), fileName_1 + ":
|
493
|
+
cur = tsplus_module_4.failNow(new tsplus_module_14.NoSuchElementError(), fileName_1 + ":512:41");
|
494
494
|
break;
|
495
495
|
}
|
496
496
|
case "Left":
|
497
497
|
{
|
498
|
-
cur = tsplus_module_4.failNow(cur.left, fileName_1 + ":
|
498
|
+
cur = tsplus_module_4.failNow(cur.left, fileName_1 + ":516:41");
|
499
499
|
break;
|
500
500
|
}
|
501
501
|
case "Right":
|
502
502
|
{
|
503
|
-
cur = tsplus_module_4.succeedNow(cur.right, fileName_1 + ":
|
503
|
+
cur = tsplus_module_4.succeedNow(cur.right, fileName_1 + ":520:44");
|
504
504
|
break;
|
505
505
|
}
|
506
506
|
case "Failure" /* ExitTag.Failure */:
|
507
507
|
{
|
508
|
-
cur = tsplus_module_4.failCauseNow(cur.cause, fileName_1 + ":
|
508
|
+
cur = tsplus_module_4.failCauseNow(cur.cause, fileName_1 + ":524:46");
|
509
509
|
break;
|
510
510
|
}
|
511
511
|
case "Success" /* ExitTag.Success */:
|
512
512
|
{
|
513
|
-
cur = tsplus_module_4.succeedNow(cur.value, fileName_1 + ":
|
513
|
+
cur = tsplus_module_4.succeedNow(cur.value, fileName_1 + ":528:44");
|
514
514
|
break;
|
515
515
|
}
|
516
|
+
case "Tag":
|
517
|
+
{
|
518
|
+
cur = tsplus_module_18.service(cur, fileName_1 + ":532:41");
|
519
|
+
}
|
516
520
|
}
|
517
521
|
} catch (e) {
|
518
522
|
if (isIOError(e)) {
|
519
|
-
cur = tsplus_module_4.failCauseNow(e.cause, fileName_1 + ":
|
523
|
+
cur = tsplus_module_4.failCauseNow(e.cause, fileName_1 + ":537:44");
|
520
524
|
} else if (isIO(e) && (e._tag === 3 /* IOTag.Async */ || e._tag === 12 /* IOTag.YieldNow */)) {
|
521
525
|
throw e;
|
522
526
|
} else if (tsplus_module_14.isInterruptedException(e)) {
|
523
|
-
cur = tsplus_module_4.failCauseNow(tsplus_module_11.parallel(tsplus_module_11.halt(e), tsplus_module_11.interrupt(
|
527
|
+
cur = tsplus_module_4.failCauseNow(tsplus_module_11.parallel(tsplus_module_11.halt(e), tsplus_module_11.interrupt(tsplus_module_19.none)), fileName_1 + ":541:44");
|
524
528
|
} else {
|
525
|
-
cur = tsplus_module_4.failCauseNow(tsplus_module_11.halt(e,
|
529
|
+
cur = tsplus_module_4.failCauseNow(tsplus_module_11.halt(e, tsplus_module_21.make(this.fiberId, tsplus_module_7.make(tsplus_module_20.parse(lastTrace)))), fileName_1 + ":543:44");
|
526
530
|
}
|
527
531
|
}
|
528
532
|
}
|
@@ -531,13 +535,13 @@ export class FiberRuntime {
|
|
531
535
|
return this.getFiberRef(tsplus_module_12.interruptedCause);
|
532
536
|
}
|
533
537
|
isInterrupted() {
|
534
|
-
return !
|
538
|
+
return !tsplus_module_22.isEmpty(this.getFiberRef(tsplus_module_12.interruptedCause));
|
535
539
|
}
|
536
540
|
getFiberRef(fiberRef) {
|
537
|
-
if (
|
538
|
-
return
|
541
|
+
if (tsplus_module_23.has(fiberRef)(this._fiberRefs)) {
|
542
|
+
return tsplus_module_23.unsafeGet(fiberRef)(this._fiberRefs).head[1];
|
539
543
|
}
|
540
|
-
return
|
544
|
+
return tsplus_module_24.initial(fiberRef);
|
541
545
|
}
|
542
546
|
tell(message) {
|
543
547
|
this.queue.enqueue(message);
|
@@ -620,7 +624,7 @@ export class FiberRuntime {
|
|
620
624
|
try {
|
621
625
|
asyncRegister(callback);
|
622
626
|
} catch (e) {
|
623
|
-
callback(tsplus_module_4.failCauseNow(tsplus_module_11.halt(e), fileName_1 + ":
|
627
|
+
callback(tsplus_module_4.failCauseNow(tsplus_module_11.halt(e), fileName_1 + ":667:31"));
|
624
628
|
}
|
625
629
|
}
|
626
630
|
setFiberRef(fiberRef, value) {
|
@@ -643,18 +647,16 @@ export class FiberRuntime {
|
|
643
647
|
{
|
644
648
|
this.processNewInterruptSignal(fiberMessage.cause);
|
645
649
|
if (this.asyncInterruptor !== null) {
|
646
|
-
this.asyncInterruptor(tsplus_module_4.failCause(() => fiberMessage.cause, fileName_1 + ":
|
650
|
+
this.asyncInterruptor(tsplus_module_4.failCause(() => fiberMessage.cause, fileName_1 + ":694:45"));
|
647
651
|
this.asyncInterruptor = null;
|
648
652
|
}
|
649
653
|
return 0 /* EvaluationSignal.Continue */;
|
650
654
|
}
|
651
|
-
|
652
655
|
case 1 /* FiberMessageTag.GenStackTrace */:
|
653
656
|
{
|
654
657
|
fiberMessage.onTrace(this.generateStackTrace());
|
655
658
|
return 0 /* EvaluationSignal.Continue */;
|
656
659
|
}
|
657
|
-
|
658
660
|
case 2 /* FiberMessageTag.Stateful */:
|
659
661
|
{
|
660
662
|
let status;
|
@@ -668,7 +670,6 @@ export class FiberRuntime {
|
|
668
670
|
fiberMessage.onFiber(this, status);
|
669
671
|
return 0 /* EvaluationSignal.Continue */;
|
670
672
|
}
|
671
|
-
|
672
673
|
case 3 /* FiberMessageTag.Resume */:
|
673
674
|
{
|
674
675
|
this.asyncInterruptor = null;
|
@@ -677,19 +678,17 @@ export class FiberRuntime {
|
|
677
678
|
this.evaluateEffect(fiberMessage.cont);
|
678
679
|
return 0 /* EvaluationSignal.Continue */;
|
679
680
|
}
|
680
|
-
|
681
681
|
case 4 /* FiberMessageTag.YieldNow */:
|
682
682
|
{
|
683
683
|
return 1 /* EvaluationSignal.YieldNow */;
|
684
684
|
}
|
685
685
|
}
|
686
686
|
}
|
687
|
-
|
688
687
|
generateStackTrace() {
|
689
688
|
const builder = new StackTraceBuilder();
|
690
689
|
const stack = this.stack.clone();
|
691
690
|
while (stack.hasNext) {
|
692
|
-
builder.append(
|
691
|
+
builder.append(tsplus_module_20.parse(stack.pop().trace));
|
693
692
|
}
|
694
693
|
return new Trace(this.fiberId, builder.result());
|
695
694
|
}
|
@@ -725,7 +724,7 @@ export class FiberRuntime {
|
|
725
724
|
this.setFiberRef(fiberRef, f(this.getFiberRef(fiberRef)));
|
726
725
|
}
|
727
726
|
removeObserver(observer) {
|
728
|
-
this.observers =
|
727
|
+
this.observers = tsplus_module_25.filter(f => f !== observer)(this.observers);
|
729
728
|
}
|
730
729
|
addChild(child) {
|
731
730
|
this.getChildren().add(child);
|
@@ -736,14 +735,14 @@ export class FiberRuntime {
|
|
736
735
|
}
|
737
736
|
}
|
738
737
|
get scope() {
|
739
|
-
return
|
738
|
+
return tsplus_module_26.unsafeMake(this);
|
740
739
|
}
|
741
740
|
log(message, cause, overrideLogLevel, trace) {
|
742
|
-
const logLevel =
|
741
|
+
const logLevel = tsplus_module_27.getOrElse(() => this.getFiberRef(tsplus_module_12.currentLogLevel))(overrideLogLevel);
|
743
742
|
const spans = this.getFiberRef(tsplus_module_12.currentLogSpan);
|
744
743
|
const annotations = this.getFiberRef(tsplus_module_12.currentLogAnnotations);
|
745
744
|
const contextMap = this.getFiberRefs();
|
746
|
-
|
745
|
+
tsplus_module_30.filterLogLevel(level => tsplus_module_28.gte(tsplus_module_28.Info)(level))(tsplus_module_30.map(s => console.log(s))(tsplus_module_29.defaultString)).log(tsplus_module_20.parse(trace), this.fiberId, logLevel, message, cause, contextMap, spans, annotations);
|
747
746
|
}
|
748
747
|
deleteFiberRef(ref) {
|
749
748
|
this._fiberRefs = tsplus_module_8.remove(this._fiberRefs, ref);
|
@@ -754,9 +753,9 @@ export class FiberRuntime {
|
|
754
753
|
get trace() {
|
755
754
|
return tsplus_module_4.defer(() => {
|
756
755
|
const future = tsplus_module_3.unsafeMake(this.fiberId);
|
757
|
-
this.tell(tsplus_module_6.genStackTrace(trace => tsplus_module_5.unsafeDone(tsplus_module_4.succeedNow(trace, fileName_1 + ":
|
758
|
-
return tsplus_module_5.wait(future, fileName_1 + ":
|
759
|
-
}, fileName_1 + ":
|
756
|
+
this.tell(tsplus_module_6.genStackTrace(trace => tsplus_module_5.unsafeDone(tsplus_module_4.succeedNow(trace, fileName_1 + ":831:86"), fileName_1 + ":831:72")(future)));
|
757
|
+
return tsplus_module_5.wait(future, fileName_1 + ":832:20");
|
758
|
+
}, fileName_1 + ":829:20");
|
760
759
|
}
|
761
760
|
getNextSuccessCont() {
|
762
761
|
while (this.stack.hasNext) {
|