effect 2.0.0-next.47 → 2.0.0-next.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/BigInt/dist/effect-BigInt.cjs.d.mts +2 -0
- package/BigInt/dist/effect-BigInt.cjs.d.mts.map +1 -0
- package/BigInt/dist/effect-BigInt.cjs.d.ts +2 -0
- package/BigInt/dist/effect-BigInt.cjs.d.ts.map +1 -0
- package/{Bigint/dist/effect-Bigint.cjs.dev.js → BigInt/dist/effect-BigInt.cjs.dev.js} +30 -30
- package/BigInt/dist/effect-BigInt.cjs.js +7 -0
- package/{Bigint/dist/effect-Bigint.cjs.mjs → BigInt/dist/effect-BigInt.cjs.mjs} +2 -2
- package/{Bigint/dist/effect-Bigint.cjs.prod.js → BigInt/dist/effect-BigInt.cjs.prod.js} +30 -30
- package/{Bigint/dist/effect-Bigint.esm.js → BigInt/dist/effect-BigInt.esm.js} +28 -28
- package/BigInt/package.json +4 -0
- package/Brand/dist/effect-Brand.cjs.dev.js +3 -3
- package/Brand/dist/effect-Brand.cjs.prod.js +3 -3
- package/Cache/dist/effect-Cache.cjs.dev.js +28 -28
- package/Cache/dist/effect-Cache.cjs.prod.js +28 -28
- package/Cause/dist/effect-Cause.cjs.dev.js +8 -8
- package/Cause/dist/effect-Cause.cjs.prod.js +8 -8
- package/Channel/dist/effect-Channel.cjs.dev.js +50 -41
- package/Channel/dist/effect-Channel.cjs.mjs +1 -0
- package/Channel/dist/effect-Channel.cjs.prod.js +50 -41
- package/Channel/dist/effect-Channel.esm.js +10 -2
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.dev.js +36 -38
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.prod.js +36 -38
- package/Chunk/dist/effect-Chunk.cjs.dev.js +13 -4
- package/Chunk/dist/effect-Chunk.cjs.mjs +1 -0
- package/Chunk/dist/effect-Chunk.cjs.prod.js +13 -4
- package/Chunk/dist/effect-Chunk.esm.js +10 -2
- package/Clock/dist/effect-Clock.cjs.dev.js +14 -14
- package/Clock/dist/effect-Clock.cjs.prod.js +14 -14
- package/Config/dist/effect-Config.cjs.dev.js +11 -11
- package/Config/dist/effect-Config.cjs.prod.js +11 -11
- package/ConfigError/dist/effect-ConfigError.cjs.dev.js +4 -4
- package/ConfigError/dist/effect-ConfigError.cjs.prod.js +4 -4
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.dev.js +13 -13
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.prod.js +13 -13
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.dev.js +5 -5
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.prod.js +5 -5
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.dev.js +4 -4
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.prod.js +4 -4
- package/Console/dist/effect-Console.cjs.dev.js +32 -32
- package/Console/dist/effect-Console.cjs.prod.js +32 -32
- package/Context/dist/effect-Context.cjs.dev.js +3 -3
- package/Context/dist/effect-Context.cjs.prod.js +3 -3
- package/Data/dist/effect-Data.cjs.dev.js +50 -46
- package/Data/dist/effect-Data.cjs.prod.js +50 -46
- package/Data/dist/effect-Data.esm.js +11 -5
- package/DefaultServices/dist/effect-DefaultServices.cjs.dev.js +14 -14
- package/DefaultServices/dist/effect-DefaultServices.cjs.prod.js +14 -14
- package/Deferred/dist/effect-Deferred.cjs.dev.js +8 -8
- package/Deferred/dist/effect-Deferred.cjs.prod.js +8 -8
- package/Differ/dist/effect-Differ.cjs.dev.js +5 -5
- package/Differ/dist/effect-Differ.cjs.prod.js +5 -5
- package/Duration/dist/effect-Duration.cjs.dev.js +4 -4
- package/Duration/dist/effect-Duration.cjs.prod.js +4 -4
- package/Duration/dist/effect-Duration.esm.js +2 -2
- package/Effect/dist/effect-Effect.cjs.dev.js +67 -136
- package/Effect/dist/effect-Effect.cjs.mjs +2 -11
- package/Effect/dist/effect-Effect.cjs.prod.js +67 -136
- package/Effect/dist/effect-Effect.esm.js +30 -90
- package/Effectable/dist/effect-Effectable.cjs.dev.js +1 -1
- package/Effectable/dist/effect-Effectable.cjs.prod.js +1 -1
- package/Either/dist/effect-Either.cjs.dev.js +17 -3
- package/Either/dist/effect-Either.cjs.mjs +3 -1
- package/Either/dist/effect-Either.cjs.prod.js +17 -3
- package/Either/dist/effect-Either.esm.js +13 -1
- package/Encoding/dist/effect-Encoding.cjs.dev.js +3 -3
- package/Encoding/dist/effect-Encoding.cjs.prod.js +3 -3
- package/Exit/dist/effect-Exit.cjs.dev.js +8 -8
- package/Exit/dist/effect-Exit.cjs.prod.js +8 -8
- package/Fiber/dist/effect-Fiber.cjs.dev.js +29 -29
- package/Fiber/dist/effect-Fiber.cjs.prod.js +29 -29
- package/FiberId/dist/effect-FiberId.cjs.dev.js +5 -5
- package/FiberId/dist/effect-FiberId.cjs.prod.js +5 -5
- package/FiberRef/dist/effect-FiberRef.cjs.dev.js +29 -29
- package/FiberRef/dist/effect-FiberRef.cjs.prod.js +29 -29
- package/FiberRefs/dist/effect-FiberRefs.cjs.dev.js +9 -9
- package/FiberRefs/dist/effect-FiberRefs.cjs.prod.js +9 -9
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.dev.js +10 -10
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.prod.js +10 -10
- package/GroupBy/dist/effect-GroupBy.cjs.dev.js +43 -43
- package/GroupBy/dist/effect-GroupBy.cjs.prod.js +43 -43
- package/HashMap/dist/effect-HashMap.cjs.dev.js +4 -4
- package/HashMap/dist/effect-HashMap.cjs.prod.js +4 -4
- package/HashSet/dist/effect-HashSet.cjs.dev.js +4 -4
- package/HashSet/dist/effect-HashSet.cjs.prod.js +4 -4
- package/KeyedPool/dist/effect-KeyedPool.cjs.dev.js +29 -29
- package/KeyedPool/dist/effect-KeyedPool.cjs.prod.js +29 -29
- package/Layer/dist/effect-Layer.cjs.dev.js +151 -52
- package/Layer/dist/effect-Layer.cjs.mjs +12 -0
- package/Layer/dist/effect-Layer.cjs.prod.js +151 -52
- package/Layer/dist/effect-Layer.esm.js +92 -2
- package/List/dist/effect-List.cjs.dev.js +10 -3
- package/List/dist/effect-List.cjs.mjs +1 -0
- package/List/dist/effect-List.cjs.prod.js +10 -3
- package/List/dist/effect-List.esm.js +7 -1
- package/LogLevel/dist/effect-LogLevel.cjs.dev.js +8 -8
- package/LogLevel/dist/effect-LogLevel.cjs.prod.js +8 -8
- package/Logger/dist/effect-Logger.cjs.dev.js +33 -39
- package/Logger/dist/effect-Logger.cjs.prod.js +33 -39
- package/Logger/dist/effect-Logger.esm.js +0 -5
- package/Match/dist/effect-Match.cjs.d.mts +2 -0
- package/Match/dist/effect-Match.cjs.d.mts.map +1 -0
- package/Match/dist/effect-Match.cjs.d.ts +2 -0
- package/Match/dist/effect-Match.cjs.d.ts.map +1 -0
- package/Match/dist/effect-Match.cjs.dev.js +620 -0
- package/Match/dist/effect-Match.cjs.js +7 -0
- package/Match/dist/effect-Match.cjs.mjs +39 -0
- package/Match/dist/effect-Match.cjs.prod.js +620 -0
- package/Match/dist/effect-Match.esm.js +258 -0
- package/Match/package.json +4 -0
- package/Metric/dist/effect-Metric.cjs.dev.js +115 -33
- package/Metric/dist/effect-Metric.cjs.prod.js +115 -33
- package/Metric/dist/effect-Metric.esm.js +88 -6
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.dev.js +4 -4
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.prod.js +4 -4
- package/MetricHook/dist/effect-MetricHook.cjs.dev.js +6 -6
- package/MetricHook/dist/effect-MetricHook.cjs.prod.js +6 -6
- package/MetricKey/dist/effect-MetricKey.cjs.dev.js +7 -7
- package/MetricKey/dist/effect-MetricKey.cjs.prod.js +7 -7
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.dev.js +4 -4
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.prod.js +4 -4
- package/MetricLabel/dist/effect-MetricLabel.cjs.dev.js +1 -1
- package/MetricLabel/dist/effect-MetricLabel.cjs.prod.js +1 -1
- package/MetricPolling/dist/effect-MetricPolling.cjs.dev.js +29 -29
- package/MetricPolling/dist/effect-MetricPolling.cjs.prod.js +29 -29
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.dev.js +8 -8
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.prod.js +8 -8
- package/MetricState/dist/effect-MetricState.cjs.dev.js +1 -1
- package/MetricState/dist/effect-MetricState.cjs.prod.js +1 -1
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.dev.js +4 -4
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.prod.js +4 -4
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.dev.js +4 -4
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.prod.js +4 -4
- package/MutableQueue/dist/effect-MutableQueue.cjs.dev.js +3 -3
- package/MutableQueue/dist/effect-MutableQueue.cjs.prod.js +3 -3
- package/Option/dist/effect-Option.cjs.dev.js +3 -3
- package/Option/dist/effect-Option.cjs.prod.js +3 -3
- package/Pool/dist/effect-Pool.cjs.dev.js +29 -29
- package/Pool/dist/effect-Pool.cjs.prod.js +29 -29
- package/Predicate/dist/effect-Predicate.cjs.dev.js +5 -5
- package/Predicate/dist/effect-Predicate.cjs.mjs +1 -1
- package/Predicate/dist/effect-Predicate.cjs.prod.js +5 -5
- package/Predicate/dist/effect-Predicate.esm.js +5 -5
- package/PubSub/dist/effect-PubSub.cjs.dev.js +28 -28
- package/PubSub/dist/effect-PubSub.cjs.prod.js +28 -28
- package/Queue/dist/effect-Queue.cjs.dev.js +28 -28
- package/Queue/dist/effect-Queue.cjs.prod.js +28 -28
- package/README.md +23 -0
- package/Random/dist/effect-Random.cjs.dev.js +14 -14
- package/Random/dist/effect-Random.cjs.prod.js +14 -14
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.dev.js +3 -3
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js +3 -3
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.dev.js +3 -3
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.prod.js +3 -3
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.dev.js +3 -3
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.prod.js +3 -3
- package/Ref/dist/effect-Ref.cjs.dev.js +9 -9
- package/Ref/dist/effect-Ref.cjs.prod.js +9 -9
- package/Reloadable/dist/effect-Reloadable.cjs.dev.js +33 -33
- package/Reloadable/dist/effect-Reloadable.cjs.prod.js +33 -33
- package/Request/dist/effect-Request.cjs.dev.js +28 -28
- package/Request/dist/effect-Request.cjs.prod.js +28 -28
- package/RequestBlock/dist/effect-RequestBlock.cjs.dev.js +36 -38
- package/RequestBlock/dist/effect-RequestBlock.cjs.prod.js +36 -38
- package/RequestResolver/dist/effect-RequestResolver.cjs.dev.js +42 -44
- package/RequestResolver/dist/effect-RequestResolver.cjs.prod.js +42 -44
- package/Resource/dist/effect-Resource.cjs.dev.js +31 -31
- package/Resource/dist/effect-Resource.cjs.prod.js +31 -31
- package/Runtime/dist/effect-Runtime.cjs.dev.js +30 -30
- package/Runtime/dist/effect-Runtime.cjs.prod.js +30 -30
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.dev.js +33 -34
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.prod.js +33 -34
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.dev.js +6 -6
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.prod.js +6 -6
- package/STM/dist/effect-STM.cjs.dev.js +45 -45
- package/STM/dist/effect-STM.cjs.prod.js +45 -45
- package/Schedule/dist/effect-Schedule.cjs.dev.js +20 -20
- package/Schedule/dist/effect-Schedule.cjs.prod.js +20 -20
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.dev.js +3 -3
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.prod.js +3 -3
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.dev.js +3 -3
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.prod.js +3 -3
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.dev.js +3 -3
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.prod.js +3 -3
- package/Scheduler/dist/effect-Scheduler.cjs.dev.js +8 -8
- package/Scheduler/dist/effect-Scheduler.cjs.prod.js +8 -8
- package/Scope/dist/effect-Scope.cjs.dev.js +27 -27
- package/Scope/dist/effect-Scope.cjs.prod.js +27 -27
- package/ScopedCache/dist/effect-ScopedCache.cjs.dev.js +34 -36
- package/ScopedCache/dist/effect-ScopedCache.cjs.prod.js +34 -36
- package/ScopedRef/dist/effect-ScopedRef.cjs.dev.js +31 -31
- package/ScopedRef/dist/effect-ScopedRef.cjs.prod.js +31 -31
- package/Sink/dist/effect-Sink.cjs.dev.js +39 -39
- package/Sink/dist/effect-Sink.cjs.prod.js +39 -39
- package/SortedMap/dist/effect-SortedMap.cjs.dev.js +3 -3
- package/SortedMap/dist/effect-SortedMap.cjs.prod.js +3 -3
- package/SortedSet/dist/effect-SortedSet.cjs.dev.js +3 -3
- package/SortedSet/dist/effect-SortedSet.cjs.prod.js +3 -3
- package/Stream/dist/effect-Stream.cjs.dev.js +43 -43
- package/Stream/dist/effect-Stream.cjs.prod.js +43 -43
- package/Streamable/dist/effect-Streamable.cjs.dev.js +43 -43
- package/Streamable/dist/effect-Streamable.cjs.prod.js +43 -43
- package/String/dist/effect-String.cjs.dev.js +3 -3
- package/String/dist/effect-String.cjs.prod.js +3 -3
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.dev.js +46 -46
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.prod.js +46 -46
- package/Supervisor/dist/effect-Supervisor.cjs.dev.js +33 -34
- package/Supervisor/dist/effect-Supervisor.cjs.prod.js +33 -34
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.dev.js +30 -30
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.prod.js +30 -30
- package/TArray/dist/effect-TArray.cjs.dev.js +47 -47
- package/TArray/dist/effect-TArray.cjs.prod.js +47 -47
- package/TDeferred/dist/effect-TDeferred.cjs.dev.js +46 -46
- package/TDeferred/dist/effect-TDeferred.cjs.prod.js +46 -46
- package/TMap/dist/effect-TMap.cjs.dev.js +48 -48
- package/TMap/dist/effect-TMap.cjs.prod.js +48 -48
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.dev.js +45 -45
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.prod.js +45 -45
- package/TPubSub/dist/effect-TPubSub.cjs.dev.js +50 -50
- package/TPubSub/dist/effect-TPubSub.cjs.prod.js +50 -50
- package/TQueue/dist/effect-TQueue.cjs.dev.js +47 -47
- package/TQueue/dist/effect-TQueue.cjs.prod.js +47 -47
- package/TRandom/dist/effect-TRandom.cjs.dev.js +46 -46
- package/TRandom/dist/effect-TRandom.cjs.prod.js +46 -46
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.dev.js +50 -50
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.prod.js +50 -50
- package/TRef/dist/effect-TRef.cjs.dev.js +47 -47
- package/TRef/dist/effect-TRef.cjs.mjs +0 -1
- package/TRef/dist/effect-TRef.cjs.prod.js +47 -47
- package/TRef/dist/effect-TRef.esm.js +3 -2
- package/TSemaphore/dist/effect-TSemaphore.cjs.dev.js +46 -46
- package/TSemaphore/dist/effect-TSemaphore.cjs.prod.js +46 -46
- package/TSet/dist/effect-TSet.cjs.dev.js +48 -48
- package/TSet/dist/effect-TSet.cjs.prod.js +48 -48
- package/Take/dist/effect-Take.cjs.dev.js +36 -38
- package/Take/dist/effect-Take.cjs.prod.js +36 -38
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.dev.js +5 -5
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.prod.js +5 -5
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.dev.js +20 -20
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.prod.js +20 -20
- package/TestClock/dist/effect-TestClock.cjs.dev.js +32 -32
- package/TestClock/dist/effect-TestClock.cjs.prod.js +32 -32
- package/TestConfig/dist/effect-TestConfig.cjs.dev.js +3 -3
- package/TestConfig/dist/effect-TestConfig.cjs.prod.js +3 -3
- package/TestContext/dist/effect-TestContext.cjs.dev.js +34 -36
- package/TestContext/dist/effect-TestContext.cjs.prod.js +34 -36
- package/TestLive/dist/effect-TestLive.cjs.dev.js +14 -14
- package/TestLive/dist/effect-TestLive.cjs.prod.js +14 -14
- package/TestServices/dist/effect-TestServices.cjs.dev.js +40 -42
- package/TestServices/dist/effect-TestServices.cjs.prod.js +40 -42
- package/TestSized/dist/effect-TestSized.cjs.dev.js +8 -8
- package/TestSized/dist/effect-TestSized.cjs.prod.js +8 -8
- package/Tracer/dist/effect-Tracer.cjs.dev.js +20 -18
- package/Tracer/dist/effect-Tracer.cjs.mjs +1 -0
- package/Tracer/dist/effect-Tracer.cjs.prod.js +20 -18
- package/Tracer/dist/effect-Tracer.esm.js +7 -6
- package/dist/{Context-da73ddfa.cjs.dev.js → Context-607e9b4c.cjs.dev.js} +2 -2
- package/dist/{Context-9fe5eb16.cjs.prod.js → Context-c91d8ca0.cjs.prod.js} +2 -2
- package/dist/{Either-d43f082c.cjs.prod.js → Either-a3f96c60.cjs.prod.js} +2 -2
- package/dist/{Either-fa0ef1d9.cjs.dev.js → Either-e7500e90.cjs.dev.js} +2 -2
- package/dist/{Option-463b42e6.cjs.dev.js → Option-01caa9d4.cjs.dev.js} +1 -1
- package/dist/{Option-935e5d7c.cjs.prod.js → Option-dd52e82a.cjs.prod.js} +1 -1
- package/dist/{Ref-4014b526.cjs.prod.js → Ref-23b67ad9.cjs.prod.js} +1 -1
- package/dist/{Ref-acdee7ef.cjs.dev.js → Ref-c75b5362.cjs.dev.js} +1 -1
- package/dist/{cache-5c7d77e4.cjs.prod.js → cache-7b144c1f.cjs.prod.js} +5 -5
- package/dist/{cache-7eed9d33.cjs.dev.js → cache-e3d6cc01.cjs.dev.js} +5 -5
- package/dist/{circular-9e10a5a7.cjs.prod.js → circular-105d525c.cjs.prod.js} +8 -9
- package/dist/{circular-1f481ffb.cjs.prod.js → circular-3761aff7.cjs.prod.js} +7 -7
- package/dist/{circular-c2dbce1a.cjs.dev.js → circular-8baf0205.cjs.dev.js} +7 -7
- package/dist/{circular-c8b65bdb.cjs.dev.js → circular-cbfc1699.cjs.dev.js} +8 -9
- package/dist/{config-5ba54da1.cjs.prod.js → config-6a5f97fe.cjs.prod.js} +3 -3
- package/dist/{config-3b7935a3.cjs.dev.js → config-887520b4.cjs.dev.js} +3 -3
- package/dist/{configProvider-b6b20998.cjs.prod.js → configProvider-098f7113.cjs.prod.js} +4 -4
- package/dist/{configProvider-f34a82f1.cjs.dev.js → configProvider-8567470d.cjs.dev.js} +4 -4
- package/dist/{core-b7401357.cjs.dev.js → core-6815193e.cjs.dev.js} +5 -4
- package/dist/{core-84e608f0.cjs.prod.js → core-8072a539.cjs.prod.js} +3 -3
- package/dist/{core-07202cc0.cjs.prod.js → core-84667e8d.cjs.prod.js} +5 -4
- package/dist/{core-c01fd1d8.cjs.dev.js → core-e6f9fdbe.cjs.dev.js} +3 -3
- package/dist/{core-effect-9201ea63.cjs.prod.js → core-effect-520abd3d.cjs.prod.js} +8 -8
- package/dist/{core-effect-1c564d42.cjs.dev.js → core-effect-5700daea.cjs.dev.js} +8 -8
- package/dist/{dataSource-b5eda714.cjs.dev.js → dataSource-0ca8ef42.cjs.dev.js} +2 -2
- package/dist/{dataSource-b83bc277.cjs.prod.js → dataSource-17adc342.cjs.prod.js} +2 -2
- package/dist/declarations/src/{Bigint.d.ts → BigInt.d.ts} +27 -27
- package/dist/declarations/src/{Bigint.d.ts.map → BigInt.d.ts.map} +1 -1
- package/dist/declarations/src/Channel.d.ts +11 -2
- package/dist/declarations/src/Channel.d.ts.map +1 -1
- package/dist/declarations/src/Chunk.d.ts +11 -1
- package/dist/declarations/src/Chunk.d.ts.map +1 -1
- package/dist/declarations/src/Data.d.ts +6 -7
- package/dist/declarations/src/Data.d.ts.map +1 -1
- package/dist/declarations/src/Effect.d.ts +67 -102
- package/dist/declarations/src/Effect.d.ts.map +1 -1
- package/dist/declarations/src/Either.d.ts +16 -0
- package/dist/declarations/src/Either.d.ts.map +1 -1
- package/dist/declarations/src/FiberRef.d.ts +2 -2
- package/dist/declarations/src/FiberRef.d.ts.map +1 -1
- package/dist/declarations/src/HashMap.d.ts +30 -0
- package/dist/declarations/src/HashMap.d.ts.map +1 -1
- package/dist/declarations/src/Layer.d.ts +98 -3
- package/dist/declarations/src/Layer.d.ts.map +1 -1
- package/dist/declarations/src/List.d.ts +8 -0
- package/dist/declarations/src/List.d.ts.map +1 -1
- package/dist/declarations/src/Logger.d.ts +2 -7
- package/dist/declarations/src/Logger.d.ts.map +1 -1
- package/dist/declarations/src/Match.d.ts +420 -0
- package/dist/declarations/src/Match.d.ts.map +1 -0
- package/dist/declarations/src/Metric.d.ts +88 -6
- package/dist/declarations/src/Metric.d.ts.map +1 -1
- package/dist/declarations/src/Predicate.d.ts +4 -4
- package/dist/declarations/src/Stream.d.ts +4 -2
- package/dist/declarations/src/Stream.d.ts.map +1 -1
- package/dist/declarations/src/TRef.d.ts.map +1 -1
- package/dist/declarations/src/Tracer.d.ts +17 -10
- package/dist/declarations/src/Tracer.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +5 -1
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/{defaultServices-755d5b46.cjs.dev.js → defaultServices-193b11dc.cjs.dev.js} +15 -4
- package/dist/{defaultServices-9d7ce86f.cjs.prod.js → defaultServices-4c3bf140.cjs.prod.js} +15 -4
- package/dist/effect.cjs.dev.js +6 -3
- package/dist/effect.cjs.mjs +2 -1
- package/dist/effect.cjs.prod.js +6 -3
- package/dist/effect.esm.js +4 -2
- package/dist/{fiber-9519d109.cjs.prod.js → fiber-a1a5e429.cjs.prod.js} +3 -3
- package/dist/{fiber-5156eff2.cjs.dev.js → fiber-cbdeec72.cjs.dev.js} +3 -3
- package/dist/{fiberRefs-98b71233.cjs.dev.js → fiberRefs-8d2401f9.cjs.dev.js} +1 -1
- package/dist/{fiberRefs-558c17e6.cjs.prod.js → fiberRefs-f631451c.cjs.prod.js} +1 -1
- package/dist/{fiberRuntime-31ae011f.cjs.prod.js → fiberRuntime-4691f31b.cjs.prod.js} +27 -23
- package/dist/{fiberRuntime-d3872282.cjs.dev.js → fiberRuntime-7cb6cd44.cjs.dev.js} +27 -23
- package/dist/{groupBy-70c6dc0d.cjs.dev.js → groupBy-239a6e6e.cjs.dev.js} +10 -7
- package/dist/{groupBy-5fb5d639.cjs.prod.js → groupBy-5174c302.cjs.prod.js} +10 -7
- package/dist/{hook-8cefc909.cjs.dev.js → hook-8e8bee6a.cjs.dev.js} +1 -1
- package/dist/{hook-98ce30e4.cjs.prod.js → hook-c2815d51.cjs.prod.js} +1 -1
- package/dist/{key-198b6670.cjs.dev.js → key-2d4efb00.cjs.dev.js} +2 -2
- package/dist/{key-eb8a12b2.cjs.prod.js → key-9b2f3322.cjs.prod.js} +2 -2
- package/dist/{layer-29574350.cjs.dev.js → layer-961b15ae.cjs.dev.js} +15 -10
- package/dist/{layer-51ff4846.cjs.prod.js → layer-d1c204db.cjs.prod.js} +15 -10
- package/dist/{patch-7c559bb2.cjs.prod.js → patch-1771b466.cjs.prod.js} +1 -1
- package/dist/{patch-0220a642.cjs.dev.js → patch-32cc7202.cjs.dev.js} +1 -1
- package/dist/{pathPatch-b56a4da2.cjs.prod.js → pathPatch-312bd492.cjs.prod.js} +1 -1
- package/dist/{pathPatch-fab016f1.cjs.dev.js → pathPatch-45b09159.cjs.dev.js} +1 -1
- package/dist/{pool-59df8b4d.cjs.dev.js → pool-3890e6ce.cjs.dev.js} +5 -5
- package/dist/{pool-042cc42b.cjs.prod.js → pool-f178fcc7.cjs.prod.js} +5 -5
- package/dist/{query-c36decd5.cjs.dev.js → query-39c40fa6.cjs.dev.js} +3 -3
- package/dist/{query-a52b25f0.cjs.prod.js → query-a6b58e39.cjs.prod.js} +3 -3
- package/dist/{queue-e4c59627.cjs.dev.js → queue-4c4bdc04.cjs.dev.js} +2 -2
- package/dist/{queue-425b92f6.cjs.prod.js → queue-5342a8d5.cjs.prod.js} +2 -2
- package/dist/{registry-d5258dff.cjs.prod.js → registry-6fbdb4e3.cjs.prod.js} +2 -2
- package/dist/{registry-62ff192e.cjs.dev.js → registry-ec8b84a2.cjs.dev.js} +2 -2
- package/dist/{runtime-005f8a9b.cjs.prod.js → runtime-3295bc3c.cjs.prod.js} +6 -6
- package/dist/{runtime-57c8ddf8.cjs.dev.js → runtime-43b9e2bb.cjs.dev.js} +6 -6
- package/dist/{schedule-8cdf6bf1.cjs.prod.js → schedule-6431754b.cjs.prod.js} +3 -3
- package/dist/{schedule-e7a9f93f.cjs.dev.js → schedule-a4be407d.cjs.dev.js} +3 -3
- package/dist/{scopedRef-789d7fef.cjs.prod.js → scopedRef-7c2bf3f3.cjs.prod.js} +6 -6
- package/dist/{scopedRef-eb19c7a6.cjs.dev.js → scopedRef-9032002a.cjs.dev.js} +6 -6
- package/dist/{singleProducerAsyncInput-9ff8389b.cjs.dev.js → singleProducerAsyncInput-82e5c80c.cjs.dev.js} +1 -1
- package/dist/{singleProducerAsyncInput-f9b258b1.cjs.prod.js → singleProducerAsyncInput-879852ad.cjs.prod.js} +1 -1
- package/dist/{sink-b2fcb569.cjs.prod.js → sink-95371737.cjs.prod.js} +17 -19
- package/dist/{sink-17e02d40.cjs.dev.js → sink-e4280f95.cjs.dev.js} +17 -19
- package/dist/{stm-5264610b.cjs.dev.js → stm-4bf1a928.cjs.dev.js} +3 -3
- package/dist/{stm-9dd6be88.cjs.prod.js → stm-f792171c.cjs.prod.js} +3 -3
- package/dist/{stream-c9c522f2.cjs.prod.js → stream-254329d0.cjs.prod.js} +17 -13
- package/dist/{stream-5e2ed3a9.cjs.dev.js → stream-c498ce8a.cjs.dev.js} +17 -13
- package/dist/{synchronizedRef-ed8aa6ac.cjs.prod.js → synchronizedRef-5420532c.cjs.prod.js} +1 -1
- package/dist/{synchronizedRef-a12fd967.cjs.dev.js → synchronizedRef-cfe99d53.cjs.dev.js} +1 -1
- package/dist/{tArray-cac66af4.cjs.prod.js → tArray-7f227674.cjs.prod.js} +3 -3
- package/dist/{tArray-77a2ae3c.cjs.dev.js → tArray-996f4aba.cjs.dev.js} +3 -3
- package/dist/{tMap-5ac8ec9c.cjs.prod.js → tMap-811797bf.cjs.prod.js} +4 -4
- package/dist/{tMap-73bbf062.cjs.dev.js → tMap-b9665a82.cjs.dev.js} +4 -4
- package/dist/{tQueue-2b1cd0c4.cjs.dev.js → tQueue-0c15312e.cjs.dev.js} +3 -3
- package/dist/{tQueue-dded9b2d.cjs.prod.js → tQueue-8a6a0244.cjs.prod.js} +3 -3
- package/dist/{tRef-73c3549e.cjs.prod.js → tRef-2892ee02.cjs.prod.js} +1 -1
- package/dist/{tRef-90f0872b.cjs.dev.js → tRef-44d17d07.cjs.dev.js} +1 -1
- package/internal/cause.esm.js +2 -1
- package/internal/channel.esm.js +28 -30
- package/internal/core-effect.esm.js +1 -1
- package/internal/core-stream.esm.js +1 -1
- package/internal/fiberRuntime.esm.js +27 -23
- package/internal/groupBy.esm.js +8 -5
- package/internal/layer/circular.esm.js +5 -6
- package/internal/layer.esm.js +9 -5
- package/internal/logger.esm.js +3 -3
- package/internal/matcher.esm.js +314 -0
- package/internal/sink.esm.js +11 -11
- package/internal/stream.esm.js +15 -12
- package/internal/tracer.esm.js +14 -4
- package/package.json +25 -16
- package/src/{Bigint.ts → BigInt.ts} +26 -26
- package/src/Channel.ts +14 -2
- package/src/Chunk.ts +12 -1
- package/src/Data.ts +33 -21
- package/src/Duration.ts +2 -2
- package/src/Effect.ts +84 -151
- package/src/Either.ts +33 -0
- package/src/FiberRef.ts +2 -3
- package/src/HashMap.ts +30 -0
- package/src/Layer.ts +157 -3
- package/src/List.ts +9 -0
- package/src/Logger.ts +2 -8
- package/src/Match.ts +800 -0
- package/src/Metric.ts +88 -6
- package/src/Predicate.ts +4 -4
- package/src/Stream.ts +4 -2
- package/src/TRef.ts +1 -1
- package/src/Tracer.ts +18 -9
- package/src/index.ts +6 -1
- package/src/internal/cause.ts +1 -1
- package/src/internal/channel.ts +89 -94
- package/src/internal/core-effect.ts +27 -22
- package/src/internal/core.ts +5 -7
- package/src/internal/fiberRuntime.ts +39 -13
- package/src/internal/groupBy.ts +7 -3
- package/src/internal/layer/circular.ts +21 -6
- package/src/internal/layer.ts +20 -4
- package/src/internal/logger.ts +4 -4
- package/src/internal/matcher.ts +594 -0
- package/src/internal/stream.ts +17 -12
- package/src/internal/tracer.ts +28 -5
- package/src/tsconfig.json +49 -0
- package/Bigint/dist/effect-Bigint.cjs.d.mts +0 -2
- package/Bigint/dist/effect-Bigint.cjs.d.mts.map +0 -1
- package/Bigint/dist/effect-Bigint.cjs.d.ts +0 -2
- package/Bigint/dist/effect-Bigint.cjs.d.ts.map +0 -1
- package/Bigint/dist/effect-Bigint.cjs.js +0 -7
- package/Bigint/package.json +0 -4
- /package/dist/{Effectable-c4c14a2b.cjs.prod.js → Effectable-6a8a05f1.cjs.prod.js} +0 -0
- /package/dist/{Effectable-7314aed8.cjs.dev.js → Effectable-71c10ab9.cjs.dev.js} +0 -0
- /package/dist/{FiberId-1d7ac632.cjs.prod.js → FiberId-54d8bd67.cjs.prod.js} +0 -0
- /package/dist/{FiberId-d88ddce6.cjs.dev.js → FiberId-6708cdca.cjs.dev.js} +0 -0
- /package/dist/{HashSet-ac02a3e1.cjs.prod.js → HashSet-86613304.cjs.prod.js} +0 -0
- /package/dist/{HashSet-5963ad6b.cjs.dev.js → HashSet-dd020cb0.cjs.dev.js} +0 -0
- /package/dist/{RuntimeFlagsPatch-866fa259.cjs.prod.js → RuntimeFlagsPatch-35ed8dee.cjs.prod.js} +0 -0
- /package/dist/{RuntimeFlagsPatch-69102b03.cjs.dev.js → RuntimeFlagsPatch-9cbc441d.cjs.dev.js} +0 -0
- /package/dist/{boundaries-9af538e3.cjs.prod.js → boundaries-26f0dc82.cjs.prod.js} +0 -0
- /package/dist/{boundaries-f212e414.cjs.dev.js → boundaries-6eea221f.cjs.dev.js} +0 -0
- /package/dist/{configError-b43723af.cjs.prod.js → configError-856c7153.cjs.prod.js} +0 -0
- /package/dist/{configError-d5efe9c0.cjs.dev.js → configError-a824b415.cjs.dev.js} +0 -0
- /package/dist/{configSecret-3e8ae336.cjs.dev.js → configSecret-23cf1a3f.cjs.dev.js} +0 -0
- /package/dist/{configSecret-e2faa181.cjs.prod.js → configSecret-663cfb59.cjs.prod.js} +0 -0
- /package/dist/{keyType-0c5e6178.cjs.prod.js → keyType-4ec0b247.cjs.prod.js} +0 -0
- /package/dist/{keyType-7c164b82.cjs.dev.js → keyType-f30c9fa4.cjs.dev.js} +0 -0
- /package/dist/{label-655343b5.cjs.prod.js → label-a588e6cd.cjs.prod.js} +0 -0
- /package/dist/{label-011edbe7.cjs.dev.js → label-b0cebeae.cjs.dev.js} +0 -0
- /package/dist/{state-0bdf02b7.cjs.prod.js → state-40d5dc71.cjs.prod.js} +0 -0
- /package/dist/{state-931050c4.cjs.dev.js → state-620f7a22.cjs.dev.js} +0 -0
- /package/dist/{take-85daaf79.cjs.prod.js → take-981a87eb.cjs.prod.js} +0 -0
- /package/dist/{take-f9ef9e2e.cjs.dev.js → take-bfd0a3ed.cjs.dev.js} +0 -0
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { TypeId, type as type$1, value as value$1, valueTags as valueTags$1, typeTags as typeTags$1, when as when$1, whenOr as whenOr$1, whenAnd as whenAnd$1, discriminator as discriminator$1, discriminatorStartsWith as discriminatorStartsWith$1, discriminators as discriminators$1, discriminatorsExhaustive as discriminatorsExhaustive$1, tag as tag$1, tagStartsWith as tagStartsWith$1, tags as tags$1, tagsExhaustive as tagsExhaustive$1, not as not$1, nonEmptyString as nonEmptyString$1, is as is$1, any as any$1, defined as defined$1, instanceOf as instanceOf$1, orElse as orElse$1, orElseAbsurd as orElseAbsurd$1, either as either$1, option as option$1, exhaustive as exhaustive$1 } from '../../internal/matcher.esm.js';
|
|
2
|
+
import { isString, isNumber, isBoolean, isUndefined, isNull, isBigInt, isDate, isRecord } from '../../Predicate/dist/effect-Predicate.esm.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @since 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @category type ids
|
|
9
|
+
* @since 1.0.0
|
|
10
|
+
*/
|
|
11
|
+
const MatcherTypeId = TypeId;
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @category type ids
|
|
15
|
+
* @since 1.0.0
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @category model
|
|
20
|
+
* @since 1.0.0
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @category model
|
|
25
|
+
* @since 1.0.0
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @category model
|
|
30
|
+
* @since 1.0.0
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @category model
|
|
35
|
+
* @since 1.0.0
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @category model
|
|
40
|
+
* @since 1.0.0
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @category model
|
|
45
|
+
* @since 1.0.0
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* @category constructors
|
|
50
|
+
* @since 1.0.0
|
|
51
|
+
*/
|
|
52
|
+
const type = type$1;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @category constructors
|
|
56
|
+
* @since 1.0.0
|
|
57
|
+
*/
|
|
58
|
+
const value = value$1;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @category constructors
|
|
62
|
+
* @since 1.0.0
|
|
63
|
+
*/
|
|
64
|
+
const valueTags = valueTags$1;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @category constructors
|
|
68
|
+
* @since 1.0.0
|
|
69
|
+
*/
|
|
70
|
+
const typeTags = typeTags$1;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @category combinators
|
|
74
|
+
* @since 1.0.0
|
|
75
|
+
*/
|
|
76
|
+
const when = when$1;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @category combinators
|
|
80
|
+
* @since 1.0.0
|
|
81
|
+
*/
|
|
82
|
+
const whenOr = whenOr$1;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @category combinators
|
|
86
|
+
* @since 1.0.0
|
|
87
|
+
*/
|
|
88
|
+
const whenAnd = whenAnd$1;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @category combinators
|
|
92
|
+
* @since 1.0.0
|
|
93
|
+
*/
|
|
94
|
+
const discriminator = discriminator$1;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @category combinators
|
|
98
|
+
* @since 1.0.0
|
|
99
|
+
*/
|
|
100
|
+
const discriminatorStartsWith = discriminatorStartsWith$1;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @category combinators
|
|
104
|
+
* @since 1.0.0
|
|
105
|
+
*/
|
|
106
|
+
const discriminators = discriminators$1;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* @category combinators
|
|
110
|
+
* @since 1.0.0
|
|
111
|
+
*/
|
|
112
|
+
const discriminatorsExhaustive = discriminatorsExhaustive$1;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @category combinators
|
|
116
|
+
* @since 1.0.0
|
|
117
|
+
*/
|
|
118
|
+
const tag = tag$1;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @category combinators
|
|
122
|
+
* @since 1.0.0
|
|
123
|
+
*/
|
|
124
|
+
const tagStartsWith = tagStartsWith$1;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @category combinators
|
|
128
|
+
* @since 1.0.0
|
|
129
|
+
*/
|
|
130
|
+
const tags = tags$1;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @category combinators
|
|
134
|
+
* @since 1.0.0
|
|
135
|
+
*/
|
|
136
|
+
const tagsExhaustive = tagsExhaustive$1;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @category combinators
|
|
140
|
+
* @since 1.0.0
|
|
141
|
+
*/
|
|
142
|
+
const not = not$1;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @category predicates
|
|
146
|
+
* @since 1.0.0
|
|
147
|
+
*/
|
|
148
|
+
const nonEmptyString = nonEmptyString$1;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @category predicates
|
|
152
|
+
* @since 1.0.0
|
|
153
|
+
*/
|
|
154
|
+
const is = is$1;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @category predicates
|
|
158
|
+
* @since 1.0.0
|
|
159
|
+
*/
|
|
160
|
+
const string = isString;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @category predicates
|
|
164
|
+
* @since 1.0.0
|
|
165
|
+
*/
|
|
166
|
+
const number = isNumber;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* @category predicates
|
|
170
|
+
* @since 1.0.0
|
|
171
|
+
*/
|
|
172
|
+
const any = any$1;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @category predicates
|
|
176
|
+
* @since 1.0.0
|
|
177
|
+
*/
|
|
178
|
+
const defined = defined$1;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @category predicates
|
|
182
|
+
* @since 1.0.0
|
|
183
|
+
*/
|
|
184
|
+
const boolean = isBoolean;
|
|
185
|
+
const _undefined = isUndefined;
|
|
186
|
+
const _null = isNull;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* @category predicates
|
|
190
|
+
* @since 1.0.0
|
|
191
|
+
*/
|
|
192
|
+
const bigint = isBigInt;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @category predicates
|
|
196
|
+
* @since 1.0.0
|
|
197
|
+
*/
|
|
198
|
+
const date = isDate;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* @category predicates
|
|
202
|
+
* @since 1.0.0
|
|
203
|
+
*/
|
|
204
|
+
const record = isRecord;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @category predicates
|
|
208
|
+
* @since 1.0.0
|
|
209
|
+
*/
|
|
210
|
+
const instanceOf = instanceOf$1;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @category predicates
|
|
214
|
+
* @since 1.0.0
|
|
215
|
+
*/
|
|
216
|
+
const instanceOfUnsafe = instanceOf$1;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @category conversions
|
|
220
|
+
* @since 1.0.0
|
|
221
|
+
*/
|
|
222
|
+
const orElse = orElse$1;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* @category conversions
|
|
226
|
+
* @since 1.0.0
|
|
227
|
+
*/
|
|
228
|
+
const orElseAbsurd = orElseAbsurd$1;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* @category conversions
|
|
232
|
+
* @since 1.0.0
|
|
233
|
+
*/
|
|
234
|
+
const either = either$1;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* @category conversions
|
|
238
|
+
* @since 1.0.0
|
|
239
|
+
*/
|
|
240
|
+
const option = option$1;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @category conversions
|
|
244
|
+
* @since 1.0.0
|
|
245
|
+
*/
|
|
246
|
+
const exhaustive = exhaustive$1;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* @since 1.0.0
|
|
250
|
+
* @category type ids
|
|
251
|
+
*/
|
|
252
|
+
const SafeRefinementId = /*#__PURE__*/Symbol.for("./SafeRefinement");
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @since 1.0.0
|
|
256
|
+
*/
|
|
257
|
+
|
|
258
|
+
export { MatcherTypeId, SafeRefinementId, any, bigint, boolean, date, defined, discriminator, discriminatorStartsWith, discriminators, discriminatorsExhaustive, either, exhaustive, instanceOf, instanceOfUnsafe, is, nonEmptyString, not, _null as null, number, option, orElse, orElseAbsurd, record, string, tag, tagStartsWith, tags, tagsExhaustive, type, typeTags, _undefined as undefined, value, valueTags, when, whenAnd, whenOr };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var fiberRuntime = require('../../dist/fiberRuntime-
|
|
5
|
+
var fiberRuntime = require('../../dist/fiberRuntime-7cb6cd44.cjs.dev.js');
|
|
6
6
|
require('../../Boolean/dist/effect-Boolean.cjs.dev.js');
|
|
7
7
|
require('../../Equivalence/dist/effect-Equivalence.cjs.dev.js');
|
|
8
8
|
require('../../Function/dist/effect-Function.cjs.dev.js');
|
|
@@ -15,9 +15,9 @@ require('../../GlobalValue/dist/effect-GlobalValue.cjs.dev.js');
|
|
|
15
15
|
require('../../Utils/dist/effect-Utils.cjs.dev.js');
|
|
16
16
|
require('../../Inspectable/dist/effect-Inspectable.cjs.dev.js');
|
|
17
17
|
require('../../Option/dist/effect-Option.cjs.dev.js');
|
|
18
|
-
require('../../dist/Either-
|
|
19
|
-
require('../../dist/Option-
|
|
20
|
-
require('../../dist/Effectable-
|
|
18
|
+
require('../../dist/Either-e7500e90.cjs.dev.js');
|
|
19
|
+
require('../../dist/Option-01caa9d4.cjs.dev.js');
|
|
20
|
+
require('../../dist/Effectable-71c10ab9.cjs.dev.js');
|
|
21
21
|
require('../../Pipeable/dist/effect-Pipeable.cjs.dev.js');
|
|
22
22
|
require('../../Number/dist/effect-Number.cjs.dev.js');
|
|
23
23
|
require('../../ReadonlyArray/dist/effect-ReadonlyArray.cjs.dev.js');
|
|
@@ -25,48 +25,48 @@ require('../../Either/dist/effect-Either.cjs.dev.js');
|
|
|
25
25
|
require('../../dist/ReadonlyArray-9a1474f6.cjs.dev.js');
|
|
26
26
|
require('../../ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.dev.js');
|
|
27
27
|
require('../../Context/dist/effect-Context.cjs.dev.js');
|
|
28
|
-
require('../../dist/Context-
|
|
28
|
+
require('../../dist/Context-607e9b4c.cjs.dev.js');
|
|
29
29
|
require('../../Deferred/dist/effect-Deferred.cjs.dev.js');
|
|
30
|
-
require('../../dist/core-
|
|
30
|
+
require('../../dist/core-6815193e.cjs.dev.js');
|
|
31
31
|
require('../../Differ/dist/effect-Differ.cjs.dev.js');
|
|
32
32
|
require('../../HashMap/dist/effect-HashMap.cjs.dev.js');
|
|
33
|
-
require('../../dist/HashSet-
|
|
33
|
+
require('../../dist/HashSet-dd020cb0.cjs.dev.js');
|
|
34
34
|
require('../../dist/Stack-ada2d201.cjs.dev.js');
|
|
35
35
|
require('../../HashSet/dist/effect-HashSet.cjs.dev.js');
|
|
36
|
-
require('../../dist/FiberId-
|
|
36
|
+
require('../../dist/FiberId-6708cdca.cjs.dev.js');
|
|
37
37
|
require('../../MutableRef/dist/effect-MutableRef.cjs.dev.js');
|
|
38
38
|
require('../../List/dist/effect-List.cjs.dev.js');
|
|
39
|
-
require('../../dist/RuntimeFlagsPatch-
|
|
39
|
+
require('../../dist/RuntimeFlagsPatch-9cbc441d.cjs.dev.js');
|
|
40
40
|
require('../../dist/ExecutionStrategy-7d9d457b.cjs.dev.js');
|
|
41
41
|
require('../../FiberRefs/dist/effect-FiberRefs.cjs.dev.js');
|
|
42
|
-
require('../../dist/fiberRefs-
|
|
42
|
+
require('../../dist/fiberRefs-8d2401f9.cjs.dev.js');
|
|
43
43
|
require('../../FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.dev.js');
|
|
44
|
-
require('../../dist/patch-
|
|
44
|
+
require('../../dist/patch-32cc7202.cjs.dev.js');
|
|
45
45
|
require('../../FiberStatus/dist/effect-FiberStatus.cjs.dev.js');
|
|
46
|
-
require('../../dist/defaultServices-
|
|
46
|
+
require('../../dist/defaultServices-193b11dc.cjs.dev.js');
|
|
47
47
|
require('../../Duration/dist/effect-Duration.cjs.dev.js');
|
|
48
48
|
require('../../dist/timeout-d380d3f8.cjs.dev.js');
|
|
49
|
-
require('../../dist/configProvider-
|
|
50
|
-
require('../../dist/config-
|
|
49
|
+
require('../../dist/configProvider-8567470d.cjs.dev.js');
|
|
50
|
+
require('../../dist/config-887520b4.cjs.dev.js');
|
|
51
51
|
require('../../ConfigError/dist/effect-ConfigError.cjs.dev.js');
|
|
52
|
-
require('../../dist/configError-
|
|
53
|
-
require('../../dist/configSecret-
|
|
54
|
-
require('../../dist/pathPatch-
|
|
55
|
-
require('../../dist/core-effect-
|
|
52
|
+
require('../../dist/configError-a824b415.cjs.dev.js');
|
|
53
|
+
require('../../dist/configSecret-23cf1a3f.cjs.dev.js');
|
|
54
|
+
require('../../dist/pathPatch-45b09159.cjs.dev.js');
|
|
55
|
+
require('../../dist/core-effect-5700daea.cjs.dev.js');
|
|
56
56
|
require('../../Clock/dist/effect-Clock.cjs.dev.js');
|
|
57
|
-
require('../../dist/label-
|
|
57
|
+
require('../../dist/label-b0cebeae.cjs.dev.js');
|
|
58
58
|
require('../../LogLevel/dist/effect-LogLevel.cjs.dev.js');
|
|
59
59
|
require('../../LogSpan/dist/effect-LogSpan.cjs.dev.js');
|
|
60
|
-
require('../../dist/Ref-
|
|
60
|
+
require('../../dist/Ref-c75b5362.cjs.dev.js');
|
|
61
61
|
require('../../Tracer/dist/effect-Tracer.cjs.dev.js');
|
|
62
|
-
require('../../dist/fiber-
|
|
62
|
+
require('../../dist/fiber-cbdeec72.cjs.dev.js');
|
|
63
63
|
require('../../Exit/dist/effect-Exit.cjs.dev.js');
|
|
64
|
-
require('../../dist/boundaries-
|
|
65
|
-
require('../../dist/key-
|
|
66
|
-
require('../../dist/keyType-
|
|
67
|
-
require('../../dist/registry-
|
|
68
|
-
require('../../dist/hook-
|
|
69
|
-
require('../../dist/state-
|
|
64
|
+
require('../../dist/boundaries-6eea221f.cjs.dev.js');
|
|
65
|
+
require('../../dist/key-2d4efb00.cjs.dev.js');
|
|
66
|
+
require('../../dist/keyType-f30c9fa4.cjs.dev.js');
|
|
67
|
+
require('../../dist/registry-ec8b84a2.cjs.dev.js');
|
|
68
|
+
require('../../dist/hook-8e8bee6a.cjs.dev.js');
|
|
69
|
+
require('../../dist/state-620f7a22.cjs.dev.js');
|
|
70
70
|
require('../../dist/pair-291b78d7.cjs.dev.js');
|
|
71
71
|
require('../../MutableHashMap/dist/effect-MutableHashMap.cjs.dev.js');
|
|
72
72
|
require('../../SortedSet/dist/effect-SortedSet.cjs.dev.js');
|
|
@@ -140,7 +140,26 @@ const make = fiberRuntime.make;
|
|
|
140
140
|
const mapInput = fiberRuntime.mapInput$1;
|
|
141
141
|
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
143
|
+
* Represents a Counter metric that tracks cumulative numerical values over time.
|
|
144
|
+
* Counters can be incremented and decremented and provide a running total of changes.
|
|
145
|
+
*
|
|
146
|
+
* @param name - The name of the counter metric.
|
|
147
|
+
* @param options - An optional configuration for the counter:
|
|
148
|
+
* - description - A description of the counter.
|
|
149
|
+
* - bigint - Indicates if the counter uses 'bigint' data type.
|
|
150
|
+
* - incremental - Set to 'true' for a counter that only increases. With this configuration, Effect ensures that non-incremental updates have no impact on the counter, making it exclusively suitable for counting upwards.
|
|
151
|
+
*
|
|
152
|
+
* @example
|
|
153
|
+
* import * as Metric from "effect/Metric"
|
|
154
|
+
*
|
|
155
|
+
* const numberCounter = Metric.counter("count", {
|
|
156
|
+
* description: "A number counter"
|
|
157
|
+
* });
|
|
158
|
+
*
|
|
159
|
+
* const bigintCounter = Metric.counter("count", {
|
|
160
|
+
* description: "A bigint counter",
|
|
161
|
+
* bigint: true
|
|
162
|
+
* });
|
|
144
163
|
*
|
|
145
164
|
* @since 2.0.0
|
|
146
165
|
* @category constructors
|
|
@@ -148,8 +167,16 @@ const mapInput = fiberRuntime.mapInput$1;
|
|
|
148
167
|
const counter = fiberRuntime.counter;
|
|
149
168
|
|
|
150
169
|
/**
|
|
151
|
-
*
|
|
152
|
-
*
|
|
170
|
+
* Creates a Frequency metric to count occurrences of events.
|
|
171
|
+
* Frequency metrics are used to count the number of times specific events or incidents occur.
|
|
172
|
+
*
|
|
173
|
+
* @param name - The name of the Frequency metric.
|
|
174
|
+
* @param description - An optional description of the Frequency metric.
|
|
175
|
+
*
|
|
176
|
+
* @example
|
|
177
|
+
* import * as Metric from "effect/Metric"
|
|
178
|
+
*
|
|
179
|
+
* const errorFrequency = Metric.frequency("error_frequency", "Counts the occurrences of errors.");
|
|
153
180
|
*
|
|
154
181
|
* @since 2.0.0
|
|
155
182
|
* @category constructors
|
|
@@ -173,7 +200,25 @@ const withConstantInput = fiberRuntime.withConstantInput;
|
|
|
173
200
|
const fromMetricKey = fiberRuntime.fromMetricKey;
|
|
174
201
|
|
|
175
202
|
/**
|
|
176
|
-
*
|
|
203
|
+
* Represents a Gauge metric that tracks and reports a single numerical value at a specific moment.
|
|
204
|
+
* Gauges are suitable for metrics that represent instantaneous values, such as memory usage or CPU load.
|
|
205
|
+
*
|
|
206
|
+
* @param name - The name of the gauge metric.
|
|
207
|
+
* @param options - An optional configuration for the gauge:
|
|
208
|
+
* - description - A description of the gauge metric.
|
|
209
|
+
* - bigint - Indicates if the counter uses 'bigint' data type.
|
|
210
|
+
*
|
|
211
|
+
* @example
|
|
212
|
+
* import * as Metric from "effect/Metric"
|
|
213
|
+
*
|
|
214
|
+
* const numberGauge = Metric.gauge("memory_usage", {
|
|
215
|
+
* description: "A gauge for memory usage"
|
|
216
|
+
* });
|
|
217
|
+
*
|
|
218
|
+
* const bigintGauge = Metric.gauge("cpu_load", {
|
|
219
|
+
* description: "A gauge for CPU load",
|
|
220
|
+
* bigint: true
|
|
221
|
+
* });
|
|
177
222
|
*
|
|
178
223
|
* @since 2.0.0
|
|
179
224
|
* @category constructors
|
|
@@ -181,8 +226,21 @@ const fromMetricKey = fiberRuntime.fromMetricKey;
|
|
|
181
226
|
const gauge = fiberRuntime.gauge;
|
|
182
227
|
|
|
183
228
|
/**
|
|
184
|
-
*
|
|
185
|
-
*
|
|
229
|
+
* Represents a Histogram metric that records observations in specified value boundaries.
|
|
230
|
+
* Histogram metrics are useful for measuring the distribution of values within a range.
|
|
231
|
+
*
|
|
232
|
+
* @param name - The name of the histogram metric.
|
|
233
|
+
* @param boundaries - The boundaries for defining the histogram's value ranges.
|
|
234
|
+
* @param description - A description of the histogram metric.
|
|
235
|
+
*
|
|
236
|
+
* @example
|
|
237
|
+
* import * as Metric from "effect/Metric"
|
|
238
|
+
* import * as MetricBoundaries from "effect/MetricBoundaries"
|
|
239
|
+
*
|
|
240
|
+
* const latencyHistogram = Metric.histogram("latency_histogram",
|
|
241
|
+
* MetricBoundaries.linear({ start: 0, width: 10, count: 11 }),
|
|
242
|
+
* "Measures the distribution of request latency."
|
|
243
|
+
* );
|
|
186
244
|
*
|
|
187
245
|
* @since 2.0.0
|
|
188
246
|
* @category constructors
|
|
@@ -248,6 +306,30 @@ const succeed = fiberRuntime.succeed$1;
|
|
|
248
306
|
const sync = fiberRuntime.sync$1;
|
|
249
307
|
|
|
250
308
|
/**
|
|
309
|
+
* Creates a Summary metric that records observations and calculates quantiles.
|
|
310
|
+
* Summary metrics provide statistical information about a set of values, including quantiles.
|
|
311
|
+
*
|
|
312
|
+
* @param options - An object with configuration options for the Summary metric:
|
|
313
|
+
* - name - The name of the Summary metric.
|
|
314
|
+
* - maxAge - The maximum age of observations to retain.
|
|
315
|
+
* - maxSize - The maximum number of observations to keep.
|
|
316
|
+
* - error - The error percentage when calculating quantiles.
|
|
317
|
+
* - quantiles - An `Chunk` of quantiles to calculate (e.g., [0.5, 0.9]).
|
|
318
|
+
* - description - An optional description of the Summary metric.
|
|
319
|
+
*
|
|
320
|
+
* @example
|
|
321
|
+
* import * as Metric from "effect/Metric"
|
|
322
|
+
* import * as Chunk from "effect/Chunk"
|
|
323
|
+
*
|
|
324
|
+
* const responseTimesSummary = Metric.summary({
|
|
325
|
+
* name: "response_times_summary",
|
|
326
|
+
* maxAge: "60 seconds", // Retain observations for 60 seconds.
|
|
327
|
+
* maxSize: 1000, // Keep a maximum of 1000 observations.
|
|
328
|
+
* error: 0.01, // Allow a 1% error when calculating quantiles.
|
|
329
|
+
* quantiles: Chunk.make(0.5, 0.9, 0.99), // Calculate 50th, 90th, and 99th percentiles.
|
|
330
|
+
* description: "Measures the distribution of response times."
|
|
331
|
+
* });
|
|
332
|
+
*
|
|
251
333
|
* @since 2.0.0
|
|
252
334
|
* @category constructors
|
|
253
335
|
*/
|