effect 2.0.0-next.52 → 2.0.0-next.53
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/BigDecimal/dist/effect-BigDecimal.cjs.dev.js +6 -6
- package/BigDecimal/dist/effect-BigDecimal.cjs.prod.js +6 -6
- package/BigDecimal/dist/effect-BigDecimal.esm.js +2 -1
- package/BigInt/dist/effect-BigInt.cjs.dev.js +4 -4
- package/BigInt/dist/effect-BigInt.cjs.prod.js +4 -4
- package/Brand/dist/effect-Brand.cjs.dev.js +5 -5
- package/Brand/dist/effect-Brand.cjs.prod.js +5 -5
- package/Cache/dist/effect-Cache.cjs.dev.js +31 -30
- package/Cache/dist/effect-Cache.cjs.prod.js +31 -30
- package/Cause/dist/effect-Cause.cjs.dev.js +10 -10
- package/Cause/dist/effect-Cause.cjs.prod.js +10 -10
- package/Channel/dist/effect-Channel.cjs.dev.js +49 -48
- package/Channel/dist/effect-Channel.cjs.prod.js +49 -48
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.dev.js +2 -1
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.prod.js +2 -1
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.dev.js +2 -1
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.prod.js +2 -1
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.dev.js +2 -1
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.prod.js +2 -1
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.dev.js +2 -1
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.prod.js +2 -1
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.dev.js +38 -37
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.prod.js +38 -37
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.dev.js +2 -1
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.prod.js +2 -1
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.dev.js +2 -1
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.prod.js +2 -1
- package/Chunk/dist/effect-Chunk.cjs.dev.js +6 -6
- package/Chunk/dist/effect-Chunk.cjs.prod.js +6 -6
- package/Chunk/dist/effect-Chunk.esm.js +3 -3
- package/Clock/dist/effect-Clock.cjs.dev.js +16 -16
- package/Clock/dist/effect-Clock.cjs.prod.js +16 -16
- package/Config/dist/effect-Config.cjs.dev.js +13 -13
- package/Config/dist/effect-Config.cjs.prod.js +13 -13
- package/ConfigError/dist/effect-ConfigError.cjs.dev.js +6 -6
- package/ConfigError/dist/effect-ConfigError.cjs.prod.js +6 -6
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.dev.js +15 -15
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.prod.js +15 -15
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.dev.js +7 -7
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.prod.js +7 -7
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.dev.js +6 -6
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.prod.js +6 -6
- package/Console/dist/effect-Console.cjs.dev.js +35 -34
- package/Console/dist/effect-Console.cjs.prod.js +35 -34
- package/Context/dist/effect-Context.cjs.dev.js +5 -5
- package/Context/dist/effect-Context.cjs.prod.js +5 -5
- package/Data/dist/effect-Data.cjs.dev.js +36 -36
- package/Data/dist/effect-Data.cjs.prod.js +36 -36
- package/DefaultServices/dist/effect-DefaultServices.cjs.dev.js +16 -16
- package/DefaultServices/dist/effect-DefaultServices.cjs.prod.js +16 -16
- package/Deferred/dist/effect-Deferred.cjs.dev.js +10 -10
- package/Deferred/dist/effect-Deferred.cjs.prod.js +10 -10
- package/Differ/dist/effect-Differ.cjs.dev.js +7 -7
- package/Differ/dist/effect-Differ.cjs.prod.js +7 -7
- package/Duration/dist/effect-Duration.cjs.dev.js +5 -5
- package/Duration/dist/effect-Duration.cjs.prod.js +5 -5
- package/Duration/dist/effect-Duration.esm.js +2 -2
- package/Effect/dist/effect-Effect.cjs.dev.js +37 -36
- package/Effect/dist/effect-Effect.cjs.prod.js +37 -36
- package/Effectable/dist/effect-Effectable.cjs.dev.js +3 -3
- package/Effectable/dist/effect-Effectable.cjs.prod.js +3 -3
- package/Either/dist/effect-Either.cjs.dev.js +4 -4
- package/Either/dist/effect-Either.cjs.prod.js +4 -4
- package/Encoding/dist/effect-Encoding.cjs.dev.js +6 -6
- package/Encoding/dist/effect-Encoding.cjs.prod.js +6 -6
- package/Equal/dist/effect-Equal.cjs.dev.js +3 -3
- package/Equal/dist/effect-Equal.cjs.prod.js +3 -3
- package/Equal/dist/effect-Equal.esm.js +2 -1
- package/Exit/dist/effect-Exit.cjs.dev.js +10 -10
- package/Exit/dist/effect-Exit.cjs.prod.js +10 -10
- package/Fiber/dist/effect-Fiber.cjs.dev.js +32 -31
- package/Fiber/dist/effect-Fiber.cjs.prod.js +32 -31
- package/FiberId/dist/effect-FiberId.cjs.dev.js +7 -7
- package/FiberId/dist/effect-FiberId.cjs.prod.js +7 -7
- package/FiberRef/dist/effect-FiberRef.cjs.dev.js +32 -31
- package/FiberRef/dist/effect-FiberRef.cjs.prod.js +32 -31
- package/FiberRefs/dist/effect-FiberRefs.cjs.dev.js +11 -11
- package/FiberRefs/dist/effect-FiberRefs.cjs.prod.js +11 -11
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.dev.js +12 -12
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.prod.js +12 -12
- package/FiberStatus/dist/effect-FiberStatus.cjs.dev.js +3 -3
- package/FiberStatus/dist/effect-FiberStatus.cjs.prod.js +3 -3
- package/GlobalValue/dist/effect-GlobalValue.cjs.dev.js +3 -18
- package/GlobalValue/dist/effect-GlobalValue.cjs.prod.js +3 -18
- package/GlobalValue/dist/effect-GlobalValue.esm.js +3 -1
- package/GroupBy/dist/effect-GroupBy.cjs.dev.js +50 -49
- package/GroupBy/dist/effect-GroupBy.cjs.prod.js +50 -49
- package/Hash/dist/effect-Hash.cjs.dev.js +3 -3
- package/Hash/dist/effect-Hash.cjs.prod.js +3 -3
- package/Hash/dist/effect-Hash.esm.js +2 -1
- package/HashMap/dist/effect-HashMap.cjs.dev.js +6 -6
- package/HashMap/dist/effect-HashMap.cjs.prod.js +6 -6
- package/HashSet/dist/effect-HashSet.cjs.dev.js +6 -6
- package/HashSet/dist/effect-HashSet.cjs.prod.js +6 -6
- package/Inspectable/dist/effect-Inspectable.cjs.dev.js +4 -1
- package/Inspectable/dist/effect-Inspectable.cjs.prod.js +4 -1
- package/Inspectable/dist/effect-Inspectable.esm.js +3 -1
- package/KeyedPool/dist/effect-KeyedPool.cjs.dev.js +31 -30
- package/KeyedPool/dist/effect-KeyedPool.cjs.prod.js +31 -30
- package/LICENSE +21 -0
- package/Layer/dist/effect-Layer.cjs.dev.js +38 -37
- package/Layer/dist/effect-Layer.cjs.prod.js +38 -37
- package/List/dist/effect-List.cjs.dev.js +8 -7
- package/List/dist/effect-List.cjs.prod.js +8 -7
- package/List/dist/effect-List.esm.js +5 -4
- package/LogLevel/dist/effect-LogLevel.cjs.dev.js +10 -10
- package/LogLevel/dist/effect-LogLevel.cjs.prod.js +10 -10
- package/Logger/dist/effect-Logger.cjs.dev.js +35 -34
- package/Logger/dist/effect-Logger.cjs.prod.js +35 -34
- package/Match/dist/effect-Match.cjs.dev.js +4 -4
- package/Match/dist/effect-Match.cjs.prod.js +4 -4
- package/Metric/dist/effect-Metric.cjs.dev.js +29 -28
- package/Metric/dist/effect-Metric.cjs.prod.js +29 -28
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.dev.js +6 -6
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.prod.js +6 -6
- package/MetricHook/dist/effect-MetricHook.cjs.dev.js +8 -8
- package/MetricHook/dist/effect-MetricHook.cjs.prod.js +8 -8
- package/MetricKey/dist/effect-MetricKey.cjs.dev.js +9 -9
- package/MetricKey/dist/effect-MetricKey.cjs.prod.js +9 -9
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.dev.js +6 -6
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.prod.js +6 -6
- package/MetricLabel/dist/effect-MetricLabel.cjs.dev.js +3 -3
- package/MetricLabel/dist/effect-MetricLabel.cjs.prod.js +3 -3
- package/MetricPolling/dist/effect-MetricPolling.cjs.dev.js +32 -31
- package/MetricPolling/dist/effect-MetricPolling.cjs.prod.js +32 -31
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.dev.js +10 -10
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.prod.js +10 -10
- package/MetricState/dist/effect-MetricState.cjs.dev.js +3 -3
- package/MetricState/dist/effect-MetricState.cjs.prod.js +3 -3
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.dev.js +6 -6
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.prod.js +6 -6
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.dev.js +6 -6
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.prod.js +6 -6
- package/MutableList/dist/effect-MutableList.cjs.dev.js +1 -0
- package/MutableList/dist/effect-MutableList.cjs.prod.js +1 -0
- package/MutableQueue/dist/effect-MutableQueue.cjs.dev.js +5 -5
- package/MutableQueue/dist/effect-MutableQueue.cjs.prod.js +5 -5
- package/MutableRef/dist/effect-MutableRef.cjs.dev.js +2 -2
- package/MutableRef/dist/effect-MutableRef.cjs.prod.js +2 -2
- package/Number/dist/effect-Number.cjs.dev.js +3 -3
- package/Number/dist/effect-Number.cjs.prod.js +3 -3
- package/Option/dist/effect-Option.cjs.dev.js +5 -5
- package/Option/dist/effect-Option.cjs.prod.js +5 -5
- package/Pool/dist/effect-Pool.cjs.dev.js +32 -31
- package/Pool/dist/effect-Pool.cjs.prod.js +32 -31
- package/Predicate/dist/effect-Predicate.cjs.dev.js +15 -3
- package/Predicate/dist/effect-Predicate.cjs.mjs +1 -0
- package/Predicate/dist/effect-Predicate.cjs.prod.js +15 -3
- package/Predicate/dist/effect-Predicate.esm.js +15 -4
- package/PubSub/dist/effect-PubSub.cjs.dev.js +31 -30
- package/PubSub/dist/effect-PubSub.cjs.prod.js +31 -30
- package/Queue/dist/effect-Queue.cjs.dev.js +31 -30
- package/Queue/dist/effect-Queue.cjs.prod.js +31 -30
- package/Random/dist/effect-Random.cjs.dev.js +16 -16
- package/Random/dist/effect-Random.cjs.prod.js +16 -16
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.dev.js +5 -5
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js +5 -5
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.dev.js +5 -5
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.prod.js +5 -5
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.dev.js +5 -5
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.prod.js +5 -5
- package/Ref/dist/effect-Ref.cjs.dev.js +11 -11
- package/Ref/dist/effect-Ref.cjs.prod.js +11 -11
- package/Reloadable/dist/effect-Reloadable.cjs.dev.js +36 -35
- package/Reloadable/dist/effect-Reloadable.cjs.prod.js +36 -35
- package/Request/dist/effect-Request.cjs.dev.js +31 -30
- package/Request/dist/effect-Request.cjs.prod.js +31 -30
- package/RequestBlock/dist/effect-RequestBlock.cjs.dev.js +38 -37
- package/RequestBlock/dist/effect-RequestBlock.cjs.prod.js +38 -37
- package/RequestResolver/dist/effect-RequestResolver.cjs.dev.js +52 -39
- package/RequestResolver/dist/effect-RequestResolver.cjs.mjs +2 -1
- package/RequestResolver/dist/effect-RequestResolver.cjs.prod.js +52 -39
- package/RequestResolver/dist/effect-RequestResolver.esm.js +14 -3
- package/Resource/dist/effect-Resource.cjs.dev.js +34 -33
- package/Resource/dist/effect-Resource.cjs.prod.js +34 -33
- package/Runtime/dist/effect-Runtime.cjs.dev.js +33 -32
- package/Runtime/dist/effect-Runtime.cjs.prod.js +33 -32
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.dev.js +36 -35
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.prod.js +36 -35
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.dev.js +8 -8
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.prod.js +8 -8
- package/STM/dist/effect-STM.cjs.dev.js +52 -51
- package/STM/dist/effect-STM.cjs.prod.js +52 -51
- package/Schedule/dist/effect-Schedule.cjs.dev.js +22 -22
- package/Schedule/dist/effect-Schedule.cjs.prod.js +22 -22
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.dev.js +5 -5
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.prod.js +5 -5
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.dev.js +5 -5
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.prod.js +5 -5
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.dev.js +5 -5
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.prod.js +5 -5
- package/Scheduler/dist/effect-Scheduler.cjs.dev.js +10 -10
- package/Scheduler/dist/effect-Scheduler.cjs.prod.js +10 -10
- package/Scope/dist/effect-Scope.cjs.dev.js +30 -29
- package/Scope/dist/effect-Scope.cjs.prod.js +30 -29
- package/ScopedCache/dist/effect-ScopedCache.cjs.dev.js +37 -37
- package/ScopedCache/dist/effect-ScopedCache.cjs.prod.js +37 -37
- package/ScopedRef/dist/effect-ScopedRef.cjs.dev.js +34 -33
- package/ScopedRef/dist/effect-ScopedRef.cjs.prod.js +34 -33
- package/Sink/dist/effect-Sink.cjs.dev.js +47 -46
- package/Sink/dist/effect-Sink.cjs.prod.js +47 -46
- package/SortedMap/dist/effect-SortedMap.cjs.dev.js +5 -5
- package/SortedMap/dist/effect-SortedMap.cjs.prod.js +5 -5
- package/SortedMap/dist/effect-SortedMap.esm.js +2 -2
- package/SortedSet/dist/effect-SortedSet.cjs.dev.js +5 -5
- package/SortedSet/dist/effect-SortedSet.cjs.prod.js +5 -5
- package/SortedSet/dist/effect-SortedSet.esm.js +2 -2
- package/Stream/dist/effect-Stream.cjs.dev.js +69 -49
- package/Stream/dist/effect-Stream.cjs.mjs +2 -0
- package/Stream/dist/effect-Stream.cjs.prod.js +69 -49
- package/Stream/dist/effect-Stream.esm.js +19 -2
- package/Streamable/dist/effect-Streamable.cjs.dev.js +50 -49
- package/Streamable/dist/effect-Streamable.cjs.prod.js +50 -49
- package/String/dist/effect-String.cjs.dev.js +4 -4
- package/String/dist/effect-String.cjs.prod.js +4 -4
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.dev.js +49 -48
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.prod.js +49 -48
- package/Supervisor/dist/effect-Supervisor.cjs.dev.js +36 -35
- package/Supervisor/dist/effect-Supervisor.cjs.prod.js +36 -35
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.dev.js +33 -32
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.prod.js +33 -32
- package/TArray/dist/effect-TArray.cjs.dev.js +54 -53
- package/TArray/dist/effect-TArray.cjs.prod.js +54 -53
- package/TDeferred/dist/effect-TDeferred.cjs.dev.js +53 -52
- package/TDeferred/dist/effect-TDeferred.cjs.prod.js +53 -52
- package/TMap/dist/effect-TMap.cjs.dev.js +55 -54
- package/TMap/dist/effect-TMap.cjs.prod.js +55 -54
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.dev.js +52 -51
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.prod.js +52 -51
- package/TPubSub/dist/effect-TPubSub.cjs.dev.js +54 -53
- package/TPubSub/dist/effect-TPubSub.cjs.prod.js +54 -53
- package/TQueue/dist/effect-TQueue.cjs.dev.js +54 -53
- package/TQueue/dist/effect-TQueue.cjs.prod.js +54 -53
- package/TRandom/dist/effect-TRandom.cjs.dev.js +53 -52
- package/TRandom/dist/effect-TRandom.cjs.prod.js +53 -52
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.dev.js +52 -51
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.prod.js +52 -51
- package/TRef/dist/effect-TRef.cjs.dev.js +52 -51
- package/TRef/dist/effect-TRef.cjs.prod.js +52 -51
- package/TSemaphore/dist/effect-TSemaphore.cjs.dev.js +53 -52
- package/TSemaphore/dist/effect-TSemaphore.cjs.prod.js +53 -52
- package/TSet/dist/effect-TSet.cjs.dev.js +55 -54
- package/TSet/dist/effect-TSet.cjs.prod.js +55 -54
- package/Take/dist/effect-Take.cjs.dev.js +38 -37
- package/Take/dist/effect-Take.cjs.prod.js +38 -37
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.dev.js +8 -10
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.prod.js +8 -10
- package/TestAnnotation/dist/effect-TestAnnotation.esm.js +2 -3
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.dev.js +2 -3
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.prod.js +2 -3
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.esm.js +2 -3
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.dev.js +23 -25
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.prod.js +23 -25
- package/TestAnnotations/dist/effect-TestAnnotations.esm.js +2 -3
- package/TestClock/dist/effect-TestClock.cjs.dev.js +35 -34
- package/TestClock/dist/effect-TestClock.cjs.prod.js +35 -34
- package/TestConfig/dist/effect-TestConfig.cjs.dev.js +5 -5
- package/TestConfig/dist/effect-TestConfig.cjs.prod.js +5 -5
- package/TestContext/dist/effect-TestContext.cjs.dev.js +37 -36
- package/TestContext/dist/effect-TestContext.cjs.prod.js +37 -36
- package/TestLive/dist/effect-TestLive.cjs.dev.js +16 -16
- package/TestLive/dist/effect-TestLive.cjs.prod.js +16 -16
- package/TestServices/dist/effect-TestServices.cjs.dev.js +37 -36
- package/TestServices/dist/effect-TestServices.cjs.prod.js +37 -36
- package/TestSized/dist/effect-TestSized.cjs.dev.js +10 -10
- package/TestSized/dist/effect-TestSized.cjs.prod.js +10 -10
- package/Tracer/dist/effect-Tracer.cjs.dev.js +16 -16
- package/Tracer/dist/effect-Tracer.cjs.prod.js +16 -16
- package/dist/{Context-607e9b4c.cjs.dev.js → Context-036c4ad6.cjs.dev.js} +6 -5
- package/dist/{Context-c91d8ca0.cjs.prod.js → Context-fee14876.cjs.prod.js} +6 -5
- package/dist/{Effectable-6a8a05f1.cjs.prod.js → Effectable-c85356be.cjs.prod.js} +3 -1
- package/dist/{Effectable-71c10ab9.cjs.dev.js → Effectable-ed77aaf6.cjs.dev.js} +3 -1
- package/dist/{Either-e7500e90.cjs.dev.js → Either-97ac081f.cjs.dev.js} +4 -3
- package/dist/{Either-a3f96c60.cjs.prod.js → Either-bf376fff.cjs.prod.js} +4 -3
- package/dist/{FiberId-88cc0067.cjs.prod.js → FiberId-796388a1.cjs.prod.js} +3 -4
- package/dist/{FiberId-f329d0e3.cjs.dev.js → FiberId-fe3586bc.cjs.dev.js} +3 -4
- package/dist/GlobalValue-344581cf.cjs.prod.js +25 -0
- package/dist/GlobalValue-871500cb.cjs.dev.js +25 -0
- package/dist/{HashSet-09ade044.cjs.prod.js → HashSet-39a1799a.cjs.prod.js} +4 -4
- package/dist/{HashSet-e9659fd4.cjs.dev.js → HashSet-5a5d7603.cjs.dev.js} +4 -4
- package/dist/{Option-01caa9d4.cjs.dev.js → Option-0d3f5ddc.cjs.dev.js} +3 -2
- package/dist/{Option-dd52e82a.cjs.prod.js → Option-3fe68dcf.cjs.prod.js} +3 -2
- package/dist/{Ref-d3a3826b.cjs.dev.js → Ref-891bdaff.cjs.dev.js} +1 -1
- package/dist/{Ref-50f14c13.cjs.prod.js → Ref-c9491538.cjs.prod.js} +1 -1
- package/dist/{boundaries-ce70e4e4.cjs.dev.js → boundaries-0a4ac5a1.cjs.dev.js} +2 -3
- package/dist/{boundaries-0e5ddf7b.cjs.prod.js → boundaries-73e251d3.cjs.prod.js} +2 -3
- package/dist/{cache-2a5d8381.cjs.dev.js → cache-43514e60.cjs.dev.js} +7 -6
- package/dist/{cache-8f0c08cb.cjs.prod.js → cache-acead124.cjs.prod.js} +7 -6
- package/dist/{childExecutorDecision-b5842db5.cjs.prod.js → childExecutorDecision-3293bb05.cjs.prod.js} +2 -1
- package/dist/{childExecutorDecision-2eed6e25.cjs.dev.js → childExecutorDecision-54722bbb.cjs.dev.js} +2 -1
- package/dist/{circular-4f03acf3.cjs.prod.js → circular-373616ea.cjs.prod.js} +4 -4
- package/dist/{circular-2effda94.cjs.dev.js → circular-58cf4c81.cjs.dev.js} +4 -4
- package/dist/{circular-acb40239.cjs.prod.js → circular-970b753f.cjs.prod.js} +8 -8
- package/dist/{circular-39e86dc8.cjs.dev.js → circular-cf851085.cjs.dev.js} +8 -8
- package/dist/{config-beaa306c.cjs.dev.js → config-314f1860.cjs.dev.js} +5 -4
- package/dist/{config-00e6170c.cjs.prod.js → config-5cd5d919.cjs.prod.js} +5 -4
- package/dist/{configError-834bedc1.cjs.dev.js → configError-acc57114.cjs.dev.js} +2 -1
- package/dist/{configError-72f57cd6.cjs.prod.js → configError-b699bbc8.cjs.prod.js} +2 -1
- package/dist/{configProvider-290d13e7.cjs.prod.js → configProvider-20bd7c45.cjs.prod.js} +4 -4
- package/dist/{configProvider-aef50f41.cjs.dev.js → configProvider-db30779f.cjs.dev.js} +4 -4
- package/dist/{configSecret-80d3e36b.cjs.prod.js → configSecret-bb56a002.cjs.prod.js} +2 -3
- package/dist/{configSecret-abf643d8.cjs.dev.js → configSecret-bd8a1267.cjs.dev.js} +2 -3
- package/dist/{core-279496f0.cjs.prod.js → core-093a4458.cjs.prod.js} +8 -11
- package/dist/{core-35439f06.cjs.prod.js → core-26e932c3.cjs.prod.js} +24 -39
- package/dist/{core-7445bfd4.cjs.dev.js → core-40eb64fd.cjs.dev.js} +8 -11
- package/dist/{core-a0828fef.cjs.dev.js → core-908ae0ff.cjs.dev.js} +24 -39
- package/dist/{core-effect-460f968a.cjs.prod.js → core-effect-90338498.cjs.prod.js} +9 -9
- package/dist/{core-effect-02a7f1d7.cjs.dev.js → core-effect-a83699c2.cjs.dev.js} +9 -9
- package/dist/{dataSource-da4a602c.cjs.dev.js → dataSource-0355fe3b.cjs.dev.js} +31 -5
- package/dist/{dataSource-94fb44f9.cjs.prod.js → dataSource-6269c095.cjs.prod.js} +31 -5
- package/dist/declarations/src/BigDecimal.d.ts.map +1 -1
- package/dist/declarations/src/Chunk.d.ts.map +1 -1
- package/dist/declarations/src/Duration.d.ts.map +1 -1
- package/dist/declarations/src/Effect.d.ts +1 -0
- package/dist/declarations/src/Effect.d.ts.map +1 -1
- package/dist/declarations/src/Equal.d.ts.map +1 -1
- package/dist/declarations/src/GlobalValue.d.ts.map +1 -1
- package/dist/declarations/src/Hash.d.ts.map +1 -1
- package/dist/declarations/src/Inspectable.d.ts.map +1 -1
- package/dist/declarations/src/List.d.ts +2 -2
- package/dist/declarations/src/List.d.ts.map +1 -1
- package/dist/declarations/src/Predicate.d.ts +17 -0
- package/dist/declarations/src/Predicate.d.ts.map +1 -1
- package/dist/declarations/src/RequestResolver.d.ts +18 -2
- package/dist/declarations/src/RequestResolver.d.ts.map +1 -1
- package/dist/declarations/src/SortedMap.d.ts.map +1 -1
- package/dist/declarations/src/SortedSet.d.ts.map +1 -1
- package/dist/declarations/src/Stream.d.ts +15 -0
- package/dist/declarations/src/Stream.d.ts.map +1 -1
- package/dist/declarations/src/TestAnnotation.d.ts.map +1 -1
- package/dist/declarations/src/TestAnnotationMap.d.ts.map +1 -1
- package/dist/declarations/src/TestAnnotations.d.ts.map +1 -1
- package/dist/{defaultServices-61911fd4.cjs.prod.js → defaultServices-3f72f0d6.cjs.prod.js} +6 -5
- package/dist/{defaultServices-f3f93337.cjs.dev.js → defaultServices-d02bba35.cjs.dev.js} +6 -5
- package/dist/{fiber-f67dca7d.cjs.prod.js → fiber-52ffd4d9.cjs.prod.js} +6 -5
- package/dist/{fiber-cac583ce.cjs.dev.js → fiber-98ad468a.cjs.dev.js} +6 -5
- package/dist/{fiberRefs-6bd9745e.cjs.dev.js → fiberRefs-a89aceb0.cjs.dev.js} +1 -1
- package/dist/{fiberRefs-59b59378.cjs.prod.js → fiberRefs-fdf6d432.cjs.prod.js} +1 -1
- package/dist/{fiberRuntime-976a3e6f.cjs.dev.js → fiberRuntime-1d260336.cjs.dev.js} +28 -29
- package/dist/{fiberRuntime-26f406c3.cjs.prod.js → fiberRuntime-79c9da2a.cjs.prod.js} +28 -29
- package/dist/{groupBy-7fc93bc9.cjs.dev.js → groupBy-026dfa76.cjs.dev.js} +6 -5
- package/dist/{groupBy-8977b420.cjs.prod.js → groupBy-7ba748d0.cjs.prod.js} +6 -5
- package/dist/{hook-13f4db1e.cjs.dev.js → hook-4a05a62b.cjs.dev.js} +1 -1
- package/dist/{hook-8a020c3f.cjs.prod.js → hook-8cb43707.cjs.prod.js} +1 -1
- package/dist/{key-2cf383a2.cjs.prod.js → key-78bcadf6.cjs.prod.js} +4 -3
- package/dist/{key-4b5f6a7d.cjs.dev.js → key-ef346a50.cjs.dev.js} +4 -3
- package/dist/{keyType-36962f62.cjs.dev.js → keyType-08477e45.cjs.dev.js} +7 -18
- package/dist/{keyType-2ae6a00e.cjs.prod.js → keyType-d5b19a16.cjs.prod.js} +7 -18
- package/dist/{label-a588e6cd.cjs.prod.js → label-5fc84f90.cjs.prod.js} +2 -3
- package/dist/{label-b0cebeae.cjs.dev.js → label-b8010065.cjs.dev.js} +2 -3
- package/dist/{layer-c197624f.cjs.dev.js → layer-4689c0e4.cjs.dev.js} +11 -12
- package/dist/{layer-abbc91aa.cjs.prod.js → layer-50892276.cjs.prod.js} +11 -12
- package/dist/{mergeDecision-be41e797.cjs.dev.js → mergeDecision-09945b33.cjs.dev.js} +2 -1
- package/dist/{mergeDecision-07c6b5c9.cjs.prod.js → mergeDecision-f0313041.cjs.prod.js} +2 -1
- package/dist/{mergeState-8153ce39.cjs.dev.js → mergeState-1e12f9c8.cjs.dev.js} +2 -3
- package/dist/{mergeState-75990fa2.cjs.prod.js → mergeState-be337f1d.cjs.prod.js} +2 -3
- package/dist/{mergeStrategy-81ea5b80.cjs.dev.js → mergeStrategy-773913bc.cjs.dev.js} +2 -1
- package/dist/{mergeStrategy-3dd6e55f.cjs.prod.js → mergeStrategy-b3ff69de.cjs.prod.js} +2 -1
- package/dist/{patch-b7689042.cjs.prod.js → patch-1dd9bcaf.cjs.prod.js} +1 -1
- package/dist/{patch-2d425849.cjs.dev.js → patch-75c9c3b7.cjs.dev.js} +1 -1
- package/dist/{pathPatch-18fa425e.cjs.dev.js → pathPatch-552d6f51.cjs.dev.js} +1 -1
- package/dist/{pathPatch-b6020485.cjs.prod.js → pathPatch-7a1c5858.cjs.prod.js} +1 -1
- package/dist/{pool-810c2214.cjs.dev.js → pool-47c496db.cjs.dev.js} +7 -6
- package/dist/{pool-868dfa39.cjs.prod.js → pool-efd82406.cjs.prod.js} +7 -6
- package/dist/{query-927b504e.cjs.prod.js → query-0d958b01.cjs.prod.js} +4 -4
- package/dist/{query-c6684e39.cjs.dev.js → query-c332a171.cjs.dev.js} +4 -4
- package/dist/{queue-a0fc274d.cjs.dev.js → queue-7960c85e.cjs.dev.js} +5 -4
- package/dist/{queue-062806c7.cjs.prod.js → queue-d90b5d13.cjs.prod.js} +5 -4
- package/dist/{registry-9268ec7c.cjs.prod.js → registry-d7841ef0.cjs.prod.js} +2 -2
- package/dist/{registry-e5ad2d74.cjs.dev.js → registry-e3bbc631.cjs.dev.js} +2 -2
- package/dist/{runtime-340bd70b.cjs.dev.js → runtime-aed87fb4.cjs.dev.js} +8 -8
- package/dist/{runtime-ce0ad0ed.cjs.prod.js → runtime-cfb89e00.cjs.prod.js} +8 -8
- package/dist/{schedule-74c6207a.cjs.dev.js → schedule-19d92d87.cjs.dev.js} +3 -3
- package/dist/{schedule-04b40c50.cjs.prod.js → schedule-f4dc6913.cjs.prod.js} +3 -3
- package/dist/{scopedRef-4f0dd122.cjs.dev.js → scopedRef-7ca29150.cjs.dev.js} +6 -6
- package/dist/{scopedRef-d429ec83.cjs.prod.js → scopedRef-bc19c091.cjs.prod.js} +6 -6
- package/dist/{singleProducerAsyncInput-72c05452.cjs.dev.js → singleProducerAsyncInput-bc0cbb44.cjs.dev.js} +1 -1
- package/dist/{singleProducerAsyncInput-06a9076a.cjs.prod.js → singleProducerAsyncInput-f2c61f5a.cjs.prod.js} +1 -1
- package/dist/{sink-301d2bb4.cjs.dev.js → sink-4b05b297.cjs.dev.js} +13 -12
- package/dist/{sink-46df55d3.cjs.prod.js → sink-dc8bd92a.cjs.prod.js} +13 -12
- package/dist/{state-40d5dc71.cjs.prod.js → state-96db6911.cjs.prod.js} +7 -18
- package/dist/{state-620f7a22.cjs.dev.js → state-c39eeee2.cjs.dev.js} +7 -18
- package/dist/{stm-c0489b43.cjs.prod.js → stm-0c8ec1e9.cjs.prod.js} +3 -3
- package/dist/{stm-0b50e3c1.cjs.dev.js → stm-5fe40084.cjs.dev.js} +3 -3
- package/dist/{stream-44cdd7cb.cjs.dev.js → stream-127fa2f5.cjs.dev.js} +26 -7
- package/dist/{stream-0c3160ef.cjs.prod.js → stream-230b00be.cjs.prod.js} +26 -7
- package/dist/{synchronizedRef-2f71b820.cjs.prod.js → synchronizedRef-4e480ff3.cjs.prod.js} +1 -1
- package/dist/{synchronizedRef-78797507.cjs.dev.js → synchronizedRef-bc0be41f.cjs.dev.js} +1 -1
- package/dist/{tArray-006f45b0.cjs.prod.js → tArray-9e0a3d9f.cjs.prod.js} +3 -3
- package/dist/{tArray-556355cd.cjs.dev.js → tArray-bceb72f4.cjs.dev.js} +3 -3
- package/dist/{tMap-52d00ffb.cjs.dev.js → tMap-020a5ea4.cjs.dev.js} +4 -4
- package/dist/{tMap-9680b82b.cjs.prod.js → tMap-111ba646.cjs.prod.js} +4 -4
- package/dist/{tQueue-ca56a2a8.cjs.dev.js → tQueue-721bc394.cjs.dev.js} +6 -9
- package/dist/{tQueue-51cf109e.cjs.prod.js → tQueue-780b6596.cjs.prod.js} +6 -9
- package/dist/{tRef-b98e2e2a.cjs.dev.js → tRef-35b07161.cjs.dev.js} +1 -1
- package/dist/{tRef-4a2a9689.cjs.prod.js → tRef-93c769f2.cjs.prod.js} +1 -1
- package/dist/{upstreamPullRequest-c89f818d.cjs.prod.js → upstreamPullRequest-4eb9ab38.cjs.prod.js} +2 -1
- package/dist/{upstreamPullRequest-7a694281.cjs.dev.js → upstreamPullRequest-fc0d09a3.cjs.dev.js} +2 -1
- package/dist/{upstreamPullStrategy-f9f1ab57.cjs.dev.js → upstreamPullStrategy-69f33916.cjs.dev.js} +2 -1
- package/dist/{upstreamPullStrategy-63cc8967.cjs.prod.js → upstreamPullStrategy-bf9f0ad1.cjs.prod.js} +2 -1
- package/internal/Context.esm.js +3 -2
- package/internal/Effectable.esm.js +3 -1
- package/internal/Either.esm.js +2 -1
- package/internal/Encoding/Common.esm.js +3 -1
- package/internal/HashMap/node.esm.js +2 -1
- package/internal/HashMap.esm.js +2 -2
- package/internal/HashSet.esm.js +2 -2
- package/internal/Option.esm.js +2 -1
- package/internal/RedBlackTree.esm.js +2 -2
- package/internal/blockedRequests.esm.js +2 -3
- package/internal/cache.esm.js +2 -1
- package/internal/cause.esm.js +9 -16
- package/internal/channel/childExecutorDecision.esm.js +2 -1
- package/internal/channel/mergeDecision.esm.js +2 -1
- package/internal/channel/mergeState.esm.js +2 -3
- package/internal/channel/mergeStrategy.esm.js +2 -1
- package/internal/channel/upstreamPullRequest.esm.js +2 -1
- package/internal/channel/upstreamPullStrategy.esm.js +2 -1
- package/internal/channel.esm.js +2 -1
- package/internal/clock.esm.js +3 -2
- package/internal/config.esm.js +2 -1
- package/internal/configError.esm.js +2 -1
- package/internal/configSecret.esm.js +2 -3
- package/internal/core-effect.esm.js +3 -3
- package/internal/core-stream.esm.js +2 -1
- package/internal/core.esm.js +9 -13
- package/internal/dataSource.esm.js +30 -5
- package/internal/effect/circular.esm.js +2 -2
- package/internal/fiber.esm.js +2 -1
- package/internal/fiberId.esm.js +2 -3
- package/internal/fiberRuntime.esm.js +12 -10
- package/internal/fiberStatus.esm.js +2 -1
- package/internal/groupBy.esm.js +2 -1
- package/internal/layer.esm.js +3 -4
- package/internal/metric/boundaries.esm.js +2 -3
- package/internal/metric/key.esm.js +2 -1
- package/internal/metric/keyType.esm.js +7 -18
- package/internal/metric/label.esm.js +2 -3
- package/internal/metric/state.esm.js +7 -18
- package/internal/pool.esm.js +2 -1
- package/internal/queue.esm.js +3 -2
- package/internal/request.esm.js +2 -1
- package/internal/runtime.esm.js +4 -4
- package/internal/sink.esm.js +2 -1
- package/internal/stm/core.esm.js +4 -2
- package/internal/stm/stm/stmState.esm.js +2 -3
- package/internal/stm/stm/tExit.esm.js +2 -3
- package/internal/stm/tQueue.esm.js +3 -6
- package/internal/stream.esm.js +21 -4
- package/internal/supervisor.esm.js +2 -3
- package/internal/version.esm.js +3 -0
- package/package.json +11 -9
- package/src/BigDecimal.ts +2 -1
- package/src/Chunk.ts +5 -3
- package/src/Duration.ts +2 -2
- package/src/Effect.ts +1 -0
- package/src/Equal.ts +2 -1
- package/src/GlobalValue.ts +3 -1
- package/src/Hash.ts +2 -1
- package/src/Inspectable.ts +3 -1
- package/src/List.ts +8 -7
- package/src/Predicate.ts +21 -4
- package/src/RequestResolver.ts +25 -3
- package/src/SortedMap.ts +2 -2
- package/src/SortedSet.ts +2 -2
- package/src/Stream.ts +17 -0
- package/src/TestAnnotation.ts +2 -3
- package/src/TestAnnotationMap.ts +2 -3
- package/src/TestAnnotations.ts +2 -3
- package/src/internal/Context.ts +3 -2
- package/src/internal/Effectable.ts +3 -1
- package/src/internal/Either.ts +2 -2
- package/src/internal/Encoding/Common.ts +2 -2
- package/src/internal/HashMap/node.ts +2 -1
- package/src/internal/HashMap.ts +2 -2
- package/src/internal/HashSet.ts +2 -2
- package/src/internal/Option.ts +2 -2
- package/src/internal/RedBlackTree.ts +2 -2
- package/src/internal/blockedRequests.ts +2 -3
- package/src/internal/cache.ts +2 -1
- package/src/internal/cause.ts +15 -23
- package/src/internal/channel/channelState.ts +2 -2
- package/src/internal/channel/childExecutorDecision.ts +2 -1
- package/src/internal/channel/mergeDecision.ts +2 -2
- package/src/internal/channel/mergeState.ts +3 -3
- package/src/internal/channel/mergeStrategy.ts +2 -2
- package/src/internal/channel/upstreamPullRequest.ts +2 -1
- package/src/internal/channel/upstreamPullStrategy.ts +2 -1
- package/src/internal/channel.ts +2 -2
- package/src/internal/clock.ts +5 -5
- package/src/internal/config.ts +2 -3
- package/src/internal/configError.ts +2 -2
- package/src/internal/configSecret.ts +2 -3
- package/src/internal/core-effect.ts +3 -3
- package/src/internal/core-stream.ts +2 -1
- package/src/internal/core.ts +8 -16
- package/src/internal/dataSource.ts +47 -3
- package/src/internal/effect/circular.ts +1 -1
- package/src/internal/fiber.ts +2 -2
- package/src/internal/fiberId.ts +2 -3
- package/src/internal/fiberRuntime.ts +15 -8
- package/src/internal/fiberStatus.ts +2 -2
- package/src/internal/groupBy.ts +2 -2
- package/src/internal/layer.ts +2 -3
- package/src/internal/metric/boundaries.ts +3 -3
- package/src/internal/metric/key.ts +2 -1
- package/src/internal/metric/keyType.ts +13 -18
- package/src/internal/metric/label.ts +2 -3
- package/src/internal/metric/state.ts +12 -18
- package/src/internal/pool.ts +2 -2
- package/src/internal/queue.ts +3 -4
- package/src/internal/request.ts +2 -2
- package/src/internal/runtime.ts +2 -3
- package/src/internal/sink.ts +2 -2
- package/src/internal/stm/core.ts +4 -3
- package/src/internal/stm/stm/stmState.ts +2 -3
- package/src/internal/stm/stm/tExit.ts +2 -3
- package/src/internal/stm/tQueue.ts +3 -7
- package/src/internal/stream.ts +26 -6
- package/src/internal/supervisor.ts +3 -3
- package/src/internal/version.ts +1 -0
- /package/dist/{RuntimeFlagsPatch-233ac7d7.cjs.prod.js → RuntimeFlagsPatch-2bc2f1c5.cjs.prod.js} +0 -0
- /package/dist/{RuntimeFlagsPatch-063c5864.cjs.dev.js → RuntimeFlagsPatch-5a4ff83e.cjs.dev.js} +0 -0
- /package/dist/{take-07165139.cjs.prod.js → take-23720f78.cjs.prod.js} +0 -0
- /package/dist/{take-689a29d5.cjs.dev.js → take-472621b6.cjs.dev.js} +0 -0
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var Chunk_dist_effectChunk = require('../Chunk/dist/effect-Chunk.cjs.prod.js');
|
|
4
4
|
var Function_dist_effectFunction = require('../Function/dist/effect-Function.cjs.prod.js');
|
|
5
|
-
var core = require('./core-
|
|
6
|
-
var stm = require('./stm-
|
|
7
|
-
var tRef = require('./tRef-
|
|
5
|
+
var core = require('./core-093a4458.cjs.prod.js');
|
|
6
|
+
var stm = require('./stm-0c8ec1e9.cjs.prod.js');
|
|
7
|
+
var tRef = require('./tRef-93c769f2.cjs.prod.js');
|
|
8
8
|
var Option_dist_effectOption = require('../Option/dist/effect-Option.cjs.prod.js');
|
|
9
|
+
var Predicate_dist_effectPredicate = require('../Predicate/dist/effect-Predicate.cjs.prod.js');
|
|
9
10
|
var ReadonlyArray_dist_effectReadonlyArray = require('../ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js');
|
|
10
11
|
var STM_dist_effectSTM = require('../STM/dist/effect-STM.cjs.prod.js');
|
|
11
12
|
|
|
@@ -234,14 +235,10 @@ const isTQueue = u => {
|
|
|
234
235
|
};
|
|
235
236
|
|
|
236
237
|
/** @internal */
|
|
237
|
-
const isTEnqueue = u =>
|
|
238
|
-
return typeof u === "object" && u != null && TEnqueueTypeId in u;
|
|
239
|
-
};
|
|
238
|
+
const isTEnqueue = u => Predicate_dist_effectPredicate.hasProperty(u, TEnqueueTypeId);
|
|
240
239
|
|
|
241
240
|
/** @internal */
|
|
242
|
-
const isTDequeue = u =>
|
|
243
|
-
return typeof u === "object" && u != null && TDequeueTypeId in u;
|
|
244
|
-
};
|
|
241
|
+
const isTDequeue = u => Predicate_dist_effectPredicate.hasProperty(u, TDequeueTypeId);
|
|
245
242
|
|
|
246
243
|
/** @internal */
|
|
247
244
|
const awaitShutdown = self => self.awaitShutdown;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var Function_dist_effectFunction = require('../Function/dist/effect-Function.cjs.dev.js');
|
|
4
|
-
var core = require('./core-
|
|
4
|
+
var core = require('./core-40eb64fd.cjs.dev.js');
|
|
5
5
|
var Option_dist_effectOption = require('../Option/dist/effect-Option.cjs.dev.js');
|
|
6
6
|
|
|
7
7
|
/** @internal */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var Function_dist_effectFunction = require('../Function/dist/effect-Function.cjs.prod.js');
|
|
4
|
-
var core = require('./core-
|
|
4
|
+
var core = require('./core-093a4458.cjs.prod.js');
|
|
5
5
|
var Option_dist_effectOption = require('../Option/dist/effect-Option.cjs.prod.js');
|
|
6
6
|
|
|
7
7
|
/** @internal */
|
package/dist/{upstreamPullRequest-c89f818d.cjs.prod.js → upstreamPullRequest-4eb9ab38.cjs.prod.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var Function_dist_effectFunction = require('../Function/dist/effect-Function.cjs.prod.js');
|
|
4
|
+
var Predicate_dist_effectPredicate = require('../Predicate/dist/effect-Predicate.cjs.prod.js');
|
|
4
5
|
|
|
5
6
|
/** @internal */
|
|
6
7
|
const OP_PULLED = "Pulled";
|
|
@@ -45,7 +46,7 @@ const NoUpstream = activeDownstreamCount => {
|
|
|
45
46
|
};
|
|
46
47
|
|
|
47
48
|
/** @internal */
|
|
48
|
-
const isUpstreamPullRequest = u =>
|
|
49
|
+
const isUpstreamPullRequest = u => Predicate_dist_effectPredicate.hasProperty(u, UpstreamPullRequestTypeId);
|
|
49
50
|
|
|
50
51
|
/** @internal */
|
|
51
52
|
const isPulled = self => self._tag === OP_PULLED;
|
package/dist/{upstreamPullRequest-7a694281.cjs.dev.js → upstreamPullRequest-fc0d09a3.cjs.dev.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var Function_dist_effectFunction = require('../Function/dist/effect-Function.cjs.dev.js');
|
|
4
|
+
var Predicate_dist_effectPredicate = require('../Predicate/dist/effect-Predicate.cjs.dev.js');
|
|
4
5
|
|
|
5
6
|
/** @internal */
|
|
6
7
|
const OP_PULLED = "Pulled";
|
|
@@ -45,7 +46,7 @@ const NoUpstream = activeDownstreamCount => {
|
|
|
45
46
|
};
|
|
46
47
|
|
|
47
48
|
/** @internal */
|
|
48
|
-
const isUpstreamPullRequest = u =>
|
|
49
|
+
const isUpstreamPullRequest = u => Predicate_dist_effectPredicate.hasProperty(u, UpstreamPullRequestTypeId);
|
|
49
50
|
|
|
50
51
|
/** @internal */
|
|
51
52
|
const isPulled = self => self._tag === OP_PULLED;
|
package/dist/{upstreamPullStrategy-f9f1ab57.cjs.dev.js → upstreamPullStrategy-69f33916.cjs.dev.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var Function_dist_effectFunction = require('../Function/dist/effect-Function.cjs.dev.js');
|
|
4
|
+
var Predicate_dist_effectPredicate = require('../Predicate/dist/effect-Predicate.cjs.dev.js');
|
|
4
5
|
|
|
5
6
|
/** @internal */
|
|
6
7
|
const OP_PULL_AFTER_NEXT = "PullAfterNext";
|
|
@@ -45,7 +46,7 @@ const PullAfterAllEnqueued = emitSeparator => {
|
|
|
45
46
|
};
|
|
46
47
|
|
|
47
48
|
/** @internal */
|
|
48
|
-
const isUpstreamPullStrategy = u =>
|
|
49
|
+
const isUpstreamPullStrategy = u => Predicate_dist_effectPredicate.hasProperty(u, UpstreamPullStrategyTypeId);
|
|
49
50
|
|
|
50
51
|
/** @internal */
|
|
51
52
|
const isPullAfterNext = self => self._tag === OP_PULL_AFTER_NEXT;
|
package/dist/{upstreamPullStrategy-63cc8967.cjs.prod.js → upstreamPullStrategy-bf9f0ad1.cjs.prod.js}
RENAMED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var Function_dist_effectFunction = require('../Function/dist/effect-Function.cjs.prod.js');
|
|
4
|
+
var Predicate_dist_effectPredicate = require('../Predicate/dist/effect-Predicate.cjs.prod.js');
|
|
4
5
|
|
|
5
6
|
/** @internal */
|
|
6
7
|
const OP_PULL_AFTER_NEXT = "PullAfterNext";
|
|
@@ -45,7 +46,7 @@ const PullAfterAllEnqueued = emitSeparator => {
|
|
|
45
46
|
};
|
|
46
47
|
|
|
47
48
|
/** @internal */
|
|
48
|
-
const isUpstreamPullStrategy = u =>
|
|
49
|
+
const isUpstreamPullStrategy = u => Predicate_dist_effectPredicate.hasProperty(u, UpstreamPullStrategyTypeId);
|
|
49
50
|
|
|
50
51
|
/** @internal */
|
|
51
52
|
const isPullAfterNext = self => self._tag === OP_PULL_AFTER_NEXT;
|
package/internal/Context.esm.js
CHANGED
|
@@ -4,6 +4,7 @@ import { globalValue } from '../GlobalValue/dist/effect-GlobalValue.esm.js';
|
|
|
4
4
|
import { symbol as symbol$1, number } from '../Hash/dist/effect-Hash.esm.js';
|
|
5
5
|
import { toString, NodeInspectSymbol, toJSON } from '../Inspectable/dist/effect-Inspectable.esm.js';
|
|
6
6
|
import { pipeArguments } from '../Pipeable/dist/effect-Pipeable.esm.js';
|
|
7
|
+
import { hasProperty } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
7
8
|
import { EffectPrototype, effectVariance } from './Effectable.esm.js';
|
|
8
9
|
import { none, some } from './Option.esm.js';
|
|
9
10
|
|
|
@@ -137,10 +138,10 @@ const serviceNotFoundError = tag => {
|
|
|
137
138
|
};
|
|
138
139
|
|
|
139
140
|
/** @internal */
|
|
140
|
-
const isContext = u =>
|
|
141
|
+
const isContext = u => hasProperty(u, TypeId);
|
|
141
142
|
|
|
142
143
|
/** @internal */
|
|
143
|
-
const isTag = u =>
|
|
144
|
+
const isTag = u => hasProperty(u, TagTypeId);
|
|
144
145
|
const _empty = /*#__PURE__*/makeContext( /*#__PURE__*/new Map());
|
|
145
146
|
|
|
146
147
|
/** @internal */
|
|
@@ -3,6 +3,7 @@ import { symbol as symbol$1, random } from '../Hash/dist/effect-Hash.esm.js';
|
|
|
3
3
|
import { pipeArguments } from '../Pipeable/dist/effect-Pipeable.esm.js';
|
|
4
4
|
import { Structural } from './Data.esm.js';
|
|
5
5
|
import { OP_COMMIT } from './opCodes/effect.esm.js';
|
|
6
|
+
import { moduleVersion } from './version.esm.js';
|
|
6
7
|
|
|
7
8
|
/** @internal */
|
|
8
9
|
const EffectTypeId = /*#__PURE__*/Symbol.for("effect/Effect");
|
|
@@ -20,7 +21,8 @@ const ChannelTypeId = /*#__PURE__*/Symbol.for("effect/Channel");
|
|
|
20
21
|
const effectVariance = {
|
|
21
22
|
_R: _ => _,
|
|
22
23
|
_E: _ => _,
|
|
23
|
-
_A: _ => _
|
|
24
|
+
_A: _ => _,
|
|
25
|
+
_V: moduleVersion
|
|
24
26
|
};
|
|
25
27
|
|
|
26
28
|
/** @internal */
|
package/internal/Either.esm.js
CHANGED
|
@@ -3,6 +3,7 @@ import { dual } from '../Function/dist/effect-Function.esm.js';
|
|
|
3
3
|
import { symbol as symbol$1, combine, hash } from '../Hash/dist/effect-Hash.esm.js';
|
|
4
4
|
import { NodeInspectSymbol, toString, toJSON } from '../Inspectable/dist/effect-Inspectable.esm.js';
|
|
5
5
|
import { none, some, isNone } from './Option.esm.js';
|
|
6
|
+
import { hasProperty } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
6
7
|
import { EffectPrototype } from './Effectable.esm.js';
|
|
7
8
|
|
|
8
9
|
/**
|
|
@@ -61,7 +62,7 @@ const LeftProto = /*#__PURE__*/Object.assign( /*#__PURE__*/Object.create(CommonP
|
|
|
61
62
|
});
|
|
62
63
|
|
|
63
64
|
/** @internal */
|
|
64
|
-
const isEither = input =>
|
|
65
|
+
const isEither = input => hasProperty(input, TypeId);
|
|
65
66
|
|
|
66
67
|
/** @internal */
|
|
67
68
|
const isLeft = ma => ma._tag === "Left";
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { hasProperty } from '../../Predicate/dist/effect-Predicate.esm.js';
|
|
2
|
+
|
|
1
3
|
/** @internal */
|
|
2
4
|
const DecodeExceptionTypeId = /*#__PURE__*/Symbol.for("effect/Encoding/errors/Decode");
|
|
3
5
|
|
|
@@ -10,7 +12,7 @@ const DecodeException = (input, message) => ({
|
|
|
10
12
|
});
|
|
11
13
|
|
|
12
14
|
/** @internal */
|
|
13
|
-
const isDecodeException = u =>
|
|
15
|
+
const isDecodeException = u => hasProperty(u, DecodeExceptionTypeId);
|
|
14
16
|
|
|
15
17
|
/** @interal */
|
|
16
18
|
const encoder = /*#__PURE__*/new TextEncoder();
|
|
@@ -4,6 +4,7 @@ import { hashFragment, toBitmap, fromBitmap } from './bitwise.esm.js';
|
|
|
4
4
|
import { SIZE, MAX_INDEX_NODE, MIN_ARRAY_NODE } from './config.esm.js';
|
|
5
5
|
import { Stack } from '../Stack.esm.js';
|
|
6
6
|
import { none, isNone } from '../../Option/dist/effect-Option.esm.js';
|
|
7
|
+
import { isTagged } from '../../Predicate/dist/effect-Predicate.esm.js';
|
|
7
8
|
|
|
8
9
|
/** @internal */
|
|
9
10
|
|
|
@@ -22,7 +23,7 @@ class EmptyNode {
|
|
|
22
23
|
|
|
23
24
|
/** @internal */
|
|
24
25
|
function isEmptyNode(a) {
|
|
25
|
-
return
|
|
26
|
+
return isTagged(a, "EmptyNode");
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
/** @internal */
|
package/internal/HashMap.esm.js
CHANGED
|
@@ -7,7 +7,7 @@ import { SIZE } from './HashMap/config.esm.js';
|
|
|
7
7
|
import { isEmptyNode, EmptyNode } from './HashMap/node.esm.js';
|
|
8
8
|
import { none, isNone, isSome, some, map as map$1 } from '../Option/dist/effect-Option.esm.js';
|
|
9
9
|
import { pipeArguments } from '../Pipeable/dist/effect-Pipeable.esm.js';
|
|
10
|
-
import {
|
|
10
|
+
import { hasProperty } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
11
11
|
|
|
12
12
|
/** @internal */
|
|
13
13
|
const HashMapTypeId = /*#__PURE__*/Symbol.for("effect/HashMap");
|
|
@@ -146,7 +146,7 @@ const fromIterable = entries => {
|
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
/** @internal */
|
|
149
|
-
const isHashMap = u =>
|
|
149
|
+
const isHashMap = u => hasProperty(u, HashMapTypeId);
|
|
150
150
|
|
|
151
151
|
/** @internal */
|
|
152
152
|
const isEmpty = self => self && isEmptyNode(self._root);
|
package/internal/HashSet.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ import { symbol, combine, hash } from '../Hash/dist/effect-Hash.esm.js';
|
|
|
4
4
|
import { toString, toJSON, NodeInspectSymbol } from '../Inspectable/dist/effect-Inspectable.esm.js';
|
|
5
5
|
import { has as has$1, keys, size as size$1, beginMutation as beginMutation$1, set, remove as remove$1, forEach as forEach$1, reduce as reduce$1, empty as empty$1 } from './HashMap.esm.js';
|
|
6
6
|
import { pipeArguments } from '../Pipeable/dist/effect-Pipeable.esm.js';
|
|
7
|
-
import {
|
|
7
|
+
import { hasProperty } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
8
8
|
|
|
9
9
|
/** @internal */
|
|
10
10
|
const HashSetTypeId = /*#__PURE__*/Symbol.for("effect/HashSet");
|
|
@@ -50,7 +50,7 @@ const makeImpl = keyMap => {
|
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
/** @internal */
|
|
53
|
-
const isHashSet = u =>
|
|
53
|
+
const isHashSet = u => hasProperty(u, HashSetTypeId);
|
|
54
54
|
const _empty = /*#__PURE__*/makeImpl( /*#__PURE__*/empty$1());
|
|
55
55
|
|
|
56
56
|
/** @internal */
|
package/internal/Option.esm.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { symbol, equals } from '../Equal/dist/effect-Equal.esm.js';
|
|
2
2
|
import { symbol as symbol$1, combine, hash } from '../Hash/dist/effect-Hash.esm.js';
|
|
3
3
|
import { NodeInspectSymbol, toString, toJSON } from '../Inspectable/dist/effect-Inspectable.esm.js';
|
|
4
|
+
import { hasProperty } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
4
5
|
import { EffectPrototype } from './Effectable.esm.js';
|
|
5
6
|
|
|
6
7
|
/**
|
|
@@ -54,7 +55,7 @@ const NoneProto = /*#__PURE__*/Object.assign( /*#__PURE__*/Object.create(CommonP
|
|
|
54
55
|
});
|
|
55
56
|
|
|
56
57
|
/** @internal */
|
|
57
|
-
const isOption = input =>
|
|
58
|
+
const isOption = input => hasProperty(input, TypeId);
|
|
58
59
|
|
|
59
60
|
/** @internal */
|
|
60
61
|
const isNone = fa => fa._tag === "None";
|
|
@@ -8,7 +8,7 @@ import { Node, Color, repaint, recount, swap, clone } from './RedBlackTree/node.
|
|
|
8
8
|
import { Stack } from './Stack.esm.js';
|
|
9
9
|
import { some, none, isSome } from '../Option/dist/effect-Option.esm.js';
|
|
10
10
|
import { pipeArguments } from '../Pipeable/dist/effect-Pipeable.esm.js';
|
|
11
|
-
import {
|
|
11
|
+
import { hasProperty } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
12
12
|
|
|
13
13
|
const RedBlackTreeSymbolKey = "effect/RedBlackTree";
|
|
14
14
|
|
|
@@ -64,7 +64,7 @@ const makeImpl = (ord, root) => {
|
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
/** @internal */
|
|
67
|
-
const isRedBlackTree = u =>
|
|
67
|
+
const isRedBlackTree = u => hasProperty(u, RedBlackTreeTypeId);
|
|
68
68
|
|
|
69
69
|
/** @internal */
|
|
70
70
|
const empty = ord => makeImpl(ord, undefined);
|
|
@@ -3,6 +3,7 @@ import { equals } from '../Equal/dist/effect-Equal.esm.js';
|
|
|
3
3
|
import { empty as empty$2, make, reduce as reduce$2, set, get, isEmpty, keys, map } from '../HashMap/dist/effect-HashMap.esm.js';
|
|
4
4
|
import { of, isCons, cons, reduce as reduce$1, empty as empty$1, unsafeHead, unsafeTail, isNil, appendAll, reverse } from '../List/dist/effect-List.esm.js';
|
|
5
5
|
import { match } from '../Option/dist/effect-Option.esm.js';
|
|
6
|
+
import { hasProperty } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
6
7
|
|
|
7
8
|
/** @internal */
|
|
8
9
|
const empty = {
|
|
@@ -281,9 +282,7 @@ const blockedRequestVariance = {
|
|
|
281
282
|
};
|
|
282
283
|
|
|
283
284
|
/** @internal */
|
|
284
|
-
const isEntry = u =>
|
|
285
|
-
return typeof u === "object" && u != null && EntryTypeId in u;
|
|
286
|
-
};
|
|
285
|
+
const isEntry = u => hasProperty(u, EntryTypeId);
|
|
287
286
|
|
|
288
287
|
/** @internal */
|
|
289
288
|
const makeEntry = options => new EntryImpl(options.request, options.result, options.listeners, options.ownerId, options.state);
|
package/internal/cache.esm.js
CHANGED
|
@@ -10,6 +10,7 @@ import { size, get, has, set, remove, empty } from '../MutableHashMap/dist/effec
|
|
|
10
10
|
import { offer, poll, EmptyMutableQueue, unbounded } from '../MutableQueue/dist/effect-MutableQueue.esm.js';
|
|
11
11
|
import { compareAndSet, set as set$1, make as make$1 } from '../MutableRef/dist/effect-MutableRef.esm.js';
|
|
12
12
|
import { match, none, isSome, some, getOrUndefined } from '../Option/dist/effect-Option.esm.js';
|
|
13
|
+
import { hasProperty } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
13
14
|
import { map, sync, suspend, succeed, flatMap, asUnit, onInterrupt, zipRight, exit, provideContext, context, fiberId } from './core.esm.js';
|
|
14
15
|
import { clockWith, when } from './core-effect.esm.js';
|
|
15
16
|
import { struct } from './Data.esm.js';
|
|
@@ -89,7 +90,7 @@ class MapKeyImpl {
|
|
|
89
90
|
const makeMapKey = current => new MapKeyImpl(current);
|
|
90
91
|
|
|
91
92
|
/** @internal */
|
|
92
|
-
const isMapKey = u =>
|
|
93
|
+
const isMapKey = u => hasProperty(u, MapKeyTypeId);
|
|
93
94
|
|
|
94
95
|
/**
|
|
95
96
|
* A `KeySet` is a sorted set of keys in the cache ordered by last access.
|
package/internal/cause.esm.js
CHANGED
|
@@ -8,6 +8,7 @@ import { empty as empty$2, add, make, flatMap as flatMap$1, map as map$2, union,
|
|
|
8
8
|
import { toJSON, NodeInspectSymbol } from '../Inspectable/dist/effect-Inspectable.esm.js';
|
|
9
9
|
import { none, some, isSome, map as map$1, isNone, match as match$1, getOrUndefined } from '../Option/dist/effect-Option.esm.js';
|
|
10
10
|
import { pipeArguments } from '../Pipeable/dist/effect-Pipeable.esm.js';
|
|
11
|
+
import { hasProperty, isFunction } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
11
12
|
import { reduce as reduce$1 } from '../ReadonlyArray/dist/effect-ReadonlyArray.esm.js';
|
|
12
13
|
import { OP_EMPTY, OP_FAIL, OP_DIE, OP_INTERRUPT, OP_PARALLEL, OP_SEQUENTIAL } from './opCodes/cause.esm.js';
|
|
13
14
|
|
|
@@ -138,7 +139,7 @@ const sequential = (left, right) => {
|
|
|
138
139
|
// -----------------------------------------------------------------------------
|
|
139
140
|
|
|
140
141
|
/** @internal */
|
|
141
|
-
const isCause = u =>
|
|
142
|
+
const isCause = u => hasProperty(u, CauseTypeId);
|
|
142
143
|
|
|
143
144
|
/** @internal */
|
|
144
145
|
const isEmptyType = self => self._tag === OP_EMPTY;
|
|
@@ -890,9 +891,7 @@ const RuntimeException = /*#__PURE__*/makeException({
|
|
|
890
891
|
}, "RuntimeException");
|
|
891
892
|
|
|
892
893
|
/** @internal */
|
|
893
|
-
const isRuntimeException = u =>
|
|
894
|
-
return typeof u === "object" && u != null && RuntimeExceptionTypeId in u;
|
|
895
|
-
};
|
|
894
|
+
const isRuntimeException = u => hasProperty(u, RuntimeExceptionTypeId);
|
|
896
895
|
|
|
897
896
|
/** @internal */
|
|
898
897
|
const InterruptedExceptionTypeId = /*#__PURE__*/Symbol.for("effect/Cause/errors/InterruptedException");
|
|
@@ -903,9 +902,7 @@ const InterruptedException = /*#__PURE__*/makeException({
|
|
|
903
902
|
}, "InterruptedException");
|
|
904
903
|
|
|
905
904
|
/** @internal */
|
|
906
|
-
const isInterruptedException = u =>
|
|
907
|
-
return typeof u === "object" && u != null && InterruptedExceptionTypeId in u;
|
|
908
|
-
};
|
|
905
|
+
const isInterruptedException = u => hasProperty(u, InterruptedExceptionTypeId);
|
|
909
906
|
|
|
910
907
|
/** @internal */
|
|
911
908
|
const IllegalArgumentExceptionTypeId = /*#__PURE__*/Symbol.for("effect/Cause/errors/IllegalArgument");
|
|
@@ -916,9 +913,7 @@ const IllegalArgumentException = /*#__PURE__*/makeException({
|
|
|
916
913
|
}, "IllegalArgumentException");
|
|
917
914
|
|
|
918
915
|
/** @internal */
|
|
919
|
-
const isIllegalArgumentException = u =>
|
|
920
|
-
return typeof u === "object" && u != null && IllegalArgumentExceptionTypeId in u;
|
|
921
|
-
};
|
|
916
|
+
const isIllegalArgumentException = u => hasProperty(u, IllegalArgumentExceptionTypeId);
|
|
922
917
|
|
|
923
918
|
/** @internal */
|
|
924
919
|
const NoSuchElementExceptionTypeId = /*#__PURE__*/Symbol.for("effect/Cause/errors/NoSuchElement");
|
|
@@ -929,9 +924,7 @@ const NoSuchElementException = /*#__PURE__*/makeException({
|
|
|
929
924
|
}, "NoSuchElementException");
|
|
930
925
|
|
|
931
926
|
/** @internal */
|
|
932
|
-
const isNoSuchElementException = u =>
|
|
933
|
-
return typeof u === "object" && u != null && NoSuchElementExceptionTypeId in u;
|
|
934
|
-
};
|
|
927
|
+
const isNoSuchElementException = u => hasProperty(u, NoSuchElementExceptionTypeId);
|
|
935
928
|
|
|
936
929
|
/** @internal */
|
|
937
930
|
const InvalidPubSubCapacityExceptionTypeId = /*#__PURE__*/Symbol.for("effect/Cause/errors/InvalidPubSubCapacityException");
|
|
@@ -1021,7 +1014,7 @@ const prettyErrorMessage = u => {
|
|
|
1021
1014
|
return `Error: ${u}`;
|
|
1022
1015
|
}
|
|
1023
1016
|
// 2)
|
|
1024
|
-
if (
|
|
1017
|
+
if (hasProperty(u, "toString") && isFunction(u["toString"]) && u["toString"] !== Object.prototype.toString) {
|
|
1025
1018
|
return u["toString"]();
|
|
1026
1019
|
}
|
|
1027
1020
|
// 3)
|
|
@@ -1029,8 +1022,8 @@ const prettyErrorMessage = u => {
|
|
|
1029
1022
|
};
|
|
1030
1023
|
const spanSymbol = /*#__PURE__*/Symbol.for("effect/SpanAnnotation");
|
|
1031
1024
|
const defaultRenderError = error => {
|
|
1032
|
-
const span =
|
|
1033
|
-
if (
|
|
1025
|
+
const span = hasProperty(error, spanSymbol) && error[spanSymbol];
|
|
1026
|
+
if (error instanceof Error) {
|
|
1034
1027
|
return new PrettyError(prettyErrorMessage(error), error.stack?.split("\n").filter(_ => _.match(/at (.*)/)).join("\n"), span);
|
|
1035
1028
|
}
|
|
1036
1029
|
return new PrettyError(prettyErrorMessage(error), void 0, span);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { dual } from '../../Function/dist/effect-Function.esm.js';
|
|
2
|
+
import { hasProperty } from '../../Predicate/dist/effect-Predicate.esm.js';
|
|
2
3
|
import { OP_CONTINUE, OP_CLOSE, OP_YIELD } from '../opCodes/channelChildExecutorDecision.esm.js';
|
|
3
4
|
|
|
4
5
|
/** @internal */
|
|
@@ -35,7 +36,7 @@ const Yield = _ => {
|
|
|
35
36
|
};
|
|
36
37
|
|
|
37
38
|
/** @internal */
|
|
38
|
-
const isChildExecutorDecision = u =>
|
|
39
|
+
const isChildExecutorDecision = u => hasProperty(u, ChildExecutorDecisionTypeId);
|
|
39
40
|
|
|
40
41
|
/** @internal */
|
|
41
42
|
const isContinue = self => self._tag === OP_CONTINUE;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { dual } from '../../Function/dist/effect-Function.esm.js';
|
|
2
|
+
import { hasProperty } from '../../Predicate/dist/effect-Predicate.esm.js';
|
|
2
3
|
import { OP_DONE, OP_AWAIT } from '../opCodes/channelMergeDecision.esm.js';
|
|
3
4
|
|
|
4
5
|
/** @internal */
|
|
@@ -46,7 +47,7 @@ const Await = f => {
|
|
|
46
47
|
const AwaitConst = effect => Await(() => effect);
|
|
47
48
|
|
|
48
49
|
/** @internal */
|
|
49
|
-
const isMergeDecision = u =>
|
|
50
|
+
const isMergeDecision = u => hasProperty(u, MergeDecisionTypeId);
|
|
50
51
|
|
|
51
52
|
/** @internal */
|
|
52
53
|
const match = /*#__PURE__*/dual(2, (self, {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { dual } from '../../Function/dist/effect-Function.esm.js';
|
|
2
|
+
import { hasProperty } from '../../Predicate/dist/effect-Predicate.esm.js';
|
|
2
3
|
import { OP_BOTH_RUNNING, OP_LEFT_DONE, OP_RIGHT_DONE } from '../opCodes/channelMergeState.esm.js';
|
|
3
4
|
|
|
4
5
|
/** @internal */
|
|
@@ -38,9 +39,7 @@ const RightDone = f => {
|
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
/** @internal */
|
|
41
|
-
const isMergeState = u =>
|
|
42
|
-
return typeof u === "object" && u != null && MergeStateTypeId in u;
|
|
43
|
-
};
|
|
42
|
+
const isMergeState = u => hasProperty(u, MergeStateTypeId);
|
|
44
43
|
|
|
45
44
|
/** @internal */
|
|
46
45
|
const isBothRunning = self => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { dual } from '../../Function/dist/effect-Function.esm.js';
|
|
2
|
+
import { hasProperty } from '../../Predicate/dist/effect-Predicate.esm.js';
|
|
2
3
|
import { OP_BACK_PRESSURE, OP_BUFFER_SLIDING } from '../opCodes/channelMergeStrategy.esm.js';
|
|
3
4
|
|
|
4
5
|
/** @internal */
|
|
@@ -27,7 +28,7 @@ const BufferSliding = _ => {
|
|
|
27
28
|
};
|
|
28
29
|
|
|
29
30
|
/** @internal */
|
|
30
|
-
const isMergeStrategy = u =>
|
|
31
|
+
const isMergeStrategy = u => hasProperty(u, MergeStrategyTypeId);
|
|
31
32
|
|
|
32
33
|
/** @internal */
|
|
33
34
|
const isBackPressure = self => self._tag === OP_BACK_PRESSURE;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { dual } from '../../Function/dist/effect-Function.esm.js';
|
|
2
|
+
import { hasProperty } from '../../Predicate/dist/effect-Predicate.esm.js';
|
|
2
3
|
import { OP_PULLED, OP_NO_UPSTREAM } from '../opCodes/channelUpstreamPullRequest.esm.js';
|
|
3
4
|
|
|
4
5
|
/** @internal */
|
|
@@ -34,7 +35,7 @@ const NoUpstream = activeDownstreamCount => {
|
|
|
34
35
|
};
|
|
35
36
|
|
|
36
37
|
/** @internal */
|
|
37
|
-
const isUpstreamPullRequest = u =>
|
|
38
|
+
const isUpstreamPullRequest = u => hasProperty(u, UpstreamPullRequestTypeId);
|
|
38
39
|
|
|
39
40
|
/** @internal */
|
|
40
41
|
const isPulled = self => self._tag === OP_PULLED;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { dual } from '../../Function/dist/effect-Function.esm.js';
|
|
2
|
+
import { hasProperty } from '../../Predicate/dist/effect-Predicate.esm.js';
|
|
2
3
|
import { OP_PULL_AFTER_NEXT, OP_PULL_AFTER_ALL_ENQUEUED } from '../opCodes/channelUpstreamPullStrategy.esm.js';
|
|
3
4
|
|
|
4
5
|
/** @internal */
|
|
@@ -34,7 +35,7 @@ const PullAfterAllEnqueued = emitSeparator => {
|
|
|
34
35
|
};
|
|
35
36
|
|
|
36
37
|
/** @internal */
|
|
37
|
-
const isUpstreamPullStrategy = u =>
|
|
38
|
+
const isUpstreamPullStrategy = u => hasProperty(u, UpstreamPullStrategyTypeId);
|
|
38
39
|
|
|
39
40
|
/** @internal */
|
|
40
41
|
const isPullAfterNext = self => self._tag === OP_PULL_AFTER_NEXT;
|
package/internal/channel.esm.js
CHANGED
|
@@ -10,6 +10,7 @@ import { interrupt, join, await as _await$1 } from '../Fiber/dist/effect-Fiber.e
|
|
|
10
10
|
import { pipe, dual, constVoid, identity } from '../Function/dist/effect-Function.esm.js';
|
|
11
11
|
import { build, merge, context as context$2 } from '../Layer/dist/effect-Layer.esm.js';
|
|
12
12
|
import { match as match$1, none, some, isSome } from '../Option/dist/effect-Option.esm.js';
|
|
13
|
+
import { hasProperty } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
13
14
|
import { subscribe } from '../PubSub/dist/effect-PubSub.esm.js';
|
|
14
15
|
import { take, bounded, shutdown, offer, unbounded, size } from '../Queue/dist/effect-Queue.esm.js';
|
|
15
16
|
import { make, get, set, modify, update } from '../Ref/dist/effect-Ref.esm.js';
|
|
@@ -642,6 +643,6 @@ const ChannelException = error => ({
|
|
|
642
643
|
});
|
|
643
644
|
|
|
644
645
|
/** @internal */
|
|
645
|
-
const isChannelException = u =>
|
|
646
|
+
const isChannelException = u => hasProperty(u, ChannelExceptionTypeId);
|
|
646
647
|
|
|
647
648
|
export { ChannelException, ChannelExceptionTypeId, acquireUseRelease, as, asUnit, buffer, bufferChunk, catchAll, collect, concatMap, concatOut, context, contextWith, contextWithChannel, contextWithEffect, doneCollect, drain, emitCollect, ensuring, flatten, foldChannel, fromEither, fromInput, fromOption, fromPubSub, fromPubSubScoped, fromQueue, identityChannel, interruptWhen, interruptWhenDeferred, isChannelException, map, mapEffect, mapError, mapErrorCause, mapInput, mapInputContext, mapInputEffect, mapInputError, mapInputErrorEffect, mapInputIn, mapInputInEffect, mapOut, mapOutEffect, mapOutEffectPar, mergeAll, mergeAllUnbounded, mergeAllUnboundedWith, mergeAllWith, mergeMap, mergeOut, mergeOutWith, mergeWith, never, orDie, orDieWith, orElse, pipeToOrFail, provideLayer, provideService, provideSomeLayer, read, repeated, run, runCollect, runDrain, scoped, toPubSub, toPull, toQueue, unwrap, unwrapScoped, updateService, withSpan, writeAll, writeChunk, zip, zipLeft, zipRight };
|
package/internal/clock.esm.js
CHANGED
|
@@ -2,6 +2,7 @@ import { Tag } from '../Context/dist/effect-Context.esm.js';
|
|
|
2
2
|
import { toMillis } from '../Duration/dist/effect-Duration.esm.js';
|
|
3
3
|
import { left } from '../Either/dist/effect-Either.esm.js';
|
|
4
4
|
import { constFalse } from '../Function/dist/effect-Function.esm.js';
|
|
5
|
+
import { hasProperty, isFunction } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
5
6
|
import { sync, succeed, asyncEither, unit, asUnit } from './core.esm.js';
|
|
6
7
|
import { set, clear } from './timeout.esm.js';
|
|
7
8
|
|
|
@@ -42,11 +43,11 @@ const performanceNowNanos = /*#__PURE__*/function () {
|
|
|
42
43
|
if (typeof performance === "undefined") {
|
|
43
44
|
return () => BigInt(Date.now()) * bigint1e6;
|
|
44
45
|
}
|
|
45
|
-
const origin = "timeOrigin" in performance && typeof performance.timeOrigin === "number" ? /*#__PURE__*/BigInt( /*#__PURE__*/Math.round(performance.timeOrigin * 1_000_000)) : /*#__PURE__*/BigInt( /*#__PURE__*/Date.now()) * bigint1e6;
|
|
46
|
+
const origin = "timeOrigin" in performance && typeof performance.timeOrigin === "number" ? /*#__PURE__*/BigInt( /*#__PURE__*/Math.round(performance.timeOrigin * 1_000_000)) : /*#__PURE__*/BigInt( /*#__PURE__*/Date.now()) * bigint1e6 - /*#__PURE__*/BigInt( /*#__PURE__*/Math.round( /*#__PURE__*/performance.now() * 1_000_000));
|
|
46
47
|
return () => origin + BigInt(Math.round(performance.now() * 1_000_000));
|
|
47
48
|
}();
|
|
48
49
|
const processOrPerformanceNow = /*#__PURE__*/function () {
|
|
49
|
-
const processHrtime =
|
|
50
|
+
const processHrtime = /*#__PURE__*/hasProperty(process, "hrtime") && /*#__PURE__*/isFunction(process.hrtime.bigint) ? process.hrtime : undefined;
|
|
50
51
|
if (!processHrtime) {
|
|
51
52
|
return performanceNowNanos;
|
|
52
53
|
}
|
package/internal/config.esm.js
CHANGED
|
@@ -9,6 +9,7 @@ import { allLogLevels } from './core.esm.js';
|
|
|
9
9
|
import { OP_FAIL, OP_MAP_OR_FAIL, OP_NESTED, OP_FALLBACK, OP_PRIMITIVE, OP_SEQUENCE, OP_CONSTANT, OP_LAZY, OP_HASHMAP, OP_DESCRIBED, OP_ZIP_WITH } from './opCodes/config.esm.js';
|
|
10
10
|
import { some, none } from '../Option/dist/effect-Option.esm.js';
|
|
11
11
|
import { pipeArguments } from '../Pipeable/dist/effect-Pipeable.esm.js';
|
|
12
|
+
import { hasProperty } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
12
13
|
|
|
13
14
|
/** @internal */
|
|
14
15
|
const ConfigSymbolKey = "effect/Config";
|
|
@@ -304,7 +305,7 @@ const hashMap = (config, name) => {
|
|
|
304
305
|
};
|
|
305
306
|
|
|
306
307
|
/** @internal */
|
|
307
|
-
const isConfig = u =>
|
|
308
|
+
const isConfig = u => hasProperty(u, ConfigTypeId);
|
|
308
309
|
|
|
309
310
|
/** @internal */
|
|
310
311
|
const tuple = tuple => {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { right, left } from '../Either/dist/effect-Either.esm.js';
|
|
2
2
|
import { pipe, dual, constFalse, constTrue } from '../Function/dist/effect-Function.esm.js';
|
|
3
3
|
import { OP_AND, OP_OR, OP_INVALID_DATA, OP_MISSING_DATA, OP_SOURCE_UNAVAILABLE, OP_UNSUPPORTED } from './opCodes/configError.esm.js';
|
|
4
|
+
import { hasProperty } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
4
5
|
import { join } from '../ReadonlyArray/dist/effect-ReadonlyArray.esm.js';
|
|
5
6
|
|
|
6
7
|
/** @internal */
|
|
@@ -118,7 +119,7 @@ const Unsupported = (path, message, options = {
|
|
|
118
119
|
};
|
|
119
120
|
|
|
120
121
|
/** @internal */
|
|
121
|
-
const isConfigError = u =>
|
|
122
|
+
const isConfigError = u => hasProperty(u, ConfigErrorTypeId);
|
|
122
123
|
|
|
123
124
|
/** @internal */
|
|
124
125
|
const isAnd = self => self._tag === OP_AND;
|
|
@@ -2,6 +2,7 @@ import { toReadonlyArray } from '../Chunk/dist/effect-Chunk.esm.js';
|
|
|
2
2
|
import { symbol as symbol$1, equals } from '../Equal/dist/effect-Equal.esm.js';
|
|
3
3
|
import { pipe } from '../Function/dist/effect-Function.esm.js';
|
|
4
4
|
import { symbol, combine, array, hash } from '../Hash/dist/effect-Hash.esm.js';
|
|
5
|
+
import { hasProperty } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
5
6
|
|
|
6
7
|
/** @internal */
|
|
7
8
|
const ConfigSecretSymbolKey = "effect/ConfigSecret";
|
|
@@ -21,9 +22,7 @@ const proto = {
|
|
|
21
22
|
};
|
|
22
23
|
|
|
23
24
|
/** @internal */
|
|
24
|
-
const isConfigSecret = u =>
|
|
25
|
-
return typeof u === "object" && u != null && ConfigSecretTypeId in u;
|
|
26
|
-
};
|
|
25
|
+
const isConfigSecret = u => hasProperty(u, ConfigSecretTypeId);
|
|
27
26
|
|
|
28
27
|
/** @internal */
|
|
29
28
|
const make = bytes => {
|
|
@@ -20,7 +20,7 @@ import { prepend, empty as empty$2 } from '../List/dist/effect-List.esm.js';
|
|
|
20
20
|
import { Trace, Debug, Info, Warning, Error, Fatal } from '../LogLevel/dist/effect-LogLevel.esm.js';
|
|
21
21
|
import { make } from '../LogSpan/dist/effect-LogSpan.esm.js';
|
|
22
22
|
import { some, none as none$2, match as match$1, fromNullable as fromNullable$1 } from '../Option/dist/effect-Option.esm.js';
|
|
23
|
-
import { isTagged,
|
|
23
|
+
import { hasProperty, isTagged, isString } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
24
24
|
import { fromIterable, reduce as reduce$1 } from '../ReadonlyArray/dist/effect-ReadonlyArray.esm.js';
|
|
25
25
|
import { make as make$1, getAndSet, get } from '../Ref/dist/effect-Ref.esm.js';
|
|
26
26
|
import { tracerWith as tracerWith$1 } from '../Tracer/dist/effect-Tracer.esm.js';
|
|
@@ -75,7 +75,7 @@ const try_ = arg => {
|
|
|
75
75
|
const _catch = /*#__PURE__*/dual(
|
|
76
76
|
// @ts-expect-error
|
|
77
77
|
3, (self, tag, options) => catchAll(self, e => {
|
|
78
|
-
if (
|
|
78
|
+
if (hasProperty(e, tag) && e[tag] === options.failure) {
|
|
79
79
|
return options.onFailure(e);
|
|
80
80
|
}
|
|
81
81
|
return fail$1(e);
|
|
@@ -138,7 +138,7 @@ const catchTags = /*#__PURE__*/dual(2, (self, cases) => {
|
|
|
138
138
|
let keys;
|
|
139
139
|
return catchIf(self, e => {
|
|
140
140
|
keys ??= Object.keys(cases);
|
|
141
|
-
return
|
|
141
|
+
return hasProperty(e, "_tag") && isString(e["_tag"]) && keys.includes(e["_tag"]);
|
|
142
142
|
}, e => cases[e["_tag"]](e));
|
|
143
143
|
});
|
|
144
144
|
|