@fncts/io 0.0.48 → 0.0.49
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 +1 -1
- package/Channel/api.d.ts +80 -80
- package/Channel/core-api.d.ts +26 -26
- package/Console/definition.d.ts +1 -0
- package/CountdownLatch.d.ts +1 -0
- package/Fiber/FiberMessage.d.ts +6 -28
- package/Fiber/FiberRuntime.d.ts +108 -77
- package/Fiber/api/interruptAs.d.ts +2 -2
- package/Fiber/definition.d.ts +2 -0
- package/FiberScope/definition.d.ts +3 -0
- package/FiberSet.d.ts +2 -1
- package/Future/State.d.ts +59 -0
- package/Future/api.d.ts +8 -3
- package/Future/constructors.d.ts +1 -1
- package/Future/definition.d.ts +1 -17
- package/Future.d.ts +1 -0
- package/Hub/api.d.ts +15 -15
- package/IO/api/array.d.ts +22 -0
- package/IO/api/awaitAllChildren.d.ts +6 -0
- package/IO/api/cachedInvalidate.d.ts +15 -0
- package/IO/api/forkDaemon.d.ts +1 -1
- package/IO/api/onTermination.d.ts +1 -2
- package/IO/api/transplant.d.ts +11 -1
- package/IO/api.d.ts +247 -225
- package/IO/definition.d.ts +12 -25
- package/IO.d.ts +3 -1
- package/Random/definition.d.ts +1 -0
- package/Ref/Synchronized/api.d.ts +1 -1
- package/Semaphore/Reservation.d.ts +15 -0
- package/Semaphore/constructors.d.ts +13 -0
- package/Semaphore/definition.d.ts +29 -0
- package/Semaphore.d.ts +3 -40
- package/Stream/api.d.ts +164 -164
- package/_cjs/Cached/api.cjs +1 -2
- package/_cjs/Cached/api.cjs.map +1 -1
- package/_cjs/Cached/internal.cjs +1 -2
- package/_cjs/Cached/internal.cjs.map +1 -1
- package/_cjs/Channel/api/interruptWhen.cjs +1 -2
- package/_cjs/Channel/api/interruptWhen.cjs.map +1 -1
- package/_cjs/Channel/api/mapOutConcurrentIO.cjs +2 -3
- package/_cjs/Channel/api/mapOutConcurrentIO.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAll.cjs +1 -2
- package/_cjs/Channel/api/mergeAll.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs +1 -2
- package/_cjs/Channel/api/mergeAllUnboundedWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeAllWith.cjs +2 -3
- package/_cjs/Channel/api/mergeAllWith.cjs.map +1 -1
- package/_cjs/Channel/api/mergeMap.cjs +1 -2
- package/_cjs/Channel/api/mergeMap.cjs.map +1 -1
- package/_cjs/Channel/api/mergeWith.cjs +1 -2
- package/_cjs/Channel/api/mergeWith.cjs.map +1 -1
- package/_cjs/Channel/api/run.cjs +1 -2
- package/_cjs/Channel/api/run.cjs.map +1 -1
- package/_cjs/Channel/api/runCollect.cjs +1 -2
- package/_cjs/Channel/api/runCollect.cjs.map +1 -1
- package/_cjs/Channel/api/runDrain.cjs +1 -2
- package/_cjs/Channel/api/runDrain.cjs.map +1 -1
- package/_cjs/Channel/api/runScoped.cjs +3 -4
- package/_cjs/Channel/api/runScoped.cjs.map +1 -1
- package/_cjs/Channel/api/toPull.cjs +2 -3
- package/_cjs/Channel/api/toPull.cjs.map +1 -1
- package/_cjs/Channel/api/zipConcurrent.cjs +1 -2
- package/_cjs/Channel/api/zipConcurrent.cjs.map +1 -1
- package/_cjs/Channel/api.cjs +206 -207
- package/_cjs/Channel/api.cjs.map +1 -1
- package/_cjs/Channel/core-api.cjs +43 -42
- package/_cjs/Channel/core-api.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelExecutor.cjs +4 -5
- package/_cjs/Channel/internal/ChannelExecutor.cjs.map +1 -1
- package/_cjs/Channel/internal/ChannelState.cjs +1 -2
- package/_cjs/Channel/internal/ChannelState.cjs.map +1 -1
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs +1 -2
- package/_cjs/Channel/internal/SingleProducerAsyncInput.cjs.map +1 -1
- package/_cjs/Clock/api.cjs +1 -2
- package/_cjs/Clock/api.cjs.map +1 -1
- package/_cjs/Clock/definition.cjs +1 -2
- package/_cjs/Clock/definition.cjs.map +1 -1
- package/_cjs/Clock/live.cjs +1 -2
- package/_cjs/Clock/live.cjs.map +1 -1
- package/_cjs/Console/api.cjs +1 -2
- package/_cjs/Console/api.cjs.map +1 -1
- package/_cjs/Console/definition.cjs +2 -2
- package/_cjs/Console/definition.cjs.map +1 -1
- package/_cjs/Console/live.cjs +1 -2
- package/_cjs/Console/live.cjs.map +1 -1
- package/_cjs/CountdownLatch.cjs +3 -3
- package/_cjs/CountdownLatch.cjs.map +1 -1
- package/_cjs/Differ/api.cjs +1 -2
- package/_cjs/Differ/api.cjs.map +1 -1
- package/_cjs/Fiber/FiberMessage.cjs +3 -24
- package/_cjs/Fiber/FiberMessage.cjs.map +1 -1
- package/_cjs/Fiber/FiberRuntime.cjs +879 -636
- package/_cjs/Fiber/FiberRuntime.cjs.map +1 -1
- package/_cjs/Fiber/api/awaitAll.cjs +1 -2
- package/_cjs/Fiber/api/awaitAll.cjs.map +1 -1
- package/_cjs/Fiber/api/collectAll.cjs +2 -3
- package/_cjs/Fiber/api/collectAll.cjs.map +1 -1
- package/_cjs/Fiber/api/fromIO.cjs +1 -2
- package/_cjs/Fiber/api/fromIO.cjs.map +1 -1
- package/_cjs/Fiber/api/interrupt.cjs +2 -3
- package/_cjs/Fiber/api/interrupt.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAll.cjs +2 -3
- package/_cjs/Fiber/api/interruptAll.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptAs.cjs +5 -10
- package/_cjs/Fiber/api/interruptAs.cjs.map +1 -1
- package/_cjs/Fiber/api/interruptFork.cjs +2 -3
- package/_cjs/Fiber/api/interruptFork.cjs.map +1 -1
- package/_cjs/Fiber/api/join.cjs +1 -2
- package/_cjs/Fiber/api/join.cjs.map +1 -1
- package/_cjs/Fiber/api/joinAll.cjs +1 -2
- package/_cjs/Fiber/api/joinAll.cjs.map +1 -1
- package/_cjs/Fiber/api/mapFiber.cjs +1 -2
- package/_cjs/Fiber/api/mapFiber.cjs.map +1 -1
- package/_cjs/Fiber/api/mapIO.cjs +2 -3
- package/_cjs/Fiber/api/mapIO.cjs.map +1 -1
- package/_cjs/Fiber/api/zipWith.cjs +2 -3
- package/_cjs/Fiber/api/zipWith.cjs.map +1 -1
- package/_cjs/Fiber/constructors.cjs +2 -3
- package/_cjs/Fiber/constructors.cjs.map +1 -1
- package/_cjs/Fiber/definition.cjs +6 -4
- package/_cjs/Fiber/definition.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScoped.cjs +1 -2
- package/_cjs/FiberRef/api/locallyScoped.cjs.map +1 -1
- package/_cjs/FiberRef/api/locallyScopedWith.cjs +1 -2
- package/_cjs/FiberRef/api/locallyScopedWith.cjs.map +1 -1
- package/_cjs/FiberRef/constructors.cjs +1 -2
- package/_cjs/FiberRef/constructors.cjs.map +1 -1
- package/_cjs/FiberRef/definition.cjs +1 -2
- package/_cjs/FiberRef/definition.cjs.map +1 -1
- package/_cjs/FiberRef/operations.cjs +1 -2
- package/_cjs/FiberRef/operations.cjs.map +1 -1
- package/_cjs/FiberRef/unsafe.cjs +1 -2
- package/_cjs/FiberRef/unsafe.cjs.map +1 -1
- package/_cjs/FiberRefs/Patch.cjs +1 -2
- package/_cjs/FiberRefs/Patch.cjs.map +1 -1
- package/_cjs/FiberRefs/api.cjs +1 -2
- package/_cjs/FiberRefs/api.cjs.map +1 -1
- package/_cjs/FiberRefs/definition.cjs +1 -2
- package/_cjs/FiberRefs/definition.cjs.map +1 -1
- package/_cjs/FiberScope/definition.cjs +29 -6
- package/_cjs/FiberScope/definition.cjs.map +1 -1
- package/_cjs/FiberSet.cjs +16 -15
- package/_cjs/FiberSet.cjs.map +1 -1
- package/_cjs/FiberStatus/definition.cjs +1 -2
- package/_cjs/FiberStatus/definition.cjs.map +1 -1
- package/_cjs/Future/State.cjs +108 -0
- package/_cjs/Future/State.cjs.map +1 -0
- package/_cjs/Future/api.cjs +71 -64
- package/_cjs/Future/api.cjs.map +1 -1
- package/_cjs/Future/constructors.cjs +3 -4
- package/_cjs/Future/constructors.cjs.map +1 -1
- package/_cjs/Future/definition.cjs +1 -15
- package/_cjs/Future/definition.cjs.map +1 -1
- package/_cjs/Future.cjs +11 -0
- package/_cjs/Future.cjs.map +1 -1
- package/_cjs/Hub/api.cjs +56 -57
- package/_cjs/Hub/api.cjs.map +1 -1
- package/_cjs/Hub/internal.cjs +1 -2
- package/_cjs/Hub/internal.cjs.map +1 -1
- package/_cjs/IO/api/acquireRelease.cjs +1 -2
- package/_cjs/IO/api/acquireRelease.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseExit.cjs +1 -2
- package/_cjs/IO/api/acquireReleaseExit.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptible.cjs +1 -2
- package/_cjs/IO/api/acquireReleaseInterruptible.cjs.map +1 -1
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs +1 -2
- package/_cjs/IO/api/acquireReleaseInterruptibleExit.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizer.cjs +1 -2
- package/_cjs/IO/api/addFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/addFinalizerExit.cjs +1 -2
- package/_cjs/IO/api/addFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/all.cjs +1 -2
- package/_cjs/IO/api/all.cjs.map +1 -1
- package/_cjs/IO/api/array.cjs +51 -0
- package/_cjs/IO/api/array.cjs.map +1 -0
- package/_cjs/IO/api/asyncIO.cjs +1 -2
- package/_cjs/IO/api/asyncIO.cjs.map +1 -1
- package/_cjs/IO/api/asyncInterrupt.cjs +1 -2
- package/_cjs/IO/api/asyncInterrupt.cjs.map +1 -1
- package/_cjs/IO/api/awaitAllChildren.cjs +17 -0
- package/_cjs/IO/api/awaitAllChildren.cjs.map +1 -0
- package/_cjs/IO/api/blocking.cjs +1 -2
- package/_cjs/IO/api/blocking.cjs.map +1 -1
- package/_cjs/IO/api/bracket.cjs +1 -2
- package/_cjs/IO/api/bracket.cjs.map +1 -1
- package/_cjs/IO/api/bracketExit.cjs +1 -2
- package/_cjs/IO/api/bracketExit.cjs.map +1 -1
- package/_cjs/IO/api/cachedInvalidate.cjs +47 -0
- package/_cjs/IO/api/cachedInvalidate.cjs.map +1 -0
- package/_cjs/IO/api/clockWith.cjs +1 -2
- package/_cjs/IO/api/clockWith.cjs.map +1 -1
- package/_cjs/IO/api/concurrency.cjs +1 -2
- package/_cjs/IO/api/concurrency.cjs.map +1 -1
- package/_cjs/IO/api/concurrentFinalizers.cjs +1 -2
- package/_cjs/IO/api/concurrentFinalizers.cjs.map +1 -1
- package/_cjs/IO/api/consoleWith.cjs +1 -2
- package/_cjs/IO/api/consoleWith.cjs.map +1 -1
- package/_cjs/IO/api/daemonChildren.cjs +1 -2
- package/_cjs/IO/api/daemonChildren.cjs.map +1 -1
- package/_cjs/IO/api/delay.cjs +1 -2
- package/_cjs/IO/api/delay.cjs.map +1 -1
- package/_cjs/IO/api/descriptor.cjs +1 -2
- package/_cjs/IO/api/descriptor.cjs.map +1 -1
- package/_cjs/IO/api/diffFiberRefs.cjs +1 -2
- package/_cjs/IO/api/diffFiberRefs.cjs.map +1 -1
- package/_cjs/IO/api/disconnect.cjs +2 -3
- package/_cjs/IO/api/disconnect.cjs.map +1 -1
- package/_cjs/IO/api/ensuringChildren.cjs +1 -2
- package/_cjs/IO/api/ensuringChildren.cjs.map +1 -1
- package/_cjs/IO/api/environment.cjs +1 -2
- package/_cjs/IO/api/environment.cjs.map +1 -1
- package/_cjs/IO/api/foreachConcurrent.cjs +36 -30
- package/_cjs/IO/api/foreachConcurrent.cjs.map +1 -1
- package/_cjs/IO/api/foreachExec.cjs +1 -2
- package/_cjs/IO/api/foreachExec.cjs.map +1 -1
- package/_cjs/IO/api/fork.cjs +2 -3
- package/_cjs/IO/api/fork.cjs.map +1 -1
- package/_cjs/IO/api/forkAll.cjs +1 -2
- package/_cjs/IO/api/forkAll.cjs.map +1 -1
- package/_cjs/IO/api/forkDaemon.cjs +5 -6
- package/_cjs/IO/api/forkDaemon.cjs.map +1 -1
- package/_cjs/IO/api/forkIn.cjs +1 -2
- package/_cjs/IO/api/forkIn.cjs.map +1 -1
- package/_cjs/IO/api/forkScoped.cjs +1 -2
- package/_cjs/IO/api/forkScoped.cjs.map +1 -1
- package/_cjs/IO/api/fulfill.cjs +1 -2
- package/_cjs/IO/api/fulfill.cjs.map +1 -1
- package/_cjs/IO/api/interrupt.cjs +4 -5
- package/_cjs/IO/api/interrupt.cjs.map +1 -1
- package/_cjs/IO/api/memoize.cjs +1 -2
- package/_cjs/IO/api/memoize.cjs.map +1 -1
- package/_cjs/IO/api/onTermination.cjs +2 -3
- package/_cjs/IO/api/onTermination.cjs.map +1 -1
- package/_cjs/IO/api/once.cjs +1 -2
- package/_cjs/IO/api/once.cjs.map +1 -1
- package/_cjs/IO/api/patchFiberRefs.cjs +1 -2
- package/_cjs/IO/api/patchFiberRefs.cjs.map +1 -1
- package/_cjs/IO/api/provideLayer.cjs +1 -2
- package/_cjs/IO/api/provideLayer.cjs.map +1 -1
- package/_cjs/IO/api/provideScope.cjs +1 -2
- package/_cjs/IO/api/provideScope.cjs.map +1 -1
- package/_cjs/IO/api/provideSomeLayer.cjs +1 -2
- package/_cjs/IO/api/provideSomeLayer.cjs.map +1 -1
- package/_cjs/IO/api/provideSomeRuntime.cjs +1 -2
- package/_cjs/IO/api/provideSomeRuntime.cjs.map +1 -1
- package/_cjs/IO/api/race.cjs +2 -3
- package/_cjs/IO/api/race.cjs.map +1 -1
- package/_cjs/IO/api/raceFirst.cjs +1 -2
- package/_cjs/IO/api/raceFirst.cjs.map +1 -1
- package/_cjs/IO/api/raceWith.cjs +1 -2
- package/_cjs/IO/api/raceWith.cjs.map +1 -1
- package/_cjs/IO/api/randomWith.cjs +1 -2
- package/_cjs/IO/api/randomWith.cjs.map +1 -1
- package/_cjs/IO/api/repeat.cjs +1 -2
- package/_cjs/IO/api/repeat.cjs.map +1 -1
- package/_cjs/IO/api/retry.cjs +1 -2
- package/_cjs/IO/api/retry.cjs.map +1 -1
- package/_cjs/IO/api/schedule.cjs +1 -2
- package/_cjs/IO/api/schedule.cjs.map +1 -1
- package/_cjs/IO/api/scope.cjs +1 -2
- package/_cjs/IO/api/scope.cjs.map +1 -1
- package/_cjs/IO/api/scopeWith.cjs +1 -2
- package/_cjs/IO/api/scopeWith.cjs.map +1 -1
- package/_cjs/IO/api/scoped.cjs +1 -2
- package/_cjs/IO/api/scoped.cjs.map +1 -1
- package/_cjs/IO/api/sleep.cjs +1 -2
- package/_cjs/IO/api/sleep.cjs.map +1 -1
- package/_cjs/IO/api/stateful.cjs +1 -2
- package/_cjs/IO/api/stateful.cjs.map +1 -1
- package/_cjs/IO/api/supervised.cjs +1 -2
- package/_cjs/IO/api/supervised.cjs.map +1 -1
- package/_cjs/IO/api/timeout.cjs +9 -11
- package/_cjs/IO/api/timeout.cjs.map +1 -1
- package/_cjs/IO/api/transplant.cjs +22 -7
- package/_cjs/IO/api/transplant.cjs.map +1 -1
- package/_cjs/IO/api/whenFiberRef.cjs +1 -2
- package/_cjs/IO/api/whenFiberRef.cjs.map +1 -1
- package/_cjs/IO/api/whenRef.cjs +1 -2
- package/_cjs/IO/api/whenRef.cjs.map +1 -1
- package/_cjs/IO/api/withChildren.cjs +1 -2
- package/_cjs/IO/api/withChildren.cjs.map +1 -1
- package/_cjs/IO/api/withEarlyRelease.cjs +1 -2
- package/_cjs/IO/api/withEarlyRelease.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizer.cjs +1 -2
- package/_cjs/IO/api/withFinalizer.cjs.map +1 -1
- package/_cjs/IO/api/withFinalizerExit.cjs +1 -2
- package/_cjs/IO/api/withFinalizerExit.cjs.map +1 -1
- package/_cjs/IO/api/zipConcurrent.cjs +5 -6
- package/_cjs/IO/api/zipConcurrent.cjs.map +1 -1
- package/_cjs/IO/api.cjs +522 -473
- package/_cjs/IO/api.cjs.map +1 -1
- package/_cjs/IO/definition.cjs +2 -3
- package/_cjs/IO/definition.cjs.map +1 -1
- package/_cjs/IO/runtime.cjs +9 -10
- package/_cjs/IO/runtime.cjs.map +1 -1
- package/_cjs/IO.cjs +33 -11
- package/_cjs/IO.cjs.map +1 -1
- package/_cjs/IOEnv/definition.cjs +1 -2
- package/_cjs/IOEnv/definition.cjs.map +1 -1
- package/_cjs/IOEnv/live.cjs +1 -2
- package/_cjs/IOEnv/live.cjs.map +1 -1
- package/_cjs/IOEnv/services.cjs +1 -2
- package/_cjs/IOEnv/services.cjs.map +1 -1
- package/_cjs/Layer/MemoMap.cjs +1 -2
- package/_cjs/Layer/MemoMap.cjs.map +1 -1
- package/_cjs/Layer/api.cjs +1 -2
- package/_cjs/Layer/api.cjs.map +1 -1
- package/_cjs/Logger/api.cjs +1 -2
- package/_cjs/Logger/api.cjs.map +1 -1
- package/_cjs/Logger/constructors.cjs +1 -2
- package/_cjs/Logger/constructors.cjs.map +1 -1
- package/_cjs/MVar/api.cjs +1 -2
- package/_cjs/MVar/api.cjs.map +1 -1
- package/_cjs/Push/api.cjs +2 -3
- package/_cjs/Push/api.cjs.map +1 -1
- package/_cjs/Push/internal.cjs +1 -2
- package/_cjs/Push/internal.cjs.map +1 -1
- package/_cjs/Queue/api/dimapIO.cjs +1 -2
- package/_cjs/Queue/api/dimapIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterInputIO.cjs +1 -2
- package/_cjs/Queue/api/filterInputIO.cjs.map +1 -1
- package/_cjs/Queue/api/filterOutputIO.cjs +1 -2
- package/_cjs/Queue/api/filterOutputIO.cjs.map +1 -1
- package/_cjs/Queue/api/poll.cjs +1 -2
- package/_cjs/Queue/api/poll.cjs.map +1 -1
- package/_cjs/Queue/api/takeBetween.cjs +1 -2
- package/_cjs/Queue/api/takeBetween.cjs.map +1 -1
- package/_cjs/Queue/api/takeN.cjs +1 -2
- package/_cjs/Queue/api/takeN.cjs.map +1 -1
- package/_cjs/Queue/api/zipWithIO.cjs +1 -2
- package/_cjs/Queue/api/zipWithIO.cjs.map +1 -1
- package/_cjs/Queue/constructors.cjs +1 -2
- package/_cjs/Queue/constructors.cjs.map +1 -1
- package/_cjs/Queue/internal.cjs +1 -2
- package/_cjs/Queue/internal.cjs.map +1 -1
- package/_cjs/Queue/strategy.cjs +1 -2
- package/_cjs/Queue/strategy.cjs.map +1 -1
- package/_cjs/Random/api.cjs +1 -2
- package/_cjs/Random/api.cjs.map +1 -1
- package/_cjs/Random/definition.cjs +2 -2
- package/_cjs/Random/definition.cjs.map +1 -1
- package/_cjs/Random/live.cjs +1 -2
- package/_cjs/Random/live.cjs.map +1 -1
- package/_cjs/Ref/Atomic.cjs +1 -2
- package/_cjs/Ref/Atomic.cjs.map +1 -1
- package/_cjs/Ref/Derived.cjs +1 -2
- package/_cjs/Ref/Derived.cjs.map +1 -1
- package/_cjs/Ref/DerivedAll.cjs +1 -2
- package/_cjs/Ref/DerivedAll.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/api.cjs +2 -3
- package/_cjs/Ref/Synchronized/api.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/constructors.cjs +2 -3
- package/_cjs/Ref/Synchronized/constructors.cjs.map +1 -1
- package/_cjs/Ref/Synchronized/definition.cjs +2 -3
- package/_cjs/Ref/Synchronized/definition.cjs.map +1 -1
- package/_cjs/Ref/api/collect.cjs +1 -2
- package/_cjs/Ref/api/collect.cjs.map +1 -1
- package/_cjs/Ref/api/dimap.cjs +1 -2
- package/_cjs/Ref/api/dimap.cjs.map +1 -1
- package/_cjs/Ref/api/filter.cjs +1 -2
- package/_cjs/Ref/api/filter.cjs.map +1 -1
- package/_cjs/Ref/api/modify.cjs +1 -2
- package/_cjs/Ref/api/modify.cjs.map +1 -1
- package/_cjs/Ref/api.cjs +1 -2
- package/_cjs/Ref/api.cjs.map +1 -1
- package/_cjs/Ref/constructors.cjs +1 -2
- package/_cjs/Ref/constructors.cjs.map +1 -1
- package/_cjs/RefSubject/Atomic.cjs +1 -2
- package/_cjs/RefSubject/Atomic.cjs.map +1 -1
- package/_cjs/RefSubject/Synchronized/api.cjs +1 -2
- package/_cjs/RefSubject/Synchronized/api.cjs.map +1 -1
- package/_cjs/RefSubject/Synchronized/definition.cjs +1 -2
- package/_cjs/RefSubject/Synchronized/definition.cjs.map +1 -1
- package/_cjs/RefSubject/api.cjs +1 -2
- package/_cjs/RefSubject/api.cjs.map +1 -1
- package/_cjs/Reloadable/api.cjs +1 -2
- package/_cjs/Reloadable/api.cjs.map +1 -1
- package/_cjs/Reloadable/constructors.cjs +1 -2
- package/_cjs/Reloadable/constructors.cjs.map +1 -1
- package/_cjs/Reloadable/definition.cjs +1 -2
- package/_cjs/Reloadable/definition.cjs.map +1 -1
- package/_cjs/RuntimeFlags/Patch.cjs +1 -2
- package/_cjs/RuntimeFlags/Patch.cjs.map +1 -1
- package/_cjs/RuntimeFlags/RuntimeFlags.cjs +1 -2
- package/_cjs/RuntimeFlags/RuntimeFlags.cjs.map +1 -1
- package/_cjs/STM/api/atomically.cjs +1 -2
- package/_cjs/STM/api/atomically.cjs.map +1 -1
- package/_cjs/STM/api/core-api.cjs +1 -2
- package/_cjs/STM/api/core-api.cjs.map +1 -1
- package/_cjs/STM/api.cjs +1 -2
- package/_cjs/STM/api.cjs.map +1 -1
- package/_cjs/STM/definition.cjs +2 -3
- package/_cjs/STM/definition.cjs.map +1 -1
- package/_cjs/STM/driver.cjs +1 -2
- package/_cjs/STM/driver.cjs.map +1 -1
- package/_cjs/STM/internal/CommitState.cjs +1 -2
- package/_cjs/STM/internal/CommitState.cjs.map +1 -1
- package/_cjs/STM/internal/Journal.cjs +1 -2
- package/_cjs/STM/internal/Journal.cjs.map +1 -1
- package/_cjs/Schedule/Decision.cjs +1 -2
- package/_cjs/Schedule/Decision.cjs.map +1 -1
- package/_cjs/Schedule/api/driver.cjs +1 -2
- package/_cjs/Schedule/api/driver.cjs.map +1 -1
- package/_cjs/Schedule/api.cjs +1 -2
- package/_cjs/Schedule/api.cjs.map +1 -1
- package/_cjs/Scope/Finalizer/definition.cjs +1 -2
- package/_cjs/Scope/Finalizer/definition.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs +1 -2
- package/_cjs/Scope/ReleaseMap/api/releaseAll.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/api.cjs +1 -2
- package/_cjs/Scope/ReleaseMap/api.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/constructors.cjs +1 -2
- package/_cjs/Scope/ReleaseMap/constructors.cjs.map +1 -1
- package/_cjs/Scope/ReleaseMap/definition.cjs +1 -2
- package/_cjs/Scope/ReleaseMap/definition.cjs.map +1 -1
- package/_cjs/Scope/api.cjs +1 -2
- package/_cjs/Scope/api.cjs.map +1 -1
- package/_cjs/Scope/definition.cjs +1 -2
- package/_cjs/Scope/definition.cjs.map +1 -1
- package/_cjs/ScopedRef/api.cjs +2 -3
- package/_cjs/ScopedRef/api.cjs.map +1 -1
- package/_cjs/Semaphore/Reservation.cjs +24 -0
- package/_cjs/Semaphore/Reservation.cjs.map +1 -0
- package/_cjs/Semaphore/constructors.cjs +25 -0
- package/_cjs/Semaphore/constructors.cjs.map +1 -0
- package/_cjs/Semaphore/definition.cjs +149 -0
- package/_cjs/Semaphore/definition.cjs.map +1 -0
- package/_cjs/Semaphore.cjs +31 -138
- package/_cjs/Semaphore.cjs.map +1 -1
- package/_cjs/Sink/api.cjs +1 -2
- package/_cjs/Sink/api.cjs.map +1 -1
- package/_cjs/State/api.cjs +1 -2
- package/_cjs/State/api.cjs.map +1 -1
- package/_cjs/Stream/api/zipAllWith.cjs +1 -2
- package/_cjs/Stream/api/zipAllWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWith.cjs +1 -2
- package/_cjs/Stream/api/zipWith.cjs.map +1 -1
- package/_cjs/Stream/api/zipWithChunks.cjs +1 -2
- package/_cjs/Stream/api/zipWithChunks.cjs.map +1 -1
- package/_cjs/Stream/api.cjs +702 -703
- package/_cjs/Stream/api.cjs.map +1 -1
- package/_cjs/Stream/internal/Handoff.cjs +1 -2
- package/_cjs/Stream/internal/Handoff.cjs.map +1 -1
- package/_cjs/Stream/internal/Pull.cjs +1 -2
- package/_cjs/Stream/internal/Pull.cjs.map +1 -1
- package/_cjs/Stream/internal/Take.cjs +1 -2
- package/_cjs/Stream/internal/Take.cjs.map +1 -1
- package/_cjs/Stream/internal/util.cjs +1 -2
- package/_cjs/Stream/internal/util.cjs.map +1 -1
- package/_cjs/Subject/Atomic.cjs +1 -2
- package/_cjs/Subject/Atomic.cjs.map +1 -1
- package/_cjs/Subject/api.cjs +1 -2
- package/_cjs/Subject/api.cjs.map +1 -1
- package/_cjs/SubscriptionRef.cjs +2 -3
- package/_cjs/SubscriptionRef.cjs.map +1 -1
- package/_cjs/Supervisor/api.cjs +1 -2
- package/_cjs/Supervisor/api.cjs.map +1 -1
- package/_cjs/Supervisor/constructors.cjs +1 -2
- package/_cjs/Supervisor/constructors.cjs.map +1 -1
- package/_cjs/Supervisor/definition.cjs +1 -2
- package/_cjs/Supervisor/definition.cjs.map +1 -1
- package/_cjs/SupervisorPatch.cjs +1 -2
- package/_cjs/SupervisorPatch.cjs.map +1 -1
- package/_cjs/TExit/definition.cjs +1 -2
- package/_cjs/TExit/definition.cjs.map +1 -1
- package/_cjs/TFuture/api.cjs +1 -2
- package/_cjs/TFuture/api.cjs.map +1 -1
- package/_cjs/TFuture/constructors.cjs +1 -2
- package/_cjs/TFuture/constructors.cjs.map +1 -1
- package/_cjs/TFuture/definition.cjs +1 -2
- package/_cjs/TFuture/definition.cjs.map +1 -1
- package/_cjs/TReentrantLock/api.cjs +1 -2
- package/_cjs/TReentrantLock/api.cjs.map +1 -1
- package/_cjs/TReentrantLock/definition.cjs +1 -2
- package/_cjs/TReentrantLock/definition.cjs.map +1 -1
- package/_cjs/TRef/api.cjs +1 -2
- package/_cjs/TRef/api.cjs.map +1 -1
- package/_cjs/TRef/constructors.cjs +1 -2
- package/_cjs/TRef/constructors.cjs.map +1 -1
- package/_cjs/TRef/definition.cjs +1 -2
- package/_cjs/TRef/definition.cjs.map +1 -1
- package/_cjs/TSemaphore/api.cjs +1 -2
- package/_cjs/TSemaphore/api.cjs.map +1 -1
- package/_cjs/TSemaphore/constructors.cjs +1 -2
- package/_cjs/TSemaphore/constructors.cjs.map +1 -1
- package/_cjs/TSemaphore/definition.cjs +1 -2
- package/_cjs/TSemaphore/definition.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs +1 -2
- package/_cjs/collection/immutable/Conc/dropUntilIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs +1 -2
- package/_cjs/collection/immutable/Conc/dropWhileIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/filterIO.cjs +1 -2
- package/_cjs/collection/immutable/Conc/filterIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/findIO.cjs +1 -2
- package/_cjs/collection/immutable/Conc/findIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/mapIO.cjs +1 -2
- package/_cjs/collection/immutable/Conc/mapIO.cjs.map +1 -1
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs +1 -2
- package/_cjs/collection/immutable/Conc/takeWhileIO.cjs.map +1 -1
- package/_cjs/data/Exit/foreachIO.cjs +1 -2
- package/_cjs/data/Exit/foreachIO.cjs.map +1 -1
- package/_cjs/internal/HashedPair.cjs +1 -2
- package/_cjs/internal/HashedPair.cjs.map +1 -1
- package/_cjs/internal/Hub.cjs +1 -2
- package/_cjs/internal/Hub.cjs.map +1 -1
- package/_cjs/internal/MutableQueue.cjs +1 -2
- package/_cjs/internal/MutableQueue.cjs.map +1 -1
- package/_cjs/internal/Scheduler.cjs +1 -2
- package/_cjs/internal/Scheduler.cjs.map +1 -1
- package/_cjs/internal/StackTraceBuilder.cjs +1 -2
- package/_cjs/internal/StackTraceBuilder.cjs.map +1 -1
- package/_mjs/Cached/api.mjs.map +1 -1
- package/_mjs/Channel/api/mapOutConcurrentIO.mjs +1 -1
- package/_mjs/Channel/api/mergeAllWith.mjs +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 +1 -1
- package/_mjs/Channel/api/toPull.mjs.map +1 -1
- package/_mjs/Channel/api.mjs +205 -205
- package/_mjs/Channel/api.mjs.map +1 -1
- package/_mjs/Channel/core-api.mjs +43 -42
- package/_mjs/Channel/core-api.mjs.map +1 -1
- package/_mjs/Channel/internal/ChannelExecutor.mjs +3 -3
- package/_mjs/Channel/internal/ChannelExecutor.mjs.map +1 -1
- package/_mjs/Console/definition.mjs +1 -0
- package/_mjs/Console/definition.mjs.map +1 -1
- package/_mjs/CountdownLatch.mjs +2 -1
- package/_mjs/CountdownLatch.mjs.map +1 -1
- package/_mjs/Fiber/FiberMessage.mjs +2 -20
- package/_mjs/Fiber/FiberMessage.mjs.map +1 -1
- package/_mjs/Fiber/FiberRuntime.mjs +877 -633
- package/_mjs/Fiber/FiberRuntime.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/interrupt.mjs +1 -1
- package/_mjs/Fiber/api/interrupt.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAll.mjs +1 -1
- package/_mjs/Fiber/api/interruptAll.mjs.map +1 -1
- package/_mjs/Fiber/api/interruptAs.mjs +4 -7
- package/_mjs/Fiber/api/interruptAs.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/mapIO.mjs +1 -1
- package/_mjs/Fiber/api/mapIO.mjs.map +1 -1
- package/_mjs/Fiber/api/zipWith.mjs +1 -1
- package/_mjs/Fiber/api/zipWith.mjs.map +1 -1
- package/_mjs/Fiber/constructors.mjs +1 -1
- package/_mjs/Fiber/constructors.mjs.map +1 -1
- package/_mjs/Fiber/definition.mjs +5 -2
- package/_mjs/Fiber/definition.mjs.map +1 -1
- package/_mjs/FiberScope/definition.mjs +28 -4
- package/_mjs/FiberScope/definition.mjs.map +1 -1
- package/_mjs/FiberSet.mjs +14 -12
- package/_mjs/FiberSet.mjs.map +1 -1
- package/_mjs/Future/State.mjs +96 -0
- package/_mjs/Future/State.mjs.map +1 -0
- package/_mjs/Future/api.mjs +67 -61
- package/_mjs/Future/api.mjs.map +1 -1
- package/_mjs/Future/constructors.mjs +3 -3
- package/_mjs/Future/constructors.mjs.map +1 -1
- package/_mjs/Future/definition.mjs +0 -12
- package/_mjs/Future/definition.mjs.map +1 -1
- package/_mjs/Future.mjs +1 -0
- package/_mjs/Future.mjs.map +1 -1
- package/_mjs/Hub/api.mjs +55 -55
- package/_mjs/Hub/api.mjs.map +1 -1
- package/_mjs/IO/api/array.mjs +42 -0
- package/_mjs/IO/api/array.mjs.map +1 -0
- package/_mjs/IO/api/asyncInterrupt.mjs.map +1 -1
- package/_mjs/IO/api/awaitAllChildren.mjs +10 -0
- package/_mjs/IO/api/awaitAllChildren.mjs.map +1 -0
- package/_mjs/IO/api/cachedInvalidate.mjs +39 -0
- package/_mjs/IO/api/cachedInvalidate.mjs.map +1 -0
- package/_mjs/IO/api/disconnect.mjs +1 -1
- package/_mjs/IO/api/disconnect.mjs.map +1 -1
- package/_mjs/IO/api/foreachConcurrent.mjs +35 -28
- package/_mjs/IO/api/foreachConcurrent.mjs.map +1 -1
- package/_mjs/IO/api/fork.mjs +1 -1
- package/_mjs/IO/api/fork.mjs.map +1 -1
- package/_mjs/IO/api/forkDaemon.mjs +4 -4
- package/_mjs/IO/api/forkDaemon.mjs.map +1 -1
- package/_mjs/IO/api/interrupt.mjs +3 -3
- package/_mjs/IO/api/onTermination.mjs +1 -1
- package/_mjs/IO/api/onTermination.mjs.map +1 -1
- package/_mjs/IO/api/race.mjs +1 -1
- package/_mjs/IO/api/race.mjs.map +1 -1
- package/_mjs/IO/api/timeout.mjs +8 -9
- package/_mjs/IO/api/timeout.mjs.map +1 -1
- package/_mjs/IO/api/transplant.mjs +19 -5
- package/_mjs/IO/api/transplant.mjs.map +1 -1
- package/_mjs/IO/api/zipConcurrent.mjs +4 -4
- package/_mjs/IO/api/zipConcurrent.mjs.map +1 -1
- package/_mjs/IO/api.mjs +515 -468
- package/_mjs/IO/api.mjs.map +1 -1
- package/_mjs/IO/definition.mjs +1 -1
- package/_mjs/IO/definition.mjs.map +1 -1
- package/_mjs/IO/runtime.mjs +8 -8
- package/_mjs/IO/runtime.mjs.map +1 -1
- package/_mjs/IO.mjs +3 -1
- package/_mjs/IO.mjs.map +1 -1
- package/_mjs/IOEnv/definition.mjs.map +1 -1
- package/_mjs/Push/api.mjs +1 -1
- package/_mjs/Random/definition.mjs +1 -0
- package/_mjs/Random/definition.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/api.mjs +1 -1
- package/_mjs/Ref/Synchronized/api.mjs.map +1 -1
- package/_mjs/Ref/Synchronized/constructors.mjs +1 -1
- package/_mjs/Ref/Synchronized/definition.mjs +1 -1
- package/_mjs/Ref/Synchronized/definition.mjs.map +1 -1
- package/_mjs/STM/definition.mjs +1 -1
- package/_mjs/ScopedRef/api.mjs +1 -1
- package/_mjs/ScopedRef/api.mjs.map +1 -1
- package/_mjs/Semaphore/Reservation.mjs +16 -0
- package/_mjs/Semaphore/Reservation.mjs.map +1 -0
- package/_mjs/Semaphore/constructors.mjs +17 -0
- package/_mjs/Semaphore/constructors.mjs.map +1 -0
- package/_mjs/Semaphore/definition.mjs +141 -0
- package/_mjs/Semaphore/definition.mjs.map +1 -0
- package/_mjs/Semaphore.mjs +4 -133
- package/_mjs/Semaphore.mjs.map +1 -1
- package/_mjs/Stream/api.mjs +701 -701
- package/_mjs/Stream/api.mjs.map +1 -1
- package/_mjs/SubscriptionRef.mjs +1 -1
- package/_src/Cached/api.ts +3 -3
- package/_src/Channel/api/toPull.ts +1 -1
- package/_src/Channel/api.ts +273 -272
- package/_src/Channel/core-api.ts +57 -55
- package/_src/Channel/internal/ChannelExecutor.ts +3 -3
- package/_src/Console/definition.ts +1 -0
- package/_src/CountdownLatch.ts +2 -0
- package/_src/Fiber/FiberMessage.ts +3 -28
- package/_src/Fiber/FiberRuntime.ts +988 -616
- package/_src/Fiber/api/interruptAs.ts +4 -3
- package/_src/Fiber/constructors.ts +1 -1
- package/_src/Fiber/definition.ts +4 -0
- package/_src/FiberScope/definition.ts +40 -2
- package/_src/FiberSet.ts +6 -2
- package/_src/Future/State.ts +128 -0
- package/_src/Future/api.ts +62 -51
- package/_src/Future/constructors.ts +4 -2
- package/_src/Future/definition.ts +2 -17
- package/_src/Future.ts +4 -3
- package/_src/Hub/api.ts +61 -61
- package/_src/IO/api/addFinalizerExit.ts +4 -4
- package/_src/IO/api/array.ts +49 -0
- package/_src/IO/api/asyncInterrupt.ts +1 -1
- package/_src/IO/api/awaitAllChildren.ts +6 -0
- package/_src/IO/api/cachedInvalidate.ts +42 -0
- package/_src/IO/api/foreachConcurrent.ts +39 -23
- package/_src/IO/api/fork.ts +1 -1
- package/_src/IO/api/forkDaemon.ts +2 -2
- package/_src/IO/api/memoize.ts +3 -3
- package/_src/IO/api/onTermination.ts +2 -2
- package/_src/IO/api/transplant.ts +26 -3
- package/_src/IO/api/zipConcurrent.ts +2 -2
- package/_src/IO/api.ts +547 -525
- package/_src/IO/definition.ts +4 -28
- package/_src/IO/runtime.ts +0 -1
- package/_src/IO.ts +65 -63
- package/_src/IOEnv/definition.ts +1 -4
- package/_src/Random/definition.ts +1 -0
- package/_src/Ref/Synchronized/api.ts +2 -2
- package/_src/Ref/Synchronized/definition.ts +1 -1
- package/_src/Semaphore/Reservation.ts +15 -0
- package/_src/Semaphore/constructors.ts +14 -0
- package/_src/Semaphore/definition.ts +180 -0
- package/_src/Semaphore.ts +5 -159
- package/_src/Stream/api.ts +679 -679
- package/package.json +4 -4
- package/IO/api/sequenceT.d.ts +0 -26
- package/_cjs/IO/api/sequenceT.cjs +0 -18
- package/_cjs/IO/api/sequenceT.cjs.map +0 -1
- package/_mjs/IO/api/sequenceT.mjs +0 -10
- package/_mjs/IO/api/sequenceT.mjs.map +0 -1
- package/_src/IO/api/sequenceT.ts +0 -16
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"transplant.cjs","names":["transplant","f","__tsplusTrace","
|
1
|
+
{"version":3,"file":"transplant.cjs","names":["transplant","f","__tsplusTrace","tsplus_module_3","withFiberRuntime","fiberState","scopeOverride","getFiberRef","tsplus_module_1","forkScopeOverride","scope","tsplus_module_2","getOrElse","Grafter","constructor","graft","io","tsplus_module_5","locally","tsplus_module_4","just","fileName_1","graftOnExit","graftOnExitWith","unit","ensuring","tsplus_module_6","uninterruptibleMask","restore","exitWith","exit","fiber","transferChildren","exports"],"sources":["../../../_src/IO/api/transplant.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;AAUM,SAAUA,UAAUA,CAAUC,CAA8B,EAAEC,aAAsB;EACxF,OAAOC,eAAA,CAAAC,gBAAA,CAAqBC,UAAU,IAAI;IACxC,MAAMC,aAAa,GAAGD,UAAU,CAACE,WAAW,CAAAC,eAAA,CAAAC,iBAAA,CAA4B;IACxE,MAAMC,KAAK,GAAWC,eAAA,CAAAC,SAAA,OAAwBP,UAAU,CAACK,KAAK,EAAxCJ,aAAa,CAA4B;IAC/D,OAAOL,CAAC,CAAC,IAAIY,OAAO,CAACH,KAAK,CAAC,CAAC;EAC9B,CAAC,EALiER,aAAA,CAKhE;AACJ;AAEM,MAAOW,OAAO;EAClBC,YAA6BJ,KAAiB;IAAjB,KAAAA,KAAK,GAALA,KAAK;IAElC,KAAAK,KAAK,GAAG,CAAUC,EAAe,EAAEd,aAAsB,KACvDe,eAAA,CAAAC,OAAA,CAAAV,eAAA,CAAAC,iBAAA,EAAmCU,eAAA,CAAAC,IAAA,CAAK,IAAI,CAACV,KAAK,EAAAW,UAAA,YAAC,EAAAA,UAAA,YAAC,CAACL,EAAE,CAAC;IAE1D,KAAAM,WAAW,GAAG,CAAUN,EAAe,EAAEd,aAAsB,KAC7D,IAAI,CAACqB,eAAe,CAACP,EAAE,EAAE,MAAKb,eAAA,CAAAqB,IAAQ,EAAAH,UAAA,YAAC;IAEzC,KAAAE,eAAe,GAAG,CAChBP,EAAe,EACfS,QAAoC,EACpCvB,aAAsB,KAEtBwB,eAAA,CAAAC,mBAAA,CAAwBC,OAAO,IAC7BzB,eAAA,CAAA0B,QAAA,CAAsBC,IAAI,IACxB3B,eAAA,CAAAC,gBAAA,CAAqB2B,KAAK,IAAI;MAC5BA,KAAK,CAACC,gBAAgB,CAAC,IAAI,CAACtB,KAAK,CAAC;MAClCe,QAAQ,CAACK,IAAI,CAAC;MACd,OAAOA,IAAI;IACb,CAAC,EAAAT,UAAA,YAAC,EAAAA,UAAA,aALJO,OAAO,CAACZ,EAAE,EAAAK,UAAA,YAAC,CAMV,EAAAA,UAAA,YACF;EArB8C;;AAsBlDY,OAAA,CAAApB,OAAA,GAAAA,OAAA","ignoreList":[]}
|
@@ -6,8 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.whenFiberRef = whenFiberRef;
|
7
7
|
var tsplus_module_1 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/FiberRef/operations"));
|
8
8
|
var tsplus_module_2 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/IO/api"));
|
9
|
-
function
|
10
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
11
10
|
/**
|
12
11
|
* @tsplus pipeable fncts.io.IO whenFiberRef
|
13
12
|
* @tsplus static fncts.io.IOOps whenFiberRef
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"whenFiberRef.cjs","names":["whenFiberRef","ref","f","__tsplusTrace","self","tsplus_module_2","whenIO","map","tsplus_module_1","get"],"sources":["../../../_src/IO/api/whenFiberRef.ts"],"sourcesContent":[null],"mappings":"
|
1
|
+
{"version":3,"file":"whenFiberRef.cjs","names":["whenFiberRef","ref","f","__tsplusTrace","self","tsplus_module_2","whenIO","map","tsplus_module_1","get"],"sources":["../../../_src/IO/api/whenFiberRef.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;AAAA;;;;AAIM,SAAUA,YAAYA,CAAIC,GAAgB,EAAEC,CAAe,EAAEC,aAAsB;EACvF,OAAiBC,IAAiB,IAAwB;IACxD,OAAOC,eAAA,CAAAC,MAAA,CAAYD,eAAA,CAAAE,GAAA,CAAYL,CAAC,EAF+BC,aAAA,EAAAK,eAAA,CAAAC,GAAA,CAE5CR,GAAG,EAFyCE,aAAA,EAE9B,EAF8BA,aAAA,EAExDC,IAAI,CAAuB;EACpC,CAAC;AACH","ignoreList":[]}
|
package/_cjs/IO/api/whenRef.cjs
CHANGED
@@ -6,8 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.whenRef = whenRef;
|
7
7
|
var tsplus_module_1 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/Ref/api/get"));
|
8
8
|
var tsplus_module_2 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/IO/api"));
|
9
|
-
function
|
10
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
11
10
|
const fileName_1 = "(@fncts/io) src/IO/api/whenRef.ts";
|
12
11
|
/**
|
13
12
|
* @tsplus pipeable fncts.io.IO whenRef
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"whenRef.cjs","names":["whenRef","ref","f","self","tsplus_module_2","whenIO","map","fileName_1","tsplus_module_1","get"],"sources":["../../../_src/IO/api/whenRef.ts"],"sourcesContent":[null],"mappings":"
|
1
|
+
{"version":3,"file":"whenRef.cjs","names":["whenRef","ref","f","self","tsplus_module_2","whenIO","map","fileName_1","tsplus_module_1","get"],"sources":["../../../_src/IO/api/whenRef.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;AAAA;;;;AAIM,SAAUA,OAAOA,CAAIC,GAAW,EAAEC,CAAe;EACrD,OAAiBC,IAAiB,IAAwB;IACxD,OAAOC,eAAA,CAAAC,MAAA,CAAYD,eAAA,CAAAE,GAAA,CAAYJ,CAAC,EAAAK,UAAA,YAAAC,eAAA,CAAAC,GAAA,CAAbR,GAAG,EAAAM,UAAA,YAAW,EAAAA,UAAA,YAA1BJ,IAAI,CAAuB;EACpC,CAAC;AACH","ignoreList":[]}
|
@@ -8,8 +8,7 @@ var tsplus_module_1 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require(
|
|
8
8
|
var tsplus_module_2 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/base/collection/immutable/Conc/api"));
|
9
9
|
var tsplus_module_3 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/IO/api"));
|
10
10
|
var tsplus_module_4 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/Supervisor/constructors"));
|
11
|
-
function
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
11
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
13
12
|
/**
|
14
13
|
* @tsplus static fncts.io.IOOps withChildren
|
15
14
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"withChildren.cjs","names":["withChildren","get","__tsplusTrace","tsplus_module_3","flatMap","supervisor","children","map","id","tsplus_module_2","filter","_","tsplus_module_1","strictNotEquals","fiberId","value","tsplus_module_4","track"],"sources":["../../../_src/IO/api/withChildren.ts"],"sourcesContent":[null],"mappings":"
|
1
|
+
{"version":3,"file":"withChildren.cjs","names":["withChildren","get","__tsplusTrace","tsplus_module_3","flatMap","supervisor","children","map","id","tsplus_module_2","filter","_","tsplus_module_1","strictNotEquals","fiberId","value","tsplus_module_4","track"],"sources":["../../../_src/IO/api/withChildren.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;AAAA;;;AAGM,SAAUA,YAAYA,CAC1BC,GAA2D,EAC3DC,aAAsB;EAEtB,OAAOC,eAAA,CAAAC,OAAA,CAAiCC,UAAU,IAChDJ,GAAG,CAACE,eAAA,CAAAC,OAAA,CAA0BE,QAAQ,IAAKH,eAAA,CAAAI,GAAA,CAAgBC,EAAE,IAAKC,eAAA,CAAAC,MAAA,CAAiBC,CAAC,IAAIC,eAAA,CAAAC,eAAA,CAACF,CAAC,CAACH,EAAE,EAAIA,EAAE,GAAjCF,QAAQ,CAA0B,EAHtGJ,aAAA,EAAAC,eAAA,CAAAW,OAAA,CAGuG,EAHvGZ,aAAA,EAGMG,UAAU,CAACU,KAAK,CAAkF,CAAC,EAHzGb,aAAA,EAEOc,eAAA,CAAAC,KAAA,CAAiB,KAAK,EAF7Bf,aAAA,CAE8B,CAE7B;AACH","ignoreList":[]}
|
@@ -8,8 +8,7 @@ var tsplus_module_1 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require(
|
|
8
8
|
var tsplus_module_2 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/IO/api"));
|
9
9
|
var tsplus_module_3 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/Scope/api"));
|
10
10
|
var tsplus_module_4 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/IO/api/scopeWith"));
|
11
|
-
function
|
12
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
11
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
13
12
|
/**
|
14
13
|
* Returns a new scoped workflow that returns the result of this workflow as
|
15
14
|
* well as a finalizer that can be run to close the scope of this workflow.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"withEarlyRelease.cjs","names":["withEarlyRelease","self","__tsplusTrace","tsplus_module_4","scopeWith","parent","tsplus_module_2","flatMap","child","map","a","fiberId","close","tsplus_module_1","interrupt","tsplus_module_3","extend","fork"],"sources":["../../../_src/IO/api/withEarlyRelease.ts"],"sourcesContent":[null],"mappings":"
|
1
|
+
{"version":3,"file":"withEarlyRelease.cjs","names":["withEarlyRelease","self","__tsplusTrace","tsplus_module_4","scopeWith","parent","tsplus_module_2","flatMap","child","map","a","fiberId","close","tsplus_module_1","interrupt","tsplus_module_3","extend","fork"],"sources":["../../../_src/IO/api/withEarlyRelease.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;AAAA;;;;;;AAMM,SAAUA,gBAAgBA,CAC9BC,IAAiB,EACjBC,aAAsB;EAEtB,OAAOC,eAAA,CAAAC,SAAA,CAAcC,MAAM,IACzBC,eAAA,CAAAC,OAAA,CAAqBC,KAAK,IACxBF,eAAA,CAAAG,GAAA,CAAwBC,CAAC,IAAK,CAACJ,eAAA,CAAAC,OAAA,CAAoBI,OAAO,IAAKH,KAAK,CAACI,KAAK,OAACC,eAAA,CAAAC,SAAA,CAAeH,OAAO,EAJrGT,aAAA,CAIsG,CAAC,EAJvGA,aAAA,EAAAI,eAAA,CAAAK,OAAA,CAIwG,EAAED,CAAC,CAAC,EAJ5GR,aAAA,EAIIa,eAAA,CAAAC,MAAA,OAAaf,IAAI,EAJrBC,aAAA,EAIIM,KAAK,CAAa,CAAuF,EAJ7GN,aAAA,EAAAa,eAAA,CAAAE,IAAA,CAGEZ,MAAM,EAEL,EALHH,aAAA,CAMC;AACH","ignoreList":[]}
|
@@ -5,8 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.withFinalizer = withFinalizer;
|
7
7
|
var tsplus_module_1 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/IO/api/acquireRelease"));
|
8
|
-
function
|
9
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
8
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
10
9
|
/**
|
11
10
|
* @tsplus pipeable fncts.io.IO withFinalizer
|
12
11
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"withFinalizer.cjs","names":["withFinalizer","finalizer","__tsplusTrace","self","tsplus_module_1","acquireRelease"],"sources":["../../../_src/IO/api/withFinalizer.ts"],"sourcesContent":[null],"mappings":"
|
1
|
+
{"version":3,"file":"withFinalizer.cjs","names":["withFinalizer","finalizer","__tsplusTrace","self","tsplus_module_1","acquireRelease"],"sources":["../../../_src/IO/api/withFinalizer.ts"],"sourcesContent":[null],"mappings":";;;;;;;;AAAA;;;AAGM,SAAUA,aAAaA,CAAQC,SAAkC,EAAEC,aAAsB;EAC7F,OAAcC,IAAiB,IAA8B;IAC3D,OAAOC,eAAA,CAAAC,cAAA,OAAkBF,IAAI,EAAEF,SAAS,EAF6BC,aAAA,CAE5B;EAC3C,CAAC;AACH","ignoreList":[]}
|
@@ -5,8 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.withFinalizerExit = withFinalizerExit;
|
7
7
|
var tsplus_module_1 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/IO/api/acquireReleaseExit"));
|
8
|
-
function
|
9
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
8
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
10
9
|
/**
|
11
10
|
* @tsplus pipeable fncts.io.IO withFinalizerExit
|
12
11
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"withFinalizerExit.cjs","names":["withFinalizerExit","finalizer","__tsplusTrace","self","tsplus_module_1","acquireReleaseExit"],"sources":["../../../_src/IO/api/withFinalizerExit.ts"],"sourcesContent":[null],"mappings":"
|
1
|
+
{"version":3,"file":"withFinalizerExit.cjs","names":["withFinalizerExit","finalizer","__tsplusTrace","self","tsplus_module_1","acquireReleaseExit"],"sources":["../../../_src/IO/api/withFinalizerExit.ts"],"sourcesContent":[null],"mappings":";;;;;;;;AAAA;;;AAGM,SAAUA,iBAAiBA,CAC/BC,SAAwD,EACxDC,aAAsB;EAEtB,OAAcC,IAAiB,IAA8B;IAC3D,OAAOC,eAAA,CAAAC,kBAAA,OAAsBF,IAAI,EAAEF,SAAS,EAH9CC,aAAA,CAG+C;EAC/C,CAAC;AACH","ignoreList":[]}
|
@@ -19,8 +19,7 @@ var tsplus_module_11 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require
|
|
19
19
|
var tsplus_module_12 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/IO/api/interrupt"));
|
20
20
|
var tsplus_module_13 = /*#__PURE__*/_interopRequireWildcard(/*#__PURE__*/require("@fncts/io/IO/api/forkDaemon"));
|
21
21
|
var _AtomicBoolean = /*#__PURE__*/require("@fncts/base/internal/AtomicBoolean");
|
22
|
-
function
|
23
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
22
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
24
23
|
const fileName_1 = "(@fncts/io) src/IO/api/zipConcurrent.ts";
|
25
24
|
const zipWithConcurrent = exports.zipWithConcurrent = zipWithConcurrent_1;
|
26
25
|
/**
|
@@ -40,17 +39,17 @@ function zipWithConcurrent_1(that, f, __tsplusTrace) {
|
|
40
39
|
return tsplus_module_11.transplant(graft => {
|
41
40
|
const future = tsplus_module_3.unsafeMake(tsplus_module_2.none);
|
42
41
|
const ref = new _AtomicBoolean.AtomicBoolean(false);
|
43
|
-
return tsplus_module_5.flatMap(([left, right]) => tsplus_module_5.matchCauseIO(cause => tsplus_module_5.zipRight(tsplus_module_5.flatMap(([left, right]) => tsplus_module_7.match(causes => tsplus_module_5.refailCause(tsplus_module_6.parallel(tsplus_module_6.stripFailures(cause), causes), __tsplusTrace), () => tsplus_module_5.refailCause(tsplus_module_6.stripFailures(cause), __tsplusTrace))(tsplus_module_7.zipWithCause(right, f, (a, b) => tsplus_module_6.parallel(a, b))(left)), __tsplusTrace)(tsplus_module_5.zip(tsplus_module_8.wait(right, __tsplusTrace), __tsplusTrace)(tsplus_module_8.wait(left, __tsplusTrace))), __tsplusTrace)(tsplus_module_5.zipRight(tsplus_module_4.interruptFork(right, __tsplusTrace), __tsplusTrace)(tsplus_module_4.interruptFork(left, __tsplusTrace))), () => tsplus_module_5.zipWith(tsplus_module_9.join(right, __tsplusTrace), f, __tsplusTrace)(tsplus_module_9.join(left, __tsplusTrace)), __tsplusTrace)(restore(tsplus_module_10.wait(future, __tsplusTrace), __tsplusTrace)), __tsplusTrace)(tsplus_module_5.zip(fork(() => that, restore, graft, future, ref), __tsplusTrace)(fork(() => self, restore, graft, future, ref)));
|
42
|
+
return tsplus_module_5.flatMap(([left, right]) => tsplus_module_5.matchCauseIO(cause => tsplus_module_5.zipRight(tsplus_module_5.flatMap(([left, right]) => tsplus_module_7.match(causes => tsplus_module_5.refailCause(() => tsplus_module_6.parallel(tsplus_module_6.stripFailures(cause), causes), __tsplusTrace), () => tsplus_module_5.refailCause(() => tsplus_module_6.stripFailures(cause), __tsplusTrace))(tsplus_module_7.zipWithCause(right, f, (a, b) => tsplus_module_6.parallel(a, b))(left)), __tsplusTrace)(tsplus_module_5.zip(tsplus_module_8.wait(right, __tsplusTrace), __tsplusTrace)(tsplus_module_8.wait(left, __tsplusTrace))), __tsplusTrace)(tsplus_module_5.zipRight(tsplus_module_4.interruptFork(right, __tsplusTrace), __tsplusTrace)(tsplus_module_4.interruptFork(left, __tsplusTrace))), () => tsplus_module_5.zipWith(tsplus_module_9.join(right, __tsplusTrace), f, __tsplusTrace)(tsplus_module_9.join(left, __tsplusTrace)), __tsplusTrace)(restore(tsplus_module_10.wait(future, __tsplusTrace), __tsplusTrace)), __tsplusTrace)(tsplus_module_5.zip(fork(() => that, restore, graft, future, ref), __tsplusTrace)(fork(() => self, restore, graft, future, ref)));
|
44
43
|
}, __tsplusTrace);
|
45
44
|
}, __tsplusTrace);
|
46
45
|
};
|
47
46
|
}
|
48
|
-
function fork(io, restore,
|
49
|
-
return tsplus_module_13.forkDaemon(tsplus_module_5.matchCauseIO(cause => tsplus_module_5.zipRight(tsplus_module_5.refailCause(cause, fileName_1 + ":55:55"), fileName_1 + ":55:40")(tsplus_module_10.fail(undefined, fileName_1 + ":55:27")(future)), a => {
|
47
|
+
function fork(io, restore, grafter, future, ref) {
|
48
|
+
return tsplus_module_13.forkDaemon(tsplus_module_5.matchCauseIO(cause => tsplus_module_5.zipRight(tsplus_module_5.refailCause(() => cause, fileName_1 + ":55:55"), fileName_1 + ":55:40")(tsplus_module_10.fail(undefined, fileName_1 + ":55:27")(future)), a => {
|
50
49
|
if (ref.getAndSet(true)) {
|
51
50
|
tsplus_module_10.unsafeDone(tsplus_module_5.unit, fileName_1 + ":58:26")(future);
|
52
51
|
}
|
53
52
|
return tsplus_module_5.succeedNow(a, fileName_1 + ":60:27");
|
54
|
-
}, fileName_1 + ":54:
|
53
|
+
}, fileName_1 + ":54:51")(grafter.graft(restore(io(), fileName_1 + ":54:31"), fileName_1 + ":54:23")), fileName_1 + ":62:4");
|
55
54
|
}
|
56
55
|
//# sourceMappingURL=zipConcurrent.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"zipConcurrent.cjs","names":["_AtomicBoolean","require","
|
1
|
+
{"version":3,"file":"zipConcurrent.cjs","names":["_AtomicBoolean","require","_interopRequireWildcard","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","zipWithConcurrent","exports","zipWithConcurrent_1","zipConcurrent","that","__tsplusTrace","self","a","b","tsplus_module_1","make","tsplus_module_12","uninterruptibleMask","restore","tsplus_module_11","transplant","graft","future","tsplus_module_3","unsafeMake","tsplus_module_2","none","ref","AtomicBoolean","tsplus_module_5","flatMap","left","right","matchCauseIO","cause","zipRight","tsplus_module_7","match","causes","refailCause","tsplus_module_6","parallel","stripFailures","zipWithCause","zip","tsplus_module_8","wait","tsplus_module_4","interruptFork","zipWith","tsplus_module_9","join","tsplus_module_10","fork","io","grafter","tsplus_module_13","forkDaemon","fileName_1","fail","undefined","getAndSet","unsafeDone","unit","succeedNow"],"sources":["../../../_src/IO/api/zipConcurrent.ts"],"sourcesContent":[null],"mappings":"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","ignoreList":[]}
|