effect 2.0.0-next.37 → 2.0.0-next.39
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.dev.js +5 -5
- package/Bigint/dist/effect-Bigint.cjs.prod.js +5 -5
- package/Bigint/dist/effect-Bigint.esm.js +346 -5
- package/Boolean/dist/effect-Boolean.cjs.dev.js +5 -5
- package/Boolean/dist/effect-Boolean.cjs.prod.js +5 -5
- package/Boolean/dist/effect-Boolean.esm.js +230 -5
- package/Brand/dist/effect-Brand.cjs.dev.js +20 -20
- package/Brand/dist/effect-Brand.cjs.prod.js +20 -20
- package/Brand/dist/effect-Brand.esm.js +204 -20
- package/Cache/dist/effect-Cache.cjs.dev.js +72 -72
- package/Cache/dist/effect-Cache.cjs.prod.js +72 -72
- package/Cache/dist/effect-Cache.esm.js +111 -74
- package/Cause/dist/effect-Cause.cjs.dev.js +32 -32
- package/Cause/dist/effect-Cause.cjs.prod.js +32 -32
- package/Cause/dist/effect-Cause.esm.js +668 -33
- package/Channel/dist/effect-Channel.cjs.dev.js +105 -105
- package/Channel/dist/effect-Channel.cjs.prod.js +105 -105
- package/Channel/dist/effect-Channel.esm.js +1001 -107
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.dev.js +3 -3
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.prod.js +3 -3
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.esm.js +112 -3
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.dev.js +3 -3
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.prod.js +3 -3
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.esm.js +60 -3
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.dev.js +3 -3
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.prod.js +3 -3
- package/ChannelMergeState/dist/effect-ChannelMergeState.esm.js +101 -3
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.dev.js +3 -3
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.prod.js +3 -3
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.esm.js +84 -3
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.dev.js +89 -89
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.prod.js +89 -89
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.esm.js +47 -91
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.dev.js +3 -3
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.prod.js +3 -3
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.esm.js +84 -3
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.dev.js +3 -3
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.prod.js +3 -3
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.esm.js +83 -3
- package/Chunk/dist/effect-Chunk.cjs.dev.js +20 -20
- package/Chunk/dist/effect-Chunk.cjs.prod.js +20 -20
- package/Chunk/dist/effect-Chunk.esm.js +1084 -20
- package/Clock/dist/effect-Clock.cjs.dev.js +40 -40
- package/Clock/dist/effect-Clock.cjs.prod.js +40 -40
- package/Clock/dist/effect-Clock.esm.js +78 -42
- package/Config/dist/effect-Config.cjs.dev.js +36 -36
- package/Config/dist/effect-Config.cjs.prod.js +36 -36
- package/Config/dist/effect-Config.esm.js +321 -37
- package/ConfigError/dist/effect-ConfigError.cjs.dev.js +21 -21
- package/ConfigError/dist/effect-ConfigError.cjs.prod.js +21 -21
- package/ConfigError/dist/effect-ConfigError.esm.js +185 -21
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.dev.js +38 -38
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.prod.js +38 -38
- package/ConfigProvider/dist/effect-ConfigProvider.esm.js +198 -39
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.dev.js +24 -24
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.prod.js +24 -24
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.esm.js +70 -24
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.dev.js +22 -22
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.prod.js +22 -22
- package/ConfigSecret/dist/effect-ConfigSecret.esm.js +63 -22
- package/Console/dist/effect-Console.cjs.dev.js +81 -81
- package/Console/dist/effect-Console.cjs.prod.js +81 -81
- package/Console/dist/effect-Console.esm.js +154 -83
- package/Context/dist/effect-Context.cjs.dev.js +17 -17
- package/Context/dist/effect-Context.cjs.prod.js +17 -17
- package/Context/dist/effect-Context.esm.js +295 -17
- package/Data/dist/effect-Data.cjs.dev.js +7 -7
- package/Data/dist/effect-Data.cjs.prod.js +7 -7
- package/Data/dist/effect-Data.esm.js +163 -7
- package/DefaultServices/dist/effect-DefaultServices.cjs.dev.js +40 -40
- package/DefaultServices/dist/effect-DefaultServices.cjs.prod.js +40 -40
- package/DefaultServices/dist/effect-DefaultServices.esm.js +24 -42
- package/Deferred/dist/effect-Deferred.cjs.dev.js +32 -32
- package/Deferred/dist/effect-Deferred.cjs.prod.js +32 -32
- package/Deferred/dist/effect-Deferred.esm.js +206 -33
- package/Differ/dist/effect-Differ.cjs.dev.js +25 -25
- package/Differ/dist/effect-Differ.cjs.prod.js +25 -25
- package/Differ/dist/effect-Differ.esm.js +137 -26
- package/Duration/dist/effect-Duration.cjs.dev.js +17 -16
- package/Duration/dist/effect-Duration.cjs.mjs +1 -0
- package/Duration/dist/effect-Duration.cjs.prod.js +17 -16
- package/Duration/dist/effect-Duration.esm.js +438 -16
- package/Effect/dist/effect-Effect.cjs.dev.js +87 -87
- package/Effect/dist/effect-Effect.cjs.prod.js +87 -87
- package/Effect/dist/effect-Effect.esm.js +3093 -89
- package/Effectable/dist/effect-Effectable.cjs.dev.js +10 -10
- package/Effectable/dist/effect-Effectable.cjs.prod.js +10 -10
- package/Effectable/dist/effect-Effectable.esm.js +77 -10
- package/Either/dist/effect-Either.cjs.dev.js +13 -13
- package/Either/dist/effect-Either.cjs.prod.js +13 -13
- package/Either/dist/effect-Either.esm.js +442 -13
- package/Encoding/dist/effect-Encoding.cjs.dev.js +14 -14
- package/Encoding/dist/effect-Encoding.cjs.prod.js +14 -14
- package/Encoding/dist/effect-Encoding.esm.js +123 -14
- package/Equal/dist/effect-Equal.cjs.dev.js +6 -6
- package/Equal/dist/effect-Equal.cjs.prod.js +6 -6
- package/Equal/dist/effect-Equal.esm.js +57 -6
- package/Equivalence/dist/effect-Equivalence.cjs.dev.js +2 -2
- package/Equivalence/dist/effect-Equivalence.cjs.prod.js +2 -2
- package/Equivalence/dist/effect-Equivalence.esm.js +196 -2
- package/Error/dist/effect-Error.cjs.dev.js +89 -89
- package/Error/dist/effect-Error.cjs.prod.js +89 -89
- package/Error/dist/effect-Error.esm.js +47 -91
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.dev.js +2 -2
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.prod.js +2 -2
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.esm.js +99 -2
- package/Exit/dist/effect-Exit.cjs.dev.js +32 -32
- package/Exit/dist/effect-Exit.cjs.prod.js +32 -32
- package/Exit/dist/effect-Exit.esm.js +332 -33
- package/Fiber/dist/effect-Fiber.cjs.dev.js +75 -75
- package/Fiber/dist/effect-Fiber.cjs.prod.js +75 -75
- package/Fiber/dist/effect-Fiber.esm.js +423 -77
- package/FiberId/dist/effect-FiberId.cjs.dev.js +19 -19
- package/FiberId/dist/effect-FiberId.cjs.prod.js +19 -19
- package/FiberId/dist/effect-FiberId.esm.js +161 -20
- package/FiberRef/dist/effect-FiberRef.cjs.dev.js +73 -73
- package/FiberRef/dist/effect-FiberRef.cjs.prod.js +73 -73
- package/FiberRef/dist/effect-FiberRef.esm.js +289 -75
- package/FiberRefs/dist/effect-FiberRefs.cjs.dev.js +33 -33
- package/FiberRefs/dist/effect-FiberRefs.cjs.prod.js +33 -33
- package/FiberRefs/dist/effect-FiberRefs.esm.js +107 -34
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.dev.js +34 -34
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.prod.js +34 -34
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.esm.js +76 -35
- package/FiberStatus/dist/effect-FiberStatus.cjs.dev.js +7 -7
- package/FiberStatus/dist/effect-FiberStatus.cjs.prod.js +7 -7
- package/FiberStatus/dist/effect-FiberStatus.esm.js +89 -7
- package/Function/dist/effect-Function.cjs.dev.js +1 -1
- package/Function/dist/effect-Function.cjs.prod.js +1 -1
- package/Function/dist/effect-Function.esm.js +492 -1
- package/GlobalValue/dist/effect-GlobalValue.cjs.dev.js +1 -1
- package/GlobalValue/dist/effect-GlobalValue.cjs.prod.js +1 -1
- package/GlobalValue/dist/effect-GlobalValue.esm.js +20 -1
- package/GroupBy/dist/effect-GroupBy.cjs.dev.js +106 -106
- package/GroupBy/dist/effect-GroupBy.cjs.prod.js +106 -106
- package/GroupBy/dist/effect-GroupBy.esm.js +63 -108
- package/Hash/dist/effect-Hash.cjs.dev.js +5 -5
- package/Hash/dist/effect-Hash.cjs.prod.js +5 -5
- package/Hash/dist/effect-Hash.esm.js +164 -5
- package/HashMap/dist/effect-HashMap.cjs.dev.js +17 -17
- package/HashMap/dist/effect-HashMap.cjs.prod.js +17 -17
- package/HashMap/dist/effect-HashMap.esm.js +287 -18
- package/HashSet/dist/effect-HashSet.cjs.dev.js +17 -17
- package/HashSet/dist/effect-HashSet.cjs.prod.js +17 -17
- package/HashSet/dist/effect-HashSet.esm.js +227 -18
- package/Hub/dist/effect-Hub.cjs.dev.js +72 -72
- package/Hub/dist/effect-Hub.cjs.prod.js +72 -72
- package/Hub/dist/effect-Hub.esm.js +148 -74
- package/Inspectable/dist/effect-Inspectable.cjs.dev.js +1 -1
- package/Inspectable/dist/effect-Inspectable.cjs.prod.js +1 -1
- package/Inspectable/dist/effect-Inspectable.esm.js +38 -1
- package/KeyedPool/dist/effect-KeyedPool.cjs.dev.js +73 -73
- package/KeyedPool/dist/effect-KeyedPool.cjs.prod.js +73 -73
- package/KeyedPool/dist/effect-KeyedPool.esm.js +104 -75
- package/Layer/dist/effect-Layer.cjs.dev.js +81 -81
- package/Layer/dist/effect-Layer.cjs.prod.js +81 -81
- package/Layer/dist/effect-Layer.esm.js +557 -83
- package/List/dist/effect-List.cjs.dev.js +21 -21
- package/List/dist/effect-List.cjs.prod.js +21 -21
- package/List/dist/effect-List.esm.js +816 -21
- package/LogLevel/dist/effect-LogLevel.cjs.dev.js +32 -32
- package/LogLevel/dist/effect-LogLevel.cjs.prod.js +32 -32
- package/LogLevel/dist/effect-LogLevel.esm.js +202 -33
- package/LogSpan/dist/effect-LogSpan.cjs.dev.js +1 -1
- package/LogSpan/dist/effect-LogSpan.cjs.prod.js +1 -1
- package/LogSpan/dist/effect-LogSpan.esm.js +24 -1
- package/Logger/dist/effect-Logger.cjs.dev.js +83 -83
- package/Logger/dist/effect-Logger.cjs.prod.js +83 -83
- package/Logger/dist/effect-Logger.esm.js +198 -85
- package/Metric/dist/effect-Metric.cjs.dev.js +69 -69
- package/Metric/dist/effect-Metric.cjs.prod.js +69 -69
- package/Metric/dist/effect-Metric.esm.js +395 -71
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.dev.js +22 -22
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.prod.js +22 -22
- package/MetricBoundaries/dist/effect-MetricBoundaries.esm.js +52 -22
- package/MetricHook/dist/effect-MetricHook.cjs.dev.js +26 -26
- package/MetricHook/dist/effect-MetricHook.cjs.prod.js +26 -26
- package/MetricHook/dist/effect-MetricHook.esm.js +68 -27
- package/MetricKey/dist/effect-MetricKey.cjs.dev.js +22 -22
- package/MetricKey/dist/effect-MetricKey.cjs.prod.js +22 -22
- package/MetricKey/dist/effect-MetricKey.esm.js +104 -23
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.dev.js +18 -18
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.prod.js +18 -18
- package/MetricKeyType/dist/effect-MetricKeyType.esm.js +147 -18
- package/MetricLabel/dist/effect-MetricLabel.cjs.dev.js +9 -9
- package/MetricLabel/dist/effect-MetricLabel.cjs.prod.js +9 -9
- package/MetricLabel/dist/effect-MetricLabel.esm.js +41 -9
- package/MetricPair/dist/effect-MetricPair.cjs.dev.js +3 -3
- package/MetricPair/dist/effect-MetricPair.cjs.prod.js +3 -3
- package/MetricPair/dist/effect-MetricPair.esm.js +38 -3
- package/MetricPolling/dist/effect-MetricPolling.cjs.dev.js +75 -75
- package/MetricPolling/dist/effect-MetricPolling.cjs.prod.js +75 -75
- package/MetricPolling/dist/effect-MetricPolling.esm.js +84 -77
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.dev.js +32 -32
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.prod.js +32 -32
- package/MetricRegistry/dist/effect-MetricRegistry.esm.js +28 -33
- package/MetricState/dist/effect-MetricState.cjs.dev.js +9 -9
- package/MetricState/dist/effect-MetricState.cjs.prod.js +9 -9
- package/MetricState/dist/effect-MetricState.esm.js +151 -9
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.dev.js +19 -19
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.prod.js +19 -19
- package/MutableHashMap/dist/effect-MutableHashMap.esm.js +128 -20
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.dev.js +20 -20
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.prod.js +20 -20
- package/MutableHashSet/dist/effect-MutableHashSet.esm.js +90 -21
- package/MutableList/dist/effect-MutableList.cjs.dev.js +4 -4
- package/MutableList/dist/effect-MutableList.cjs.prod.js +4 -4
- package/MutableList/dist/effect-MutableList.esm.js +264 -4
- package/MutableQueue/dist/effect-MutableQueue.cjs.dev.js +22 -22
- package/MutableQueue/dist/effect-MutableQueue.cjs.prod.js +22 -22
- package/MutableQueue/dist/effect-MutableQueue.esm.js +187 -22
- package/MutableRef/dist/effect-MutableRef.cjs.dev.js +9 -9
- package/MutableRef/dist/effect-MutableRef.cjs.prod.js +9 -9
- package/MutableRef/dist/effect-MutableRef.esm.js +156 -9
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.dev.js +1 -1
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.prod.js +1 -1
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.esm.js +28 -1
- package/Number/dist/effect-Number.cjs.dev.js +5 -5
- package/Number/dist/effect-Number.cjs.prod.js +5 -5
- package/Number/dist/effect-Number.esm.js +369 -5
- package/Option/dist/effect-Option.cjs.dev.js +15 -15
- package/Option/dist/effect-Option.cjs.prod.js +15 -15
- package/Option/dist/effect-Option.esm.js +1071 -15
- package/Order/dist/effect-Order.cjs.dev.js +2 -2
- package/Order/dist/effect-Order.cjs.prod.js +2 -2
- package/Order/dist/effect-Order.esm.js +263 -2
- package/Ordering/dist/effect-Ordering.cjs.dev.js +2 -2
- package/Ordering/dist/effect-Ordering.cjs.prod.js +2 -2
- package/Ordering/dist/effect-Ordering.esm.js +88 -2
- package/Pipeable/dist/effect-Pipeable.cjs.dev.js +1 -1
- package/Pipeable/dist/effect-Pipeable.cjs.prod.js +1 -1
- package/Pipeable/dist/effect-Pipeable.esm.js +44 -1
- package/Pool/dist/effect-Pool.cjs.dev.js +73 -73
- package/Pool/dist/effect-Pool.cjs.prod.js +73 -73
- package/Pool/dist/effect-Pool.esm.js +104 -75
- package/Predicate/dist/effect-Predicate.cjs.dev.js +2 -2
- package/Predicate/dist/effect-Predicate.cjs.prod.js +2 -2
- package/Predicate/dist/effect-Predicate.esm.js +634 -2
- package/Queue/dist/effect-Queue.cjs.dev.js +72 -72
- package/Queue/dist/effect-Queue.cjs.prod.js +72 -72
- package/Queue/dist/effect-Queue.esm.js +328 -74
- package/Random/dist/effect-Random.cjs.dev.js +40 -40
- package/Random/dist/effect-Random.cjs.prod.js +40 -40
- package/Random/dist/effect-Random.esm.js +83 -42
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.dev.js +19 -19
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js +19 -19
- package/ReadonlyArray/dist/effect-ReadonlyArray.esm.js +1445 -19
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.dev.js +17 -17
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.prod.js +17 -17
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.esm.js +518 -17
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.dev.js +21 -21
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.prod.js +21 -21
- package/RedBlackTree/dist/effect-RedBlackTree.esm.js +314 -22
- package/Ref/dist/effect-Ref.cjs.dev.js +32 -32
- package/Ref/dist/effect-Ref.cjs.prod.js +32 -32
- package/Ref/dist/effect-Ref.esm.js +111 -33
- package/Reloadable/dist/effect-Reloadable.cjs.dev.js +82 -82
- package/Reloadable/dist/effect-Reloadable.cjs.prod.js +82 -82
- package/Reloadable/dist/effect-Reloadable.esm.js +88 -84
- package/Request/dist/effect-Request.cjs.dev.js +72 -72
- package/Request/dist/effect-Request.cjs.prod.js +72 -72
- package/Request/dist/effect-Request.esm.js +160 -74
- package/RequestBlock/dist/effect-RequestBlock.cjs.dev.js +89 -89
- package/RequestBlock/dist/effect-RequestBlock.cjs.prod.js +89 -89
- package/RequestBlock/dist/effect-RequestBlock.esm.js +103 -91
- package/RequestResolver/dist/effect-RequestResolver.cjs.dev.js +89 -89
- package/RequestResolver/dist/effect-RequestResolver.cjs.prod.js +89 -89
- package/RequestResolver/dist/effect-RequestResolver.esm.js +191 -91
- package/Resource/dist/effect-Resource.cjs.dev.js +77 -77
- package/Resource/dist/effect-Resource.cjs.prod.js +77 -77
- package/Resource/dist/effect-Resource.esm.js +70 -79
- package/Runtime/dist/effect-Runtime.cjs.dev.js +77 -77
- package/Runtime/dist/effect-Runtime.cjs.prod.js +77 -77
- package/Runtime/dist/effect-Runtime.esm.js +157 -79
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.dev.js +83 -83
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.prod.js +83 -83
- package/RuntimeFlags/dist/effect-RuntimeFlags.esm.js +305 -85
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.dev.js +26 -26
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.prod.js +26 -26
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.esm.js +158 -27
- package/STM/dist/effect-STM.cjs.dev.js +110 -110
- package/STM/dist/effect-STM.cjs.prod.js +110 -110
- package/STM/dist/effect-STM.esm.js +1193 -112
- package/Schedule/dist/effect-Schedule.cjs.dev.js +55 -55
- package/Schedule/dist/effect-Schedule.cjs.prod.js +55 -55
- package/Schedule/dist/effect-Schedule.esm.js +957 -57
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.dev.js +24 -24
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.prod.js +24 -24
- package/ScheduleDecision/dist/effect-ScheduleDecision.esm.js +48 -24
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.dev.js +17 -17
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.prod.js +17 -17
- package/ScheduleInterval/dist/effect-ScheduleInterval.esm.js +130 -17
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.dev.js +23 -23
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.prod.js +23 -23
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.esm.js +105 -23
- package/Scheduler/dist/effect-Scheduler.cjs.dev.js +32 -32
- package/Scheduler/dist/effect-Scheduler.cjs.prod.js +32 -32
- package/Scheduler/dist/effect-Scheduler.esm.js +326 -34
- package/Scope/dist/effect-Scope.cjs.dev.js +69 -69
- package/Scope/dist/effect-Scope.cjs.prod.js +69 -69
- package/Scope/dist/effect-Scope.esm.js +117 -71
- package/ScopedCache/dist/effect-ScopedCache.cjs.dev.js +73 -73
- package/ScopedCache/dist/effect-ScopedCache.cjs.prod.js +73 -73
- package/ScopedCache/dist/effect-ScopedCache.esm.js +52 -75
- package/ScopedRef/dist/effect-ScopedRef.cjs.dev.js +77 -77
- package/ScopedRef/dist/effect-ScopedRef.cjs.prod.js +77 -77
- package/ScopedRef/dist/effect-ScopedRef.esm.js +71 -79
- package/Sink/dist/effect-Sink.cjs.dev.js +99 -99
- package/Sink/dist/effect-Sink.cjs.prod.js +99 -99
- package/Sink/dist/effect-Sink.esm.js +997 -101
- package/SortedMap/dist/effect-SortedMap.cjs.dev.js +22 -22
- package/SortedMap/dist/effect-SortedMap.cjs.prod.js +22 -22
- package/SortedMap/dist/effect-SortedMap.esm.js +168 -23
- package/SortedSet/dist/effect-SortedSet.cjs.dev.js +22 -22
- package/SortedSet/dist/effect-SortedSet.cjs.prod.js +22 -22
- package/SortedSet/dist/effect-SortedSet.esm.js +263 -23
- package/Stream/dist/effect-Stream.cjs.dev.js +106 -106
- package/Stream/dist/effect-Stream.cjs.prod.js +106 -106
- package/Stream/dist/effect-Stream.esm.js +2879 -108
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.dev.js +2 -2
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.prod.js +2 -2
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.esm.js +97 -2
- package/String/dist/effect-String.cjs.dev.js +17 -17
- package/String/dist/effect-String.cjs.prod.js +17 -17
- package/String/dist/effect-String.esm.js +600 -17
- package/Struct/dist/effect-Struct.cjs.dev.js +4 -4
- package/Struct/dist/effect-Struct.cjs.prod.js +4 -4
- package/Struct/dist/effect-Struct.esm.js +125 -4
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.dev.js +106 -106
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.prod.js +106 -106
- package/SubscriptionRef/dist/effect-SubscriptionRef.esm.js +160 -108
- package/Supervisor/dist/effect-Supervisor.cjs.dev.js +83 -83
- package/Supervisor/dist/effect-Supervisor.cjs.prod.js +83 -83
- package/Supervisor/dist/effect-Supervisor.esm.js +148 -85
- package/Symbol/dist/effect-Symbol.cjs.dev.js +4 -4
- package/Symbol/dist/effect-Symbol.cjs.prod.js +4 -4
- package/Symbol/dist/effect-Symbol.esm.js +30 -4
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.dev.js +76 -76
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.prod.js +76 -76
- package/SynchronizedRef/dist/effect-SynchronizedRef.esm.js +160 -78
- package/TArray/dist/effect-TArray.cjs.dev.js +112 -112
- package/TArray/dist/effect-TArray.cjs.prod.js +112 -112
- package/TArray/dist/effect-TArray.esm.js +367 -114
- package/TDeferred/dist/effect-TDeferred.cjs.dev.js +111 -111
- package/TDeferred/dist/effect-TDeferred.cjs.prod.js +111 -111
- package/TDeferred/dist/effect-TDeferred.esm.js +63 -113
- package/THub/dist/effect-THub.cjs.dev.js +113 -113
- package/THub/dist/effect-THub.cjs.prod.js +113 -113
- package/THub/dist/effect-THub.esm.js +157 -115
- package/TMap/dist/effect-TMap.cjs.dev.js +114 -114
- package/TMap/dist/effect-TMap.cjs.prod.js +114 -114
- package/TMap/dist/effect-TMap.esm.js +373 -116
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.dev.js +111 -111
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.prod.js +111 -111
- package/TPriorityQueue/dist/effect-TPriorityQueue.esm.js +184 -113
- package/TQueue/dist/effect-TQueue.cjs.dev.js +113 -113
- package/TQueue/dist/effect-TQueue.cjs.prod.js +113 -113
- package/TQueue/dist/effect-TQueue.esm.js +293 -115
- package/TRandom/dist/effect-TRandom.cjs.dev.js +112 -112
- package/TRandom/dist/effect-TRandom.cjs.prod.js +112 -112
- package/TRandom/dist/effect-TRandom.esm.js +93 -114
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.dev.js +110 -110
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.prod.js +110 -110
- package/TReentrantLock/dist/effect-TReentrantLock.esm.js +199 -112
- package/TRef/dist/effect-TRef.cjs.dev.js +110 -110
- package/TRef/dist/effect-TRef.cjs.prod.js +110 -110
- package/TRef/dist/effect-TRef.esm.js +116 -112
- package/TSemaphore/dist/effect-TSemaphore.cjs.dev.js +112 -112
- package/TSemaphore/dist/effect-TSemaphore.cjs.prod.js +112 -112
- package/TSemaphore/dist/effect-TSemaphore.esm.js +97 -114
- package/TSet/dist/effect-TSet.cjs.dev.js +114 -114
- package/TSet/dist/effect-TSet.cjs.prod.js +114 -114
- package/TSet/dist/effect-TSet.esm.js +268 -116
- package/Take/dist/effect-Take.cjs.dev.js +89 -89
- package/Take/dist/effect-Take.cjs.prod.js +89 -89
- package/Take/dist/effect-Take.esm.js +190 -91
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.dev.js +25 -25
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.prod.js +25 -25
- package/TestAnnotation/dist/effect-TestAnnotation.esm.js +111 -26
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.dev.js +2 -2
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.prod.js +2 -2
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.esm.js +101 -2
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.dev.js +57 -57
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.prod.js +57 -57
- package/TestAnnotations/dist/effect-TestAnnotations.esm.js +83 -59
- package/TestClock/dist/effect-TestClock.cjs.dev.js +85 -85
- package/TestClock/dist/effect-TestClock.cjs.prod.js +85 -85
- package/TestClock/dist/effect-TestClock.esm.js +411 -87
- package/TestConfig/dist/effect-TestConfig.cjs.dev.js +18 -18
- package/TestConfig/dist/effect-TestConfig.cjs.prod.js +18 -18
- package/TestConfig/dist/effect-TestConfig.esm.js +27 -18
- package/TestContext/dist/effect-TestContext.cjs.dev.js +96 -96
- package/TestContext/dist/effect-TestContext.cjs.prod.js +96 -96
- package/TestContext/dist/effect-TestContext.esm.js +29 -98
- package/TestLive/dist/effect-TestLive.cjs.dev.js +40 -40
- package/TestLive/dist/effect-TestLive.cjs.prod.js +40 -40
- package/TestLive/dist/effect-TestLive.esm.js +48 -42
- package/TestServices/dist/effect-TestServices.cjs.dev.js +94 -94
- package/TestServices/dist/effect-TestServices.cjs.prod.js +94 -94
- package/TestServices/dist/effect-TestServices.esm.js +269 -96
- package/TestSized/dist/effect-TestSized.cjs.dev.js +32 -32
- package/TestSized/dist/effect-TestSized.cjs.prod.js +32 -32
- package/TestSized/dist/effect-TestSized.esm.js +50 -33
- package/Tracer/dist/effect-Tracer.cjs.dev.js +40 -40
- package/Tracer/dist/effect-Tracer.cjs.prod.js +40 -40
- package/Tracer/dist/effect-Tracer.esm.js +68 -42
- package/Tuple/dist/effect-Tuple.cjs.dev.js +4 -4
- package/Tuple/dist/effect-Tuple.cjs.prod.js +4 -4
- package/Tuple/dist/effect-Tuple.esm.js +173 -4
- package/Unify/dist/effect-Unify.cjs.dev.js +2 -2
- package/Unify/dist/effect-Unify.cjs.prod.js +2 -2
- package/Unify/dist/effect-Unify.esm.js +40 -2
- package/Utils/dist/effect-Utils.cjs.dev.js +3 -3
- package/Utils/dist/effect-Utils.cjs.prod.js +3 -3
- package/Utils/dist/effect-Utils.esm.js +352 -3
- package/dist/Bigint-0ebd807c.cjs.dev.js +392 -0
- package/dist/Bigint-912c77f3.cjs.prod.js +392 -0
- package/dist/Boolean-97839b78.cjs.prod.js +264 -0
- package/dist/Boolean-f0bc3abf.cjs.dev.js +264 -0
- package/dist/Brand-93578f43.cjs.prod.js +224 -0
- package/dist/Brand-b238487d.cjs.dev.js +224 -0
- package/dist/Cache-1688e584.cjs.dev.js +127 -0
- package/dist/Cache-8f2f2b55.cjs.prod.js +127 -0
- package/dist/Cause-384e2165.cjs.prod.js +791 -0
- package/dist/Cause-96c29074.cjs.dev.js +791 -0
- package/dist/Channel-2ce019f1.cjs.prod.js +1217 -0
- package/dist/Channel-544108d2.cjs.dev.js +1217 -0
- package/dist/ChannelChildExecutorDecision-168278f6.cjs.prod.js +136 -0
- package/dist/ChannelChildExecutorDecision-b0e715de.cjs.dev.js +136 -0
- package/dist/ChannelMergeDecision-9c266aeb.cjs.prod.js +78 -0
- package/dist/ChannelMergeDecision-eeaf4779.cjs.dev.js +78 -0
- package/dist/ChannelMergeState-4366d090.cjs.prod.js +125 -0
- package/dist/ChannelMergeState-abce1d88.cjs.dev.js +125 -0
- package/dist/ChannelMergeStrategy-6193b8e0.cjs.prod.js +104 -0
- package/dist/ChannelMergeStrategy-e7ddbb7a.cjs.dev.js +104 -0
- package/dist/ChannelSingleProducerAsyncInput-62f4749c.cjs.dev.js +55 -0
- package/dist/ChannelSingleProducerAsyncInput-6e0084c3.cjs.prod.js +55 -0
- package/dist/ChannelUpstreamPullRequest-1ca7d2bd.cjs.dev.js +104 -0
- package/dist/ChannelUpstreamPullRequest-208751c3.cjs.prod.js +104 -0
- package/dist/ChannelUpstreamPullStrategy-266b5a77.cjs.prod.js +103 -0
- package/dist/ChannelUpstreamPullStrategy-ec57dc70.cjs.dev.js +103 -0
- package/dist/Chunk-6cf5a8e6.cjs.prod.js +1248 -0
- package/dist/Chunk-bd290b8e.cjs.dev.js +1248 -0
- package/dist/Clock-09ecce0a.cjs.prod.js +97 -0
- package/dist/Clock-bec722c1.cjs.dev.js +97 -0
- package/dist/Config-85ae6286.cjs.prod.js +393 -0
- package/dist/Config-dc58cf69.cjs.dev.js +393 -0
- package/dist/ConfigError-c1f762d2.cjs.dev.js +225 -0
- package/dist/ConfigError-cee682fa.cjs.prod.js +225 -0
- package/dist/ConfigProvider-8341a5f5.cjs.prod.js +240 -0
- package/dist/ConfigProvider-de45b085.cjs.dev.js +240 -0
- package/dist/ConfigProviderPathPatch-52422b32.cjs.prod.js +86 -0
- package/dist/ConfigProviderPathPatch-d22442e3.cjs.dev.js +86 -0
- package/dist/ConfigSecret-c76717e8.cjs.dev.js +83 -0
- package/dist/ConfigSecret-ebab2ae7.cjs.prod.js +83 -0
- package/dist/Console-150b7b40.cjs.prod.js +271 -0
- package/dist/Console-4825ee9f.cjs.dev.js +271 -0
- package/dist/Context-25a49952.cjs.prod.js +327 -0
- package/dist/Context-3c9e986b.cjs.dev.js +327 -0
- package/dist/Context-96739709.cjs.dev.js +222 -0
- package/dist/Context-f958cabc.cjs.prod.js +222 -0
- package/dist/Data-07dc27f1.cjs.prod.js +237 -0
- package/dist/Data-85559fb3.cjs.dev.js +237 -0
- package/dist/DefaultServices-d5740d37.cjs.dev.js +34 -0
- package/dist/DefaultServices-df7495bb.cjs.prod.js +34 -0
- package/dist/Deferred-5d5c886c.cjs.dev.js +253 -0
- package/dist/Deferred-9d825b3b.cjs.prod.js +253 -0
- package/dist/Differ-0122f60e.cjs.dev.js +992 -0
- package/dist/Differ-0bd34066.cjs.prod.js +992 -0
- package/dist/Duration-0bc08d03.cjs.prod.js +508 -0
- package/dist/Duration-604874d1.cjs.dev.js +508 -0
- package/dist/Effect-1442090f.cjs.prod.js +3740 -0
- package/dist/Effect-6e9780e6.cjs.dev.js +3740 -0
- package/dist/Effectable-04f3cd30.cjs.dev.js +99 -0
- package/dist/Effectable-8997112d.cjs.prod.js +99 -0
- package/dist/Effectable-a6403e5f.cjs.dev.js +181 -0
- package/dist/Effectable-f867d1cb.cjs.prod.js +181 -0
- package/dist/Either-3fab3796.cjs.prod.js +502 -0
- package/dist/Either-9c349424.cjs.dev.js +178 -0
- package/dist/Either-a806809d.cjs.dev.js +502 -0
- package/dist/Either-d03d5f05.cjs.prod.js +178 -0
- package/dist/Encoding-0cab52d5.cjs.prod.js +309 -0
- package/dist/Encoding-d993b1b0.cjs.dev.js +309 -0
- package/dist/Equal-281b6ca8.cjs.dev.js +71 -0
- package/dist/Equal-ce9977a8.cjs.prod.js +71 -0
- package/dist/Equivalence-0bc84518.cjs.prod.js +238 -0
- package/dist/Equivalence-de7a0d51.cjs.dev.js +238 -0
- package/dist/Error-5ab157f2.cjs.dev.js +57 -0
- package/dist/Error-e9d25c53.cjs.prod.js +57 -0
- package/dist/ExecutionStrategy-89fbe735.cjs.dev.js +180 -0
- package/dist/ExecutionStrategy-dc778180.cjs.prod.js +180 -0
- package/dist/Exit-5691142c.cjs.prod.js +408 -0
- package/dist/Exit-a23874e1.cjs.dev.js +408 -0
- package/dist/Fiber-6432d5f7.cjs.dev.js +521 -0
- package/dist/Fiber-e61b3c65.cjs.prod.js +521 -0
- package/dist/FiberId-929dcce4.cjs.dev.js +443 -0
- package/dist/FiberId-b79e8047.cjs.prod.js +443 -0
- package/dist/FiberRef-1db44a9b.cjs.dev.js +385 -0
- package/dist/FiberRef-efb4a3ac.cjs.prod.js +385 -0
- package/dist/FiberRefs-43bfd8b9.cjs.dev.js +135 -0
- package/dist/FiberRefs-4cb171f7.cjs.prod.js +135 -0
- package/dist/FiberRefsPatch-5236f61e.cjs.dev.js +90 -0
- package/dist/FiberRefsPatch-cb847553.cjs.prod.js +90 -0
- package/dist/FiberStatus-b82dad24.cjs.prod.js +197 -0
- package/dist/FiberStatus-bac7d58d.cjs.dev.js +197 -0
- package/dist/Function-2e6b0cda.cjs.prod.js +538 -0
- package/dist/Function-41ce433d.cjs.dev.js +538 -0
- package/dist/GlobalValue-81ab6908.cjs.dev.js +28 -0
- package/dist/GlobalValue-cb645c99.cjs.prod.js +28 -0
- package/dist/GroupBy-8a8149b4.cjs.dev.js +79 -0
- package/dist/GroupBy-b74084af.cjs.prod.js +79 -0
- package/dist/Hash-1bd73210.cjs.prod.js +192 -0
- package/dist/Hash-bd154268.cjs.dev.js +192 -0
- package/dist/HashMap-12668911.cjs.prod.js +361 -0
- package/dist/HashMap-68e290b6.cjs.dev.js +361 -0
- package/dist/HashSet-6978c08e.cjs.dev.js +283 -0
- package/dist/HashSet-6fe62df2.cjs.prod.js +965 -0
- package/dist/HashSet-c40a52b1.cjs.prod.js +283 -0
- package/dist/HashSet-ece2cfe8.cjs.dev.js +965 -0
- package/dist/Hub-6e64debd.cjs.prod.js +1280 -0
- package/dist/Hub-74834668.cjs.dev.js +1280 -0
- package/dist/Inspectable-3c4a0f5d.cjs.prod.js +50 -0
- package/dist/Inspectable-ac929af4.cjs.dev.js +50 -0
- package/dist/KeyedPool-b05481e9.cjs.dev.js +282 -0
- package/dist/KeyedPool-cd8abf95.cjs.prod.js +282 -0
- package/dist/Layer-297269fd.cjs.prod.js +687 -0
- package/dist/Layer-c69f3fdc.cjs.dev.js +687 -0
- package/dist/List-c6ea7efe.cjs.dev.js +912 -0
- package/dist/List-d9775087.cjs.prod.js +912 -0
- package/dist/LogLevel-99f64f82.cjs.dev.js +240 -0
- package/dist/LogLevel-e9848e15.cjs.prod.js +240 -0
- package/dist/LogSpan-c905a192.cjs.prod.js +46 -0
- package/dist/LogSpan-e345ba58.cjs.dev.js +46 -0
- package/dist/Logger-680763c7.cjs.dev.js +275 -0
- package/dist/Logger-7a664cc3.cjs.prod.js +275 -0
- package/dist/Metric-09d012ff.cjs.dev.js +488 -0
- package/dist/Metric-b7563a68.cjs.prod.js +488 -0
- package/dist/MetricBoundaries-cf5df220.cjs.prod.js +68 -0
- package/dist/MetricBoundaries-f5f5aae1.cjs.dev.js +68 -0
- package/dist/MetricHook-3104e93b.cjs.dev.js +90 -0
- package/dist/MetricHook-efd05d72.cjs.prod.js +90 -0
- package/dist/MetricKey-9cfcaec8.cjs.prod.js +130 -0
- package/dist/MetricKey-c3ba437e.cjs.dev.js +130 -0
- package/dist/MetricKeyType-6d2d9036.cjs.prod.js +187 -0
- package/dist/MetricKeyType-c1d7ebe8.cjs.dev.js +187 -0
- package/dist/MetricLabel-6a1886c6.cjs.dev.js +53 -0
- package/dist/MetricLabel-7e1d569e.cjs.prod.js +53 -0
- package/dist/MetricPair-658ab13d.cjs.dev.js +50 -0
- package/dist/MetricPair-aec13967.cjs.prod.js +50 -0
- package/dist/MetricPolling-5af0ff67.cjs.dev.js +177 -0
- package/dist/MetricPolling-a0a4e798.cjs.prod.js +177 -0
- package/dist/MetricRegistry-e4af936b.cjs.dev.js +38 -0
- package/dist/MetricRegistry-ff6df283.cjs.prod.js +38 -0
- package/dist/MetricState-b65340a4.cjs.dev.js +191 -0
- package/dist/MetricState-bd6a5001.cjs.prod.js +191 -0
- package/dist/MutableHashMap-74e83e84.cjs.dev.js +154 -0
- package/dist/MutableHashMap-95493edb.cjs.prod.js +154 -0
- package/dist/MutableHashSet-780dfd63.cjs.prod.js +110 -0
- package/dist/MutableHashSet-ec8d7cc4.cjs.dev.js +110 -0
- package/dist/MutableList-58124ef2.cjs.dev.js +296 -0
- package/dist/MutableList-732af09a.cjs.prod.js +296 -0
- package/dist/MutableQueue-0e9f2466.cjs.dev.js +215 -0
- package/dist/MutableQueue-f8aba856.cjs.prod.js +215 -0
- package/dist/MutableRef-4a2f1f23.cjs.prod.js +194 -0
- package/dist/MutableRef-724c4082.cjs.dev.js +194 -0
- package/dist/NonEmptyIterable-418cef14.cjs.prod.js +36 -0
- package/dist/NonEmptyIterable-bb452f41.cjs.dev.js +36 -0
- package/dist/Number-588f6483.cjs.dev.js +417 -0
- package/dist/Number-cb2ba2e8.cjs.prod.js +417 -0
- package/dist/Option-02025c86.cjs.prod.js +1198 -0
- package/dist/Option-03997d77.cjs.dev.js +1198 -0
- package/dist/Order-28bdebd2.cjs.dev.js +321 -0
- package/dist/Order-8a112bfb.cjs.prod.js +321 -0
- package/dist/Ordering-60bf9127.cjs.prod.js +104 -0
- package/dist/Ordering-b955b746.cjs.dev.js +104 -0
- package/dist/Pipeable-4698db72.cjs.dev.js +52 -0
- package/dist/Pipeable-d3ec6711.cjs.prod.js +52 -0
- package/dist/Pool-54389592.cjs.prod.js +122 -0
- package/dist/Pool-fe1b506a.cjs.dev.js +122 -0
- package/dist/Predicate-9e859c9c.cjs.dev.js +718 -0
- package/dist/Predicate-daa86e61.cjs.prod.js +718 -0
- package/dist/Queue-5f954287.cjs.prod.js +394 -0
- package/dist/Queue-8d082fe4.cjs.dev.js +394 -0
- package/dist/Random-35304046.cjs.dev.js +104 -0
- package/dist/Random-b4709b6a.cjs.prod.js +104 -0
- package/dist/ReadonlyArray-48949ee7.cjs.dev.js +1721 -0
- package/dist/ReadonlyArray-8157f697.cjs.prod.js +1721 -0
- package/dist/ReadonlyArray-9a1474f6.cjs.dev.js +10 -0
- package/dist/ReadonlyArray-f9ed7a05.cjs.prod.js +10 -0
- package/dist/ReadonlyRecord-605a625b.cjs.dev.js +568 -0
- package/dist/ReadonlyRecord-8db8bada.cjs.prod.js +568 -0
- package/dist/RedBlackTree-e6bd147c.cjs.dev.js +1669 -0
- package/dist/RedBlackTree-eb41ea8a.cjs.prod.js +1669 -0
- package/dist/Ref-30e5ee58.cjs.prod.js +282 -0
- package/dist/Ref-af783b72.cjs.dev.js +282 -0
- package/dist/Reloadable-2b8ba75d.cjs.prod.js +169 -0
- package/dist/Reloadable-b01c9297.cjs.dev.js +169 -0
- package/dist/Request-53592fe4.cjs.prod.js +190 -0
- package/dist/Request-d3b63af6.cjs.dev.js +190 -0
- package/dist/RequestBlock-1aa4c3bd.cjs.dev.js +124 -0
- package/dist/RequestBlock-8c3b51d1.cjs.prod.js +124 -0
- package/dist/RequestResolver-133197d5.cjs.prod.js +233 -0
- package/dist/RequestResolver-86c21b80.cjs.dev.js +233 -0
- package/dist/Resource-2530fe45.cjs.prod.js +118 -0
- package/dist/Resource-e50b4b25.cjs.dev.js +118 -0
- package/dist/Runtime-0d643f0c.cjs.prod.js +191 -0
- package/dist/Runtime-c4b887ff.cjs.dev.js +191 -0
- package/dist/RuntimeFlags-9d8fac5a.cjs.prod.js +381 -0
- package/dist/RuntimeFlags-f67e3984.cjs.dev.js +381 -0
- package/dist/RuntimeFlagsPatch-130e990c.cjs.dev.js +411 -0
- package/dist/RuntimeFlagsPatch-5570758d.cjs.prod.js +411 -0
- package/dist/STM-23270be2.cjs.prod.js +1447 -0
- package/dist/STM-5a4c9921.cjs.dev.js +1447 -0
- package/dist/Schedule-0444792d.cjs.prod.js +1159 -0
- package/dist/Schedule-b6c7b49a.cjs.dev.js +1159 -0
- package/dist/ScheduleDecision-369f2d2b.cjs.prod.js +106 -0
- package/dist/ScheduleDecision-ba8d0e87.cjs.dev.js +106 -0
- package/dist/ScheduleInterval-51f42533.cjs.dev.js +244 -0
- package/dist/ScheduleInterval-78037484.cjs.prod.js +244 -0
- package/dist/ScheduleIntervals-b0bfcf3b.cjs.dev.js +265 -0
- package/dist/ScheduleIntervals-db13140c.cjs.prod.js +265 -0
- package/dist/Scheduler-819ee02a.cjs.prod.js +358 -0
- package/dist/Scheduler-d080442d.cjs.dev.js +358 -0
- package/dist/Scope-311c7eb9.cjs.prod.js +143 -0
- package/dist/Scope-6ba9ec6d.cjs.dev.js +143 -0
- package/dist/ScopedCache-3f58b125.cjs.dev.js +467 -0
- package/dist/ScopedCache-8f99505c.cjs.prod.js +467 -0
- package/dist/ScopedRef-7946d287.cjs.prod.js +87 -0
- package/dist/ScopedRef-b92e1633.cjs.dev.js +87 -0
- package/dist/Sink-9f13da17.cjs.dev.js +1215 -0
- package/dist/Sink-9f82fc3b.cjs.prod.js +1215 -0
- package/dist/SortedMap-bb3311c3.cjs.prod.js +210 -0
- package/dist/SortedMap-f452cc44.cjs.dev.js +210 -0
- package/dist/SortedSet-424670fe.cjs.prod.js +311 -0
- package/dist/SortedSet-f90b14a2.cjs.dev.js +311 -0
- package/dist/Stream-14325ecb.cjs.dev.js +3469 -0
- package/dist/Stream-cf262c16.cjs.prod.js +3469 -0
- package/dist/StreamHaltStrategy-07f544a6.cjs.prod.js +214 -0
- package/dist/StreamHaltStrategy-66a53f66.cjs.dev.js +214 -0
- package/dist/String-23b18ca9.cjs.prod.js +694 -0
- package/dist/String-830aaa3e.cjs.dev.js +694 -0
- package/dist/Struct-14648d76.cjs.dev.js +141 -0
- package/dist/Struct-c6b00f29.cjs.prod.js +141 -0
- package/dist/SubscriptionRef-aa7bdc5f.cjs.prod.js +269 -0
- package/dist/SubscriptionRef-d3c1aa07.cjs.dev.js +269 -0
- package/dist/Supervisor-21087253.cjs.prod.js +170 -0
- package/dist/Supervisor-40dd7ce5.cjs.dev.js +170 -0
- package/dist/Symbol-55d0b3d8.cjs.prod.js +40 -0
- package/dist/Symbol-5d74a5f2.cjs.dev.js +40 -0
- package/dist/SynchronizedRef-3181eb0a.cjs.dev.js +212 -0
- package/dist/SynchronizedRef-c6e0884b.cjs.prod.js +212 -0
- package/dist/TArray-6767b4bd.cjs.prod.js +455 -0
- package/dist/TArray-a0a4c6e6.cjs.dev.js +455 -0
- package/dist/TDeferred-a9839479.cjs.prod.js +129 -0
- package/dist/TDeferred-ac2c4025.cjs.dev.js +129 -0
- package/dist/THub-25b77864.cjs.prod.js +570 -0
- package/dist/THub-38053ae1.cjs.dev.js +570 -0
- package/dist/TMap-91505efa.cjs.prod.js +463 -0
- package/dist/TMap-de8ac080.cjs.dev.js +463 -0
- package/dist/TPriorityQueue-00b65d1a.cjs.prod.js +381 -0
- package/dist/TPriorityQueue-96ff0e15.cjs.dev.js +381 -0
- package/dist/TQueue-5e242ca2.cjs.prod.js +353 -0
- package/dist/TQueue-707762bf.cjs.dev.js +353 -0
- package/dist/TRandom-5eb21d23.cjs.dev.js +203 -0
- package/dist/TRandom-ec9c7bf7.cjs.prod.js +203 -0
- package/dist/TReentrantLock-1b77d76f.cjs.dev.js +456 -0
- package/dist/TReentrantLock-c5a8401e.cjs.prod.js +456 -0
- package/dist/TRef-b87580d7.cjs.prod.js +152 -0
- package/dist/TRef-cf2e8ad7.cjs.dev.js +152 -0
- package/dist/TSemaphore-29503416.cjs.prod.js +197 -0
- package/dist/TSemaphore-50edec08.cjs.dev.js +197 -0
- package/dist/TSet-3c2568e9.cjs.prod.js +444 -0
- package/dist/TSet-bb4775ca.cjs.dev.js +444 -0
- package/dist/Take-684c9901.cjs.dev.js +236 -0
- package/dist/Take-b4c91438.cjs.prod.js +236 -0
- package/dist/TestAnnotation-73be7a68.cjs.dev.js +135 -0
- package/dist/TestAnnotation-b9b93d03.cjs.prod.js +135 -0
- package/dist/TestAnnotationMap-80c87410.cjs.dev.js +125 -0
- package/dist/TestAnnotationMap-e946bab5.cjs.prod.js +125 -0
- package/dist/TestAnnotations-5db95828.cjs.prod.js +97 -0
- package/dist/TestAnnotations-733b39ef.cjs.dev.js +97 -0
- package/dist/TestClock-89a36b89.cjs.prod.js +581 -0
- package/dist/TestClock-e2773846.cjs.dev.js +581 -0
- package/dist/TestConfig-1a73e844.cjs.prod.js +37 -0
- package/dist/TestConfig-e5ffa946.cjs.dev.js +37 -0
- package/dist/TestContext-3328163e.cjs.dev.js +41 -0
- package/dist/TestContext-917bf305.cjs.prod.js +41 -0
- package/dist/TestLive-465ad3ef.cjs.dev.js +60 -0
- package/dist/TestLive-f3232ac4.cjs.prod.js +60 -0
- package/dist/TestServices-605f726e.cjs.prod.js +341 -0
- package/dist/TestServices-921e5c42.cjs.dev.js +341 -0
- package/dist/TestSized-6c1abc21.cjs.dev.js +64 -0
- package/dist/TestSized-a9a87d64.cjs.prod.js +64 -0
- package/dist/Tracer-d06d0b61.cjs.prod.js +81 -0
- package/dist/Tracer-da182c8c.cjs.dev.js +81 -0
- package/dist/Tuple-27ecf3a1.cjs.prod.js +199 -0
- package/dist/Tuple-75d2a389.cjs.dev.js +199 -0
- package/dist/Unify-99be0499.cjs.dev.js +48 -0
- package/dist/Unify-e86fd412.cjs.prod.js +48 -0
- package/dist/Utils-864e1d48.cjs.prod.js +370 -0
- package/dist/Utils-b0c14d1b.cjs.dev.js +370 -0
- package/dist/boundaries-03c7494a.cjs.dev.js +54 -0
- package/dist/boundaries-5d1a46e1.cjs.prod.js +54 -0
- package/dist/cache-6cdc31f7.cjs.dev.js +523 -0
- package/dist/cache-ab7bbfbd.cjs.prod.js +523 -0
- package/dist/childExecutorDecision-2b30946c.cjs.prod.js +98 -0
- package/dist/childExecutorDecision-ad3db696.cjs.dev.js +98 -0
- package/dist/circular-4cb0b79d.cjs.dev.js +341 -0
- package/dist/circular-5b3558d9.cjs.prod.js +341 -0
- package/dist/circular-78011d6b.cjs.dev.js +107 -0
- package/dist/circular-81b4c556.cjs.prod.js +107 -0
- package/dist/config-10f2a1d1.cjs.dev.js +474 -0
- package/dist/config-78feb1ac.cjs.prod.js +474 -0
- package/dist/configError-1686533e.cjs.dev.js +323 -0
- package/dist/configError-6a3652f8.cjs.prod.js +323 -0
- package/dist/configProvider-2b177eac.cjs.prod.js +447 -0
- package/dist/configProvider-e2eb112d.cjs.dev.js +447 -0
- package/dist/configSecret-5812fa69.cjs.dev.js +74 -0
- package/dist/configSecret-ecb6c5b3.cjs.prod.js +74 -0
- package/dist/core-4ced6e17.cjs.prod.js +1072 -0
- package/dist/core-ac668be0.cjs.dev.js +3502 -0
- package/dist/core-c2eb171a.cjs.prod.js +3502 -0
- package/dist/core-d9eea905.cjs.dev.js +1072 -0
- package/dist/core-effect-a9b8ee08.cjs.dev.js +1030 -0
- package/dist/core-effect-bf806dd9.cjs.prod.js +1030 -0
- package/dist/dataSource-abccc876.cjs.prod.js +74 -0
- package/dist/dataSource-d5f79f4e.cjs.dev.js +74 -0
- package/dist/declarations/src/Bigint.d.ts +22 -22
- package/dist/declarations/src/Boolean.d.ts +15 -15
- package/dist/declarations/src/Brand.d.ts +20 -20
- package/dist/declarations/src/Cache.d.ts +14 -14
- package/dist/declarations/src/Cause.d.ts +81 -81
- package/dist/declarations/src/Channel.d.ts +117 -117
- package/dist/declarations/src/ChannelChildExecutorDecision.d.ts +16 -16
- package/dist/declarations/src/ChannelMergeDecision.d.ts +11 -11
- package/dist/declarations/src/ChannelMergeState.d.ts +17 -17
- package/dist/declarations/src/ChannelMergeStrategy.d.ts +13 -13
- package/dist/declarations/src/ChannelSingleProducerAsyncInput.d.ts +5 -5
- package/dist/declarations/src/ChannelUpstreamPullRequest.d.ts +13 -13
- package/dist/declarations/src/ChannelUpstreamPullStrategy.d.ts +13 -13
- package/dist/declarations/src/Chunk.d.ts +84 -84
- package/dist/declarations/src/Clock.d.ts +13 -13
- package/dist/declarations/src/Config.d.ts +40 -40
- package/dist/declarations/src/ConfigError.d.ts +31 -31
- package/dist/declarations/src/ConfigProvider.d.ts +27 -27
- package/dist/declarations/src/ConfigProviderPathPatch.d.ts +11 -11
- package/dist/declarations/src/ConfigSecret.d.ts +12 -12
- package/dist/declarations/src/Console.d.ts +26 -26
- package/dist/declarations/src/Context.d.ts +24 -24
- package/dist/declarations/src/Data.d.ts +22 -22
- package/dist/declarations/src/DefaultServices.d.ts +4 -4
- package/dist/declarations/src/Deferred.d.ts +26 -26
- package/dist/declarations/src/Differ.d.ts +34 -34
- package/dist/declarations/src/Duration.d.ts +42 -37
- package/dist/declarations/src/Duration.d.ts.map +1 -1
- package/dist/declarations/src/Effect.d.ts +351 -351
- package/dist/declarations/src/Effectable.d.ts +16 -16
- package/dist/declarations/src/Either.d.ts +35 -35
- package/dist/declarations/src/Encoding.d.ts +15 -15
- package/dist/declarations/src/Equal.d.ts +6 -6
- package/dist/declarations/src/Equivalence.d.ts +20 -20
- package/dist/declarations/src/Error.d.ts +4 -4
- package/dist/declarations/src/ExecutionStrategy.d.ts +12 -12
- package/dist/declarations/src/Exit.d.ts +41 -41
- package/dist/declarations/src/Fiber.d.ts +57 -57
- package/dist/declarations/src/FiberId.d.ts +23 -23
- package/dist/declarations/src/FiberRef.d.ts +49 -49
- package/dist/declarations/src/FiberRefs.d.ts +14 -14
- package/dist/declarations/src/FiberRefsPatch.d.ts +11 -11
- package/dist/declarations/src/FiberStatus.d.ts +14 -14
- package/dist/declarations/src/Function.d.ts +24 -24
- package/dist/declarations/src/GlobalValue.d.ts +1 -1
- package/dist/declarations/src/GroupBy.d.ts +9 -9
- package/dist/declarations/src/HKT.d.ts +5 -5
- package/dist/declarations/src/Hash.d.ts +12 -12
- package/dist/declarations/src/HashMap.d.ts +37 -37
- package/dist/declarations/src/HashSet.d.ts +28 -28
- package/dist/declarations/src/Hub.d.ts +16 -16
- package/dist/declarations/src/Inspectable.d.ts +6 -6
- package/dist/declarations/src/KeyedPool.d.ts +12 -12
- package/dist/declarations/src/Layer.d.ts +70 -70
- package/dist/declarations/src/List.d.ts +50 -50
- package/dist/declarations/src/LogLevel.d.ts +27 -27
- package/dist/declarations/src/LogSpan.d.ts +3 -3
- package/dist/declarations/src/Logger.d.ts +33 -33
- package/dist/declarations/src/Metric.d.ts +55 -55
- package/dist/declarations/src/MetricBoundaries.d.ts +8 -8
- package/dist/declarations/src/MetricHook.d.ts +20 -20
- package/dist/declarations/src/MetricKey.d.ts +21 -21
- package/dist/declarations/src/MetricKeyType.d.ts +35 -35
- package/dist/declarations/src/MetricLabel.d.ts +6 -6
- package/dist/declarations/src/MetricPair.d.ts +8 -8
- package/dist/declarations/src/MetricPolling.d.ts +11 -11
- package/dist/declarations/src/MetricRegistry.d.ts +5 -5
- package/dist/declarations/src/MetricState.d.ts +33 -33
- package/dist/declarations/src/MutableHashMap.d.ts +12 -12
- package/dist/declarations/src/MutableHashSet.d.ts +9 -9
- package/dist/declarations/src/MutableList.d.ts +13 -13
- package/dist/declarations/src/MutableQueue.d.ts +16 -16
- package/dist/declarations/src/MutableRef.d.ts +18 -18
- package/dist/declarations/src/NonEmptyIterable.d.ts +4 -4
- package/dist/declarations/src/Number.d.ts +22 -22
- package/dist/declarations/src/Option.d.ts +69 -69
- package/dist/declarations/src/Order.d.ts +28 -28
- package/dist/declarations/src/Ordering.d.ts +7 -7
- package/dist/declarations/src/Pipeable.d.ts +3 -3
- package/dist/declarations/src/Pool.d.ts +11 -11
- package/dist/declarations/src/Predicate.d.ts +42 -42
- package/dist/declarations/src/Queue.d.ts +44 -44
- package/dist/declarations/src/Random.d.ts +11 -11
- package/dist/declarations/src/ReadonlyArray.d.ts +139 -139
- package/dist/declarations/src/ReadonlyRecord.d.ts +25 -25
- package/dist/declarations/src/RedBlackTree.d.ts +40 -40
- package/dist/declarations/src/Ref.d.ts +20 -20
- package/dist/declarations/src/Reloadable.d.ts +13 -13
- package/dist/declarations/src/Request.d.ts +29 -29
- package/dist/declarations/src/RequestBlock.d.ts +16 -16
- package/dist/declarations/src/RequestResolver.d.ts +23 -23
- package/dist/declarations/src/Resource.d.ts +10 -10
- package/dist/declarations/src/Runtime.d.ts +22 -22
- package/dist/declarations/src/RuntimeFlags.d.ts +38 -38
- package/dist/declarations/src/RuntimeFlagsPatch.d.ts +18 -18
- package/dist/declarations/src/STM.d.ts +140 -140
- package/dist/declarations/src/Schedule.d.ts +106 -106
- package/dist/declarations/src/ScheduleDecision.d.ts +8 -8
- package/dist/declarations/src/ScheduleInterval.d.ts +16 -16
- package/dist/declarations/src/ScheduleIntervals.d.ts +14 -14
- package/dist/declarations/src/Scheduler.d.ts +34 -34
- package/dist/declarations/src/Scope.d.ts +18 -18
- package/dist/declarations/src/ScopedCache.d.ts +9 -9
- package/dist/declarations/src/ScopedRef.d.ts +10 -10
- package/dist/declarations/src/Sink.d.ts +115 -115
- package/dist/declarations/src/SortedMap.d.ts +21 -21
- package/dist/declarations/src/SortedSet.d.ts +24 -24
- package/dist/declarations/src/Stream.d.ts +303 -303
- package/dist/declarations/src/StreamEmit.d.ts +3 -3
- package/dist/declarations/src/StreamHaltStrategy.d.ts +16 -16
- package/dist/declarations/src/String.d.ts +50 -50
- package/dist/declarations/src/Struct.d.ts +6 -6
- package/dist/declarations/src/SubscriptionRef.d.ts +27 -27
- package/dist/declarations/src/Supervisor.d.ts +23 -23
- package/dist/declarations/src/Symbol.d.ts +3 -3
- package/dist/declarations/src/SynchronizedRef.d.ts +28 -28
- package/dist/declarations/src/TArray.d.ts +46 -46
- package/dist/declarations/src/TDeferred.d.ts +12 -12
- package/dist/declarations/src/THub.d.ts +18 -18
- package/dist/declarations/src/TMap.d.ts +46 -46
- package/dist/declarations/src/TPriorityQueue.d.ts +23 -23
- package/dist/declarations/src/TQueue.d.ts +36 -36
- package/dist/declarations/src/TRandom.d.ts +12 -12
- package/dist/declarations/src/TReentrantLock.d.ts +24 -24
- package/dist/declarations/src/TRef.d.ts +19 -19
- package/dist/declarations/src/TSemaphore.d.ts +17 -17
- package/dist/declarations/src/TSet.d.ts +35 -35
- package/dist/declarations/src/Take.d.ts +25 -25
- package/dist/declarations/src/TestAnnotation.d.ts +12 -12
- package/dist/declarations/src/TestAnnotationMap.d.ts +11 -11
- package/dist/declarations/src/TestAnnotations.d.ts +7 -7
- package/dist/declarations/src/TestClock.d.ts +16 -16
- package/dist/declarations/src/TestConfig.d.ts +4 -4
- package/dist/declarations/src/TestContext.d.ts +3 -3
- package/dist/declarations/src/TestLive.d.ts +6 -6
- package/dist/declarations/src/TestServices.d.ts +35 -35
- package/dist/declarations/src/TestSized.d.ts +7 -7
- package/dist/declarations/src/Tracer.d.ts +13 -13
- package/dist/declarations/src/Tuple.d.ts +12 -12
- package/dist/declarations/src/Types.d.ts +10 -10
- package/dist/declarations/src/Unify.d.ts +9 -9
- package/dist/declarations/src/Utils.d.ts +29 -29
- package/dist/declarations/src/index.d.ts +169 -141
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/defaultServices-4112c0c9.cjs.prod.js +388 -0
- package/dist/defaultServices-60c753dc.cjs.dev.js +388 -0
- package/dist/effect.cjs.dev.js +199 -193
- package/dist/effect.cjs.mjs +7 -1
- package/dist/effect.cjs.prod.js +199 -193
- package/dist/effect.esm.js +283 -197
- package/dist/fiber-90ffaf8c.cjs.prod.js +411 -0
- package/dist/fiber-da1a207c.cjs.dev.js +411 -0
- package/dist/fiberRefs-64c35250.cjs.prod.js +181 -0
- package/dist/fiberRefs-a7e00f7e.cjs.dev.js +181 -0
- package/dist/fiberRuntime-1c369a47.cjs.prod.js +3012 -0
- package/dist/fiberRuntime-e9680313.cjs.dev.js +3012 -0
- package/dist/groupBy-0cc85afb.cjs.prod.js +216 -0
- package/dist/groupBy-b204a881.cjs.dev.js +216 -0
- package/dist/hook-6c7550dc.cjs.prod.js +371 -0
- package/dist/hook-822704ea.cjs.dev.js +371 -0
- package/dist/key-330b98b1.cjs.prod.js +79 -0
- package/dist/key-a474fc0d.cjs.dev.js +79 -0
- package/dist/keyType-1e916ae2.cjs.dev.js +236 -0
- package/dist/keyType-8460e792.cjs.prod.js +236 -0
- package/dist/label-246fb11d.cjs.dev.js +44 -0
- package/dist/label-3e143765.cjs.prod.js +44 -0
- package/dist/layer-ae8eefad.cjs.dev.js +658 -0
- package/dist/layer-ffacc2c5.cjs.prod.js +658 -0
- package/dist/mergeDecision-e457a76b.cjs.dev.js +86 -0
- package/dist/mergeDecision-e483c280.cjs.prod.js +86 -0
- package/dist/mergeState-83204f38.cjs.dev.js +109 -0
- package/dist/mergeState-dba66248.cjs.prod.js +109 -0
- package/dist/mergeStrategy-845a1279.cjs.prod.js +72 -0
- package/dist/mergeStrategy-b19dc19a.cjs.dev.js +72 -0
- package/dist/pair-08a8685e.cjs.dev.js +42 -0
- package/dist/pair-e5443c93.cjs.prod.js +42 -0
- package/dist/patch-4671ab7f.cjs.dev.js +132 -0
- package/dist/patch-f27e9f08.cjs.prod.js +132 -0
- package/dist/pathPatch-ded405f6.cjs.prod.js +90 -0
- package/dist/pathPatch-e46d4168.cjs.dev.js +90 -0
- package/dist/pool-3f16af61.cjs.dev.js +278 -0
- package/dist/pool-59a31f55.cjs.prod.js +278 -0
- package/dist/query-193d0a89.cjs.dev.js +104 -0
- package/dist/query-fe4a82d6.cjs.prod.js +104 -0
- package/dist/queue-04ae7ec7.cjs.dev.js +538 -0
- package/dist/queue-b81aee38.cjs.prod.js +538 -0
- package/dist/registry-29905dcc.cjs.prod.js +114 -0
- package/dist/registry-c883cf52.cjs.dev.js +114 -0
- package/dist/runtime-3ae98f19.cjs.dev.js +288 -0
- package/dist/runtime-8c3f1bd3.cjs.prod.js +288 -0
- package/dist/schedule-479d8fcc.cjs.dev.js +956 -0
- package/dist/schedule-7e30db2d.cjs.prod.js +956 -0
- package/dist/scopedRef-16d9d192.cjs.dev.js +55 -0
- package/dist/scopedRef-40b5bb82.cjs.prod.js +55 -0
- package/dist/singleProducerAsyncInput-552122e6.cjs.dev.js +193 -0
- package/dist/singleProducerAsyncInput-c5ff73b7.cjs.prod.js +193 -0
- package/dist/sink-16a1a901.cjs.dev.js +3094 -0
- package/dist/sink-c9ae7558.cjs.prod.js +3094 -0
- package/dist/state-0d29362f.cjs.prod.js +227 -0
- package/dist/state-8a8a647c.cjs.dev.js +227 -0
- package/dist/stm-44f045e5.cjs.dev.js +678 -0
- package/dist/stm-59af7e62.cjs.prod.js +678 -0
- package/dist/stream-84a13e23.cjs.dev.js +3645 -0
- package/dist/stream-8acbee57.cjs.prod.js +3645 -0
- package/dist/synchronizedRef-58a64ffe.cjs.dev.js +62 -0
- package/dist/synchronizedRef-6cfe9354.cjs.prod.js +62 -0
- package/dist/tArray-a690480d.cjs.prod.js +330 -0
- package/dist/tArray-c0a3d1e2.cjs.dev.js +330 -0
- package/dist/tMap-1c1b10c4.cjs.dev.js +535 -0
- package/dist/tMap-8dfc92f5.cjs.prod.js +535 -0
- package/dist/tQueue-48a29f8b.cjs.prod.js +367 -0
- package/dist/tQueue-aaec000f.cjs.dev.js +367 -0
- package/dist/tRef-1df89632.cjs.dev.js +133 -0
- package/dist/tRef-cc473a9f.cjs.prod.js +133 -0
- package/dist/take-906e6ef4.cjs.prod.js +152 -0
- package/dist/take-e1c6b82a.cjs.dev.js +152 -0
- package/dist/upstreamPullRequest-705e868d.cjs.prod.js +79 -0
- package/dist/upstreamPullRequest-c08f06a4.cjs.dev.js +79 -0
- package/dist/upstreamPullStrategy-0ccf2960.cjs.dev.js +81 -0
- package/dist/upstreamPullStrategy-34452db1.cjs.prod.js +81 -0
- package/internal/Context.esm.js +208 -0
- package/internal/Data.esm.js +49 -0
- package/internal/Differ/ChunkPatch.esm.js +131 -0
- package/internal/Differ/ContextPatch.esm.js +158 -0
- package/internal/Differ/HashMapPatch.esm.js +133 -0
- package/internal/Differ/HashSetPatch.esm.js +107 -0
- package/internal/Differ/OrPatch.esm.js +196 -0
- package/internal/Differ.esm.js +130 -0
- package/internal/Effectable.esm.js +89 -0
- package/internal/Either.esm.js +95 -0
- package/internal/Encoding/Base64.esm.js +74 -0
- package/internal/Encoding/Base64Url.esm.js +24 -0
- package/internal/Encoding/Common.esm.js +21 -0
- package/internal/Encoding/Hex.esm.js +55 -0
- package/internal/HashMap/array.esm.js +51 -0
- package/internal/HashMap/bitwise.esm.js +34 -0
- package/internal/HashMap/config.esm.js +16 -0
- package/internal/HashMap/keySet.esm.js +8 -0
- package/internal/HashMap/node.esm.js +253 -0
- package/internal/HashMap.esm.js +366 -0
- package/internal/HashSet.esm.js +211 -0
- package/internal/Option.esm.js +75 -0
- package/internal/ReadonlyArray.esm.js +8 -0
- package/internal/RedBlackTree/iterator.esm.js +204 -0
- package/internal/RedBlackTree/node.esm.js +43 -0
- package/internal/RedBlackTree.esm.js +1042 -0
- package/internal/Stack.esm.js +9 -0
- package/internal/blockedRequests.esm.js +365 -0
- package/internal/cache.esm.js +514 -0
- package/internal/cause.esm.js +1067 -0
- package/internal/channel/channelExecutor.esm.js +692 -0
- package/internal/channel/channelState.esm.js +78 -0
- package/internal/channel/childExecutorDecision.esm.js +71 -0
- package/internal/channel/continuation.esm.js +58 -0
- package/internal/channel/mergeDecision.esm.js +69 -0
- package/internal/channel/mergeState.esm.js +82 -0
- package/internal/channel/mergeStrategy.esm.js +55 -0
- package/internal/channel/singleProducerAsyncInput.esm.js +191 -0
- package/internal/channel/subexecutor.esm.js +153 -0
- package/internal/channel/upstreamPullRequest.esm.js +62 -0
- package/internal/channel/upstreamPullStrategy.esm.js +62 -0
- package/internal/channel.esm.js +648 -0
- package/internal/clock.esm.js +82 -0
- package/internal/completedRequestMap.esm.js +7 -0
- package/internal/concurrency.esm.js +47 -0
- package/internal/config.esm.js +374 -0
- package/internal/configError.esm.js +276 -0
- package/internal/configProvider/pathPatch.esm.js +83 -0
- package/internal/configProvider.esm.js +365 -0
- package/internal/configSecret.esm.js +66 -0
- package/internal/console.esm.js +72 -0
- package/internal/core-effect.esm.js +875 -0
- package/internal/core-stream.esm.js +293 -0
- package/internal/core.esm.js +1745 -0
- package/internal/dataSource.esm.js +61 -0
- package/internal/defaultServices/console.esm.js +96 -0
- package/internal/defaultServices.esm.js +84 -0
- package/internal/deferred.esm.js +37 -0
- package/internal/effect/circular.esm.js +314 -0
- package/internal/executionStrategy.esm.js +61 -0
- package/internal/fiber.esm.js +257 -0
- package/internal/fiberId.esm.js +243 -0
- package/internal/fiberMessage.esm.js +54 -0
- package/internal/fiberRefs/patch.esm.js +127 -0
- package/internal/fiberRefs.esm.js +169 -0
- package/internal/fiberRuntime.esm.js +2003 -0
- package/internal/fiberScope.esm.js +58 -0
- package/internal/fiberStatus.esm.js +89 -0
- package/internal/groupBy.esm.js +208 -0
- package/internal/hub.esm.js +1102 -0
- package/internal/keyedPool.esm.js +161 -0
- package/internal/layer/circular.esm.js +84 -0
- package/internal/layer.esm.js +552 -0
- package/internal/logSpan.esm.js +15 -0
- package/internal/logger-circular.esm.js +21 -0
- package/internal/logger.esm.js +213 -0
- package/internal/metric/boundaries.esm.js +48 -0
- package/internal/metric/hook.esm.js +362 -0
- package/internal/metric/key.esm.js +68 -0
- package/internal/metric/keyType.esm.js +218 -0
- package/internal/metric/label.esm.js +40 -0
- package/internal/metric/pair.esm.js +38 -0
- package/internal/metric/polling.esm.js +74 -0
- package/internal/metric/registry.esm.js +111 -0
- package/internal/metric/state.esm.js +209 -0
- package/internal/metric.esm.js +204 -0
- package/internal/opCodes/cause.esm.js +31 -0
- package/internal/opCodes/channel.esm.js +71 -0
- package/internal/opCodes/channelChildExecutorDecision.esm.js +16 -0
- package/internal/opCodes/channelMergeDecision.esm.js +11 -0
- package/internal/opCodes/channelMergeState.esm.js +16 -0
- package/internal/opCodes/channelMergeStrategy.esm.js +11 -0
- package/internal/opCodes/channelState.esm.js +21 -0
- package/internal/opCodes/channelUpstreamPullRequest.esm.js +11 -0
- package/internal/opCodes/channelUpstreamPullStrategy.esm.js +11 -0
- package/internal/opCodes/config.esm.js +56 -0
- package/internal/opCodes/configError.esm.js +31 -0
- package/internal/opCodes/continuation.esm.js +11 -0
- package/internal/opCodes/deferred.esm.js +11 -0
- package/internal/opCodes/effect.esm.js +71 -0
- package/internal/opCodes/layer.esm.js +46 -0
- package/internal/opCodes/streamHaltStrategy.esm.js +21 -0
- package/internal/pool.esm.js +271 -0
- package/internal/query.esm.js +100 -0
- package/internal/queue.esm.js +505 -0
- package/internal/random.esm.js +58 -0
- package/internal/ref.esm.js +121 -0
- package/internal/reloadable.esm.js +62 -0
- package/internal/request.esm.js +81 -0
- package/internal/resource.esm.js +35 -0
- package/internal/ringBuffer.esm.js +56 -0
- package/internal/runtime.esm.js +268 -0
- package/internal/runtimeFlags.esm.js +137 -0
- package/internal/runtimeFlagsPatch.esm.js +57 -0
- package/internal/schedule/decision.esm.js +45 -0
- package/internal/schedule/interval.esm.js +85 -0
- package/internal/schedule/intervals.esm.js +135 -0
- package/internal/schedule.esm.js +844 -0
- package/internal/scopedCache.esm.js +406 -0
- package/internal/scopedRef.esm.js +49 -0
- package/internal/singleShotGen.esm.js +30 -0
- package/internal/sink.esm.js +918 -0
- package/internal/stm/core.esm.js +553 -0
- package/internal/stm/opCodes/stm.esm.js +56 -0
- package/internal/stm/opCodes/stmState.esm.js +16 -0
- package/internal/stm/opCodes/strategy.esm.js +16 -0
- package/internal/stm/opCodes/tExit.esm.js +26 -0
- package/internal/stm/opCodes/tryCommit.esm.js +11 -0
- package/internal/stm/stm/entry.esm.js +47 -0
- package/internal/stm/stm/journal.esm.js +96 -0
- package/internal/stm/stm/stmState.esm.js +104 -0
- package/internal/stm/stm/tExit.esm.js +113 -0
- package/internal/stm/stm/tryCommit.esm.js +25 -0
- package/internal/stm/stm/txnId.esm.js +15 -0
- package/internal/stm/stm/versioned.esm.js +8 -0
- package/internal/stm/stm.esm.js +584 -0
- package/internal/stm/tArray.esm.js +287 -0
- package/internal/stm/tDeferred.esm.js +49 -0
- package/internal/stm/tHub.esm.js +381 -0
- package/internal/stm/tMap.esm.js +492 -0
- package/internal/stm/tPriorityQueue.esm.js +156 -0
- package/internal/stm/tQueue.esm.js +317 -0
- package/internal/stm/tRandom.esm.js +89 -0
- package/internal/stm/tReentrantLock.esm.js +216 -0
- package/internal/stm/tRef.esm.js +117 -0
- package/internal/stm/tSemaphore.esm.js +73 -0
- package/internal/stm/tSet.esm.js +113 -0
- package/internal/stream/debounceState.esm.js +39 -0
- package/internal/stream/emit.esm.js +51 -0
- package/internal/stream/haltStrategy.esm.js +74 -0
- package/internal/stream/handoff.esm.js +79 -0
- package/internal/stream/handoffSignal.esm.js +40 -0
- package/internal/stream/pull.esm.js +10 -0
- package/internal/stream/sinkEndReason.esm.js +27 -0
- package/internal/stream/zipAllState.esm.js +65 -0
- package/internal/stream/zipChunksState.esm.js +41 -0
- package/internal/stream.esm.js +2984 -0
- package/internal/string-utils.esm.js +66 -0
- package/internal/subscriptionRef.esm.js +65 -0
- package/internal/supervisor/patch.esm.js +156 -0
- package/internal/supervisor.esm.js +204 -0
- package/internal/synchronizedRef.esm.js +53 -0
- package/internal/take.esm.js +130 -0
- package/internal/testing/suspendedWarningData.esm.js +66 -0
- package/internal/testing/warningData.esm.js +75 -0
- package/internal/timeout.esm.js +22 -0
- package/internal/tracer.esm.js +61 -0
- package/package.json +700 -554
- package/dist/Bigint-1c684209.esm.js +0 -370
- package/dist/Bigint-504df838.cjs.dev.js +0 -392
- package/dist/Bigint-d1a7e44e.cjs.prod.js +0 -392
- package/dist/Boolean-7513c999.cjs.prod.js +0 -264
- package/dist/Boolean-9427fc24.cjs.dev.js +0 -264
- package/dist/Boolean-f564d31a.esm.js +0 -248
- package/dist/Brand-c3918667.cjs.dev.js +0 -224
- package/dist/Brand-fa4e9f22.esm.js +0 -215
- package/dist/Brand-ff4af468.cjs.prod.js +0 -224
- package/dist/Cache-447337f2.esm.js +0 -120
- package/dist/Cache-4b4ea2b3.cjs.prod.js +0 -127
- package/dist/Cache-62ebdae3.cjs.dev.js +0 -127
- package/dist/Cause-8be0b9a6.esm.js +0 -730
- package/dist/Cause-b769f517.cjs.prod.js +0 -791
- package/dist/Cause-d77e20dc.cjs.dev.js +0 -791
- package/dist/Channel-2039c280.cjs.dev.js +0 -1217
- package/dist/Channel-806a0a5a.esm.js +0 -1109
- package/dist/Channel-dcff73a4.cjs.prod.js +0 -1217
- package/dist/ChannelChildExecutorDecision-2d3c20b1.esm.js +0 -125
- package/dist/ChannelChildExecutorDecision-adce4b58.cjs.dev.js +0 -136
- package/dist/ChannelChildExecutorDecision-fc90c987.cjs.prod.js +0 -136
- package/dist/ChannelMergeDecision-39e12893.cjs.prod.js +0 -78
- package/dist/ChannelMergeDecision-4488ba22.esm.js +0 -70
- package/dist/ChannelMergeDecision-f05da806.cjs.dev.js +0 -78
- package/dist/ChannelMergeState-65723a71.cjs.dev.js +0 -125
- package/dist/ChannelMergeState-937282d2.esm.js +0 -114
- package/dist/ChannelMergeState-ab626a77.cjs.prod.js +0 -125
- package/dist/ChannelMergeStrategy-c2f956a9.esm.js +0 -95
- package/dist/ChannelMergeStrategy-d5bdc89d.cjs.prod.js +0 -104
- package/dist/ChannelMergeStrategy-d956e3fa.cjs.dev.js +0 -104
- package/dist/ChannelSingleProducerAsyncInput-00708a29.esm.js +0 -52
- package/dist/ChannelSingleProducerAsyncInput-90f3b171.cjs.prod.js +0 -55
- package/dist/ChannelSingleProducerAsyncInput-ecc79242.cjs.dev.js +0 -55
- package/dist/ChannelUpstreamPullRequest-011526e6.esm.js +0 -95
- package/dist/ChannelUpstreamPullRequest-6a610523.cjs.dev.js +0 -104
- package/dist/ChannelUpstreamPullRequest-d7413c53.cjs.prod.js +0 -104
- package/dist/ChannelUpstreamPullStrategy-0af49b72.esm.js +0 -94
- package/dist/ChannelUpstreamPullStrategy-6e0a338e.cjs.prod.js +0 -103
- package/dist/ChannelUpstreamPullStrategy-90ec240c.cjs.dev.js +0 -103
- package/dist/Chunk-937f4423.cjs.dev.js +0 -1248
- package/dist/Chunk-98371336.esm.js +0 -1167
- package/dist/Chunk-f001938d.cjs.prod.js +0 -1248
- package/dist/Clock-27c1110d.cjs.prod.js +0 -97
- package/dist/Clock-589e9dc5.cjs.dev.js +0 -97
- package/dist/Clock-ab907687.esm.js +0 -88
- package/dist/Config-50e56bbd.cjs.prod.js +0 -393
- package/dist/Config-7e7f7335.cjs.dev.js +0 -393
- package/dist/Config-a3a06665.esm.js +0 -358
- package/dist/ConfigError-5801d561.esm.js +0 -206
- package/dist/ConfigError-684b6267.cjs.dev.js +0 -225
- package/dist/ConfigError-f5303a19.cjs.prod.js +0 -225
- package/dist/ConfigProvider-0aeb6513.esm.js +0 -220
- package/dist/ConfigProvider-b47b08f3.cjs.dev.js +0 -240
- package/dist/ConfigProvider-e278c5f7.cjs.prod.js +0 -240
- package/dist/ConfigProviderPathPatch-78826e8c.cjs.dev.js +0 -86
- package/dist/ConfigProviderPathPatch-97b52760.esm.js +0 -79
- package/dist/ConfigProviderPathPatch-bb5f5228.cjs.prod.js +0 -86
- package/dist/ConfigSecret-2db4c372.cjs.prod.js +0 -83
- package/dist/ConfigSecret-646df696.esm.js +0 -74
- package/dist/ConfigSecret-a10a12aa.cjs.dev.js +0 -83
- package/dist/Console-b92ceaf0.esm.js +0 -247
- package/dist/Console-d4590f3a.cjs.prod.js +0 -271
- package/dist/Console-f063615c.cjs.dev.js +0 -271
- package/dist/Context-119d62eb.cjs.prod.js +0 -327
- package/dist/Context-231e9c1b.cjs.prod.js +0 -222
- package/dist/Context-48179faa.esm.js +0 -312
- package/dist/Context-5099940c.cjs.dev.js +0 -222
- package/dist/Context-fcee7bba.esm.js +0 -208
- package/dist/Context-fdaa5c44.cjs.dev.js +0 -327
- package/dist/Data-3389525f.cjs.dev.js +0 -237
- package/dist/Data-815a1868.cjs.prod.js +0 -237
- package/dist/Data-bad1ffeb.esm.js +0 -224
- package/dist/DefaultServices-848d6929.cjs.dev.js +0 -34
- package/dist/DefaultServices-8c298120.esm.js +0 -30
- package/dist/DefaultServices-9ea98d30.cjs.prod.js +0 -34
- package/dist/Deferred-143efa7b.cjs.dev.js +0 -253
- package/dist/Deferred-554d3588.esm.js +0 -230
- package/dist/Deferred-77579e00.cjs.prod.js +0 -253
- package/dist/Differ-0069a8c0.cjs.dev.js +0 -992
- package/dist/Differ-3be1df41.esm.js +0 -975
- package/dist/Differ-cbfa45cb.cjs.prod.js +0 -992
- package/dist/Duration-205d0b80.cjs.prod.js +0 -500
- package/dist/Duration-5e9f2327.esm.js +0 -467
- package/dist/Duration-8b174e0b.cjs.dev.js +0 -500
- package/dist/Effect-6713972b.cjs.prod.js +0 -3740
- package/dist/Effect-d362f43a.cjs.dev.js +0 -3740
- package/dist/Effect-d5910dae.esm.js +0 -3417
- package/dist/Effectable-2c8e8441.cjs.prod.js +0 -99
- package/dist/Effectable-954172fc.cjs.prod.js +0 -181
- package/dist/Effectable-a76b6aa1.esm.js +0 -158
- package/dist/Effectable-bc017f96.cjs.dev.js +0 -99
- package/dist/Effectable-e85a1847.cjs.dev.js +0 -181
- package/dist/Effectable-ec9e4204.esm.js +0 -89
- package/dist/Either-09270bbc.esm.js +0 -473
- package/dist/Either-34ce9059.cjs.dev.js +0 -178
- package/dist/Either-41cb7522.cjs.prod.js +0 -178
- package/dist/Either-ae722a9e.cjs.dev.js +0 -502
- package/dist/Either-be9c40b9.esm.js +0 -163
- package/dist/Either-d995ebb4.cjs.prod.js +0 -502
- package/dist/Encoding-0d990bbf.esm.js +0 -295
- package/dist/Encoding-39f7d9a8.cjs.dev.js +0 -309
- package/dist/Encoding-82d009b9.cjs.prod.js +0 -309
- package/dist/Equal-7d4ae7e7.esm.js +0 -65
- package/dist/Equal-8654b1af.cjs.dev.js +0 -71
- package/dist/Equal-ed1e8c3c.cjs.prod.js +0 -71
- package/dist/Equivalence-87295c78.cjs.prod.js +0 -238
- package/dist/Equivalence-a4b5f56d.cjs.dev.js +0 -238
- package/dist/Equivalence-e5c9cba4.esm.js +0 -218
- package/dist/Error-7e84d828.esm.js +0 -53
- package/dist/Error-be89adc9.cjs.prod.js +0 -57
- package/dist/Error-e1ceeea7.cjs.dev.js +0 -57
- package/dist/ExecutionStrategy-080f0b2b.cjs.prod.js +0 -180
- package/dist/ExecutionStrategy-c6f7c490.esm.js +0 -168
- package/dist/ExecutionStrategy-cd9204b4.cjs.dev.js +0 -180
- package/dist/Exit-7a385294.cjs.dev.js +0 -408
- package/dist/Exit-e31718e3.esm.js +0 -371
- package/dist/Exit-eb04f98e.cjs.prod.js +0 -408
- package/dist/Fiber-1a996e3f.cjs.dev.js +0 -521
- package/dist/Fiber-38517971.esm.js +0 -473
- package/dist/Fiber-a7306b77.cjs.prod.js +0 -521
- package/dist/FiberId-3b23bc04.cjs.dev.js +0 -443
- package/dist/FiberId-556ab9ef.esm.js +0 -422
- package/dist/FiberId-95c92b7e.cjs.prod.js +0 -443
- package/dist/FiberRef-6f63843b.cjs.prod.js +0 -385
- package/dist/FiberRef-912b6248.cjs.dev.js +0 -385
- package/dist/FiberRef-b81d5a7e.esm.js +0 -338
- package/dist/FiberRefs-1a6a1b5f.cjs.prod.js +0 -135
- package/dist/FiberRefs-44fda74a.cjs.dev.js +0 -135
- package/dist/FiberRefs-a6ab4b8d.esm.js +0 -122
- package/dist/FiberRefsPatch-549967e3.cjs.prod.js +0 -90
- package/dist/FiberRefsPatch-56f10acc.cjs.dev.js +0 -90
- package/dist/FiberRefsPatch-f84453c3.esm.js +0 -84
- package/dist/FiberStatus-90291b8c.esm.js +0 -187
- package/dist/FiberStatus-db497d70.cjs.dev.js +0 -197
- package/dist/FiberStatus-ff18b445.cjs.prod.js +0 -197
- package/dist/Function-52fb7d21.esm.js +0 -516
- package/dist/Function-8336aeeb.cjs.prod.js +0 -538
- package/dist/Function-fd10bde3.cjs.dev.js +0 -538
- package/dist/GlobalValue-00457222.cjs.dev.js +0 -28
- package/dist/GlobalValue-c5f1e8e5.esm.js +0 -25
- package/dist/GlobalValue-f65cc41d.cjs.prod.js +0 -28
- package/dist/GroupBy-cabfa667.cjs.dev.js +0 -79
- package/dist/GroupBy-d0ad2148.cjs.prod.js +0 -79
- package/dist/GroupBy-eef333fa.esm.js +0 -72
- package/dist/HKT-1990744d.esm.js +0 -5
- package/dist/Hash-039222d1.esm.js +0 -179
- package/dist/Hash-2171bcec.cjs.prod.js +0 -192
- package/dist/Hash-9d5502e5.cjs.dev.js +0 -192
- package/dist/HashMap-2604a8b0.cjs.prod.js +0 -361
- package/dist/HashMap-e644e23b.esm.js +0 -327
- package/dist/HashMap-ee35ace5.cjs.dev.js +0 -361
- package/dist/HashSet-206ea53b.cjs.dev.js +0 -965
- package/dist/HashSet-286fb998.cjs.prod.js +0 -965
- package/dist/HashSet-43b520e9.cjs.dev.js +0 -283
- package/dist/HashSet-99f1529e.cjs.prod.js +0 -283
- package/dist/HashSet-d051e0ea.esm.js +0 -907
- package/dist/HashSet-dff2542b.esm.js +0 -256
- package/dist/Hub-4223bb07.cjs.prod.js +0 -1280
- package/dist/Hub-9f3d5c5d.esm.js +0 -1264
- package/dist/Hub-dd9d70e7.cjs.dev.js +0 -1280
- package/dist/Inspectable-46a7668e.cjs.prod.js +0 -50
- package/dist/Inspectable-654412c2.cjs.dev.js +0 -50
- package/dist/Inspectable-bda84223.esm.js +0 -45
- package/dist/KeyedPool-0b5851a2.cjs.prod.js +0 -282
- package/dist/KeyedPool-50b8f75b.esm.js +0 -273
- package/dist/KeyedPool-8b979aac.cjs.dev.js +0 -282
- package/dist/Layer-11122c64.cjs.dev.js +0 -687
- package/dist/Layer-79fa5f4a.cjs.prod.js +0 -687
- package/dist/Layer-f7be72db.esm.js +0 -623
- package/dist/List-48f2b78f.cjs.prod.js +0 -912
- package/dist/List-95e1e081.cjs.dev.js +0 -912
- package/dist/List-c066a506.esm.js +0 -865
- package/dist/LogLevel-2e6b00c7.esm.js +0 -222
- package/dist/LogLevel-a609dd63.cjs.prod.js +0 -240
- package/dist/LogLevel-c14e29fb.cjs.dev.js +0 -240
- package/dist/LogSpan-c216a78b.cjs.prod.js +0 -46
- package/dist/LogSpan-cd4b8f34.cjs.dev.js +0 -46
- package/dist/LogSpan-e5cf11a5.esm.js +0 -42
- package/dist/Logger-029fccab.cjs.prod.js +0 -275
- package/dist/Logger-28d5e7ff.cjs.dev.js +0 -275
- package/dist/Logger-52ffeafa.esm.js +0 -246
- package/dist/Metric-2b4867b2.cjs.dev.js +0 -488
- package/dist/Metric-cd4dfaba.cjs.prod.js +0 -488
- package/dist/Metric-f2c8888b.esm.js +0 -442
- package/dist/MetricBoundaries-8ef331f0.cjs.dev.js +0 -68
- package/dist/MetricBoundaries-9707829f.esm.js +0 -61
- package/dist/MetricBoundaries-fc377a5e.cjs.prod.js +0 -68
- package/dist/MetricHook-74ebef65.esm.js +0 -80
- package/dist/MetricHook-9d1ff9f5.cjs.prod.js +0 -90
- package/dist/MetricHook-ebd34eea.cjs.dev.js +0 -90
- package/dist/MetricKey-7536999c.cjs.dev.js +0 -130
- package/dist/MetricKey-d96ef128.cjs.prod.js +0 -130
- package/dist/MetricKey-fb261d1b.esm.js +0 -118
- package/dist/MetricKeyType-637f6694.cjs.prod.js +0 -187
- package/dist/MetricKeyType-6a10f955.esm.js +0 -168
- package/dist/MetricKeyType-ed70a508.cjs.dev.js +0 -187
- package/dist/MetricLabel-30df73d1.esm.js +0 -48
- package/dist/MetricLabel-b6a3c628.cjs.prod.js +0 -53
- package/dist/MetricLabel-e6d1cb96.cjs.dev.js +0 -53
- package/dist/MetricPair-5f5f6f1b.esm.js +0 -45
- package/dist/MetricPair-a1551790.cjs.prod.js +0 -50
- package/dist/MetricPair-f1f0edbd.cjs.dev.js +0 -50
- package/dist/MetricPolling-258af71e.esm.js +0 -167
- package/dist/MetricPolling-b2accbbd.cjs.dev.js +0 -177
- package/dist/MetricPolling-c6caba9d.cjs.prod.js +0 -177
- package/dist/MetricRegistry-2ae45fdf.cjs.dev.js +0 -38
- package/dist/MetricRegistry-44d3af51.esm.js +0 -34
- package/dist/MetricRegistry-d61eb47d.cjs.prod.js +0 -38
- package/dist/MetricState-a3499d98.cjs.prod.js +0 -191
- package/dist/MetricState-cd7a1775.cjs.dev.js +0 -191
- package/dist/MetricState-d4fcb7d0.esm.js +0 -172
- package/dist/MutableHashMap-b3ab7261.esm.js +0 -142
- package/dist/MutableHashMap-d6cb38d9.cjs.prod.js +0 -154
- package/dist/MutableHashMap-f08d01f5.cjs.dev.js +0 -154
- package/dist/MutableHashSet-9e2ea672.cjs.dev.js +0 -110
- package/dist/MutableHashSet-ec9f7a0b.esm.js +0 -101
- package/dist/MutableHashSet-fa860611.cjs.prod.js +0 -110
- package/dist/MutableList-4ef847b7.cjs.prod.js +0 -296
- package/dist/MutableList-85cf4e37.cjs.dev.js +0 -296
- package/dist/MutableList-8c671944.esm.js +0 -281
- package/dist/MutableQueue-3dfd5fea.cjs.dev.js +0 -215
- package/dist/MutableQueue-416dfcd9.cjs.prod.js +0 -215
- package/dist/MutableQueue-54a4b584.esm.js +0 -202
- package/dist/MutableRef-82c6fe46.cjs.prod.js +0 -194
- package/dist/MutableRef-cb4d2fc0.esm.js +0 -176
- package/dist/MutableRef-ef31c15d.cjs.dev.js +0 -194
- package/dist/NonEmptyIterable-26ed16e4.cjs.prod.js +0 -36
- package/dist/NonEmptyIterable-7ef320e0.esm.js +0 -33
- package/dist/NonEmptyIterable-b064c1af.cjs.dev.js +0 -36
- package/dist/Number-d021c8f9.cjs.prod.js +0 -417
- package/dist/Number-dc454336.esm.js +0 -394
- package/dist/Number-dddf713e.cjs.dev.js +0 -417
- package/dist/Option-1d073850.esm.js +0 -1135
- package/dist/Option-837ae0da.cjs.dev.js +0 -1198
- package/dist/Option-b07f2b1d.cjs.prod.js +0 -1198
- package/dist/Order-2f11aa24.esm.js +0 -293
- package/dist/Order-2f785421.cjs.prod.js +0 -321
- package/dist/Order-cbf22e18.cjs.dev.js +0 -321
- package/dist/Ordering-9892085c.esm.js +0 -97
- package/dist/Ordering-e20427cc.cjs.dev.js +0 -104
- package/dist/Ordering-f3e378ef.cjs.prod.js +0 -104
- package/dist/Pipeable-856ddd7c.cjs.prod.js +0 -52
- package/dist/Pipeable-ef202667.cjs.dev.js +0 -52
- package/dist/Pipeable-fe51dc02.esm.js +0 -49
- package/dist/Pool-68590a64.cjs.dev.js +0 -122
- package/dist/Pool-718f79ff.cjs.prod.js +0 -122
- package/dist/Pool-cdfcfabe.esm.js +0 -114
- package/dist/Predicate-52271838.esm.js +0 -677
- package/dist/Predicate-54d8c8de.cjs.dev.js +0 -718
- package/dist/Predicate-a3fd4088.cjs.prod.js +0 -718
- package/dist/Queue-48d0b9d4.cjs.dev.js +0 -394
- package/dist/Queue-9f8579c0.cjs.prod.js +0 -394
- package/dist/Queue-bbebbeda.esm.js +0 -362
- package/dist/Random-0bdc1bcb.cjs.prod.js +0 -104
- package/dist/Random-14987953.esm.js +0 -94
- package/dist/Random-f495bcbc.cjs.dev.js +0 -104
- package/dist/ReadonlyArray-199ff80e.esm.js +0 -1584
- package/dist/ReadonlyArray-3b1a15d8.cjs.dev.js +0 -10
- package/dist/ReadonlyArray-6fbc78a1.cjs.prod.js +0 -1721
- package/dist/ReadonlyArray-84c71385.esm.js +0 -8
- package/dist/ReadonlyArray-885e80a2.cjs.dev.js +0 -1721
- package/dist/ReadonlyArray-8adb9a46.cjs.prod.js +0 -10
- package/dist/ReadonlyRecord-4969b34f.cjs.prod.js +0 -568
- package/dist/ReadonlyRecord-c1f5d048.esm.js +0 -544
- package/dist/ReadonlyRecord-c6dc7deb.cjs.dev.js +0 -568
- package/dist/RedBlackTree-22839235.esm.js +0 -1632
- package/dist/RedBlackTree-59192950.cjs.prod.js +0 -1669
- package/dist/RedBlackTree-98a93ec6.cjs.dev.js +0 -1669
- package/dist/Ref-88c1d56d.cjs.prod.js +0 -282
- package/dist/Ref-8d85fc7a.cjs.dev.js +0 -282
- package/dist/Ref-9a9de951.esm.js +0 -248
- package/dist/Reloadable-10cfae17.esm.js +0 -159
- package/dist/Reloadable-3ca716d9.cjs.prod.js +0 -169
- package/dist/Reloadable-65bf6783.cjs.dev.js +0 -169
- package/dist/Request-5b794c27.cjs.dev.js +0 -190
- package/dist/Request-6d646956.cjs.prod.js +0 -190
- package/dist/Request-9f0b571a.esm.js +0 -175
- package/dist/RequestBlock-15e7d048.cjs.prod.js +0 -124
- package/dist/RequestBlock-6105623d.esm.js +0 -114
- package/dist/RequestBlock-ec5299d4.cjs.dev.js +0 -124
- package/dist/RequestResolver-10227a7b.esm.js +0 -213
- package/dist/RequestResolver-a3fe9b72.cjs.prod.js +0 -233
- package/dist/RequestResolver-bc7e6050.cjs.dev.js +0 -233
- package/dist/Resource-966460b5.cjs.dev.js +0 -118
- package/dist/Resource-9f1084b9.cjs.prod.js +0 -118
- package/dist/Resource-afd128d6.esm.js +0 -111
- package/dist/Runtime-15bf8fcd.cjs.prod.js +0 -191
- package/dist/Runtime-1a63e954.cjs.dev.js +0 -191
- package/dist/Runtime-4f6fc384.esm.js +0 -175
- package/dist/RuntimeFlags-4d3b4ba7.esm.js +0 -344
- package/dist/RuntimeFlags-a43dcce7.cjs.dev.js +0 -381
- package/dist/RuntimeFlags-ef10d73a.cjs.prod.js +0 -381
- package/dist/RuntimeFlagsPatch-0c131e8e.cjs.dev.js +0 -411
- package/dist/RuntimeFlagsPatch-a1da6096.esm.js +0 -365
- package/dist/RuntimeFlagsPatch-bfdf133d.cjs.prod.js +0 -411
- package/dist/STM-2bdad2bd.cjs.dev.js +0 -1447
- package/dist/STM-55e91604.esm.js +0 -1321
- package/dist/STM-e6749b84.cjs.prod.js +0 -1447
- package/dist/Schedule-35a9436e.cjs.prod.js +0 -1159
- package/dist/Schedule-d9b0f037.cjs.dev.js +0 -1159
- package/dist/Schedule-da001b13.esm.js +0 -1059
- package/dist/ScheduleDecision-2ab823c2.cjs.dev.js +0 -106
- package/dist/ScheduleDecision-369cf2a1.cjs.prod.js +0 -106
- package/dist/ScheduleDecision-e794f66d.esm.js +0 -99
- package/dist/ScheduleInterval-2db9be83.cjs.dev.js +0 -244
- package/dist/ScheduleInterval-3e9b8eca.cjs.prod.js +0 -244
- package/dist/ScheduleInterval-94e80ec4.esm.js +0 -229
- package/dist/ScheduleIntervals-ab412802.cjs.dev.js +0 -265
- package/dist/ScheduleIntervals-e6ed15fa.cjs.prod.js +0 -265
- package/dist/ScheduleIntervals-ef5cd7c5.esm.js +0 -252
- package/dist/Scheduler-44f252da.cjs.prod.js +0 -358
- package/dist/Scheduler-6122a3ee.cjs.dev.js +0 -358
- package/dist/Scheduler-d2f7e5c7.esm.js +0 -343
- package/dist/Scope-0ffde3bb.esm.js +0 -131
- package/dist/Scope-326194e2.cjs.prod.js +0 -143
- package/dist/Scope-3cf29072.cjs.dev.js +0 -143
- package/dist/ScopedCache-01a07a6d.cjs.prod.js +0 -467
- package/dist/ScopedCache-77c605e8.cjs.dev.js +0 -467
- package/dist/ScopedCache-9c558fd1.esm.js +0 -462
- package/dist/ScopedRef-2f0e2b33.cjs.dev.js +0 -87
- package/dist/ScopedRef-5c29a8a2.cjs.prod.js +0 -87
- package/dist/ScopedRef-dd8a823e.esm.js +0 -80
- package/dist/Sink-923b4ad8.esm.js +0 -1107
- package/dist/Sink-c4ca577a.cjs.prod.js +0 -1215
- package/dist/Sink-fa1f105b.cjs.dev.js +0 -1215
- package/dist/SortedMap-44f47d83.esm.js +0 -190
- package/dist/SortedMap-abf39a75.cjs.prod.js +0 -210
- package/dist/SortedMap-b04da739.cjs.dev.js +0 -210
- package/dist/SortedSet-3339ea7f.esm.js +0 -288
- package/dist/SortedSet-4efa4f05.cjs.dev.js +0 -311
- package/dist/SortedSet-b588ac70.cjs.prod.js +0 -311
- package/dist/Stack-765c2298.esm.js +0 -9
- package/dist/Stream-1d51d0be.esm.js +0 -3175
- package/dist/Stream-55dd689b.cjs.prod.js +0 -3469
- package/dist/Stream-b1eaedfc.cjs.dev.js +0 -3469
- package/dist/StreamEmit-bd696ab0.esm.js +0 -5
- package/dist/StreamHaltStrategy-292ed375.cjs.dev.js +0 -214
- package/dist/StreamHaltStrategy-506d4abb.cjs.prod.js +0 -214
- package/dist/StreamHaltStrategy-9864a080.esm.js +0 -201
- package/dist/String-9702a941.cjs.dev.js +0 -694
- package/dist/String-ba45d520.esm.js +0 -648
- package/dist/String-fa7c1c88.cjs.prod.js +0 -694
- package/dist/Struct-3d8b2a81.cjs.prod.js +0 -141
- package/dist/Struct-62f329c0.cjs.dev.js +0 -141
- package/dist/Struct-8bc142d1.esm.js +0 -134
- package/dist/SubscriptionRef-1eb76544.cjs.prod.js +0 -269
- package/dist/SubscriptionRef-33b302b6.esm.js +0 -245
- package/dist/SubscriptionRef-faf570c5.cjs.dev.js +0 -269
- package/dist/Supervisor-34de9985.cjs.dev.js +0 -170
- package/dist/Supervisor-3706300f.cjs.prod.js +0 -170
- package/dist/Supervisor-5b9943cf.esm.js +0 -160
- package/dist/Symbol-9ad0bde8.esm.js +0 -36
- package/dist/Symbol-e3ea5627.cjs.dev.js +0 -40
- package/dist/Symbol-e5af99ce.cjs.prod.js +0 -40
- package/dist/SynchronizedRef-01f585dc.cjs.prod.js +0 -212
- package/dist/SynchronizedRef-c389137f.esm.js +0 -187
- package/dist/SynchronizedRef-cda883b7.cjs.dev.js +0 -212
- package/dist/TArray-1200bf6a.esm.js +0 -412
- package/dist/TArray-97bc3f87.cjs.prod.js +0 -455
- package/dist/TArray-9bd73c38.cjs.dev.js +0 -455
- package/dist/TDeferred-875fd41c.esm.js +0 -120
- package/dist/TDeferred-bf21b756.cjs.prod.js +0 -129
- package/dist/TDeferred-f97247d3.cjs.dev.js +0 -129
- package/dist/THub-917198c0.esm.js +0 -553
- package/dist/THub-c4a3e52c.cjs.dev.js +0 -570
- package/dist/THub-d9d3b223.cjs.prod.js +0 -570
- package/dist/TMap-459696e5.cjs.dev.js +0 -463
- package/dist/TMap-786b8508.esm.js +0 -419
- package/dist/TMap-a6aab3c3.cjs.prod.js +0 -463
- package/dist/TPriorityQueue-31c32afb.esm.js +0 -360
- package/dist/TPriorityQueue-918056c3.cjs.prod.js +0 -381
- package/dist/TPriorityQueue-e8429066.cjs.dev.js +0 -381
- package/dist/TQueue-adee58b8.esm.js +0 -324
- package/dist/TQueue-b9593214.cjs.prod.js +0 -353
- package/dist/TQueue-d1c8153e.cjs.dev.js +0 -353
- package/dist/TRandom-65721a5b.cjs.prod.js +0 -203
- package/dist/TRandom-677ba64f.esm.js +0 -192
- package/dist/TRandom-79057bd9.cjs.dev.js +0 -203
- package/dist/TReentrantLock-0dbd6074.cjs.prod.js +0 -456
- package/dist/TReentrantLock-164c0898.cjs.dev.js +0 -456
- package/dist/TReentrantLock-65156c11.esm.js +0 -435
- package/dist/TRef-4a45f5af.cjs.dev.js +0 -152
- package/dist/TRef-edd5ff88.esm.js +0 -135
- package/dist/TRef-ff8497e4.cjs.prod.js +0 -152
- package/dist/TSemaphore-1f5dc074.cjs.dev.js +0 -197
- package/dist/TSemaphore-bccebfec.esm.js +0 -183
- package/dist/TSemaphore-d1096593.cjs.prod.js +0 -197
- package/dist/TSet-0f61d448.cjs.prod.js +0 -444
- package/dist/TSet-48903882.cjs.dev.js +0 -444
- package/dist/TSet-bd3a1de2.esm.js +0 -412
- package/dist/Take-1e6b1ba3.esm.js +0 -214
- package/dist/Take-7797160f.cjs.dev.js +0 -236
- package/dist/Take-d245cc08.cjs.prod.js +0 -236
- package/dist/TestAnnotation-5b23b64a.cjs.prod.js +0 -135
- package/dist/TestAnnotation-c2b6bb64.esm.js +0 -124
- package/dist/TestAnnotation-ca7ea5d9.cjs.dev.js +0 -135
- package/dist/TestAnnotationMap-5ef91d33.cjs.prod.js +0 -125
- package/dist/TestAnnotationMap-83b0e761.cjs.dev.js +0 -125
- package/dist/TestAnnotationMap-d180214b.esm.js +0 -114
- package/dist/TestAnnotations-758011e7.cjs.prod.js +0 -97
- package/dist/TestAnnotations-89733ab7.cjs.dev.js +0 -97
- package/dist/TestAnnotations-cf445345.esm.js +0 -91
- package/dist/TestClock-0a012f75.esm.js +0 -565
- package/dist/TestClock-0abac759.cjs.prod.js +0 -581
- package/dist/TestClock-3bdb0c0b.cjs.dev.js +0 -581
- package/dist/TestConfig-3f48c7f2.cjs.prod.js +0 -37
- package/dist/TestConfig-e52495c3.esm.js +0 -33
- package/dist/TestConfig-ff283076.cjs.dev.js +0 -37
- package/dist/TestContext-64f40523.esm.js +0 -36
- package/dist/TestContext-7a6420d3.cjs.prod.js +0 -41
- package/dist/TestContext-b44d97ae.cjs.dev.js +0 -41
- package/dist/TestLive-64c62bfe.cjs.dev.js +0 -60
- package/dist/TestLive-906c173d.cjs.prod.js +0 -60
- package/dist/TestLive-bfab4add.esm.js +0 -55
- package/dist/TestServices-844e305d.esm.js +0 -306
- package/dist/TestServices-944b625c.cjs.prod.js +0 -341
- package/dist/TestServices-f8c51bbd.cjs.dev.js +0 -341
- package/dist/TestSized-0fa739ff.cjs.prod.js +0 -64
- package/dist/TestSized-3a0fa658.esm.js +0 -58
- package/dist/TestSized-955a228e.cjs.dev.js +0 -64
- package/dist/Tracer-1610aba4.cjs.dev.js +0 -81
- package/dist/Tracer-700da80a.cjs.prod.js +0 -81
- package/dist/Tracer-b07052e2.esm.js +0 -75
- package/dist/Tuple-1fa12d6e.esm.js +0 -187
- package/dist/Tuple-73682170.cjs.prod.js +0 -199
- package/dist/Tuple-9822259f.cjs.dev.js +0 -199
- package/dist/Types-be3804ad.esm.js +0 -5
- package/dist/Unify-150ebcee.cjs.dev.js +0 -48
- package/dist/Unify-77f78d08.cjs.prod.js +0 -48
- package/dist/Unify-9d27a1f3.esm.js +0 -45
- package/dist/Utils-32587b0c.cjs.dev.js +0 -370
- package/dist/Utils-6484334f.cjs.prod.js +0 -370
- package/dist/Utils-657e8bfa.esm.js +0 -362
- package/dist/boundaries-6bacf30a.cjs.prod.js +0 -54
- package/dist/boundaries-8475a9b4.esm.js +0 -48
- package/dist/boundaries-c6f4c3da.cjs.dev.js +0 -54
- package/dist/cache-2fa366f0.esm.js +0 -514
- package/dist/cache-7b578624.cjs.prod.js +0 -523
- package/dist/cache-8db60799.cjs.dev.js +0 -523
- package/dist/childExecutorDecision-49f0f19c.esm.js +0 -85
- package/dist/childExecutorDecision-744cd5fb.cjs.prod.js +0 -98
- package/dist/childExecutorDecision-c1c3b8b6.cjs.dev.js +0 -98
- package/dist/circular-1dfea59d.cjs.prod.js +0 -107
- package/dist/circular-3ebc9b78.esm.js +0 -82
- package/dist/circular-604e98e5.cjs.prod.js +0 -341
- package/dist/circular-8088cc19.cjs.dev.js +0 -341
- package/dist/circular-cff58c30.esm.js +0 -311
- package/dist/circular-e5da795a.cjs.dev.js +0 -107
- package/dist/config-05de256b.cjs.dev.js +0 -474
- package/dist/config-3003c43a.cjs.prod.js +0 -474
- package/dist/config-64a67e36.esm.js +0 -428
- package/dist/configError-84c0742e.esm.js +0 -305
- package/dist/configError-a7c4fcc2.cjs.dev.js +0 -323
- package/dist/configError-b3dd6ec2.cjs.prod.js +0 -323
- package/dist/configProvider-35a1a3c7.cjs.prod.js +0 -447
- package/dist/configProvider-56d1b842.cjs.dev.js +0 -447
- package/dist/configProvider-cd15d971.esm.js +0 -428
- package/dist/configSecret-18ba6f6e.cjs.dev.js +0 -74
- package/dist/configSecret-3dd7ab72.cjs.prod.js +0 -74
- package/dist/configSecret-793e52b4.esm.js +0 -66
- package/dist/core-01c0ed9d.cjs.prod.js +0 -1072
- package/dist/core-218f7617.cjs.prod.js +0 -3502
- package/dist/core-5346c1e5.cjs.dev.js +0 -1072
- package/dist/core-9276b625.esm.js +0 -1032
- package/dist/core-9f5f0dc2.esm.js +0 -3225
- package/dist/core-bedc63fe.cjs.dev.js +0 -3502
- package/dist/core-effect-a839563d.cjs.dev.js +0 -1030
- package/dist/core-effect-e762d50b.esm.js +0 -902
- package/dist/core-effect-fea8dde9.cjs.prod.js +0 -1030
- package/dist/dataSource-43c62f8e.esm.js +0 -60
- package/dist/dataSource-8ab8a0ec.cjs.dev.js +0 -74
- package/dist/dataSource-cc1edaa1.cjs.prod.js +0 -74
- package/dist/defaultServices-1d4f144a.cjs.prod.js +0 -388
- package/dist/defaultServices-1f1298e8.cjs.dev.js +0 -388
- package/dist/defaultServices-86214de4.esm.js +0 -359
- package/dist/fiber-1511340a.esm.js +0 -363
- package/dist/fiber-18f7cf87.cjs.dev.js +0 -411
- package/dist/fiber-957d5291.cjs.prod.js +0 -411
- package/dist/fiberRefs-76ecbcfd.cjs.dev.js +0 -181
- package/dist/fiberRefs-b32de18b.esm.js +0 -169
- package/dist/fiberRefs-f0429b31.cjs.prod.js +0 -181
- package/dist/fiberRuntime-233db874.cjs.dev.js +0 -3012
- package/dist/fiberRuntime-5e42f85c.cjs.prod.js +0 -3012
- package/dist/fiberRuntime-98f09d31.esm.js +0 -2857
- package/dist/groupBy-36e6ca3f.cjs.prod.js +0 -216
- package/dist/groupBy-3a32c4b6.cjs.dev.js +0 -216
- package/dist/groupBy-8d753c19.esm.js +0 -206
- package/dist/hook-8fc9006f.esm.js +0 -362
- package/dist/hook-e169b712.cjs.prod.js +0 -371
- package/dist/hook-fe9f948d.cjs.dev.js +0 -371
- package/dist/key-215ea6fd.esm.js +0 -68
- package/dist/key-4824d1ad.cjs.prod.js +0 -79
- package/dist/key-d8dc829b.cjs.dev.js +0 -79
- package/dist/keyType-c980adcc.cjs.dev.js +0 -236
- package/dist/keyType-d85714ed.cjs.prod.js +0 -236
- package/dist/keyType-fefd9ef8.esm.js +0 -218
- package/dist/label-14b7d517.cjs.dev.js +0 -44
- package/dist/label-5cb21441.esm.js +0 -40
- package/dist/label-e78b2f8f.cjs.prod.js +0 -44
- package/dist/layer-3da5a933.cjs.prod.js +0 -658
- package/dist/layer-e1d1db03.cjs.dev.js +0 -658
- package/dist/layer-f8ec8454.esm.js +0 -596
- package/dist/mergeDecision-32146c34.esm.js +0 -78
- package/dist/mergeDecision-75feaab3.cjs.dev.js +0 -86
- package/dist/mergeDecision-a1822db2.cjs.prod.js +0 -86
- package/dist/mergeState-21728f0b.esm.js +0 -96
- package/dist/mergeState-2c24c562.cjs.prod.js +0 -109
- package/dist/mergeState-e9aa09b9.cjs.dev.js +0 -109
- package/dist/mergeStrategy-84dd9011.esm.js +0 -64
- package/dist/mergeStrategy-8fe47c7e.cjs.dev.js +0 -72
- package/dist/mergeStrategy-909bebb0.cjs.prod.js +0 -72
- package/dist/pair-67530b23.cjs.dev.js +0 -42
- package/dist/pair-cb46f77c.esm.js +0 -38
- package/dist/pair-fb591d12.cjs.prod.js +0 -42
- package/dist/patch-99e8591b.esm.js +0 -127
- package/dist/patch-cdcb5e42.cjs.dev.js +0 -132
- package/dist/patch-f440dab6.cjs.prod.js +0 -132
- package/dist/pathPatch-5ac830c8.esm.js +0 -83
- package/dist/pathPatch-75afe967.cjs.dev.js +0 -90
- package/dist/pathPatch-775a0838.cjs.prod.js +0 -90
- package/dist/pool-0da00d67.cjs.prod.js +0 -278
- package/dist/pool-54820a71.esm.js +0 -271
- package/dist/pool-bfa5c974.cjs.dev.js +0 -278
- package/dist/query-1685a476.esm.js +0 -97
- package/dist/query-3ab8cd4e.cjs.prod.js +0 -104
- package/dist/query-68bb7c45.cjs.dev.js +0 -104
- package/dist/queue-499cacee.cjs.prod.js +0 -538
- package/dist/queue-b79c472d.esm.js +0 -505
- package/dist/queue-bf262207.cjs.dev.js +0 -538
- package/dist/registry-38f0ed9d.esm.js +0 -111
- package/dist/registry-6f465b2f.cjs.prod.js +0 -114
- package/dist/registry-dfe7ed01.cjs.dev.js +0 -114
- package/dist/runtime-5b7472d5.cjs.dev.js +0 -288
- package/dist/runtime-68e90981.cjs.prod.js +0 -288
- package/dist/runtime-f91ca239.esm.js +0 -266
- package/dist/schedule-0d31f4cc.esm.js +0 -843
- package/dist/schedule-616cf1b8.cjs.prod.js +0 -956
- package/dist/schedule-d3f9b258.cjs.dev.js +0 -956
- package/dist/scopedRef-5e59cf54.cjs.prod.js +0 -55
- package/dist/scopedRef-730d8d35.cjs.dev.js +0 -55
- package/dist/scopedRef-e54a3d93.esm.js +0 -49
- package/dist/singleProducerAsyncInput-6508b7f1.cjs.dev.js +0 -193
- package/dist/singleProducerAsyncInput-c67ef1c6.esm.js +0 -191
- package/dist/singleProducerAsyncInput-d3225b4e.cjs.prod.js +0 -193
- package/dist/sink-05d54662.cjs.prod.js +0 -3094
- package/dist/sink-3105a90f.cjs.dev.js +0 -3094
- package/dist/sink-3f26fc31.esm.js +0 -2877
- package/dist/state-38610229.esm.js +0 -209
- package/dist/state-6d974829.cjs.dev.js +0 -227
- package/dist/state-abef4d59.cjs.prod.js +0 -227
- package/dist/stm-43c3b262.cjs.dev.js +0 -678
- package/dist/stm-d01a804c.esm.js +0 -582
- package/dist/stm-e1200304.cjs.prod.js +0 -678
- package/dist/stream-3ebec4f3.cjs.prod.js +0 -3649
- package/dist/stream-9270c6b1.esm.js +0 -3355
- package/dist/stream-b819c5b3.cjs.dev.js +0 -3649
- package/dist/synchronizedRef-5bbb64b2.cjs.prod.js +0 -62
- package/dist/synchronizedRef-e9682c8e.cjs.dev.js +0 -62
- package/dist/synchronizedRef-f7077a5f.esm.js +0 -53
- package/dist/tArray-0d2e8fae.cjs.dev.js +0 -330
- package/dist/tArray-442d22a4.cjs.prod.js +0 -330
- package/dist/tArray-fa2759e8.esm.js +0 -287
- package/dist/tMap-2a001015.cjs.prod.js +0 -535
- package/dist/tMap-2a98e9a7.esm.js +0 -492
- package/dist/tMap-2fd8c9e6.cjs.dev.js +0 -535
- package/dist/tQueue-13f8f402.esm.js +0 -331
- package/dist/tQueue-84a0d0eb.cjs.dev.js +0 -367
- package/dist/tQueue-e2e96d1f.cjs.prod.js +0 -367
- package/dist/tRef-4772a528.cjs.prod.js +0 -133
- package/dist/tRef-b5d0cc28.esm.js +0 -115
- package/dist/tRef-bbbdd134.cjs.dev.js +0 -133
- package/dist/take-68ed448f.cjs.dev.js +0 -152
- package/dist/take-7c168e8e.esm.js +0 -130
- package/dist/take-d293f721.cjs.prod.js +0 -152
- package/dist/timeout-4180303d.esm.js +0 -22
- package/dist/upstreamPullRequest-be86e51c.esm.js +0 -71
- package/dist/upstreamPullRequest-d2eaf7f5.cjs.prod.js +0 -79
- package/dist/upstreamPullRequest-f986731f.cjs.dev.js +0 -79
- package/dist/upstreamPullStrategy-08e7185f.cjs.prod.js +0 -81
- package/dist/upstreamPullStrategy-29c0b698.cjs.dev.js +0 -81
- package/dist/upstreamPullStrategy-d1505fa4.esm.js +0 -71
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @since
|
|
2
|
+
* @since 2.0.0
|
|
3
3
|
*/
|
|
4
4
|
import type * as Cause from "./Cause.js";
|
|
5
5
|
import type * as Chunk from "./Chunk.js";
|
|
@@ -48,18 +48,18 @@ import type * as Tracer from "./Tracer.js";
|
|
|
48
48
|
import type { Concurrency } from "./Types.js";
|
|
49
49
|
import type * as Unify from "./Unify.js";
|
|
50
50
|
/**
|
|
51
|
-
* @since
|
|
51
|
+
* @since 2.0.0
|
|
52
52
|
*/
|
|
53
53
|
export type MergeRecord<K, H> = {
|
|
54
54
|
[k in keyof K | keyof H]: k extends keyof K ? K[k] : k extends keyof H ? H[k] : never;
|
|
55
55
|
} extends infer X ? X : never;
|
|
56
56
|
/**
|
|
57
|
-
* @since
|
|
57
|
+
* @since 2.0.0
|
|
58
58
|
* @category symbols
|
|
59
59
|
*/
|
|
60
60
|
export declare const EffectTypeId: unique symbol;
|
|
61
61
|
/**
|
|
62
|
-
* @since
|
|
62
|
+
* @since 2.0.0
|
|
63
63
|
* @category symbols
|
|
64
64
|
*/
|
|
65
65
|
export type EffectTypeId = typeof EffectTypeId;
|
|
@@ -76,7 +76,7 @@ export type EffectTypeId = typeof EffectTypeId;
|
|
|
76
76
|
* To run an `Effect` value, you need a `Runtime`, which is a type that is capable
|
|
77
77
|
* of executing `Effect` values.
|
|
78
78
|
*
|
|
79
|
-
* @since
|
|
79
|
+
* @since 2.0.0
|
|
80
80
|
* @category models
|
|
81
81
|
*/
|
|
82
82
|
export interface Effect<R, E, A> extends Effect.Variance<R, E, A>, Equal.Equal, Pipeable {
|
|
@@ -85,7 +85,7 @@ export interface Effect<R, E, A> extends Effect.Variance<R, E, A>, Equal.Equal,
|
|
|
85
85
|
readonly [Unify.blacklistSymbol]?: EffectUnifyBlacklist;
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
|
-
* @since
|
|
88
|
+
* @since 2.0.0
|
|
89
89
|
* @category models
|
|
90
90
|
*/
|
|
91
91
|
export interface EffectUnify<A extends {
|
|
@@ -95,7 +95,7 @@ export interface EffectUnify<A extends {
|
|
|
95
95
|
}
|
|
96
96
|
/**
|
|
97
97
|
* @category models
|
|
98
|
-
* @since
|
|
98
|
+
* @since 2.0.0
|
|
99
99
|
*/
|
|
100
100
|
export interface EffectUnifyBlacklist {
|
|
101
101
|
Tag?: true;
|
|
@@ -104,13 +104,13 @@ export interface EffectUnifyBlacklist {
|
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
106
|
* @category type lambdas
|
|
107
|
-
* @since
|
|
107
|
+
* @since 2.0.0
|
|
108
108
|
*/
|
|
109
109
|
export interface EffectTypeLambda extends TypeLambda {
|
|
110
110
|
readonly type: Effect<this["Out2"], this["Out1"], this["Target"]>;
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
|
-
* @since
|
|
113
|
+
* @since 2.0.0
|
|
114
114
|
* @category models
|
|
115
115
|
*/
|
|
116
116
|
export interface Blocked<R, E, A> extends Effect<R, E, A> {
|
|
@@ -119,7 +119,7 @@ export interface Blocked<R, E, A> extends Effect<R, E, A> {
|
|
|
119
119
|
readonly i1: Effect<R, E, A>;
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
|
-
* @since
|
|
122
|
+
* @since 2.0.0
|
|
123
123
|
* @category models
|
|
124
124
|
*/
|
|
125
125
|
declare module "./Context" {
|
|
@@ -132,7 +132,7 @@ declare module "./Context" {
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
135
|
-
* @since
|
|
135
|
+
* @since 2.0.0
|
|
136
136
|
* @category models
|
|
137
137
|
*/
|
|
138
138
|
declare module "./Either" {
|
|
@@ -149,7 +149,7 @@ declare module "./Either" {
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
|
-
* @since
|
|
152
|
+
* @since 2.0.0
|
|
153
153
|
* @category models
|
|
154
154
|
*/
|
|
155
155
|
declare module "./Option" {
|
|
@@ -166,18 +166,18 @@ declare module "./Option" {
|
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
|
-
* @since
|
|
169
|
+
* @since 2.0.0
|
|
170
170
|
*/
|
|
171
171
|
export declare namespace Effect {
|
|
172
172
|
/**
|
|
173
|
-
* @since
|
|
173
|
+
* @since 2.0.0
|
|
174
174
|
* @category models
|
|
175
175
|
*/
|
|
176
176
|
interface Variance<R, E, A> {
|
|
177
177
|
readonly [EffectTypeId]: VarianceStruct<R, E, A>;
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
|
-
* @since
|
|
180
|
+
* @since 2.0.0
|
|
181
181
|
* @category models
|
|
182
182
|
*/
|
|
183
183
|
interface VarianceStruct<R, E, A> {
|
|
@@ -186,22 +186,22 @@ export declare namespace Effect {
|
|
|
186
186
|
readonly _A: (_: never) => A;
|
|
187
187
|
}
|
|
188
188
|
/**
|
|
189
|
-
* @since
|
|
189
|
+
* @since 2.0.0
|
|
190
190
|
* @category models
|
|
191
191
|
*/
|
|
192
192
|
type Unify<Ret extends Effect<any, any, any>> = Effect<Context<Ret>, Error<Ret>, Success<Ret>>;
|
|
193
193
|
/**
|
|
194
|
-
* @since
|
|
194
|
+
* @since 2.0.0
|
|
195
195
|
* @category type-level
|
|
196
196
|
*/
|
|
197
197
|
type Context<T extends Effect<any, any, any>> = [T] extends [Effect<infer _R, infer _E, infer _A>] ? _R : never;
|
|
198
198
|
/**
|
|
199
|
-
* @since
|
|
199
|
+
* @since 2.0.0
|
|
200
200
|
* @category type-level
|
|
201
201
|
*/
|
|
202
202
|
type Error<T extends Effect<any, any, any>> = [T] extends [Effect<infer _R, infer _E, infer _A>] ? _E : never;
|
|
203
203
|
/**
|
|
204
|
-
* @since
|
|
204
|
+
* @since 2.0.0
|
|
205
205
|
* @category type-level
|
|
206
206
|
*/
|
|
207
207
|
type Success<T extends Effect<any, any, any>> = [T] extends [Effect<infer _R, infer _E, infer _A>] ? _A : never;
|
|
@@ -220,7 +220,7 @@ export declare namespace Effect {
|
|
|
220
220
|
* @returns `true` if the specified value is an `Effect` value, `false`
|
|
221
221
|
* otherwise.
|
|
222
222
|
*
|
|
223
|
-
* @since
|
|
223
|
+
* @since 2.0.0
|
|
224
224
|
* @category refinements
|
|
225
225
|
*/
|
|
226
226
|
export declare const isEffect: (u: unknown) => u is Effect<unknown, unknown, unknown>;
|
|
@@ -228,7 +228,7 @@ export declare const isEffect: (u: unknown) => u is Effect<unknown, unknown, unk
|
|
|
228
228
|
* Returns an effect that, if evaluated, will return the cached result of this
|
|
229
229
|
* effect. Cached results will expire after `timeToLive` duration.
|
|
230
230
|
*
|
|
231
|
-
* @since
|
|
231
|
+
* @since 2.0.0
|
|
232
232
|
* @category caching
|
|
233
233
|
*/
|
|
234
234
|
export declare const cachedWithTTL: {
|
|
@@ -241,7 +241,7 @@ export declare const cachedWithTTL: {
|
|
|
241
241
|
* addition, returns an effect that can be used to invalidate the current
|
|
242
242
|
* cached value before the `timeToLive` duration expires.
|
|
243
243
|
*
|
|
244
|
-
* @since
|
|
244
|
+
* @since 2.0.0
|
|
245
245
|
* @category caching
|
|
246
246
|
*/
|
|
247
247
|
export declare const cachedInvalidateWithTTL: {
|
|
@@ -252,14 +252,14 @@ export declare const cachedInvalidateWithTTL: {
|
|
|
252
252
|
* Returns an effect that, if evaluated, will return the lazily computed
|
|
253
253
|
* result of this effect.
|
|
254
254
|
*
|
|
255
|
-
* @since
|
|
255
|
+
* @since 2.0.0
|
|
256
256
|
* @category caching
|
|
257
257
|
*/
|
|
258
258
|
export declare const cached: <R, E, A>(self: Effect<R, E, A>) => Effect<never, never, Effect<R, E, A>>;
|
|
259
259
|
/**
|
|
260
260
|
* Returns a memoized version of the specified effectual function.
|
|
261
261
|
*
|
|
262
|
-
* @since
|
|
262
|
+
* @since 2.0.0
|
|
263
263
|
* @category caching
|
|
264
264
|
*/
|
|
265
265
|
export declare const cachedFunction: <R, E, A, B>(f: (a: A) => Effect<R, E, B>, eq?: Equivalence<A>) => Effect<never, never, (a: A) => Effect<R, E, B>>;
|
|
@@ -267,7 +267,7 @@ export declare const cachedFunction: <R, E, A, B>(f: (a: A) => Effect<R, E, B>,
|
|
|
267
267
|
* Returns an effect that will be executed at most once, even if it is
|
|
268
268
|
* evaluated multiple times.
|
|
269
269
|
*
|
|
270
|
-
* @since
|
|
270
|
+
* @since 2.0.0
|
|
271
271
|
* @category caching
|
|
272
272
|
*/
|
|
273
273
|
export declare const once: <R, E, A>(self: Effect<R, E, A>) => Effect<never, never, Effect<R, E, void>>;
|
|
@@ -276,7 +276,7 @@ export declare const once: <R, E, A>(self: Effect<R, E, A>) => Effect<never, nev
|
|
|
276
276
|
*
|
|
277
277
|
* Supports multiple arguments, a single argument tuple / array or record / struct.
|
|
278
278
|
*
|
|
279
|
-
* @since
|
|
279
|
+
* @since 2.0.0
|
|
280
280
|
* @category collecting & elements
|
|
281
281
|
*/
|
|
282
282
|
export declare const all: <const Arg extends Iterable<Effect<any, any, any>> | Record<string, Effect<any, any, any>>, O extends {
|
|
@@ -292,7 +292,7 @@ export declare const all: <const Arg extends Iterable<Effect<any, any, any>> | R
|
|
|
292
292
|
*
|
|
293
293
|
* Supports multiple arguments, a single argument tuple / array or record / struct.
|
|
294
294
|
*
|
|
295
|
-
* @since
|
|
295
|
+
* @since 2.0.0
|
|
296
296
|
* @category collecting & elements
|
|
297
297
|
*/
|
|
298
298
|
export declare const allWith: <O extends {
|
|
@@ -302,21 +302,21 @@ export declare const allWith: <O extends {
|
|
|
302
302
|
readonly mode?: "default" | "validate" | "either";
|
|
303
303
|
}>(options?: O) => <const Arg extends Iterable<Effect<any, any, any>> | Record<string, Effect<any, any, any>>>(arg: Arg) => All.Return<Arg, O>;
|
|
304
304
|
/**
|
|
305
|
-
* @since
|
|
305
|
+
* @since 2.0.0
|
|
306
306
|
*/
|
|
307
307
|
export declare namespace All {
|
|
308
308
|
/**
|
|
309
|
-
* @since
|
|
309
|
+
* @since 2.0.0
|
|
310
310
|
*/
|
|
311
311
|
type EffectAny = Effect<any, any, any>;
|
|
312
312
|
/**
|
|
313
|
-
* @since
|
|
313
|
+
* @since 2.0.0
|
|
314
314
|
*/
|
|
315
315
|
type ReturnIterable<T extends Iterable<EffectAny>, Discard extends boolean, Mode> = [T] extends [
|
|
316
316
|
Iterable<Effect.Variance<infer R, infer E, infer A>>
|
|
317
317
|
] ? Effect<R, Mode extends "either" ? never : Mode extends "validate" ? Array<Option.Option<E>> : E, Discard extends true ? void : Mode extends "either" ? Array<Either.Either<E, A>> : Array<A>> : never;
|
|
318
318
|
/**
|
|
319
|
-
* @since
|
|
319
|
+
* @since 2.0.0
|
|
320
320
|
*/
|
|
321
321
|
type ReturnTuple<T extends ReadonlyArray<unknown>, Discard extends boolean, Mode> = Effect<T[number] extends never ? never : [T[number]] extends [{
|
|
322
322
|
[EffectTypeId]: {
|
|
@@ -334,7 +334,7 @@ export declare namespace All {
|
|
|
334
334
|
-readonly [K in keyof T]: [T[K]] extends [Effect.Variance<infer _R, infer _E, infer _A>] ? _A : never;
|
|
335
335
|
}> extends infer X ? X : never;
|
|
336
336
|
/**
|
|
337
|
-
* @since
|
|
337
|
+
* @since 2.0.0
|
|
338
338
|
*/
|
|
339
339
|
type ReturnObject<T, Discard extends boolean, Mode> = [T] extends [{
|
|
340
340
|
[K: string]: EffectAny;
|
|
@@ -354,19 +354,19 @@ export declare namespace All {
|
|
|
354
354
|
-readonly [K in keyof T]: [T[K]] extends [Effect.Variance<infer _R, infer _E, infer _A>] ? _A : never;
|
|
355
355
|
}> : never;
|
|
356
356
|
/**
|
|
357
|
-
* @since
|
|
357
|
+
* @since 2.0.0
|
|
358
358
|
*/
|
|
359
359
|
type IsDiscard<A> = [Extract<A, {
|
|
360
360
|
readonly discard: true;
|
|
361
361
|
}>] extends [never] ? false : true;
|
|
362
362
|
/**
|
|
363
|
-
* @since
|
|
363
|
+
* @since 2.0.0
|
|
364
364
|
*/
|
|
365
365
|
type ExtractMode<A> = [A] extends [{
|
|
366
366
|
mode: infer M;
|
|
367
367
|
}] ? M : "default";
|
|
368
368
|
/**
|
|
369
|
-
* @since
|
|
369
|
+
* @since 2.0.0
|
|
370
370
|
*/
|
|
371
371
|
type Return<Arg extends Iterable<EffectAny> | Record<string, EffectAny>, O extends {
|
|
372
372
|
readonly concurrency?: Concurrency;
|
|
@@ -379,7 +379,7 @@ export declare namespace All {
|
|
|
379
379
|
* Evaluate and run each effect in the structure and collect the results,
|
|
380
380
|
* discarding results from failed effects.
|
|
381
381
|
*
|
|
382
|
-
* @since
|
|
382
|
+
* @since 2.0.0
|
|
383
383
|
* @category collecting & elements
|
|
384
384
|
*/
|
|
385
385
|
export declare const allSuccesses: <R, E, A>(elements: Iterable<Effect<R, E, A>>, options?: {
|
|
@@ -389,7 +389,7 @@ export declare const allSuccesses: <R, E, A>(elements: Iterable<Effect<R, E, A>>
|
|
|
389
389
|
/**
|
|
390
390
|
* Drops all elements until the effectful predicate returns true.
|
|
391
391
|
*
|
|
392
|
-
* @since
|
|
392
|
+
* @since 2.0.0
|
|
393
393
|
* @category collecting & elements
|
|
394
394
|
*/
|
|
395
395
|
export declare const dropUntil: {
|
|
@@ -399,7 +399,7 @@ export declare const dropUntil: {
|
|
|
399
399
|
/**
|
|
400
400
|
* Drops all elements so long as the predicate returns true.
|
|
401
401
|
*
|
|
402
|
-
* @since
|
|
402
|
+
* @since 2.0.0
|
|
403
403
|
* @category collecting & elements
|
|
404
404
|
*/
|
|
405
405
|
export declare const dropWhile: {
|
|
@@ -410,7 +410,7 @@ export declare const dropWhile: {
|
|
|
410
410
|
* Determines whether all elements of the `Collection<A>` satisfies the effectual
|
|
411
411
|
* predicate `f`.
|
|
412
412
|
*
|
|
413
|
-
* @since
|
|
413
|
+
* @since 2.0.0
|
|
414
414
|
* @category collecting & elements
|
|
415
415
|
*/
|
|
416
416
|
export declare const every: {
|
|
@@ -421,7 +421,7 @@ export declare const every: {
|
|
|
421
421
|
* Determines whether any element of the `Iterable<A>` satisfies the effectual
|
|
422
422
|
* predicate `f`.
|
|
423
423
|
*
|
|
424
|
-
* @since
|
|
424
|
+
* @since 2.0.0
|
|
425
425
|
* @category collecting & elements
|
|
426
426
|
*/
|
|
427
427
|
export declare const exists: {
|
|
@@ -437,7 +437,7 @@ export declare const exists: {
|
|
|
437
437
|
/**
|
|
438
438
|
* Filters the collection using the specified effectful predicate.
|
|
439
439
|
*
|
|
440
|
-
* @since
|
|
440
|
+
* @since 2.0.0
|
|
441
441
|
* @category collecting & elements
|
|
442
442
|
*/
|
|
443
443
|
export declare const filter: {
|
|
@@ -455,7 +455,7 @@ export declare const filter: {
|
|
|
455
455
|
/**
|
|
456
456
|
* Returns the first element that satisfies the effectful predicate.
|
|
457
457
|
*
|
|
458
|
-
* @since
|
|
458
|
+
* @since 2.0.0
|
|
459
459
|
* @category collecting & elements
|
|
460
460
|
*/
|
|
461
461
|
export declare const findFirst: {
|
|
@@ -478,12 +478,12 @@ export declare const findFirst: {
|
|
|
478
478
|
* `Effect` value in the iterable, or a failed `Effect` value if all of the
|
|
479
479
|
* `Effect` values in the iterable fail.
|
|
480
480
|
*
|
|
481
|
-
* @since
|
|
481
|
+
* @since 2.0.0
|
|
482
482
|
* @category collecting & elements
|
|
483
483
|
*/
|
|
484
484
|
export declare const firstSuccessOf: <R, E, A>(effects: Iterable<Effect<R, E, A>>) => Effect<R, E, A>;
|
|
485
485
|
/**
|
|
486
|
-
* @since
|
|
486
|
+
* @since 2.0.0
|
|
487
487
|
* @category collecting & elements
|
|
488
488
|
*/
|
|
489
489
|
export declare const forEach: {
|
|
@@ -512,7 +512,7 @@ export declare const forEach: {
|
|
|
512
512
|
* Returns a successful effect with the head of the collection if the collection
|
|
513
513
|
* is non-empty, or fails with the error `None` if the collection is empty.
|
|
514
514
|
*
|
|
515
|
-
* @since
|
|
515
|
+
* @since 2.0.0
|
|
516
516
|
* @category collecting & elements
|
|
517
517
|
*/
|
|
518
518
|
export declare const head: <R, E, A>(self: Effect<R, E, Iterable<A>>) => Effect<R, Option.Option<E>, A>;
|
|
@@ -520,7 +520,7 @@ export declare const head: <R, E, A>(self: Effect<R, E, Iterable<A>>) => Effect<
|
|
|
520
520
|
* Merges an `Iterable<Effect<R, E, A>>` to a single effect, working
|
|
521
521
|
* sequentially.
|
|
522
522
|
*
|
|
523
|
-
* @since
|
|
523
|
+
* @since 2.0.0
|
|
524
524
|
* @category collecting & elements
|
|
525
525
|
*/
|
|
526
526
|
export declare const mergeAll: {
|
|
@@ -537,7 +537,7 @@ export declare const mergeAll: {
|
|
|
537
537
|
* Feeds elements of type `A` to a function `f` that returns an effect.
|
|
538
538
|
* Collects all successes and failures in a tupled fashion.
|
|
539
539
|
*
|
|
540
|
-
* @since
|
|
540
|
+
* @since 2.0.0
|
|
541
541
|
* @category collecting & elements
|
|
542
542
|
*/
|
|
543
543
|
export declare const partition: {
|
|
@@ -554,7 +554,7 @@ export declare const partition: {
|
|
|
554
554
|
* Folds an `Iterable<A>` using an effectual function f, working sequentially
|
|
555
555
|
* from left to right.
|
|
556
556
|
*
|
|
557
|
-
* @since
|
|
557
|
+
* @since 2.0.0
|
|
558
558
|
* @category collecting & elements
|
|
559
559
|
*/
|
|
560
560
|
export declare const reduce: {
|
|
@@ -564,7 +564,7 @@ export declare const reduce: {
|
|
|
564
564
|
/**
|
|
565
565
|
* Reduces an `Iterable<Effect<R, E, A>>` to a single effect.
|
|
566
566
|
*
|
|
567
|
-
* @since
|
|
567
|
+
* @since 2.0.0
|
|
568
568
|
* @category collecting & elements
|
|
569
569
|
*/
|
|
570
570
|
export declare const reduceEffect: {
|
|
@@ -580,7 +580,7 @@ export declare const reduceEffect: {
|
|
|
580
580
|
/**
|
|
581
581
|
* Folds an `Iterable<A>` using an effectual function f, working sequentially from left to right.
|
|
582
582
|
*
|
|
583
|
-
* @since
|
|
583
|
+
* @since 2.0.0
|
|
584
584
|
* @category collecting & elements
|
|
585
585
|
*/
|
|
586
586
|
export declare const reduceRight: {
|
|
@@ -591,7 +591,7 @@ export declare const reduceRight: {
|
|
|
591
591
|
* Folds over the elements in this chunk from the left, stopping the fold early
|
|
592
592
|
* when the predicate is not satisfied.
|
|
593
593
|
*
|
|
594
|
-
* @since
|
|
594
|
+
* @since 2.0.0
|
|
595
595
|
* @category collecting & elements
|
|
596
596
|
*/
|
|
597
597
|
export declare const reduceWhile: {
|
|
@@ -607,7 +607,7 @@ export declare const reduceWhile: {
|
|
|
607
607
|
/**
|
|
608
608
|
* Replicates the given effect `n` times.
|
|
609
609
|
*
|
|
610
|
-
* @since
|
|
610
|
+
* @since 2.0.0
|
|
611
611
|
* @category collecting & elements
|
|
612
612
|
*/
|
|
613
613
|
export declare const replicate: {
|
|
@@ -618,7 +618,7 @@ export declare const replicate: {
|
|
|
618
618
|
* Performs this effect the specified number of times and collects the
|
|
619
619
|
* results.
|
|
620
620
|
*
|
|
621
|
-
* @since
|
|
621
|
+
* @since 2.0.0
|
|
622
622
|
* @category collecting & elements
|
|
623
623
|
*/
|
|
624
624
|
export declare const replicateEffect: {
|
|
@@ -646,7 +646,7 @@ export declare const replicateEffect: {
|
|
|
646
646
|
/**
|
|
647
647
|
* Takes elements until the effectual predicate returns true.
|
|
648
648
|
*
|
|
649
|
-
* @since
|
|
649
|
+
* @since 2.0.0
|
|
650
650
|
* @category collecting & elements
|
|
651
651
|
*/
|
|
652
652
|
export declare const takeUntil: {
|
|
@@ -656,7 +656,7 @@ export declare const takeUntil: {
|
|
|
656
656
|
/**
|
|
657
657
|
* Takes all elements so long as the effectual predicate returns true.
|
|
658
658
|
*
|
|
659
|
-
* @since
|
|
659
|
+
* @since 2.0.0
|
|
660
660
|
* @category collecting & elements
|
|
661
661
|
*/
|
|
662
662
|
export declare const takeWhile: {
|
|
@@ -670,7 +670,7 @@ export declare const takeWhile: {
|
|
|
670
670
|
* This combinator is lossy meaning that if there are errors all successes
|
|
671
671
|
* will be lost. To retain all information please use `partition`.
|
|
672
672
|
*
|
|
673
|
-
* @since
|
|
673
|
+
* @since 2.0.0
|
|
674
674
|
* @category collecting & elements
|
|
675
675
|
*/
|
|
676
676
|
export declare const validateAll: {
|
|
@@ -713,7 +713,7 @@ export declare const validateAll: {
|
|
|
713
713
|
* assert.deepStrictEqual(Effect.runSyncExit(Effect.validateFirst([-1, 2], f)), Exit.succeed(2))
|
|
714
714
|
* assert.deepStrictEqual(Effect.runSyncExit(Effect.validateFirst([-1, -2], f)), Exit.fail(['-1 is negative', '-2 is negative']))
|
|
715
715
|
*
|
|
716
|
-
* @since
|
|
716
|
+
* @since 2.0.0
|
|
717
717
|
* @category collecting & elements
|
|
718
718
|
*/
|
|
719
719
|
export declare const validateFirst: {
|
|
@@ -739,7 +739,7 @@ export declare const validateFirst: {
|
|
|
739
739
|
* The `FiberId` of the fiber that may complete the async callback may be
|
|
740
740
|
* provided to allow for better diagnostics.
|
|
741
741
|
*
|
|
742
|
-
* @since
|
|
742
|
+
* @since 2.0.0
|
|
743
743
|
* @category constructors
|
|
744
744
|
*/
|
|
745
745
|
export declare const async: <R, E, A>(register: (callback: (_: Effect<R, E, A>) => void, signal: AbortSignal) => void | Effect<R, never, void>, blockingOn?: FiberId.FiberId) => Effect<R, E, A>;
|
|
@@ -749,7 +749,7 @@ export declare const async: <R, E, A>(register: (callback: (_: Effect<R, E, A>)
|
|
|
749
749
|
*
|
|
750
750
|
* With this variant, the registration function may return a an `Effect`.
|
|
751
751
|
*
|
|
752
|
-
* @since
|
|
752
|
+
* @since 2.0.0
|
|
753
753
|
* @category constructors
|
|
754
754
|
*/
|
|
755
755
|
export declare const asyncEffect: <R, E, A, R2, E2, X>(register: (callback: (_: Effect<R, E, A>) => void) => Effect<R2, E2, X>) => Effect<R | R2, E | E2, A>;
|
|
@@ -764,7 +764,7 @@ export declare const asyncEffect: <R, E, A, R2, E2, X>(register: (callback: (_:
|
|
|
764
764
|
* The `FiberId` of the fiber that may complete the async callback may be
|
|
765
765
|
* provided to allow for better diagnostics.
|
|
766
766
|
*
|
|
767
|
-
* @since
|
|
767
|
+
* @since 2.0.0
|
|
768
768
|
* @category constructors
|
|
769
769
|
*/
|
|
770
770
|
export declare const asyncOption: <R, E, A>(register: (callback: (_: Effect<R, E, A>) => void) => Option.Option<Effect<R, E, A>>, blockingOn?: FiberId.FiberId) => Effect<R, E, A>;
|
|
@@ -783,32 +783,32 @@ export declare const asyncOption: <R, E, A>(register: (callback: (_: Effect<R, E
|
|
|
783
783
|
* The `FiberId` of the fiber that may complete the async callback may be
|
|
784
784
|
* provided to allow for better diagnostics.
|
|
785
785
|
*
|
|
786
|
-
* @since
|
|
786
|
+
* @since 2.0.0
|
|
787
787
|
* @category constructors
|
|
788
788
|
*/
|
|
789
789
|
export declare const asyncEither: <R, E, A>(register: (callback: (effect: Effect<R, E, A>) => void) => Either.Either<Effect<R, never, void>, Effect<R, E, A>>, blockingOn?: FiberId.FiberId) => Effect<R, E, A>;
|
|
790
790
|
/**
|
|
791
|
-
* @since
|
|
791
|
+
* @since 2.0.0
|
|
792
792
|
* @category constructors
|
|
793
793
|
*/
|
|
794
794
|
export declare const fail: <E>(error: E) => Effect<never, E, never>;
|
|
795
795
|
/**
|
|
796
|
-
* @since
|
|
796
|
+
* @since 2.0.0
|
|
797
797
|
* @category constructors
|
|
798
798
|
*/
|
|
799
799
|
export declare const failSync: <E>(evaluate: LazyArg<E>) => Effect<never, E, never>;
|
|
800
800
|
/**
|
|
801
|
-
* @since
|
|
801
|
+
* @since 2.0.0
|
|
802
802
|
* @category constructors
|
|
803
803
|
*/
|
|
804
804
|
export declare const failCause: <E>(cause: Cause.Cause<E>) => Effect<never, E, never>;
|
|
805
805
|
/**
|
|
806
|
-
* @since
|
|
806
|
+
* @since 2.0.0
|
|
807
807
|
* @category constructors
|
|
808
808
|
*/
|
|
809
809
|
export declare const failCauseSync: <E>(evaluate: LazyArg<Cause.Cause<E>>) => Effect<never, E, never>;
|
|
810
810
|
/**
|
|
811
|
-
* @since
|
|
811
|
+
* @since 2.0.0
|
|
812
812
|
* @category constructors
|
|
813
813
|
*/
|
|
814
814
|
export declare const die: (defect: unknown) => Effect<never, never, never>;
|
|
@@ -817,17 +817,17 @@ export declare const die: (defect: unknown) => Effect<never, never, never>;
|
|
|
817
817
|
* text message. This method can be used for terminating a fiber because a
|
|
818
818
|
* defect has been detected in the code.
|
|
819
819
|
*
|
|
820
|
-
* @since
|
|
820
|
+
* @since 2.0.0
|
|
821
821
|
* @category constructors
|
|
822
822
|
*/
|
|
823
823
|
export declare const dieMessage: (message: string) => Effect<never, never, never>;
|
|
824
824
|
/**
|
|
825
|
-
* @since
|
|
825
|
+
* @since 2.0.0
|
|
826
826
|
* @category constructors
|
|
827
827
|
*/
|
|
828
828
|
export declare const dieSync: (evaluate: LazyArg<unknown>) => Effect<never, never, never>;
|
|
829
829
|
/**
|
|
830
|
-
* @since
|
|
830
|
+
* @since 2.0.0
|
|
831
831
|
* @category constructors
|
|
832
832
|
*/
|
|
833
833
|
export declare const gen: {
|
|
@@ -844,7 +844,7 @@ export declare const gen: {
|
|
|
844
844
|
};
|
|
845
845
|
/**
|
|
846
846
|
* @category models
|
|
847
|
-
* @since
|
|
847
|
+
* @since 2.0.0
|
|
848
848
|
*/
|
|
849
849
|
export interface EffectGen<R, E, A> {
|
|
850
850
|
readonly _R: () => R;
|
|
@@ -854,7 +854,7 @@ export interface EffectGen<R, E, A> {
|
|
|
854
854
|
[Symbol.iterator](): Generator<EffectGen<R, E, A>, A>;
|
|
855
855
|
}
|
|
856
856
|
/**
|
|
857
|
-
* @since
|
|
857
|
+
* @since 2.0.0
|
|
858
858
|
* @category models
|
|
859
859
|
*/
|
|
860
860
|
export interface Adapter {
|
|
@@ -884,14 +884,14 @@ export interface Adapter {
|
|
|
884
884
|
* Returns a effect that will never produce anything. The moral equivalent of
|
|
885
885
|
* `while(true) {}`, only without the wasted CPU cycles.
|
|
886
886
|
*
|
|
887
|
-
* @since
|
|
887
|
+
* @since 2.0.0
|
|
888
888
|
* @category constructors
|
|
889
889
|
*/
|
|
890
890
|
export declare const never: Effect<never, never, never>;
|
|
891
891
|
/**
|
|
892
892
|
* Requires the option produced by this value to be `None`.
|
|
893
893
|
*
|
|
894
|
-
* @since
|
|
894
|
+
* @since 2.0.0
|
|
895
895
|
* @category constructors
|
|
896
896
|
*/
|
|
897
897
|
export declare const none: <R, E, A>(self: Effect<R, E, Option.Option<A>>) => Effect<R, Option.Option<E>, void>;
|
|
@@ -901,46 +901,46 @@ export declare const none: <R, E, A>(self: Effect<R, E, Option.Option<A>>) => Ef
|
|
|
901
901
|
* An optional `AbortSignal` can be provided to allow for interruption of the
|
|
902
902
|
* wrapped Promise api.
|
|
903
903
|
*
|
|
904
|
-
* @since
|
|
904
|
+
* @since 2.0.0
|
|
905
905
|
* @category constructors
|
|
906
906
|
*/
|
|
907
907
|
export declare const promise: <A>(evaluate: (signal: AbortSignal) => Promise<A>) => Effect<never, never, A>;
|
|
908
908
|
/**
|
|
909
|
-
* @since
|
|
909
|
+
* @since 2.0.0
|
|
910
910
|
* @category constructors
|
|
911
911
|
*/
|
|
912
912
|
export declare const succeed: <A>(value: A) => Effect<never, never, A>;
|
|
913
913
|
/**
|
|
914
914
|
* Returns an effect which succeeds with `None`.
|
|
915
915
|
*
|
|
916
|
-
* @since
|
|
916
|
+
* @since 2.0.0
|
|
917
917
|
* @category constructors
|
|
918
918
|
*/
|
|
919
919
|
export declare const succeedNone: Effect<never, never, Option.Option<never>>;
|
|
920
920
|
/**
|
|
921
921
|
* Returns an effect which succeeds with the value wrapped in a `Some`.
|
|
922
922
|
*
|
|
923
|
-
* @since
|
|
923
|
+
* @since 2.0.0
|
|
924
924
|
* @category constructors
|
|
925
925
|
*/
|
|
926
926
|
export declare const succeedSome: <A>(value: A) => Effect<never, never, Option.Option<A>>;
|
|
927
927
|
/**
|
|
928
|
-
* @since
|
|
928
|
+
* @since 2.0.0
|
|
929
929
|
* @category constructors
|
|
930
930
|
*/
|
|
931
931
|
export declare const suspend: <R, E, A>(effect: LazyArg<Effect<R, E, A>>) => Effect<R, E, A>;
|
|
932
932
|
/**
|
|
933
|
-
* @since
|
|
933
|
+
* @since 2.0.0
|
|
934
934
|
* @category constructors
|
|
935
935
|
*/
|
|
936
936
|
export declare const sync: <A>(evaluate: LazyArg<A>) => Effect<never, never, A>;
|
|
937
937
|
/**
|
|
938
|
-
* @since
|
|
938
|
+
* @since 2.0.0
|
|
939
939
|
* @category constructors
|
|
940
940
|
*/
|
|
941
941
|
export declare const unit: Effect<never, never, void>;
|
|
942
942
|
/**
|
|
943
|
-
* @since
|
|
943
|
+
* @since 2.0.0
|
|
944
944
|
* @category constructors
|
|
945
945
|
*/
|
|
946
946
|
export declare const yieldNow: (options?: {
|
|
@@ -968,7 +968,7 @@ export {
|
|
|
968
968
|
/**
|
|
969
969
|
* Recovers from specified error.
|
|
970
970
|
*
|
|
971
|
-
* @since
|
|
971
|
+
* @since 2.0.0
|
|
972
972
|
* @category error handling
|
|
973
973
|
*/
|
|
974
974
|
_catch as catch };
|
|
@@ -979,7 +979,7 @@ _catch as catch };
|
|
|
979
979
|
* recover from both recoverable and unrecoverable errors use
|
|
980
980
|
* `Effect.catchAllCause`.
|
|
981
981
|
*
|
|
982
|
-
* @since
|
|
982
|
+
* @since 2.0.0
|
|
983
983
|
* @category error handling
|
|
984
984
|
*/
|
|
985
985
|
export declare const catchAll: {
|
|
@@ -992,7 +992,7 @@ export declare const catchAll: {
|
|
|
992
992
|
* See `absorb`, `sandbox`, `mapErrorCause` for other functions that can
|
|
993
993
|
* recover from defects.
|
|
994
994
|
*
|
|
995
|
-
* @since
|
|
995
|
+
* @since 2.0.0
|
|
996
996
|
* @category error handling
|
|
997
997
|
*/
|
|
998
998
|
export declare const catchAllCause: {
|
|
@@ -1007,7 +1007,7 @@ export declare const catchAllCause: {
|
|
|
1007
1007
|
* system, to transmit information on a defect for diagnostic or explanatory
|
|
1008
1008
|
* purposes.
|
|
1009
1009
|
*
|
|
1010
|
-
* @since
|
|
1010
|
+
* @since 2.0.0
|
|
1011
1011
|
* @category error handling
|
|
1012
1012
|
*/
|
|
1013
1013
|
export declare const catchAllDefect: {
|
|
@@ -1017,7 +1017,7 @@ export declare const catchAllDefect: {
|
|
|
1017
1017
|
/**
|
|
1018
1018
|
* Recovers from errors that match the given predicate.
|
|
1019
1019
|
*
|
|
1020
|
-
* @since
|
|
1020
|
+
* @since 2.0.0
|
|
1021
1021
|
* @category error handling
|
|
1022
1022
|
*/
|
|
1023
1023
|
export declare const catchIf: {
|
|
@@ -1029,7 +1029,7 @@ export declare const catchIf: {
|
|
|
1029
1029
|
/**
|
|
1030
1030
|
* Recovers from some or all of the error cases.
|
|
1031
1031
|
*
|
|
1032
|
-
* @since
|
|
1032
|
+
* @since 2.0.0
|
|
1033
1033
|
* @category error handling
|
|
1034
1034
|
*/
|
|
1035
1035
|
export declare const catchSome: {
|
|
@@ -1039,7 +1039,7 @@ export declare const catchSome: {
|
|
|
1039
1039
|
/**
|
|
1040
1040
|
* Recovers from some or all of the error cases with provided cause.
|
|
1041
1041
|
*
|
|
1042
|
-
* @since
|
|
1042
|
+
* @since 2.0.0
|
|
1043
1043
|
* @category error handling
|
|
1044
1044
|
*/
|
|
1045
1045
|
export declare const catchSomeCause: {
|
|
@@ -1054,7 +1054,7 @@ export declare const catchSomeCause: {
|
|
|
1054
1054
|
* system, to transmit information on a defect for diagnostic or explanatory
|
|
1055
1055
|
* purposes.
|
|
1056
1056
|
*
|
|
1057
|
-
* @since
|
|
1057
|
+
* @since 2.0.0
|
|
1058
1058
|
* @category error handling
|
|
1059
1059
|
*/
|
|
1060
1060
|
export declare const catchSomeDefect: {
|
|
@@ -1064,7 +1064,7 @@ export declare const catchSomeDefect: {
|
|
|
1064
1064
|
/**
|
|
1065
1065
|
* Recovers from the specified tagged error.
|
|
1066
1066
|
*
|
|
1067
|
-
* @since
|
|
1067
|
+
* @since 2.0.0
|
|
1068
1068
|
* @category error handling
|
|
1069
1069
|
*/
|
|
1070
1070
|
export declare const catchTag: {
|
|
@@ -1086,7 +1086,7 @@ export declare const catchTag: {
|
|
|
1086
1086
|
/**
|
|
1087
1087
|
* Recovers from the specified tagged errors.
|
|
1088
1088
|
*
|
|
1089
|
-
* @since
|
|
1089
|
+
* @since 2.0.0
|
|
1090
1090
|
* @category error handling
|
|
1091
1091
|
*/
|
|
1092
1092
|
export declare const catchTags: {
|
|
@@ -1125,7 +1125,7 @@ export declare const catchTags: {
|
|
|
1125
1125
|
* Returns an effect that succeeds with the cause of failure of this effect,
|
|
1126
1126
|
* or `Cause.empty` if the effect did succeed.
|
|
1127
1127
|
*
|
|
1128
|
-
* @since
|
|
1128
|
+
* @since 2.0.0
|
|
1129
1129
|
* @category error handling
|
|
1130
1130
|
*/
|
|
1131
1131
|
export declare const cause: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, Cause.Cause<E>>;
|
|
@@ -1133,14 +1133,14 @@ export declare const cause: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never,
|
|
|
1133
1133
|
* Returns an effect that ignores errors and runs repeatedly until it
|
|
1134
1134
|
* eventually succeeds.
|
|
1135
1135
|
*
|
|
1136
|
-
* @since
|
|
1136
|
+
* @since 2.0.0
|
|
1137
1137
|
* @category error handling
|
|
1138
1138
|
*/
|
|
1139
1139
|
export declare const eventually: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, A>;
|
|
1140
1140
|
/**
|
|
1141
1141
|
* Returns a new effect that ignores the success or failure of this effect.
|
|
1142
1142
|
*
|
|
1143
|
-
* @since
|
|
1143
|
+
* @since 2.0.0
|
|
1144
1144
|
* @category error handling
|
|
1145
1145
|
*/
|
|
1146
1146
|
export declare const ignore: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, void>;
|
|
@@ -1149,21 +1149,21 @@ export declare const ignore: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never
|
|
|
1149
1149
|
* but which also logs failures at the Debug level, just in case the failure
|
|
1150
1150
|
* turns out to be important.
|
|
1151
1151
|
*
|
|
1152
|
-
* @since
|
|
1152
|
+
* @since 2.0.0
|
|
1153
1153
|
* @category error handling
|
|
1154
1154
|
*/
|
|
1155
1155
|
export declare const ignoreLogged: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, void>;
|
|
1156
1156
|
/**
|
|
1157
1157
|
* Exposes all parallel errors in a single call.
|
|
1158
1158
|
*
|
|
1159
|
-
* @since
|
|
1159
|
+
* @since 2.0.0
|
|
1160
1160
|
* @category error handling
|
|
1161
1161
|
*/
|
|
1162
1162
|
export declare const parallelErrors: <R, E, A>(self: Effect<R, E, A>) => Effect<R, Array<E>, A>;
|
|
1163
1163
|
/**
|
|
1164
1164
|
* Exposes the full `Cause` of failure for the specified effect.
|
|
1165
1165
|
*
|
|
1166
|
-
* @since
|
|
1166
|
+
* @since 2.0.0
|
|
1167
1167
|
* @category error handling
|
|
1168
1168
|
*/
|
|
1169
1169
|
export declare const sandbox: <R, E, A>(self: Effect<R, E, A>) => Effect<R, Cause.Cause<E>, A>;
|
|
@@ -1173,7 +1173,7 @@ export declare const sandbox: <R, E, A>(self: Effect<R, E, A>) => Effect<R, Caus
|
|
|
1173
1173
|
* for example), so that that `io.retry(Schedule.once)` means "execute `io`
|
|
1174
1174
|
* and in case of failure, try again once".
|
|
1175
1175
|
*
|
|
1176
|
-
* @since
|
|
1176
|
+
* @since 2.0.0
|
|
1177
1177
|
* @category error handling
|
|
1178
1178
|
*/
|
|
1179
1179
|
export declare const retry: {
|
|
@@ -1183,7 +1183,7 @@ export declare const retry: {
|
|
|
1183
1183
|
/**
|
|
1184
1184
|
* Retries this effect the specified number of times.
|
|
1185
1185
|
*
|
|
1186
|
-
* @since
|
|
1186
|
+
* @since 2.0.0
|
|
1187
1187
|
* @category error handling
|
|
1188
1188
|
*/
|
|
1189
1189
|
export declare const retryN: {
|
|
@@ -1195,7 +1195,7 @@ export declare const retryN: {
|
|
|
1195
1195
|
* value produced by the schedule together with the last error are passed to
|
|
1196
1196
|
* the recovery function.
|
|
1197
1197
|
*
|
|
1198
|
-
* @since
|
|
1198
|
+
* @since 2.0.0
|
|
1199
1199
|
* @category error handling
|
|
1200
1200
|
*/
|
|
1201
1201
|
export declare const retryOrElse: {
|
|
@@ -1205,7 +1205,7 @@ export declare const retryOrElse: {
|
|
|
1205
1205
|
/**
|
|
1206
1206
|
* Retries this effect until its error satisfies the specified predicate.
|
|
1207
1207
|
*
|
|
1208
|
-
* @since
|
|
1208
|
+
* @since 2.0.0
|
|
1209
1209
|
* @category error handling
|
|
1210
1210
|
*/
|
|
1211
1211
|
export declare const retryUntil: {
|
|
@@ -1218,7 +1218,7 @@ export declare const retryUntil: {
|
|
|
1218
1218
|
* Retries this effect until its error satisfies the specified effectful
|
|
1219
1219
|
* predicate.
|
|
1220
1220
|
*
|
|
1221
|
-
* @since
|
|
1221
|
+
* @since 2.0.0
|
|
1222
1222
|
* @category error handling
|
|
1223
1223
|
*/
|
|
1224
1224
|
export declare const retryUntilEffect: {
|
|
@@ -1228,7 +1228,7 @@ export declare const retryUntilEffect: {
|
|
|
1228
1228
|
/**
|
|
1229
1229
|
* Retries this effect while its error satisfies the specified predicate.
|
|
1230
1230
|
*
|
|
1231
|
-
* @since
|
|
1231
|
+
* @since 2.0.0
|
|
1232
1232
|
* @category error handling
|
|
1233
1233
|
*/
|
|
1234
1234
|
export declare const retryWhile: {
|
|
@@ -1239,7 +1239,7 @@ export declare const retryWhile: {
|
|
|
1239
1239
|
* Retries this effect while its error satisfies the specified effectful
|
|
1240
1240
|
* predicate.
|
|
1241
1241
|
*
|
|
1242
|
-
* @since
|
|
1242
|
+
* @since 2.0.0
|
|
1243
1243
|
* @category error handling
|
|
1244
1244
|
*/
|
|
1245
1245
|
export declare const retryWhileEffect: {
|
|
@@ -1258,7 +1258,7 @@ export {
|
|
|
1258
1258
|
* Imports a synchronous side-effect into a pure `Effect` value, translating any
|
|
1259
1259
|
* thrown exceptions into typed failed effects creating with `Effect.fail`.
|
|
1260
1260
|
*
|
|
1261
|
-
* @since
|
|
1261
|
+
* @since 2.0.0
|
|
1262
1262
|
* @category error handling
|
|
1263
1263
|
*/
|
|
1264
1264
|
try_ as try };
|
|
@@ -1267,7 +1267,7 @@ try_ as try };
|
|
|
1267
1267
|
* `try` function, translating any promise rejections into typed failed effects
|
|
1268
1268
|
* via the `catch` function.
|
|
1269
1269
|
*
|
|
1270
|
-
* @since
|
|
1270
|
+
* @since 2.0.0
|
|
1271
1271
|
* @category error handling
|
|
1272
1272
|
*/
|
|
1273
1273
|
export declare const tryMap: {
|
|
@@ -1288,7 +1288,7 @@ export declare const tryMap: {
|
|
|
1288
1288
|
* An optional `AbortSignal` can be provided to allow for interruption of the
|
|
1289
1289
|
* wrapped Promise api.
|
|
1290
1290
|
*
|
|
1291
|
-
* @since
|
|
1291
|
+
* @since 2.0.0
|
|
1292
1292
|
* @category error handling
|
|
1293
1293
|
*/
|
|
1294
1294
|
export declare const tryMapPromise: {
|
|
@@ -1308,7 +1308,7 @@ export declare const tryMapPromise: {
|
|
|
1308
1308
|
* An optional `AbortSignal` can be provided to allow for interruption of the
|
|
1309
1309
|
* wrapped Promise api.
|
|
1310
1310
|
*
|
|
1311
|
-
* @since
|
|
1311
|
+
* @since 2.0.0
|
|
1312
1312
|
* @category error handling
|
|
1313
1313
|
*/
|
|
1314
1314
|
export declare const tryPromise: {
|
|
@@ -1324,7 +1324,7 @@ export declare const tryPromise: {
|
|
|
1324
1324
|
* Terminates with exceptions on the `Left` side of the `Either` error, if it
|
|
1325
1325
|
* exists. Otherwise extracts the contained `Effect<R, E, A>`
|
|
1326
1326
|
*
|
|
1327
|
-
* @since
|
|
1327
|
+
* @since 2.0.0
|
|
1328
1328
|
* @category error handling
|
|
1329
1329
|
*/
|
|
1330
1330
|
export declare const unsandbox: <R, E, A>(self: Effect<R, Cause.Cause<E>, A>) => Effect<R, E, A>;
|
|
@@ -1337,7 +1337,7 @@ export declare const unsandbox: <R, E, A>(self: Effect<R, Cause.Cause<E>, A>) =>
|
|
|
1337
1337
|
* @returns A new `Effect` value that represents the check for interruption
|
|
1338
1338
|
* and the potential self-interruption of the current fiber.
|
|
1339
1339
|
*
|
|
1340
|
-
* @since
|
|
1340
|
+
* @since 2.0.0
|
|
1341
1341
|
* @category interruption
|
|
1342
1342
|
*/
|
|
1343
1343
|
export declare const allowInterrupt: Effect<never, never, void>;
|
|
@@ -1345,7 +1345,7 @@ export declare const allowInterrupt: Effect<never, never, void>;
|
|
|
1345
1345
|
* Checks the interrupt status, and produces the effect returned by the
|
|
1346
1346
|
* specified callback.
|
|
1347
1347
|
*
|
|
1348
|
-
* @since
|
|
1348
|
+
* @since 2.0.0
|
|
1349
1349
|
* @category interruption
|
|
1350
1350
|
*/
|
|
1351
1351
|
export declare const checkInterruptible: <R, E, A>(f: (isInterruptible: boolean) => Effect<R, E, A>) => Effect<R, E, A>;
|
|
@@ -1362,32 +1362,32 @@ export declare const checkInterruptible: <R, E, A>(f: (isInterruptible: boolean)
|
|
|
1362
1362
|
*
|
|
1363
1363
|
* See timeout and race for other applications.
|
|
1364
1364
|
*
|
|
1365
|
-
* @since
|
|
1365
|
+
* @since 2.0.0
|
|
1366
1366
|
* @category interruption
|
|
1367
1367
|
*/
|
|
1368
1368
|
export declare const disconnect: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, A>;
|
|
1369
1369
|
/**
|
|
1370
|
-
* @since
|
|
1370
|
+
* @since 2.0.0
|
|
1371
1371
|
* @category interruption
|
|
1372
1372
|
*/
|
|
1373
1373
|
export declare const interrupt: Effect<never, never, never>;
|
|
1374
1374
|
/**
|
|
1375
|
-
* @since
|
|
1375
|
+
* @since 2.0.0
|
|
1376
1376
|
* @category interruption
|
|
1377
1377
|
*/
|
|
1378
1378
|
export declare const interruptWith: (fiberId: FiberId.FiberId) => Effect<never, never, never>;
|
|
1379
1379
|
/**
|
|
1380
|
-
* @since
|
|
1380
|
+
* @since 2.0.0
|
|
1381
1381
|
* @category interruption
|
|
1382
1382
|
*/
|
|
1383
1383
|
export declare const interruptible: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, A>;
|
|
1384
1384
|
/**
|
|
1385
|
-
* @since
|
|
1385
|
+
* @since 2.0.0
|
|
1386
1386
|
* @category interruption
|
|
1387
1387
|
*/
|
|
1388
1388
|
export declare const interruptibleMask: <R, E, A>(f: (restore: <RX, EX, AX>(effect: Effect<RX, EX, AX>) => Effect<RX, EX, AX>) => Effect<R, E, A>) => Effect<R, E, A>;
|
|
1389
1389
|
/**
|
|
1390
|
-
* @since
|
|
1390
|
+
* @since 2.0.0
|
|
1391
1391
|
* @category interruption
|
|
1392
1392
|
*/
|
|
1393
1393
|
export declare const onInterrupt: {
|
|
@@ -1395,12 +1395,12 @@ export declare const onInterrupt: {
|
|
|
1395
1395
|
<R, E, A, R2, X>(self: Effect<R, E, A>, cleanup: (interruptors: HashSet.HashSet<FiberId.FiberId>) => Effect<R2, never, X>): Effect<R | R2, E, A>;
|
|
1396
1396
|
};
|
|
1397
1397
|
/**
|
|
1398
|
-
* @since
|
|
1398
|
+
* @since 2.0.0
|
|
1399
1399
|
* @category interruption
|
|
1400
1400
|
*/
|
|
1401
1401
|
export declare const uninterruptible: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, A>;
|
|
1402
1402
|
/**
|
|
1403
|
-
* @since
|
|
1403
|
+
* @since 2.0.0
|
|
1404
1404
|
* @category interruption
|
|
1405
1405
|
*/
|
|
1406
1406
|
export declare const uninterruptibleMask: <R, E, A>(f: (restore: <RX, EX, AX>(effect: Effect<RX, EX, AX>) => Effect<RX, EX, AX>) => Effect<R, E, A>) => Effect<R, E, A>;
|
|
@@ -1416,7 +1416,7 @@ export declare const uninterruptibleMask: <R, E, A>(f: (restore: <RX, EX, AX>(ef
|
|
|
1416
1416
|
* @returns A new `Effect` value that represents the mapping of the success
|
|
1417
1417
|
* value of the original `Effect` value to the specified constant value.
|
|
1418
1418
|
*
|
|
1419
|
-
* @since
|
|
1419
|
+
* @since 2.0.0
|
|
1420
1420
|
* @category mapping
|
|
1421
1421
|
*/
|
|
1422
1422
|
export declare const as: {
|
|
@@ -1437,7 +1437,7 @@ export declare const as: {
|
|
|
1437
1437
|
* fails.
|
|
1438
1438
|
*
|
|
1439
1439
|
* @category mapping
|
|
1440
|
-
* @since
|
|
1440
|
+
* @since 2.0.0
|
|
1441
1441
|
*/
|
|
1442
1442
|
export declare const asSome: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, Option.Option<A>>;
|
|
1443
1443
|
/**
|
|
@@ -1454,7 +1454,7 @@ export declare const asSome: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, Op
|
|
|
1454
1454
|
* value succeeds.
|
|
1455
1455
|
*
|
|
1456
1456
|
* @category mapping
|
|
1457
|
-
* @since
|
|
1457
|
+
* @since 2.0.0
|
|
1458
1458
|
*/
|
|
1459
1459
|
export declare const asSomeError: <R, E, A>(self: Effect<R, E, A>) => Effect<R, Option.Option<E>, A>;
|
|
1460
1460
|
/**
|
|
@@ -1468,7 +1468,7 @@ export declare const asSomeError: <R, E, A>(self: Effect<R, E, A>) => Effect<R,
|
|
|
1468
1468
|
* @returns A new `Effect` value that represents the mapping of the success
|
|
1469
1469
|
* value of the original `Effect` value to `void`.
|
|
1470
1470
|
*
|
|
1471
|
-
* @since
|
|
1471
|
+
* @since 2.0.0
|
|
1472
1472
|
* @category mapping
|
|
1473
1473
|
*/
|
|
1474
1474
|
export declare const asUnit: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, void>;
|
|
@@ -1476,7 +1476,7 @@ export declare const asUnit: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, vo
|
|
|
1476
1476
|
* Returns an effect that swaps the error/success cases. This allows you to
|
|
1477
1477
|
* use all methods on the error channel, possibly before flipping back.
|
|
1478
1478
|
*
|
|
1479
|
-
* @since
|
|
1479
|
+
* @since 2.0.0
|
|
1480
1480
|
* @category mapping
|
|
1481
1481
|
*/
|
|
1482
1482
|
export declare const flip: <R, E, A>(self: Effect<R, E, A>) => Effect<R, A, E>;
|
|
@@ -1484,7 +1484,7 @@ export declare const flip: <R, E, A>(self: Effect<R, E, A>) => Effect<R, A, E>;
|
|
|
1484
1484
|
* Swaps the error/value parameters, applies the function `f` and flips the
|
|
1485
1485
|
* parameters back
|
|
1486
1486
|
*
|
|
1487
|
-
* @since
|
|
1487
|
+
* @since 2.0.0
|
|
1488
1488
|
* @category mapping
|
|
1489
1489
|
*/
|
|
1490
1490
|
export declare const flipWith: {
|
|
@@ -1492,7 +1492,7 @@ export declare const flipWith: {
|
|
|
1492
1492
|
<R, A, E, R2, A2, E2>(self: Effect<R, E, A>, f: (effect: Effect<R, A, E>) => Effect<R2, A2, E2>): Effect<R2, E2, A2>;
|
|
1493
1493
|
};
|
|
1494
1494
|
/**
|
|
1495
|
-
* @since
|
|
1495
|
+
* @since 2.0.0
|
|
1496
1496
|
* @category mapping
|
|
1497
1497
|
*/
|
|
1498
1498
|
export declare const map: {
|
|
@@ -1503,7 +1503,7 @@ export declare const map: {
|
|
|
1503
1503
|
* Statefully and effectfully maps over the elements of this chunk to produce
|
|
1504
1504
|
* new elements.
|
|
1505
1505
|
*
|
|
1506
|
-
* @since
|
|
1506
|
+
* @since 2.0.0
|
|
1507
1507
|
* @category mapping
|
|
1508
1508
|
*/
|
|
1509
1509
|
export declare const mapAccum: {
|
|
@@ -1514,7 +1514,7 @@ export declare const mapAccum: {
|
|
|
1514
1514
|
* Returns an effect whose failure and success channels have been mapped by
|
|
1515
1515
|
* the specified `onFailure` and `onSuccess` functions.
|
|
1516
1516
|
*
|
|
1517
|
-
* @since
|
|
1517
|
+
* @since 2.0.0
|
|
1518
1518
|
* @category mapping
|
|
1519
1519
|
*/
|
|
1520
1520
|
export declare const mapBoth: {
|
|
@@ -1530,7 +1530,7 @@ export declare const mapBoth: {
|
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Returns an effect with its error channel mapped using the specified function.
|
|
1532
1532
|
*
|
|
1533
|
-
* @since
|
|
1533
|
+
* @since 2.0.0
|
|
1534
1534
|
* @category mapping
|
|
1535
1535
|
*/
|
|
1536
1536
|
export declare const mapError: {
|
|
@@ -1545,7 +1545,7 @@ export declare const mapError: {
|
|
|
1545
1545
|
* See `absorb`, `sandbox`, `catchAllCause` for other functions for dealing
|
|
1546
1546
|
* with defects.
|
|
1547
1547
|
*
|
|
1548
|
-
* @since
|
|
1548
|
+
* @since 2.0.0
|
|
1549
1549
|
* @category mapping
|
|
1550
1550
|
*/
|
|
1551
1551
|
export declare const mapErrorCause: {
|
|
@@ -1556,14 +1556,14 @@ export declare const mapErrorCause: {
|
|
|
1556
1556
|
* Returns a new effect where the error channel has been merged into the
|
|
1557
1557
|
* success channel to their common combined type.
|
|
1558
1558
|
*
|
|
1559
|
-
* @since
|
|
1559
|
+
* @since 2.0.0
|
|
1560
1560
|
* @category mapping
|
|
1561
1561
|
*/
|
|
1562
1562
|
export declare const merge: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, E | A>;
|
|
1563
1563
|
/**
|
|
1564
1564
|
* Returns a new effect where boolean value of this effect is negated.
|
|
1565
1565
|
*
|
|
1566
|
-
* @since
|
|
1566
|
+
* @since 2.0.0
|
|
1567
1567
|
* @category mapping
|
|
1568
1568
|
*/
|
|
1569
1569
|
export declare const negate: <R, E>(self: Effect<R, E, boolean>) => Effect<R, E, boolean>;
|
|
@@ -1585,7 +1585,7 @@ export declare const negate: <R, E>(self: Effect<R, E, boolean>) => Effect<R, E,
|
|
|
1585
1585
|
*
|
|
1586
1586
|
* @returns A new `Effect` value that represents the scoped resource.
|
|
1587
1587
|
*
|
|
1588
|
-
* @since
|
|
1588
|
+
* @since 2.0.0
|
|
1589
1589
|
* @category scoping, resources & finalization
|
|
1590
1590
|
*/
|
|
1591
1591
|
export declare const acquireRelease: {
|
|
@@ -1612,7 +1612,7 @@ export declare const acquireRelease: {
|
|
|
1612
1612
|
*
|
|
1613
1613
|
* @returns A new `Effect` value that represents the scoped resource.
|
|
1614
1614
|
*
|
|
1615
|
-
* @since
|
|
1615
|
+
* @since 2.0.0
|
|
1616
1616
|
* @category scoping, resources & finalization
|
|
1617
1617
|
*/
|
|
1618
1618
|
export declare const acquireReleaseInterruptible: {
|
|
@@ -1650,7 +1650,7 @@ export declare const acquireReleaseInterruptible: {
|
|
|
1650
1650
|
* @returns A new `Effect` value that represents the acquisition, use, and
|
|
1651
1651
|
* release of the resource.
|
|
1652
1652
|
*
|
|
1653
|
-
* @since
|
|
1653
|
+
* @since 2.0.0
|
|
1654
1654
|
* @category scoping, resources & finalization
|
|
1655
1655
|
*/
|
|
1656
1656
|
export declare const acquireUseRelease: {
|
|
@@ -1669,7 +1669,7 @@ export declare const acquireUseRelease: {
|
|
|
1669
1669
|
* @returns A new `Effect` value that represents the addition of the finalizer
|
|
1670
1670
|
* to the scope of the calling `Effect` value.
|
|
1671
1671
|
*
|
|
1672
|
-
* @since
|
|
1672
|
+
* @since 2.0.0
|
|
1673
1673
|
* @category scoping, resources & finalization
|
|
1674
1674
|
*/
|
|
1675
1675
|
export declare const addFinalizer: <R, X>(finalizer: (exit: Exit.Exit<unknown, unknown>) => Effect<R, never, X>) => Effect<R | Scope.Scope, never, void>;
|
|
@@ -1684,7 +1684,7 @@ export declare const addFinalizer: <R, X>(finalizer: (exit: Exit.Exit<unknown, u
|
|
|
1684
1684
|
* should generally not be used for releasing resources. For higher-level
|
|
1685
1685
|
* logic built on `ensuring`, see the `acquireRelease` family of methods.
|
|
1686
1686
|
*
|
|
1687
|
-
* @since
|
|
1687
|
+
* @since 2.0.0
|
|
1688
1688
|
* @category scoping, resources & finalization
|
|
1689
1689
|
*/
|
|
1690
1690
|
export declare const ensuring: {
|
|
@@ -1695,7 +1695,7 @@ export declare const ensuring: {
|
|
|
1695
1695
|
* Runs the specified effect if this effect fails, providing the error to the
|
|
1696
1696
|
* effect if it exists. The provided effect will not be interrupted.
|
|
1697
1697
|
*
|
|
1698
|
-
* @since
|
|
1698
|
+
* @since 2.0.0
|
|
1699
1699
|
* @category scoping, resources & finalization
|
|
1700
1700
|
*/
|
|
1701
1701
|
export declare const onError: {
|
|
@@ -1706,7 +1706,7 @@ export declare const onError: {
|
|
|
1706
1706
|
* Ensures that a cleanup functions runs, whether this effect succeeds, fails,
|
|
1707
1707
|
* or is interrupted.
|
|
1708
1708
|
*
|
|
1709
|
-
* @since
|
|
1709
|
+
* @since 2.0.0
|
|
1710
1710
|
* @category scoping, resources & finalization
|
|
1711
1711
|
*/
|
|
1712
1712
|
export declare const onExit: {
|
|
@@ -1714,12 +1714,12 @@ export declare const onExit: {
|
|
|
1714
1714
|
<R, E, A, R2, X>(self: Effect<R, E, A>, cleanup: (exit: Exit.Exit<E, A>) => Effect<R2, never, X>): Effect<R | R2, E, A>;
|
|
1715
1715
|
};
|
|
1716
1716
|
/**
|
|
1717
|
-
* @since
|
|
1717
|
+
* @since 2.0.0
|
|
1718
1718
|
* @category scoping, resources & finalization
|
|
1719
1719
|
*/
|
|
1720
1720
|
export declare const parallelFinalizers: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, A>;
|
|
1721
1721
|
/**
|
|
1722
|
-
* @since
|
|
1722
|
+
* @since 2.0.0
|
|
1723
1723
|
* @category scoping, resources & finalization
|
|
1724
1724
|
*/
|
|
1725
1725
|
export declare const finalizersMask: (strategy: ExecutionStrategy) => <R, E, A>(self: (restore: <R1, E1, A1>(self: Effect<R1, E1, A1>) => Effect<R1, E1, A1>) => Effect<R, E, A>) => Effect<R, E, A>;
|
|
@@ -1730,19 +1730,19 @@ export declare const finalizersMask: (strategy: ExecutionStrategy) => <R, E, A>(
|
|
|
1730
1730
|
* has meaning if used within a scope where finalizers are being run in
|
|
1731
1731
|
* parallel.
|
|
1732
1732
|
*
|
|
1733
|
-
* @since
|
|
1733
|
+
* @since 2.0.0
|
|
1734
1734
|
* @category scoping, resources & finalization
|
|
1735
1735
|
*/
|
|
1736
1736
|
export declare const sequentialFinalizers: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, A>;
|
|
1737
1737
|
/**
|
|
1738
|
-
* @since
|
|
1738
|
+
* @since 2.0.0
|
|
1739
1739
|
* @category scoping, resources & finalization
|
|
1740
1740
|
*/
|
|
1741
1741
|
export declare const scope: Effect<Scope.Scope, never, Scope.Scope>;
|
|
1742
1742
|
/**
|
|
1743
1743
|
* Accesses the current scope and uses it to perform the specified effect.
|
|
1744
1744
|
*
|
|
1745
|
-
* @since
|
|
1745
|
+
* @since 2.0.0
|
|
1746
1746
|
* @category scoping, resources & finalization
|
|
1747
1747
|
*/
|
|
1748
1748
|
export declare const scopeWith: <R, E, A>(f: (scope: Scope.Scope) => Effect<R, E, A>) => Effect<R | Scope.Scope, E, A>;
|
|
@@ -1751,7 +1751,7 @@ export declare const scopeWith: <R, E, A>(f: (scope: Scope.Scope) => Effect<R, E
|
|
|
1751
1751
|
* ensuring that their finalizers are run as soon as this workflow completes
|
|
1752
1752
|
* execution, whether by success, failure, or interruption.
|
|
1753
1753
|
*
|
|
1754
|
-
* @since
|
|
1754
|
+
* @since 2.0.0
|
|
1755
1755
|
* @category scoping, resources & finalization
|
|
1756
1756
|
*/
|
|
1757
1757
|
export declare const scoped: <R, E, A>(effect: Effect<R, E, A>) => Effect<Exclude<R, Scope.Scope>, E, A>;
|
|
@@ -1759,7 +1759,7 @@ export declare const scoped: <R, E, A>(effect: Effect<R, E, A>) => Effect<Exclud
|
|
|
1759
1759
|
* Scopes all resources acquired by `resource` to the lifetime of `use`
|
|
1760
1760
|
* without effecting the scope of any resources acquired by `use`.
|
|
1761
1761
|
*
|
|
1762
|
-
* @since
|
|
1762
|
+
* @since 2.0.0
|
|
1763
1763
|
* @category scoping, resources & finalization
|
|
1764
1764
|
*/
|
|
1765
1765
|
export declare const using: {
|
|
@@ -1770,7 +1770,7 @@ export declare const using: {
|
|
|
1770
1770
|
* Returns a new scoped workflow that returns the result of this workflow as
|
|
1771
1771
|
* well as a finalizer that can be run to close the scope of this workflow.
|
|
1772
1772
|
*
|
|
1773
|
-
* @since
|
|
1773
|
+
* @since 2.0.0
|
|
1774
1774
|
* @category scoping, resources & finalization
|
|
1775
1775
|
*/
|
|
1776
1776
|
export declare const withEarlyRelease: <R, E, A>(self: Effect<R, E, A>) => Effect<Scope.Scope | R, E, readonly [Effect<never, never, void>, A]>;
|
|
@@ -1778,7 +1778,7 @@ export declare const withEarlyRelease: <R, E, A>(self: Effect<R, E, A>) => Effec
|
|
|
1778
1778
|
* Returns a new effect that will not succeed with its value before first
|
|
1779
1779
|
* waiting for the end of all child fibers forked by the effect.
|
|
1780
1780
|
*
|
|
1781
|
-
* @since
|
|
1781
|
+
* @since 2.0.0
|
|
1782
1782
|
* @category supervision & fibers
|
|
1783
1783
|
*/
|
|
1784
1784
|
export declare const awaitAllChildren: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, A>;
|
|
@@ -1786,21 +1786,21 @@ export declare const awaitAllChildren: <R, E, A>(self: Effect<R, E, A>) => Effec
|
|
|
1786
1786
|
* Returns a new workflow that will not supervise any fibers forked by this
|
|
1787
1787
|
* workflow.
|
|
1788
1788
|
*
|
|
1789
|
-
* @since
|
|
1789
|
+
* @since 2.0.0
|
|
1790
1790
|
* @category supervision & fibers
|
|
1791
1791
|
*/
|
|
1792
1792
|
export declare const daemonChildren: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, A>;
|
|
1793
1793
|
/**
|
|
1794
1794
|
* Constructs an effect with information about the current `Fiber`.
|
|
1795
1795
|
*
|
|
1796
|
-
* @since
|
|
1796
|
+
* @since 2.0.0
|
|
1797
1797
|
* @category supervision & fibers
|
|
1798
1798
|
*/
|
|
1799
1799
|
export declare const descriptor: Effect<never, never, Fiber.Fiber.Descriptor>;
|
|
1800
1800
|
/**
|
|
1801
1801
|
* Constructs an effect based on information about the current `Fiber`.
|
|
1802
1802
|
*
|
|
1803
|
-
* @since
|
|
1803
|
+
* @since 2.0.0
|
|
1804
1804
|
* @category supervision & fibers
|
|
1805
1805
|
*/
|
|
1806
1806
|
export declare const descriptorWith: <R, E, A>(f: (descriptor: Fiber.Fiber.Descriptor) => Effect<R, E, A>) => Effect<R, E, A>;
|
|
@@ -1808,7 +1808,7 @@ export declare const descriptorWith: <R, E, A>(f: (descriptor: Fiber.Fiber.Descr
|
|
|
1808
1808
|
* Returns a new workflow that executes this one and captures the changes in
|
|
1809
1809
|
* `FiberRef` values.
|
|
1810
1810
|
*
|
|
1811
|
-
* @since
|
|
1811
|
+
* @since 2.0.0
|
|
1812
1812
|
* @category supervision & fibers
|
|
1813
1813
|
*/
|
|
1814
1814
|
export declare const diffFiberRefs: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, readonly [FiberRefsPatch.FiberRefsPatch, A]>;
|
|
@@ -1817,7 +1817,7 @@ export declare const diffFiberRefs: <R, E, A>(self: Effect<R, E, A>) => Effect<R
|
|
|
1817
1817
|
* guaranteeing the specified callback will be invoked, whether or not this
|
|
1818
1818
|
* effect succeeds.
|
|
1819
1819
|
*
|
|
1820
|
-
* @since
|
|
1820
|
+
* @since 2.0.0
|
|
1821
1821
|
* @category supervision & fibers
|
|
1822
1822
|
*/
|
|
1823
1823
|
export declare const ensuringChild: {
|
|
@@ -1828,7 +1828,7 @@ export declare const ensuringChild: {
|
|
|
1828
1828
|
* Acts on the children of this fiber, guaranteeing the specified callback
|
|
1829
1829
|
* will be invoked, whether or not this effect succeeds.
|
|
1830
1830
|
*
|
|
1831
|
-
* @since
|
|
1831
|
+
* @since 2.0.0
|
|
1832
1832
|
* @category supervision & fibers
|
|
1833
1833
|
*/
|
|
1834
1834
|
export declare const ensuringChildren: {
|
|
@@ -1836,12 +1836,12 @@ export declare const ensuringChildren: {
|
|
|
1836
1836
|
<R, E, A, R1, X>(self: Effect<R, E, A>, children: (fibers: ReadonlyArray<Fiber.RuntimeFiber<any, any>>) => Effect<R1, never, X>): Effect<R | R1, E, A>;
|
|
1837
1837
|
};
|
|
1838
1838
|
/**
|
|
1839
|
-
* @since
|
|
1839
|
+
* @since 2.0.0
|
|
1840
1840
|
* @category supervision & fibers
|
|
1841
1841
|
*/
|
|
1842
1842
|
export declare const fiberId: Effect<never, never, FiberId.FiberId>;
|
|
1843
1843
|
/**
|
|
1844
|
-
* @since
|
|
1844
|
+
* @since 2.0.0
|
|
1845
1845
|
* @category supervision & fibers
|
|
1846
1846
|
*/
|
|
1847
1847
|
export declare const fiberIdWith: <R, E, A>(f: (descriptor: FiberId.Runtime) => Effect<R, E, A>) => Effect<R, E, A>;
|
|
@@ -1866,7 +1866,7 @@ export declare const fiberIdWith: <R, E, A>(f: (descriptor: FiberId.Runtime) =>
|
|
|
1866
1866
|
* fibers leak. This behavior is called "auto supervision", and if this
|
|
1867
1867
|
* behavior is not desired, you may use the `forkDaemon` or `forkIn` methods.
|
|
1868
1868
|
*
|
|
1869
|
-
* @since
|
|
1869
|
+
* @since 2.0.0
|
|
1870
1870
|
* @category supervision & fibers
|
|
1871
1871
|
*/
|
|
1872
1872
|
export declare const fork: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, Fiber.RuntimeFiber<E, A>>;
|
|
@@ -1875,7 +1875,7 @@ export declare const fork: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never,
|
|
|
1875
1875
|
* new fiber is attached to the global scope, when the fiber executing the
|
|
1876
1876
|
* returned effect terminates, the forked fiber will continue running.
|
|
1877
1877
|
*
|
|
1878
|
-
* @since
|
|
1878
|
+
* @since 2.0.0
|
|
1879
1879
|
* @category supervision & fibers
|
|
1880
1880
|
*/
|
|
1881
1881
|
export declare const forkDaemon: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, Fiber.RuntimeFiber<E, A>>;
|
|
@@ -1883,7 +1883,7 @@ export declare const forkDaemon: <R, E, A>(self: Effect<R, E, A>) => Effect<R, n
|
|
|
1883
1883
|
* Returns an effect that forks all of the specified values, and returns a
|
|
1884
1884
|
* composite fiber that produces a list of their results, in order.
|
|
1885
1885
|
*
|
|
1886
|
-
* @since
|
|
1886
|
+
* @since 2.0.0
|
|
1887
1887
|
* @category supervision & fibers
|
|
1888
1888
|
*/
|
|
1889
1889
|
export declare const forkAll: {
|
|
@@ -1904,7 +1904,7 @@ export declare const forkAll: {
|
|
|
1904
1904
|
* Forks the effect in the specified scope. The fiber will be interrupted
|
|
1905
1905
|
* when the scope is closed.
|
|
1906
1906
|
*
|
|
1907
|
-
* @since
|
|
1907
|
+
* @since 2.0.0
|
|
1908
1908
|
* @category supervision & fibers
|
|
1909
1909
|
*/
|
|
1910
1910
|
export declare const forkIn: {
|
|
@@ -1914,14 +1914,14 @@ export declare const forkIn: {
|
|
|
1914
1914
|
/**
|
|
1915
1915
|
* Forks the fiber in a `Scope`, interrupting it when the scope is closed.
|
|
1916
1916
|
*
|
|
1917
|
-
* @since
|
|
1917
|
+
* @since 2.0.0
|
|
1918
1918
|
* @category supervision & fibers
|
|
1919
1919
|
*/
|
|
1920
1920
|
export declare const forkScoped: <R, E, A>(self: Effect<R, E, A>) => Effect<Scope.Scope | R, never, Fiber.RuntimeFiber<E, A>>;
|
|
1921
1921
|
/**
|
|
1922
1922
|
* Like fork but handles an error with the provided handler.
|
|
1923
1923
|
*
|
|
1924
|
-
* @since
|
|
1924
|
+
* @since 2.0.0
|
|
1925
1925
|
* @category supervision & fibers
|
|
1926
1926
|
*/
|
|
1927
1927
|
export declare const forkWithErrorHandler: {
|
|
@@ -1932,7 +1932,7 @@ export declare const forkWithErrorHandler: {
|
|
|
1932
1932
|
* Creates an `Effect` value that represents the exit value of the specified
|
|
1933
1933
|
* fiber.
|
|
1934
1934
|
*
|
|
1935
|
-
* @since
|
|
1935
|
+
* @since 2.0.0
|
|
1936
1936
|
* @category supervision & fibers
|
|
1937
1937
|
*/
|
|
1938
1938
|
export declare const fromFiber: <E, A>(fiber: Fiber.Fiber<E, A>) => Effect<never, E, A>;
|
|
@@ -1940,7 +1940,7 @@ export declare const fromFiber: <E, A>(fiber: Fiber.Fiber<E, A>) => Effect<never
|
|
|
1940
1940
|
* Creates an `Effect` value that represents the exit value of the specified
|
|
1941
1941
|
* fiber.
|
|
1942
1942
|
*
|
|
1943
|
-
* @since
|
|
1943
|
+
* @since 2.0.0
|
|
1944
1944
|
* @category supervision & fibers
|
|
1945
1945
|
*/
|
|
1946
1946
|
export declare const fromFiberEffect: <R, E, A>(fiber: Effect<R, E, Fiber.Fiber<E, A>>) => Effect<R, E, A>;
|
|
@@ -1948,7 +1948,7 @@ export declare const fromFiberEffect: <R, E, A>(fiber: Effect<R, E, Fiber.Fiber<
|
|
|
1948
1948
|
* Returns an effect with the behavior of this one, but where all child fibers
|
|
1949
1949
|
* forked in the effect are reported to the specified supervisor.
|
|
1950
1950
|
*
|
|
1951
|
-
* @since
|
|
1951
|
+
* @since 2.0.0
|
|
1952
1952
|
* @category supervision & fibers
|
|
1953
1953
|
*/
|
|
1954
1954
|
export declare const supervised: {
|
|
@@ -1963,12 +1963,12 @@ export declare const supervised: {
|
|
|
1963
1963
|
* This can be used to "graft" deep grandchildren onto a higher-level scope,
|
|
1964
1964
|
* effectively extending their lifespans into the parent scope.
|
|
1965
1965
|
*
|
|
1966
|
-
* @since
|
|
1966
|
+
* @since 2.0.0
|
|
1967
1967
|
* @category supervision & fibers
|
|
1968
1968
|
*/
|
|
1969
1969
|
export declare const transplant: <R, E, A>(f: (grafter: <R2, E2, A2>(effect: Effect<R2, E2, A2>) => Effect<R2, E2, A2>) => Effect<R, E, A>) => Effect<R, E, A>;
|
|
1970
1970
|
/**
|
|
1971
|
-
* @since
|
|
1971
|
+
* @since 2.0.0
|
|
1972
1972
|
* @category supervision & fibers
|
|
1973
1973
|
*/
|
|
1974
1974
|
export declare const withConcurrency: {
|
|
@@ -1976,14 +1976,14 @@ export declare const withConcurrency: {
|
|
|
1976
1976
|
<R, E, A>(self: Effect<R, E, A>, concurrency: number | "unbounded"): Effect<R, E, A>;
|
|
1977
1977
|
};
|
|
1978
1978
|
/**
|
|
1979
|
-
* @since
|
|
1979
|
+
* @since 2.0.0
|
|
1980
1980
|
* @category scheduler
|
|
1981
1981
|
*/
|
|
1982
1982
|
export declare const setScheduler: (scheduler: Scheduler.Scheduler) => Layer.Layer<never, never, never>;
|
|
1983
1983
|
/**
|
|
1984
1984
|
* Sets the provided scheduler for usage in the wrapped effect
|
|
1985
1985
|
*
|
|
1986
|
-
* @since
|
|
1986
|
+
* @since 2.0.0
|
|
1987
1987
|
* @category scheduler
|
|
1988
1988
|
*/
|
|
1989
1989
|
export declare const withScheduler: {
|
|
@@ -1993,7 +1993,7 @@ export declare const withScheduler: {
|
|
|
1993
1993
|
/**
|
|
1994
1994
|
* Sets the scheduling priority used when yielding
|
|
1995
1995
|
*
|
|
1996
|
-
* @since
|
|
1996
|
+
* @since 2.0.0
|
|
1997
1997
|
* @category utils
|
|
1998
1998
|
*/
|
|
1999
1999
|
export declare const withSchedulingPriority: {
|
|
@@ -2003,7 +2003,7 @@ export declare const withSchedulingPriority: {
|
|
|
2003
2003
|
/**
|
|
2004
2004
|
* Sets the maximum number of operations before yield by the default schedulers
|
|
2005
2005
|
*
|
|
2006
|
-
* @since
|
|
2006
|
+
* @since 2.0.0
|
|
2007
2007
|
* @category utils
|
|
2008
2008
|
*/
|
|
2009
2009
|
export declare const withMaxOpsBeforeYield: {
|
|
@@ -2013,7 +2013,7 @@ export declare const withMaxOpsBeforeYield: {
|
|
|
2013
2013
|
/**
|
|
2014
2014
|
* Retreives the `Clock` service from the context
|
|
2015
2015
|
*
|
|
2016
|
-
* @since
|
|
2016
|
+
* @since 2.0.0
|
|
2017
2017
|
* @category clock
|
|
2018
2018
|
*/
|
|
2019
2019
|
export declare const clock: Effect<never, never, Clock.Clock>;
|
|
@@ -2021,12 +2021,12 @@ export declare const clock: Effect<never, never, Clock.Clock>;
|
|
|
2021
2021
|
* Retreives the `Clock` service from the context and provides it to the
|
|
2022
2022
|
* specified effectful function.
|
|
2023
2023
|
*
|
|
2024
|
-
* @since
|
|
2024
|
+
* @since 2.0.0
|
|
2025
2025
|
* @category clock
|
|
2026
2026
|
*/
|
|
2027
2027
|
export declare const clockWith: <R, E, A>(f: (clock: Clock.Clock) => Effect<R, E, A>) => Effect<R, E, A>;
|
|
2028
2028
|
/**
|
|
2029
|
-
* @since
|
|
2029
|
+
* @since 2.0.0
|
|
2030
2030
|
* @category clock
|
|
2031
2031
|
*/
|
|
2032
2032
|
export declare const setClock: <A extends Clock.Clock>(clock: A) => Layer.Layer<never, never, never>;
|
|
@@ -2034,7 +2034,7 @@ export declare const setClock: <A extends Clock.Clock>(clock: A) => Layer.Layer<
|
|
|
2034
2034
|
* Sets the implementation of the clock service to the specified value and
|
|
2035
2035
|
* restores it to its original value when the scope is closed.
|
|
2036
2036
|
*
|
|
2037
|
-
* @since
|
|
2037
|
+
* @since 2.0.0
|
|
2038
2038
|
* @category constructors
|
|
2039
2039
|
*/
|
|
2040
2040
|
export declare const withClockScoped: <A extends Clock.Clock>(value: A) => Effect<Scope.Scope, never, void>;
|
|
@@ -2042,7 +2042,7 @@ export declare const withClockScoped: <A extends Clock.Clock>(value: A) => Effec
|
|
|
2042
2042
|
* Executes the specified workflow with the specified implementation of the
|
|
2043
2043
|
* clock service.
|
|
2044
2044
|
*
|
|
2045
|
-
* @since
|
|
2045
|
+
* @since 2.0.0
|
|
2046
2046
|
* @category clock
|
|
2047
2047
|
*/
|
|
2048
2048
|
export declare const withClock: {
|
|
@@ -2053,7 +2053,7 @@ export declare const withClock: {
|
|
|
2053
2053
|
* Returns an effect that is delayed from this effect by the specified
|
|
2054
2054
|
* `Duration`.
|
|
2055
2055
|
*
|
|
2056
|
-
* @since
|
|
2056
|
+
* @since 2.0.0
|
|
2057
2057
|
* @category delays & timeouts
|
|
2058
2058
|
*/
|
|
2059
2059
|
export declare const delay: {
|
|
@@ -2064,21 +2064,21 @@ export declare const delay: {
|
|
|
2064
2064
|
* Returns an effect that suspends for the specified duration. This method is
|
|
2065
2065
|
* asynchronous, and does not actually block the fiber executing the effect.
|
|
2066
2066
|
*
|
|
2067
|
-
* @since
|
|
2067
|
+
* @since 2.0.0
|
|
2068
2068
|
* @category delays & timeouts
|
|
2069
2069
|
*/
|
|
2070
2070
|
export declare const sleep: (duration: Duration.DurationInput) => Effect<never, never, void>;
|
|
2071
2071
|
/**
|
|
2072
2072
|
* Returns a new effect that executes this one and times the execution.
|
|
2073
2073
|
*
|
|
2074
|
-
* @since
|
|
2074
|
+
* @since 2.0.0
|
|
2075
2075
|
* @category delays & timeouts
|
|
2076
2076
|
*/
|
|
2077
2077
|
export declare const timed: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, readonly [Duration.Duration, A]>;
|
|
2078
2078
|
/**
|
|
2079
2079
|
* A more powerful variation of `timed` that allows specifying the clock.
|
|
2080
2080
|
*
|
|
2081
|
-
* @since
|
|
2081
|
+
* @since 2.0.0
|
|
2082
2082
|
* @category delays & timeouts
|
|
2083
2083
|
*/
|
|
2084
2084
|
export declare const timedWith: {
|
|
@@ -2101,7 +2101,7 @@ export declare const timedWith: {
|
|
|
2101
2101
|
* timeout, resulting in earliest possible return, before an underlying effect
|
|
2102
2102
|
* has been successfully interrupted.
|
|
2103
2103
|
*
|
|
2104
|
-
* @since
|
|
2104
|
+
* @since 2.0.0
|
|
2105
2105
|
* @category delays & timeouts
|
|
2106
2106
|
*/
|
|
2107
2107
|
export declare const timeout: {
|
|
@@ -2112,7 +2112,7 @@ export declare const timeout: {
|
|
|
2112
2112
|
* The same as `timeout`, but instead of producing a `None` in the event of
|
|
2113
2113
|
* timeout, it will produce the specified error.
|
|
2114
2114
|
*
|
|
2115
|
-
* @since
|
|
2115
|
+
* @since 2.0.0
|
|
2116
2116
|
* @category delays & timeouts
|
|
2117
2117
|
*/
|
|
2118
2118
|
export declare const timeoutFail: {
|
|
@@ -2129,7 +2129,7 @@ export declare const timeoutFail: {
|
|
|
2129
2129
|
* The same as `timeout`, but instead of producing a `None` in the event of
|
|
2130
2130
|
* timeout, it will produce the specified failure.
|
|
2131
2131
|
*
|
|
2132
|
-
* @since
|
|
2132
|
+
* @since 2.0.0
|
|
2133
2133
|
* @category delays & timeouts
|
|
2134
2134
|
*/
|
|
2135
2135
|
export declare const timeoutFailCause: {
|
|
@@ -2151,7 +2151,7 @@ export declare const timeoutFailCause: {
|
|
|
2151
2151
|
* If the timeout elapses without producing a value, the running effect will
|
|
2152
2152
|
* be safely interrupted.
|
|
2153
2153
|
*
|
|
2154
|
-
* @since
|
|
2154
|
+
* @since 2.0.0
|
|
2155
2155
|
* @category delays & timeouts
|
|
2156
2156
|
*/
|
|
2157
2157
|
export declare const timeoutTo: {
|
|
@@ -2170,7 +2170,7 @@ export declare const timeoutTo: {
|
|
|
2170
2170
|
* Uses the default config provider to load the specified config, or fail with
|
|
2171
2171
|
* an error of type Config.Error.
|
|
2172
2172
|
*
|
|
2173
|
-
* @since
|
|
2173
|
+
* @since 2.0.0
|
|
2174
2174
|
* @category config
|
|
2175
2175
|
*/
|
|
2176
2176
|
export declare const config: <A>(config: Config<A>) => Effect<never, ConfigError, A>;
|
|
@@ -2179,21 +2179,21 @@ export declare const config: <A>(config: Config<A>) => Effect<never, ConfigError
|
|
|
2179
2179
|
* function, which may return an effect that uses the provider to perform some
|
|
2180
2180
|
* work or compute some value.
|
|
2181
2181
|
*
|
|
2182
|
-
* @since
|
|
2182
|
+
* @since 2.0.0
|
|
2183
2183
|
* @category config
|
|
2184
2184
|
*/
|
|
2185
2185
|
export declare const configProviderWith: <R, E, A>(f: (configProvider: ConfigProvider) => Effect<R, E, A>) => Effect<R, E, A>;
|
|
2186
2186
|
/**
|
|
2187
2187
|
* Sets the current `ConfigProvider`.
|
|
2188
2188
|
*
|
|
2189
|
-
* @since
|
|
2189
|
+
* @since 2.0.0
|
|
2190
2190
|
* @category config
|
|
2191
2191
|
*/
|
|
2192
2192
|
export declare const setConfigProvider: (configProvider: ConfigProvider) => Layer.Layer<never, never, never>;
|
|
2193
2193
|
/**
|
|
2194
2194
|
* Executes the specified workflow with the specified configuration provider.
|
|
2195
2195
|
*
|
|
2196
|
-
* @since
|
|
2196
|
+
* @since 2.0.0
|
|
2197
2197
|
* @category config
|
|
2198
2198
|
*/
|
|
2199
2199
|
export declare const withConfigProvider: {
|
|
@@ -2204,26 +2204,26 @@ export declare const withConfigProvider: {
|
|
|
2204
2204
|
* Sets the configuration provider to the specified value and restores it to its original value
|
|
2205
2205
|
* when the scope is closed.
|
|
2206
2206
|
*
|
|
2207
|
-
* @since
|
|
2207
|
+
* @since 2.0.0
|
|
2208
2208
|
* @category config
|
|
2209
2209
|
*/
|
|
2210
2210
|
export declare const withConfigProviderScoped: (value: ConfigProvider) => Effect<Scope.Scope, never, void>;
|
|
2211
2211
|
/**
|
|
2212
|
-
* @since
|
|
2212
|
+
* @since 2.0.0
|
|
2213
2213
|
* @category context
|
|
2214
2214
|
*/
|
|
2215
2215
|
export declare const context: <R>() => Effect<R, never, Context.Context<R>>;
|
|
2216
2216
|
/**
|
|
2217
2217
|
* Accesses the context of the effect.
|
|
2218
2218
|
*
|
|
2219
|
-
* @since
|
|
2219
|
+
* @since 2.0.0
|
|
2220
2220
|
* @category context
|
|
2221
2221
|
*/
|
|
2222
2222
|
export declare const contextWith: <R, A>(f: (context: Context.Context<R>) => A) => Effect<R, never, A>;
|
|
2223
2223
|
/**
|
|
2224
2224
|
* Effectually accesses the context of the effect.
|
|
2225
2225
|
*
|
|
2226
|
-
* @since
|
|
2226
|
+
* @since 2.0.0
|
|
2227
2227
|
* @category context
|
|
2228
2228
|
*/
|
|
2229
2229
|
export declare const contextWithEffect: <R, R0, E, A>(f: (context: Context.Context<R0>) => Effect<R, E, A>) => Effect<R | R0, E, A>;
|
|
@@ -2231,7 +2231,7 @@ export declare const contextWithEffect: <R, R0, E, A>(f: (context: Context.Conte
|
|
|
2231
2231
|
* Provides some of the context required to run this effect,
|
|
2232
2232
|
* leaving the remainder `R0`.
|
|
2233
2233
|
*
|
|
2234
|
-
* @since
|
|
2234
|
+
* @since 2.0.0
|
|
2235
2235
|
* @category context
|
|
2236
2236
|
*/
|
|
2237
2237
|
export declare const mapInputContext: {
|
|
@@ -2242,7 +2242,7 @@ export declare const mapInputContext: {
|
|
|
2242
2242
|
* Splits the context into two parts, providing one part using the
|
|
2243
2243
|
* specified layer/context/runtime and leaving the remainder `R0`
|
|
2244
2244
|
*
|
|
2245
|
-
* @since
|
|
2245
|
+
* @since 2.0.0
|
|
2246
2246
|
* @category context
|
|
2247
2247
|
*/
|
|
2248
2248
|
export declare const provide: {
|
|
@@ -2257,7 +2257,7 @@ export declare const provide: {
|
|
|
2257
2257
|
* Provides the effect with the single service it requires. If the effect
|
|
2258
2258
|
* requires more than one service use `provideContext` instead.
|
|
2259
2259
|
*
|
|
2260
|
-
* @since
|
|
2260
|
+
* @since 2.0.0
|
|
2261
2261
|
* @category context
|
|
2262
2262
|
*/
|
|
2263
2263
|
export declare const provideService: {
|
|
@@ -2268,7 +2268,7 @@ export declare const provideService: {
|
|
|
2268
2268
|
* Provides the effect with the single service it requires. If the effect
|
|
2269
2269
|
* requires more than one service use `provideContext` instead.
|
|
2270
2270
|
*
|
|
2271
|
-
* @since
|
|
2271
|
+
* @since 2.0.0
|
|
2272
2272
|
* @category context
|
|
2273
2273
|
*/
|
|
2274
2274
|
export declare const provideServiceEffect: {
|
|
@@ -2276,17 +2276,17 @@ export declare const provideServiceEffect: {
|
|
|
2276
2276
|
<R, E, A, T extends Context.Tag<any, any>, R1, E1>(self: Effect<R, E, A>, tag: T, effect: Effect<R1, E1, Context.Tag.Service<T>>): Effect<R1 | Exclude<R, Context.Tag.Identifier<T>>, E | E1, A>;
|
|
2277
2277
|
};
|
|
2278
2278
|
/**
|
|
2279
|
-
* @since
|
|
2279
|
+
* @since 2.0.0
|
|
2280
2280
|
* @category context
|
|
2281
2281
|
*/
|
|
2282
2282
|
export declare const serviceFunction: <T extends Context.Tag<any, any>, Args extends Array<any>, A>(service: T, f: (_: Context.Tag.Service<T>) => (...args: Args) => A) => (...args: Args) => Effect<Context.Tag.Identifier<T>, never, A>;
|
|
2283
2283
|
/**
|
|
2284
|
-
* @since
|
|
2284
|
+
* @since 2.0.0
|
|
2285
2285
|
* @category context
|
|
2286
2286
|
*/
|
|
2287
2287
|
export declare const serviceFunctionEffect: <T extends Context.Tag<any, any>, Args extends Array<any>, R, E, A>(service: T, f: (_: Context.Tag.Service<T>) => (...args: Args) => Effect<R, E, A>) => (...args: Args) => Effect<R | Context.Tag.Identifier<T>, E, A>;
|
|
2288
2288
|
/**
|
|
2289
|
-
* @since
|
|
2289
|
+
* @since 2.0.0
|
|
2290
2290
|
* @category context
|
|
2291
2291
|
*/
|
|
2292
2292
|
export declare const serviceFunctions: <I, S>(tag: Context.Tag<I, S>) => {
|
|
@@ -2295,7 +2295,7 @@ export declare const serviceFunctions: <I, S>(tag: Context.Tag<I, S>) => {
|
|
|
2295
2295
|
}[keyof S]]: S[k] extends (...args: infer Args) => Effect<infer R, infer E, infer A> ? (...args: Args) => Effect<R | I, E, A> : never;
|
|
2296
2296
|
};
|
|
2297
2297
|
/**
|
|
2298
|
-
* @since
|
|
2298
|
+
* @since 2.0.0
|
|
2299
2299
|
* @category context
|
|
2300
2300
|
*/
|
|
2301
2301
|
export declare const serviceConstants: <I, S>(tag: Context.Tag<I, S>) => {
|
|
@@ -2304,7 +2304,7 @@ export declare const serviceConstants: <I, S>(tag: Context.Tag<I, S>) => {
|
|
|
2304
2304
|
}[keyof S]]: S[k] extends Effect<infer R, infer E, infer A> ? Effect<R | I, E, A> : never;
|
|
2305
2305
|
};
|
|
2306
2306
|
/**
|
|
2307
|
-
* @since
|
|
2307
|
+
* @since 2.0.0
|
|
2308
2308
|
* @category context
|
|
2309
2309
|
*/
|
|
2310
2310
|
export declare const serviceMembers: <I, S>(tag: Context.Tag<I, S>) => {
|
|
@@ -2320,14 +2320,14 @@ export declare const serviceMembers: <I, S>(tag: Context.Tag<I, S>) => {
|
|
|
2320
2320
|
};
|
|
2321
2321
|
};
|
|
2322
2322
|
/**
|
|
2323
|
-
* @since
|
|
2323
|
+
* @since 2.0.0
|
|
2324
2324
|
* @category context
|
|
2325
2325
|
*/
|
|
2326
2326
|
export declare const serviceOption: <I, A>(tag: Context.Tag<I, A>) => Effect<never, never, Option.Option<A>>;
|
|
2327
2327
|
/**
|
|
2328
2328
|
* Updates the service with the required service entry.
|
|
2329
2329
|
*
|
|
2330
|
-
* @since
|
|
2330
|
+
* @since 2.0.0
|
|
2331
2331
|
* @category context
|
|
2332
2332
|
*/
|
|
2333
2333
|
export declare const updateService: {
|
|
@@ -2335,14 +2335,14 @@ export declare const updateService: {
|
|
|
2335
2335
|
<R, E, A, T extends Context.Tag<any, any>>(self: Effect<R, E, A>, tag: T, f: (service: Context.Tag.Service<T>) => Context.Tag.Service<T>): Effect<R | Context.Tag.Identifier<T>, E, A>;
|
|
2336
2336
|
};
|
|
2337
2337
|
/**
|
|
2338
|
-
* @since
|
|
2338
|
+
* @since 2.0.0
|
|
2339
2339
|
* @category do notation
|
|
2340
2340
|
*/
|
|
2341
2341
|
export declare const Do: Effect<never, never, {}>;
|
|
2342
2342
|
/**
|
|
2343
2343
|
* Binds an effectful value in a `do` scope
|
|
2344
2344
|
*
|
|
2345
|
-
* @since
|
|
2345
|
+
* @since 2.0.0
|
|
2346
2346
|
* @category do notation
|
|
2347
2347
|
*/
|
|
2348
2348
|
export declare const bind: {
|
|
@@ -2355,7 +2355,7 @@ export declare const bind: {
|
|
|
2355
2355
|
};
|
|
2356
2356
|
/**
|
|
2357
2357
|
* @category do notation
|
|
2358
|
-
* @since
|
|
2358
|
+
* @since 2.0.0
|
|
2359
2359
|
*/
|
|
2360
2360
|
export declare const bindTo: {
|
|
2361
2361
|
<N extends string>(tag: N): <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, Record<N, A>>;
|
|
@@ -2373,7 +2373,7 @@ export {
|
|
|
2373
2373
|
/**
|
|
2374
2374
|
* Like bind for values
|
|
2375
2375
|
*
|
|
2376
|
-
* @since
|
|
2376
|
+
* @since 2.0.0
|
|
2377
2377
|
* @category do notation
|
|
2378
2378
|
*/
|
|
2379
2379
|
let_ as let };
|
|
@@ -2387,17 +2387,17 @@ let_ as let };
|
|
|
2387
2387
|
* The error parameter of the returned `Effect` is `never`, since it is
|
|
2388
2388
|
* guaranteed the effect does not model failure.
|
|
2389
2389
|
*
|
|
2390
|
-
* @since
|
|
2390
|
+
* @since 2.0.0
|
|
2391
2391
|
* @category conversions
|
|
2392
2392
|
*/
|
|
2393
2393
|
export declare const either: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, Either.Either<E, A>>;
|
|
2394
2394
|
/**
|
|
2395
|
-
* @since
|
|
2395
|
+
* @since 2.0.0
|
|
2396
2396
|
* @category conversions
|
|
2397
2397
|
*/
|
|
2398
2398
|
export declare const exit: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, Exit.Exit<E, A>>;
|
|
2399
2399
|
/**
|
|
2400
|
-
* @since
|
|
2400
|
+
* @since 2.0.0
|
|
2401
2401
|
* @category conversions
|
|
2402
2402
|
*/
|
|
2403
2403
|
export declare const intoDeferred: {
|
|
@@ -2408,7 +2408,7 @@ export declare const intoDeferred: {
|
|
|
2408
2408
|
* Executes this effect, skipping the error but returning optionally the
|
|
2409
2409
|
* success.
|
|
2410
2410
|
*
|
|
2411
|
-
* @since
|
|
2411
|
+
* @since 2.0.0
|
|
2412
2412
|
* @category conversions
|
|
2413
2413
|
*/
|
|
2414
2414
|
export declare const option: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, Option.Option<A>>;
|
|
@@ -2430,7 +2430,7 @@ export {
|
|
|
2430
2430
|
/**
|
|
2431
2431
|
* Runs `onTrue` if the result of `self` is `true` and `onFalse` otherwise.
|
|
2432
2432
|
*
|
|
2433
|
-
* @since
|
|
2433
|
+
* @since 2.0.0
|
|
2434
2434
|
* @category filtering & conditionals
|
|
2435
2435
|
*/
|
|
2436
2436
|
if_ as if };
|
|
@@ -2438,7 +2438,7 @@ if_ as if };
|
|
|
2438
2438
|
* Filter the specified effect with the provided function, dying with specified
|
|
2439
2439
|
* defect if the predicate fails.
|
|
2440
2440
|
*
|
|
2441
|
-
* @since
|
|
2441
|
+
* @since 2.0.0
|
|
2442
2442
|
* @category filtering & conditionals
|
|
2443
2443
|
*/
|
|
2444
2444
|
export declare const filterOrDie: {
|
|
@@ -2451,7 +2451,7 @@ export declare const filterOrDie: {
|
|
|
2451
2451
|
* Filter the specified effect with the provided function, dying with specified
|
|
2452
2452
|
* message if the predicate fails.
|
|
2453
2453
|
*
|
|
2454
|
-
* @since
|
|
2454
|
+
* @since 2.0.0
|
|
2455
2455
|
* @category filtering & conditionals
|
|
2456
2456
|
*/
|
|
2457
2457
|
export declare const filterOrDieMessage: {
|
|
@@ -2464,7 +2464,7 @@ export declare const filterOrDieMessage: {
|
|
|
2464
2464
|
* Filters the specified effect with the provided function returning the value
|
|
2465
2465
|
* of the effect if it is successful, otherwise returns the value of `orElse`.
|
|
2466
2466
|
*
|
|
2467
|
-
* @since
|
|
2467
|
+
* @since 2.0.0
|
|
2468
2468
|
* @category filtering & conditionals
|
|
2469
2469
|
*/
|
|
2470
2470
|
export declare const filterOrElse: {
|
|
@@ -2477,7 +2477,7 @@ export declare const filterOrElse: {
|
|
|
2477
2477
|
* Filter the specified effect with the provided function, failing with specified
|
|
2478
2478
|
* error if the predicate fails.
|
|
2479
2479
|
*
|
|
2480
|
-
* @since
|
|
2480
|
+
* @since 2.0.0
|
|
2481
2481
|
* @category filtering & conditionals
|
|
2482
2482
|
*/
|
|
2483
2483
|
export declare const filterOrFail: {
|
|
@@ -2489,7 +2489,7 @@ export declare const filterOrFail: {
|
|
|
2489
2489
|
/**
|
|
2490
2490
|
* The moral equivalent of `if (!p) exp`.
|
|
2491
2491
|
*
|
|
2492
|
-
* @since
|
|
2492
|
+
* @since 2.0.0
|
|
2493
2493
|
* @category filtering & conditionals
|
|
2494
2494
|
*/
|
|
2495
2495
|
export declare const unless: {
|
|
@@ -2499,7 +2499,7 @@ export declare const unless: {
|
|
|
2499
2499
|
/**
|
|
2500
2500
|
* The moral equivalent of `if (!p) exp` when `p` has side-effects.
|
|
2501
2501
|
*
|
|
2502
|
-
* @since
|
|
2502
|
+
* @since 2.0.0
|
|
2503
2503
|
* @category filtering & conditionals
|
|
2504
2504
|
*/
|
|
2505
2505
|
export declare const unlessEffect: {
|
|
@@ -2509,7 +2509,7 @@ export declare const unlessEffect: {
|
|
|
2509
2509
|
/**
|
|
2510
2510
|
* The moral equivalent of `if (p) exp`.
|
|
2511
2511
|
*
|
|
2512
|
-
* @since
|
|
2512
|
+
* @since 2.0.0
|
|
2513
2513
|
* @category filtering & conditionals
|
|
2514
2514
|
*/
|
|
2515
2515
|
export declare const when: {
|
|
@@ -2517,7 +2517,7 @@ export declare const when: {
|
|
|
2517
2517
|
<R, E, A>(self: Effect<R, E, A>, predicate: LazyArg<boolean>): Effect<R, E, Option.Option<A>>;
|
|
2518
2518
|
};
|
|
2519
2519
|
/**
|
|
2520
|
-
* @since
|
|
2520
|
+
* @since 2.0.0
|
|
2521
2521
|
* @category filtering & conditionals
|
|
2522
2522
|
*/
|
|
2523
2523
|
export declare const whenEffect: {
|
|
@@ -2528,7 +2528,7 @@ export declare const whenEffect: {
|
|
|
2528
2528
|
* Executes this workflow when value of the specified `FiberRef` satisfies the
|
|
2529
2529
|
* predicate.
|
|
2530
2530
|
*
|
|
2531
|
-
* @since
|
|
2531
|
+
* @since 2.0.0
|
|
2532
2532
|
* @category filtering & conditionals
|
|
2533
2533
|
*/
|
|
2534
2534
|
export declare const whenFiberRef: {
|
|
@@ -2538,7 +2538,7 @@ export declare const whenFiberRef: {
|
|
|
2538
2538
|
/**
|
|
2539
2539
|
* Executes this workflow when the value of the `Ref` satisfies the predicate.
|
|
2540
2540
|
*
|
|
2541
|
-
* @since
|
|
2541
|
+
* @since 2.0.0
|
|
2542
2542
|
* @category filtering & conditionals
|
|
2543
2543
|
*/
|
|
2544
2544
|
export declare const whenRef: {
|
|
@@ -2555,7 +2555,7 @@ export declare const whenRef: {
|
|
|
2555
2555
|
* @returns A new `Effect` value that is the result of flattening the
|
|
2556
2556
|
* mapped `Effect` value.
|
|
2557
2557
|
*
|
|
2558
|
-
* @since
|
|
2558
|
+
* @since 2.0.0
|
|
2559
2559
|
* @category sequencing
|
|
2560
2560
|
*/
|
|
2561
2561
|
export declare const flatMap: {
|
|
@@ -2563,7 +2563,7 @@ export declare const flatMap: {
|
|
|
2563
2563
|
<R, E, A, R1, E1, B>(self: Effect<R, E, A>, f: (a: A) => Effect<R1, E1, B>): Effect<R | R1, E | E1, B>;
|
|
2564
2564
|
};
|
|
2565
2565
|
/**
|
|
2566
|
-
* @since
|
|
2566
|
+
* @since 2.0.0
|
|
2567
2567
|
* @category sequencing
|
|
2568
2568
|
*/
|
|
2569
2569
|
export declare const flatten: <R, E, R1, E1, A>(self: Effect<R, E, Effect<R1, E1, A>>) => Effect<R | R1, E | E1, A>;
|
|
@@ -2572,7 +2572,7 @@ export declare const flatten: <R, E, R1, E1, A>(self: Effect<R, E, Effect<R1, E1
|
|
|
2572
2572
|
* yielding the value of the first effect to succeed with a value. Losers of
|
|
2573
2573
|
* the race will be interrupted immediately
|
|
2574
2574
|
*
|
|
2575
|
-
* @since
|
|
2575
|
+
* @since 2.0.0
|
|
2576
2576
|
* @category sequencing
|
|
2577
2577
|
*/
|
|
2578
2578
|
export declare const raceAll: <R, E, A>(effects: Iterable<Effect<R, E, A>>) => Effect<R, E, A>;
|
|
@@ -2582,7 +2582,7 @@ export declare const raceAll: <R, E, A>(effects: Iterable<Effect<R, E, A>>) => E
|
|
|
2582
2582
|
* succeeds, the other will be interrupted. If neither succeeds, then the
|
|
2583
2583
|
* effect will fail with some error.
|
|
2584
2584
|
*
|
|
2585
|
-
* @since
|
|
2585
|
+
* @since 2.0.0
|
|
2586
2586
|
* @category sequencing
|
|
2587
2587
|
*/
|
|
2588
2588
|
export declare const race: {
|
|
@@ -2601,7 +2601,7 @@ export declare const race: {
|
|
|
2601
2601
|
* interrupt signal, allowing a fast return, with interruption performed
|
|
2602
2602
|
* in the background.
|
|
2603
2603
|
*
|
|
2604
|
-
* @since
|
|
2604
|
+
* @since 2.0.0
|
|
2605
2605
|
* @category sequencing
|
|
2606
2606
|
*/
|
|
2607
2607
|
export declare const raceFirst: {
|
|
@@ -2612,7 +2612,7 @@ export declare const raceFirst: {
|
|
|
2612
2612
|
* Returns an effect that races this effect with the specified effect, calling
|
|
2613
2613
|
* the specified finisher as soon as one result or the other has been computed.
|
|
2614
2614
|
*
|
|
2615
|
-
* @since
|
|
2615
|
+
* @since 2.0.0
|
|
2616
2616
|
* @category sequencing
|
|
2617
2617
|
*/
|
|
2618
2618
|
export declare const raceWith: {
|
|
@@ -2630,7 +2630,7 @@ export declare const raceWith: {
|
|
|
2630
2630
|
* then combining the values to produce a summary, together with the result of
|
|
2631
2631
|
* execution.
|
|
2632
2632
|
*
|
|
2633
|
-
* @since
|
|
2633
|
+
* @since 2.0.0
|
|
2634
2634
|
* @category sequencing
|
|
2635
2635
|
*/
|
|
2636
2636
|
export declare const summarized: {
|
|
@@ -2638,7 +2638,7 @@ export declare const summarized: {
|
|
|
2638
2638
|
<R, E, A, R2, E2, B, C>(self: Effect<R, E, A>, summary: Effect<R2, E2, B>, f: (start: B, end: B) => C): Effect<R | R2, E | E2, readonly [C, A]>;
|
|
2639
2639
|
};
|
|
2640
2640
|
/**
|
|
2641
|
-
* @since
|
|
2641
|
+
* @since 2.0.0
|
|
2642
2642
|
* @category sequencing
|
|
2643
2643
|
*/
|
|
2644
2644
|
export declare const tap: {
|
|
@@ -2649,7 +2649,7 @@ export declare const tap: {
|
|
|
2649
2649
|
* Returns an effect that effectfully "peeks" at the failure or success of
|
|
2650
2650
|
* this effect.
|
|
2651
2651
|
*
|
|
2652
|
-
* @since
|
|
2652
|
+
* @since 2.0.0
|
|
2653
2653
|
* @category sequencing
|
|
2654
2654
|
*/
|
|
2655
2655
|
export declare const tapBoth: {
|
|
@@ -2665,7 +2665,7 @@ export declare const tapBoth: {
|
|
|
2665
2665
|
/**
|
|
2666
2666
|
* Returns an effect that effectually "peeks" at the defect of this effect.
|
|
2667
2667
|
*
|
|
2668
|
-
* @since
|
|
2668
|
+
* @since 2.0.0
|
|
2669
2669
|
* @category sequencing
|
|
2670
2670
|
*/
|
|
2671
2671
|
export declare const tapDefect: {
|
|
@@ -2675,7 +2675,7 @@ export declare const tapDefect: {
|
|
|
2675
2675
|
/**
|
|
2676
2676
|
* Returns an effect that effectfully "peeks" at the failure of this effect.
|
|
2677
2677
|
*
|
|
2678
|
-
* @since
|
|
2678
|
+
* @since 2.0.0
|
|
2679
2679
|
* @category sequencing
|
|
2680
2680
|
*/
|
|
2681
2681
|
export declare const tapError: {
|
|
@@ -2685,7 +2685,7 @@ export declare const tapError: {
|
|
|
2685
2685
|
/**
|
|
2686
2686
|
* Returns an effect that effectfully "peeks" at the specific tagged failure of this effect.
|
|
2687
2687
|
*
|
|
2688
|
-
* @since
|
|
2688
|
+
* @since 2.0.0
|
|
2689
2689
|
* @category sequencing
|
|
2690
2690
|
*/
|
|
2691
2691
|
export declare const tapErrorTag: {
|
|
@@ -2704,7 +2704,7 @@ export declare const tapErrorTag: {
|
|
|
2704
2704
|
* Returns an effect that effectually "peeks" at the cause of the failure of
|
|
2705
2705
|
* this effect.
|
|
2706
2706
|
*
|
|
2707
|
-
* @since
|
|
2707
|
+
* @since 2.0.0
|
|
2708
2708
|
* @category sequencing
|
|
2709
2709
|
*/
|
|
2710
2710
|
export declare const tapErrorCause: {
|
|
@@ -2714,7 +2714,7 @@ export declare const tapErrorCause: {
|
|
|
2714
2714
|
/**
|
|
2715
2715
|
* Repeats this effect forever (until the first error).
|
|
2716
2716
|
*
|
|
2717
|
-
* @since
|
|
2717
|
+
* @since 2.0.0
|
|
2718
2718
|
* @category repetition / recursion
|
|
2719
2719
|
*/
|
|
2720
2720
|
export declare const forever: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, never>;
|
|
@@ -2731,7 +2731,7 @@ export declare const forever: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, n
|
|
|
2731
2731
|
* return s
|
|
2732
2732
|
* ```
|
|
2733
2733
|
*
|
|
2734
|
-
* @since
|
|
2734
|
+
* @since 2.0.0
|
|
2735
2735
|
* @category repetition / recursion
|
|
2736
2736
|
*/
|
|
2737
2737
|
export declare const iterate: <Z, R, E>(initial: Z, options: {
|
|
@@ -2754,7 +2754,7 @@ export declare const iterate: <Z, R, E>(initial: Z, options: {
|
|
|
2754
2754
|
* A.reverse(as)
|
|
2755
2755
|
* ```
|
|
2756
2756
|
*
|
|
2757
|
-
* @since
|
|
2757
|
+
* @since 2.0.0
|
|
2758
2758
|
* @category repetition / recursion
|
|
2759
2759
|
*/
|
|
2760
2760
|
export declare const loop: {
|
|
@@ -2778,7 +2778,7 @@ export declare const loop: {
|
|
|
2778
2778
|
* that executes `io`, and then if that succeeds, executes `io` an additional
|
|
2779
2779
|
* time.
|
|
2780
2780
|
*
|
|
2781
|
-
* @since
|
|
2781
|
+
* @since 2.0.0
|
|
2782
2782
|
* @category repetition / recursion
|
|
2783
2783
|
*/
|
|
2784
2784
|
export declare const repeat: {
|
|
@@ -2791,7 +2791,7 @@ export declare const repeat: {
|
|
|
2791
2791
|
* so that `io.repeatN(1)` yields an effect that executes `io`, and then if
|
|
2792
2792
|
* that succeeds, executes `io` an additional time.
|
|
2793
2793
|
*
|
|
2794
|
-
* @since
|
|
2794
|
+
* @since 2.0.0
|
|
2795
2795
|
* @category repetition / recursion
|
|
2796
2796
|
*/
|
|
2797
2797
|
export declare const repeatN: {
|
|
@@ -2807,7 +2807,7 @@ export declare const repeatN: {
|
|
|
2807
2807
|
* `pipe(effect, Effect.repeat(Schedule.once()))` yields an effect that executes
|
|
2808
2808
|
* `effect`, and then if that succeeds, executes `effect` an additional time.
|
|
2809
2809
|
*
|
|
2810
|
-
* @since
|
|
2810
|
+
* @since 2.0.0
|
|
2811
2811
|
* @category repetition / recursion
|
|
2812
2812
|
*/
|
|
2813
2813
|
export declare const repeatOrElse: {
|
|
@@ -2818,7 +2818,7 @@ export declare const repeatOrElse: {
|
|
|
2818
2818
|
* Repeats this effect until its value satisfies the specified predicate or
|
|
2819
2819
|
* until the first failure.
|
|
2820
2820
|
*
|
|
2821
|
-
* @since
|
|
2821
|
+
* @since 2.0.0
|
|
2822
2822
|
* @category repetition / recursion
|
|
2823
2823
|
*/
|
|
2824
2824
|
export declare const repeatUntil: {
|
|
@@ -2831,7 +2831,7 @@ export declare const repeatUntil: {
|
|
|
2831
2831
|
* Repeats this effect until its value satisfies the specified effectful
|
|
2832
2832
|
* predicate or until the first failure.
|
|
2833
2833
|
*
|
|
2834
|
-
* @since
|
|
2834
|
+
* @since 2.0.0
|
|
2835
2835
|
* @category repetition / recursion
|
|
2836
2836
|
*/
|
|
2837
2837
|
export declare const repeatUntilEffect: {
|
|
@@ -2842,7 +2842,7 @@ export declare const repeatUntilEffect: {
|
|
|
2842
2842
|
* Repeats this effect while its value satisfies the specified effectful
|
|
2843
2843
|
* predicate or until the first failure.
|
|
2844
2844
|
*
|
|
2845
|
-
* @since
|
|
2845
|
+
* @since 2.0.0
|
|
2846
2846
|
* @category repetition / recursion
|
|
2847
2847
|
*/
|
|
2848
2848
|
export declare const repeatWhile: {
|
|
@@ -2853,7 +2853,7 @@ export declare const repeatWhile: {
|
|
|
2853
2853
|
* Repeats this effect while its value satisfies the specified effectful
|
|
2854
2854
|
* predicate or until the first failure.
|
|
2855
2855
|
*
|
|
2856
|
-
* @since
|
|
2856
|
+
* @since 2.0.0
|
|
2857
2857
|
* @category repetition / recursion
|
|
2858
2858
|
*/
|
|
2859
2859
|
export declare const repeatWhileEffect: {
|
|
@@ -2866,7 +2866,7 @@ export declare const repeatWhileEffect: {
|
|
|
2866
2866
|
* See `scheduleFrom` for a variant that allows the schedule's decision to
|
|
2867
2867
|
* depend on the result of this effect.
|
|
2868
2868
|
*
|
|
2869
|
-
* @since
|
|
2869
|
+
* @since 2.0.0
|
|
2870
2870
|
* @category repetition / recursion
|
|
2871
2871
|
*/
|
|
2872
2872
|
export declare const schedule: {
|
|
@@ -2877,7 +2877,7 @@ export declare const schedule: {
|
|
|
2877
2877
|
* Runs this effect according to the specified schedule in a new fiber
|
|
2878
2878
|
* attached to the current scope.
|
|
2879
2879
|
*
|
|
2880
|
-
* @since
|
|
2880
|
+
* @since 2.0.0
|
|
2881
2881
|
* @category repetition / recursion
|
|
2882
2882
|
*/
|
|
2883
2883
|
export declare const scheduleForked: {
|
|
@@ -2888,7 +2888,7 @@ export declare const scheduleForked: {
|
|
|
2888
2888
|
* Runs this effect according to the specified schedule starting from the
|
|
2889
2889
|
* specified input value.
|
|
2890
2890
|
*
|
|
2891
|
-
* @since
|
|
2891
|
+
* @since 2.0.0
|
|
2892
2892
|
* @category repetition / recursion
|
|
2893
2893
|
*/
|
|
2894
2894
|
export declare const scheduleFrom: {
|
|
@@ -2896,7 +2896,7 @@ export declare const scheduleFrom: {
|
|
|
2896
2896
|
<R, E, In, R2, Out>(self: Effect<R, E, In>, initial: In, schedule: Schedule.Schedule<R2, In, Out>): Effect<R | R2, E, Out>;
|
|
2897
2897
|
};
|
|
2898
2898
|
/**
|
|
2899
|
-
* @since
|
|
2899
|
+
* @since 2.0.0
|
|
2900
2900
|
* @category repetition / recursion
|
|
2901
2901
|
*/
|
|
2902
2902
|
export declare const whileLoop: <R, E, A>(options: {
|
|
@@ -2908,19 +2908,19 @@ export declare const whileLoop: <R, E, A>(options: {
|
|
|
2908
2908
|
* Returns a collection of all `FiberRef` values for the fiber running this
|
|
2909
2909
|
* effect.
|
|
2910
2910
|
*
|
|
2911
|
-
* @since
|
|
2911
|
+
* @since 2.0.0
|
|
2912
2912
|
* @category fiber refs
|
|
2913
2913
|
*/
|
|
2914
2914
|
export declare const getFiberRefs: Effect<never, never, FiberRefs.FiberRefs>;
|
|
2915
2915
|
/**
|
|
2916
2916
|
* Inherits values from all `FiberRef` instances into current fiber.
|
|
2917
2917
|
*
|
|
2918
|
-
* @since
|
|
2918
|
+
* @since 2.0.0
|
|
2919
2919
|
* @category fiber refs
|
|
2920
2920
|
*/
|
|
2921
2921
|
export declare const inheritFiberRefs: (childFiberRefs: FiberRefs.FiberRefs) => Effect<never, never, void>;
|
|
2922
2922
|
/**
|
|
2923
|
-
* @since
|
|
2923
|
+
* @since 2.0.0
|
|
2924
2924
|
* @category fiber refs
|
|
2925
2925
|
*/
|
|
2926
2926
|
export declare const locally: {
|
|
@@ -2928,7 +2928,7 @@ export declare const locally: {
|
|
|
2928
2928
|
<R, E, B, A>(use: Effect<R, E, B>, self: FiberRef.FiberRef<A>, value: A): Effect<R, E, B>;
|
|
2929
2929
|
};
|
|
2930
2930
|
/**
|
|
2931
|
-
* @since
|
|
2931
|
+
* @since 2.0.0
|
|
2932
2932
|
* @category fiber refs
|
|
2933
2933
|
*/
|
|
2934
2934
|
export declare const locallyWith: {
|
|
@@ -2936,7 +2936,7 @@ export declare const locallyWith: {
|
|
|
2936
2936
|
<R, E, B, A>(use: Effect<R, E, B>, self: FiberRef.FiberRef<A>, f: (a: A) => A): Effect<R, E, B>;
|
|
2937
2937
|
};
|
|
2938
2938
|
/**
|
|
2939
|
-
* @since
|
|
2939
|
+
* @since 2.0.0
|
|
2940
2940
|
* @category fiber refs
|
|
2941
2941
|
*/
|
|
2942
2942
|
export declare const locallyScoped: {
|
|
@@ -2944,7 +2944,7 @@ export declare const locallyScoped: {
|
|
|
2944
2944
|
<A>(self: FiberRef.FiberRef<A>, value: A): Effect<Scope.Scope, never, void>;
|
|
2945
2945
|
};
|
|
2946
2946
|
/**
|
|
2947
|
-
* @since
|
|
2947
|
+
* @since 2.0.0
|
|
2948
2948
|
* @category fiber refs
|
|
2949
2949
|
*/
|
|
2950
2950
|
export declare const locallyScopedWith: {
|
|
@@ -2955,7 +2955,7 @@ export declare const locallyScopedWith: {
|
|
|
2955
2955
|
* Applies the specified changes to the `FiberRef` values for the fiber
|
|
2956
2956
|
* running this workflow.
|
|
2957
2957
|
*
|
|
2958
|
-
* @since
|
|
2958
|
+
* @since 2.0.0
|
|
2959
2959
|
* @category fiber refs
|
|
2960
2960
|
*/
|
|
2961
2961
|
export declare const patchFiberRefs: (patch: FiberRefsPatch.FiberRefsPatch) => Effect<never, never, void>;
|
|
@@ -2963,7 +2963,7 @@ export declare const patchFiberRefs: (patch: FiberRefsPatch.FiberRefsPatch) => E
|
|
|
2963
2963
|
* Sets the `FiberRef` values for the fiber running this effect to the values
|
|
2964
2964
|
* in the specified collection of `FiberRef` values.
|
|
2965
2965
|
*
|
|
2966
|
-
* @since
|
|
2966
|
+
* @since 2.0.0
|
|
2967
2967
|
* @category fiber refs
|
|
2968
2968
|
*/
|
|
2969
2969
|
export declare const setFiberRefs: (fiberRefs: FiberRefs.FiberRefs) => Effect<never, never, void>;
|
|
@@ -2971,21 +2971,21 @@ export declare const setFiberRefs: (fiberRefs: FiberRefs.FiberRefs) => Effect<ne
|
|
|
2971
2971
|
* Updates the `FiberRef` values for the fiber running this effect using the
|
|
2972
2972
|
* specified function.
|
|
2973
2973
|
*
|
|
2974
|
-
* @since
|
|
2974
|
+
* @since 2.0.0
|
|
2975
2975
|
* @category fiber refs
|
|
2976
2976
|
*/
|
|
2977
2977
|
export declare const updateFiberRefs: (f: (fiberId: FiberId.Runtime, fiberRefs: FiberRefs.FiberRefs) => FiberRefs.FiberRefs) => Effect<never, never, void>;
|
|
2978
2978
|
/**
|
|
2979
2979
|
* Returns `true` if this effect is a failure, `false` otherwise.
|
|
2980
2980
|
*
|
|
2981
|
-
* @since
|
|
2981
|
+
* @since 2.0.0
|
|
2982
2982
|
* @category getters & folding
|
|
2983
2983
|
*/
|
|
2984
2984
|
export declare const isFailure: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, boolean>;
|
|
2985
2985
|
/**
|
|
2986
2986
|
* Returns `true` if this effect is a success, `false` otherwise.
|
|
2987
2987
|
*
|
|
2988
|
-
* @since
|
|
2988
|
+
* @since 2.0.0
|
|
2989
2989
|
* @category getters & folding
|
|
2990
2990
|
*/
|
|
2991
2991
|
export declare const isSuccess: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, boolean>;
|
|
@@ -2994,7 +2994,7 @@ export declare const isSuccess: <R, E, A>(self: Effect<R, E, A>) => Effect<R, ne
|
|
|
2994
2994
|
* does not fail, but succeeds with the value returned by the left or right
|
|
2995
2995
|
* function passed to `match`.
|
|
2996
2996
|
*
|
|
2997
|
-
* @since
|
|
2997
|
+
* @since 2.0.0
|
|
2998
2998
|
* @category getters & folding
|
|
2999
2999
|
*/
|
|
3000
3000
|
export declare const match: {
|
|
@@ -3008,7 +3008,7 @@ export declare const match: {
|
|
|
3008
3008
|
}): Effect<R, never, A2 | A3>;
|
|
3009
3009
|
};
|
|
3010
3010
|
/**
|
|
3011
|
-
* @since
|
|
3011
|
+
* @since 2.0.0
|
|
3012
3012
|
* @category getters & folding
|
|
3013
3013
|
*/
|
|
3014
3014
|
export declare const matchCause: {
|
|
@@ -3022,7 +3022,7 @@ export declare const matchCause: {
|
|
|
3022
3022
|
}): Effect<R, never, A2 | A3>;
|
|
3023
3023
|
};
|
|
3024
3024
|
/**
|
|
3025
|
-
* @since
|
|
3025
|
+
* @since 2.0.0
|
|
3026
3026
|
* @category getters & folding
|
|
3027
3027
|
*/
|
|
3028
3028
|
export declare const matchCauseEffect: {
|
|
@@ -3036,7 +3036,7 @@ export declare const matchCauseEffect: {
|
|
|
3036
3036
|
}): Effect<R | R2 | R3, E2 | E3, A2 | A3>;
|
|
3037
3037
|
};
|
|
3038
3038
|
/**
|
|
3039
|
-
* @since
|
|
3039
|
+
* @since 2.0.0
|
|
3040
3040
|
* @category getters & folding
|
|
3041
3041
|
*/
|
|
3042
3042
|
export declare const matchEffect: {
|
|
@@ -3054,56 +3054,56 @@ export declare const matchEffect: {
|
|
|
3054
3054
|
*
|
|
3055
3055
|
* You can set the current log level using `FiberRef.currentLogLevel`.
|
|
3056
3056
|
*
|
|
3057
|
-
* @since
|
|
3057
|
+
* @since 2.0.0
|
|
3058
3058
|
* @category logging
|
|
3059
3059
|
*/
|
|
3060
3060
|
export declare const log: <A>(messageOrCause: A, supplementary?: A extends Cause.Cause<any> ? unknown : Cause.Cause<unknown>) => Effect<never, never, void>;
|
|
3061
3061
|
/**
|
|
3062
3062
|
* Logs the specified message or cause at the Trace log level.
|
|
3063
3063
|
*
|
|
3064
|
-
* @since
|
|
3064
|
+
* @since 2.0.0
|
|
3065
3065
|
* @category logging
|
|
3066
3066
|
*/
|
|
3067
3067
|
export declare const logTrace: <A>(messageOrCause: A, supplementary?: A extends Cause.Cause<any> ? unknown : Cause.Cause<unknown>) => Effect<never, never, void>;
|
|
3068
3068
|
/**
|
|
3069
3069
|
* Logs the specified message or cause at the Debug log level.
|
|
3070
3070
|
*
|
|
3071
|
-
* @since
|
|
3071
|
+
* @since 2.0.0
|
|
3072
3072
|
* @category logging
|
|
3073
3073
|
*/
|
|
3074
3074
|
export declare const logDebug: <A>(messageOrCause: A, supplementary?: A extends Cause.Cause<any> ? unknown : Cause.Cause<unknown>) => Effect<never, never, void>;
|
|
3075
3075
|
/**
|
|
3076
3076
|
* Logs the specified message or cause at the Info log level.
|
|
3077
3077
|
*
|
|
3078
|
-
* @since
|
|
3078
|
+
* @since 2.0.0
|
|
3079
3079
|
* @category logging
|
|
3080
3080
|
*/
|
|
3081
3081
|
export declare const logInfo: <A>(messageOrCause: A, supplementary?: A extends Cause.Cause<any> ? unknown : Cause.Cause<unknown>) => Effect<never, never, void>;
|
|
3082
3082
|
/**
|
|
3083
3083
|
* Logs the specified message or cause at the Warning log level.
|
|
3084
3084
|
*
|
|
3085
|
-
* @since
|
|
3085
|
+
* @since 2.0.0
|
|
3086
3086
|
* @category logging
|
|
3087
3087
|
*/
|
|
3088
3088
|
export declare const logWarning: <A>(messageOrCause: A, supplementary?: A extends Cause.Cause<any> ? unknown : Cause.Cause<unknown>) => Effect<never, never, void>;
|
|
3089
3089
|
/**
|
|
3090
3090
|
* Logs the specified message or cause at the Error log level.
|
|
3091
3091
|
*
|
|
3092
|
-
* @since
|
|
3092
|
+
* @since 2.0.0
|
|
3093
3093
|
* @category logging
|
|
3094
3094
|
*/
|
|
3095
3095
|
export declare const logError: <A>(messageOrCause: A, supplementary?: A extends Cause.Cause<any> ? unknown : Cause.Cause<unknown>) => Effect<never, never, void>;
|
|
3096
3096
|
/**
|
|
3097
3097
|
* Logs the specified message or cause at the Fatal log level.
|
|
3098
3098
|
*
|
|
3099
|
-
* @since
|
|
3099
|
+
* @since 2.0.0
|
|
3100
3100
|
* @category logging
|
|
3101
3101
|
*/
|
|
3102
3102
|
export declare const logFatal: <A>(messageOrCause: A, supplementary?: A extends Cause.Cause<any> ? unknown : Cause.Cause<unknown>) => Effect<never, never, void>;
|
|
3103
3103
|
/**
|
|
3104
3104
|
* Adjusts the label for the current logging span.
|
|
3105
3105
|
*
|
|
3106
|
-
* @since
|
|
3106
|
+
* @since 2.0.0
|
|
3107
3107
|
* @category logging
|
|
3108
3108
|
*/
|
|
3109
3109
|
export declare const withLogSpan: {
|
|
@@ -3113,7 +3113,7 @@ export declare const withLogSpan: {
|
|
|
3113
3113
|
/**
|
|
3114
3114
|
* Annotates each log in this effect with the specified log annotation.
|
|
3115
3115
|
*
|
|
3116
|
-
* @since
|
|
3116
|
+
* @since 2.0.0
|
|
3117
3117
|
* @category logging
|
|
3118
3118
|
*/
|
|
3119
3119
|
export declare const annotateLogs: {
|
|
@@ -3125,14 +3125,14 @@ export declare const annotateLogs: {
|
|
|
3125
3125
|
/**
|
|
3126
3126
|
* Retrieves the log annotations associated with the current scope.
|
|
3127
3127
|
*
|
|
3128
|
-
* @since
|
|
3128
|
+
* @since 2.0.0
|
|
3129
3129
|
* @category logging
|
|
3130
3130
|
*/
|
|
3131
3131
|
export declare const logAnnotations: Effect<never, never, HashMap.HashMap<string, Logger.AnnotationValue>>;
|
|
3132
3132
|
/**
|
|
3133
3133
|
* Decides wether child fibers will report or not unhandled errors via the logger
|
|
3134
3134
|
*
|
|
3135
|
-
* @since
|
|
3135
|
+
* @since 2.0.0
|
|
3136
3136
|
* @category logging
|
|
3137
3137
|
*/
|
|
3138
3138
|
export declare const withUnhandledErrorLogLevel: {
|
|
@@ -3140,7 +3140,7 @@ export declare const withUnhandledErrorLogLevel: {
|
|
|
3140
3140
|
<R, E, B>(self: Effect<R, E, B>, level: Option.Option<LogLevel>): Effect<R, E, B>;
|
|
3141
3141
|
};
|
|
3142
3142
|
/**
|
|
3143
|
-
* @since
|
|
3143
|
+
* @since 2.0.0
|
|
3144
3144
|
* @category logging
|
|
3145
3145
|
*/
|
|
3146
3146
|
export declare const setUnhandledErrorLogLevel: (level: Option.Option<LogLevel>) => Layer.Layer<never, never, never>;
|
|
@@ -3148,7 +3148,7 @@ export declare const setUnhandledErrorLogLevel: (level: Option.Option<LogLevel>)
|
|
|
3148
3148
|
* Translates effect failure into death of the fiber, making all failures
|
|
3149
3149
|
* unchecked and not a part of the type of the effect.
|
|
3150
3150
|
*
|
|
3151
|
-
* @since
|
|
3151
|
+
* @since 2.0.0
|
|
3152
3152
|
* @category alternatives
|
|
3153
3153
|
*/
|
|
3154
3154
|
export declare const orDie: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, A>;
|
|
@@ -3156,7 +3156,7 @@ export declare const orDie: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never,
|
|
|
3156
3156
|
* Keeps none of the errors, and terminates the fiber with them, using the
|
|
3157
3157
|
* specified function to convert the `E` into a `Throwable`.
|
|
3158
3158
|
*
|
|
3159
|
-
* @since
|
|
3159
|
+
* @since 2.0.0
|
|
3160
3160
|
* @category alternatives
|
|
3161
3161
|
*/
|
|
3162
3162
|
export declare const orDieWith: {
|
|
@@ -3167,7 +3167,7 @@ export declare const orDieWith: {
|
|
|
3167
3167
|
* Executes this effect and returns its value, if it succeeds, but otherwise
|
|
3168
3168
|
* executes the specified effect.
|
|
3169
3169
|
*
|
|
3170
|
-
* @since
|
|
3170
|
+
* @since 2.0.0
|
|
3171
3171
|
* @category alternatives
|
|
3172
3172
|
*/
|
|
3173
3173
|
export declare const orElse: {
|
|
@@ -3178,7 +3178,7 @@ export declare const orElse: {
|
|
|
3178
3178
|
* Executes this effect and returns its value, if it succeeds, but otherwise
|
|
3179
3179
|
* fails with the specified error.
|
|
3180
3180
|
*
|
|
3181
|
-
* @since
|
|
3181
|
+
* @since 2.0.0
|
|
3182
3182
|
* @category alternatives
|
|
3183
3183
|
*/
|
|
3184
3184
|
export declare const orElseFail: {
|
|
@@ -3189,7 +3189,7 @@ export declare const orElseFail: {
|
|
|
3189
3189
|
* Executes this effect and returns its value, if it succeeds, but
|
|
3190
3190
|
* otherwise succeeds with the specified value.
|
|
3191
3191
|
*
|
|
3192
|
-
* @since
|
|
3192
|
+
* @since 2.0.0
|
|
3193
3193
|
* @category alternatives
|
|
3194
3194
|
*/
|
|
3195
3195
|
export declare const orElseSucceed: {
|
|
@@ -3199,7 +3199,7 @@ export declare const orElseSucceed: {
|
|
|
3199
3199
|
/**
|
|
3200
3200
|
* Retreives the `Random` service from the context.
|
|
3201
3201
|
*
|
|
3202
|
-
* @since
|
|
3202
|
+
* @since 2.0.0
|
|
3203
3203
|
* @category random
|
|
3204
3204
|
*/
|
|
3205
3205
|
export declare const random: Effect<never, never, Random.Random>;
|
|
@@ -3207,7 +3207,7 @@ export declare const random: Effect<never, never, Random.Random>;
|
|
|
3207
3207
|
* Retreives the `Random` service from the context and uses it to run the
|
|
3208
3208
|
* specified workflow.
|
|
3209
3209
|
*
|
|
3210
|
-
* @since
|
|
3210
|
+
* @since 2.0.0
|
|
3211
3211
|
* @category random
|
|
3212
3212
|
*/
|
|
3213
3213
|
export declare const randomWith: <R, E, A>(f: (random: Random.Random) => Effect<R, E, A>) => Effect<R, E, A>;
|
|
@@ -3216,7 +3216,7 @@ export declare const randomWith: <R, E, A>(f: (random: Random.Random) => Effect<
|
|
|
3216
3216
|
* (unsafely) execute tasks. This is useful for integration with legacy code
|
|
3217
3217
|
* that must call back into Effect code.
|
|
3218
3218
|
*
|
|
3219
|
-
* @since
|
|
3219
|
+
* @since 2.0.0
|
|
3220
3220
|
* @category runtime
|
|
3221
3221
|
*/
|
|
3222
3222
|
export declare const runtime: <R>() => Effect<R, never, Runtime.Runtime<R>>;
|
|
@@ -3224,17 +3224,17 @@ export declare const runtime: <R>() => Effect<R, never, Runtime.Runtime<R>>;
|
|
|
3224
3224
|
* Retrieves an effect that succeeds with the current runtime flags, which
|
|
3225
3225
|
* govern behavior and features of the runtime system.
|
|
3226
3226
|
*
|
|
3227
|
-
* @since
|
|
3227
|
+
* @since 2.0.0
|
|
3228
3228
|
* @category runtime
|
|
3229
3229
|
*/
|
|
3230
3230
|
export declare const getRuntimeFlags: Effect<never, never, RuntimeFlags.RuntimeFlags>;
|
|
3231
3231
|
/**
|
|
3232
|
-
* @since
|
|
3232
|
+
* @since 2.0.0
|
|
3233
3233
|
* @category runtime
|
|
3234
3234
|
*/
|
|
3235
3235
|
export declare const patchRuntimeFlags: (patch: RuntimeFlagsPatch.RuntimeFlagsPatch) => Effect<never, never, void>;
|
|
3236
3236
|
/**
|
|
3237
|
-
* @since
|
|
3237
|
+
* @since 2.0.0
|
|
3238
3238
|
* @category runtime
|
|
3239
3239
|
*/
|
|
3240
3240
|
export declare const withRuntimeFlagsPatch: {
|
|
@@ -3242,14 +3242,14 @@ export declare const withRuntimeFlagsPatch: {
|
|
|
3242
3242
|
<R, E, A>(self: Effect<R, E, A>, update: RuntimeFlagsPatch.RuntimeFlagsPatch): Effect<R, E, A>;
|
|
3243
3243
|
};
|
|
3244
3244
|
/**
|
|
3245
|
-
* @since
|
|
3245
|
+
* @since 2.0.0
|
|
3246
3246
|
* @category runtime
|
|
3247
3247
|
*/
|
|
3248
3248
|
export declare const withRuntimeFlagsPatchScoped: (update: RuntimeFlagsPatch.RuntimeFlagsPatch) => Effect<Scope.Scope, never, void>;
|
|
3249
3249
|
/**
|
|
3250
3250
|
* Tags each metric in this effect with the specific tag.
|
|
3251
3251
|
*
|
|
3252
|
-
* @since
|
|
3252
|
+
* @since 2.0.0
|
|
3253
3253
|
* @category metrics
|
|
3254
3254
|
*/
|
|
3255
3255
|
export declare const tagMetrics: {
|
|
@@ -3259,7 +3259,7 @@ export declare const tagMetrics: {
|
|
|
3259
3259
|
/**
|
|
3260
3260
|
* Tags each metric in this effect with the specific tag.
|
|
3261
3261
|
*
|
|
3262
|
-
* @since
|
|
3262
|
+
* @since 2.0.0
|
|
3263
3263
|
* @category metrics
|
|
3264
3264
|
*/
|
|
3265
3265
|
export declare const labelMetrics: {
|
|
@@ -3269,7 +3269,7 @@ export declare const labelMetrics: {
|
|
|
3269
3269
|
/**
|
|
3270
3270
|
* Tags each metric in this effect with the specific tag.
|
|
3271
3271
|
*
|
|
3272
|
-
* @since
|
|
3272
|
+
* @since 2.0.0
|
|
3273
3273
|
* @category metrics
|
|
3274
3274
|
*/
|
|
3275
3275
|
export declare const labelMetricsSet: {
|
|
@@ -3279,33 +3279,33 @@ export declare const labelMetricsSet: {
|
|
|
3279
3279
|
/**
|
|
3280
3280
|
* Tags each metric in a scope with a the specific tag.
|
|
3281
3281
|
*
|
|
3282
|
-
* @since
|
|
3282
|
+
* @since 2.0.0
|
|
3283
3283
|
* @category metrics
|
|
3284
3284
|
*/
|
|
3285
3285
|
export declare const tagMetricsScoped: (key: string, value: string) => Effect<Scope.Scope, never, void>;
|
|
3286
3286
|
/**
|
|
3287
3287
|
* Tags each metric in a scope with a the specific tag.
|
|
3288
3288
|
*
|
|
3289
|
-
* @since
|
|
3289
|
+
* @since 2.0.0
|
|
3290
3290
|
* @category metrics
|
|
3291
3291
|
*/
|
|
3292
3292
|
export declare const labelMetricsScoped: (labels: ReadonlyArray<MetricLabel.MetricLabel>) => Effect<Scope.Scope, never, void>;
|
|
3293
3293
|
/**
|
|
3294
3294
|
* Tags each metric in a scope with a the specific tag.
|
|
3295
3295
|
*
|
|
3296
|
-
* @since
|
|
3296
|
+
* @since 2.0.0
|
|
3297
3297
|
* @category metrics
|
|
3298
3298
|
*/
|
|
3299
3299
|
export declare const labelMetricsScopedSet: (labels: HashSet.HashSet<MetricLabel.MetricLabel>) => Effect<Scope.Scope, never, void>;
|
|
3300
3300
|
/**
|
|
3301
3301
|
* Retrieves the metric labels associated with the current scope.
|
|
3302
3302
|
*
|
|
3303
|
-
* @since
|
|
3303
|
+
* @since 2.0.0
|
|
3304
3304
|
* @category metrics
|
|
3305
3305
|
*/
|
|
3306
3306
|
export declare const metricLabels: Effect<never, never, HashSet.HashSet<MetricLabel.MetricLabel>>;
|
|
3307
3307
|
/**
|
|
3308
|
-
* @since
|
|
3308
|
+
* @since 2.0.0
|
|
3309
3309
|
* @category metrics
|
|
3310
3310
|
*/
|
|
3311
3311
|
export declare const withMetric: {
|
|
@@ -3316,26 +3316,26 @@ export declare const withMetric: {
|
|
|
3316
3316
|
* Used to unify functions that would otherwise return `Effect<A, B, C> | Effect<D, E, F>`
|
|
3317
3317
|
*
|
|
3318
3318
|
* @category unify
|
|
3319
|
-
* @since
|
|
3319
|
+
* @since 2.0.0
|
|
3320
3320
|
*/
|
|
3321
3321
|
export declare const unifiedFn: <Args extends ReadonlyArray<any>, Ret extends Effect<any, any, any>>(f: (...args: Args) => Ret) => (...args: Args) => Effect.Unify<Ret>;
|
|
3322
3322
|
/**
|
|
3323
3323
|
* Used to unify effects that would otherwise be `Effect<A, B, C> | Effect<D, E, F>`
|
|
3324
3324
|
*
|
|
3325
3325
|
* @category unify
|
|
3326
|
-
* @since
|
|
3326
|
+
* @since 2.0.0
|
|
3327
3327
|
*/
|
|
3328
3328
|
export declare const unified: <Ret extends Effect<any, any, any>>(f: Ret) => Effect.Unify<Ret>;
|
|
3329
3329
|
/**
|
|
3330
3330
|
* @category semaphore
|
|
3331
|
-
* @since
|
|
3331
|
+
* @since 2.0.0
|
|
3332
3332
|
*/
|
|
3333
3333
|
export interface Permit {
|
|
3334
3334
|
readonly index: number;
|
|
3335
3335
|
}
|
|
3336
3336
|
/**
|
|
3337
3337
|
* @category semaphore
|
|
3338
|
-
* @since
|
|
3338
|
+
* @since 2.0.0
|
|
3339
3339
|
*/
|
|
3340
3340
|
export interface Semaphore {
|
|
3341
3341
|
readonly withPermits: (permits: number) => <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, A>;
|
|
@@ -3345,24 +3345,24 @@ export interface Semaphore {
|
|
|
3345
3345
|
/**
|
|
3346
3346
|
* Unsafely creates a new Semaphore
|
|
3347
3347
|
*
|
|
3348
|
-
* @since
|
|
3348
|
+
* @since 2.0.0
|
|
3349
3349
|
* @category semaphore
|
|
3350
3350
|
*/
|
|
3351
3351
|
export declare const unsafeMakeSemaphore: (permits: number) => Semaphore;
|
|
3352
3352
|
/**
|
|
3353
3353
|
* Creates a new Semaphore
|
|
3354
3354
|
*
|
|
3355
|
-
* @since
|
|
3355
|
+
* @since 2.0.0
|
|
3356
3356
|
* @category semaphore
|
|
3357
3357
|
*/
|
|
3358
3358
|
export declare const makeSemaphore: (permits: number) => Effect<never, never, Semaphore>;
|
|
3359
3359
|
/**
|
|
3360
|
-
* @since
|
|
3360
|
+
* @since 2.0.0
|
|
3361
3361
|
* @category execution
|
|
3362
3362
|
*/
|
|
3363
3363
|
export declare const runFork: <E, A>(effect: Effect<never, E, A>) => Fiber.RuntimeFiber<E, A>;
|
|
3364
3364
|
/**
|
|
3365
|
-
* @since
|
|
3365
|
+
* @since 2.0.0
|
|
3366
3366
|
* @category execution
|
|
3367
3367
|
*/
|
|
3368
3368
|
export declare const runCallback: <E, A>(effect: Effect<never, E, A>, onExit?: (exit: Exit.Exit<E, A>) => void) => Runtime.Cancel<E, A>;
|
|
@@ -3370,7 +3370,7 @@ export declare const runCallback: <E, A>(effect: Effect<never, E, A>, onExit?: (
|
|
|
3370
3370
|
* Runs an `Effect` workflow, returning a `Promise` which resolves with the
|
|
3371
3371
|
* result of the workflow or rejects with an error.
|
|
3372
3372
|
*
|
|
3373
|
-
* @since
|
|
3373
|
+
* @since 2.0.0
|
|
3374
3374
|
* @category execution
|
|
3375
3375
|
*/
|
|
3376
3376
|
export declare const runPromise: <E, A>(effect: Effect<never, E, A>) => Promise<A>;
|
|
@@ -3378,17 +3378,17 @@ export declare const runPromise: <E, A>(effect: Effect<never, E, A>) => Promise<
|
|
|
3378
3378
|
* Runs an `Effect` workflow, returning a `Promise` which resolves with the
|
|
3379
3379
|
* `Exit` value of the workflow.
|
|
3380
3380
|
*
|
|
3381
|
-
* @since
|
|
3381
|
+
* @since 2.0.0
|
|
3382
3382
|
* @category execution
|
|
3383
3383
|
*/
|
|
3384
3384
|
export declare const runPromiseExit: <E, A>(effect: Effect<never, E, A>) => Promise<Exit.Exit<E, A>>;
|
|
3385
3385
|
/**
|
|
3386
|
-
* @since
|
|
3386
|
+
* @since 2.0.0
|
|
3387
3387
|
* @category execution
|
|
3388
3388
|
*/
|
|
3389
3389
|
export declare const runSync: <E, A>(effect: Effect<never, E, A>) => A;
|
|
3390
3390
|
/**
|
|
3391
|
-
* @since
|
|
3391
|
+
* @since 2.0.0
|
|
3392
3392
|
* @category execution
|
|
3393
3393
|
*/
|
|
3394
3394
|
export declare const runSyncExit: <E, A>(effect: Effect<never, E, A>) => Exit.Exit<E, A>;
|
|
@@ -3396,7 +3396,7 @@ export declare const runSyncExit: <E, A>(effect: Effect<never, E, A>) => Exit.Ex
|
|
|
3396
3396
|
* Sequentially zips the this result with the specified result. Combines both
|
|
3397
3397
|
* `Cause`s when both effects fail.
|
|
3398
3398
|
*
|
|
3399
|
-
* @since
|
|
3399
|
+
* @since 2.0.0
|
|
3400
3400
|
* @category zipping
|
|
3401
3401
|
*/
|
|
3402
3402
|
export declare const validate: {
|
|
@@ -3413,7 +3413,7 @@ export declare const validate: {
|
|
|
3413
3413
|
* Sequentially zips this effect with the specified effect using the specified
|
|
3414
3414
|
* combiner function. Combines the causes in case both effect fail.
|
|
3415
3415
|
*
|
|
3416
|
-
* @since
|
|
3416
|
+
* @since 2.0.0
|
|
3417
3417
|
* @category zipping
|
|
3418
3418
|
*/
|
|
3419
3419
|
export declare const validateWith: {
|
|
@@ -3427,7 +3427,7 @@ export declare const validateWith: {
|
|
|
3427
3427
|
}): Effect<R | R1, E | E1, C>;
|
|
3428
3428
|
};
|
|
3429
3429
|
/**
|
|
3430
|
-
* @since
|
|
3430
|
+
* @since 2.0.0
|
|
3431
3431
|
* @category zipping
|
|
3432
3432
|
*/
|
|
3433
3433
|
export declare const zip: {
|
|
@@ -3441,7 +3441,7 @@ export declare const zip: {
|
|
|
3441
3441
|
}): Effect<R | R2, E | E2, [A, A2]>;
|
|
3442
3442
|
};
|
|
3443
3443
|
/**
|
|
3444
|
-
* @since
|
|
3444
|
+
* @since 2.0.0
|
|
3445
3445
|
* @category zipping
|
|
3446
3446
|
*/
|
|
3447
3447
|
export declare const zipLeft: {
|
|
@@ -3455,7 +3455,7 @@ export declare const zipLeft: {
|
|
|
3455
3455
|
}): Effect<R | R2, E | E2, A>;
|
|
3456
3456
|
};
|
|
3457
3457
|
/**
|
|
3458
|
-
* @since
|
|
3458
|
+
* @since 2.0.0
|
|
3459
3459
|
* @category zipping
|
|
3460
3460
|
*/
|
|
3461
3461
|
export declare const zipRight: {
|
|
@@ -3469,7 +3469,7 @@ export declare const zipRight: {
|
|
|
3469
3469
|
}): Effect<R | R2, E | E2, A2>;
|
|
3470
3470
|
};
|
|
3471
3471
|
/**
|
|
3472
|
-
* @since
|
|
3472
|
+
* @since 2.0.0
|
|
3473
3473
|
* @category zipping
|
|
3474
3474
|
*/
|
|
3475
3475
|
export declare const zipWith: {
|
|
@@ -3484,26 +3484,26 @@ export declare const zipWith: {
|
|
|
3484
3484
|
};
|
|
3485
3485
|
/**
|
|
3486
3486
|
* @category requests & batching
|
|
3487
|
-
* @since
|
|
3487
|
+
* @since 2.0.0
|
|
3488
3488
|
*/
|
|
3489
3489
|
export declare const blocked: <R, E, A>(blockedRequests: RequestBlock<R>, _continue: Effect<R, E, A>) => Blocked<R, E, A>;
|
|
3490
3490
|
/**
|
|
3491
3491
|
* @category requests & batching
|
|
3492
|
-
* @since
|
|
3492
|
+
* @since 2.0.0
|
|
3493
3493
|
*/
|
|
3494
3494
|
export declare const runRequestBlock: <R>(blockedRequests: RequestBlock<R>) => Blocked<R, never, void>;
|
|
3495
3495
|
/**
|
|
3496
3496
|
* @category requests & batching
|
|
3497
|
-
* @since
|
|
3497
|
+
* @since 2.0.0
|
|
3498
3498
|
*/
|
|
3499
3499
|
export declare const step: <R, E, A>(self: Effect<R, E, A>) => Effect<R, E, Exit.Exit<E, A> | Blocked<R, E, A>>;
|
|
3500
3500
|
/**
|
|
3501
3501
|
* @category requests & batching
|
|
3502
|
-
* @since
|
|
3502
|
+
* @since 2.0.0
|
|
3503
3503
|
*/
|
|
3504
3504
|
export declare const flatMapStep: <R, E, A, R1, E1, B>(self: Effect<R, E, A>, f: (step: Exit.Exit<E, A> | Blocked<R, E, A>) => Effect<R1, E1, B>) => Effect<R | R1, E1, B>;
|
|
3505
3505
|
/**
|
|
3506
|
-
* @since
|
|
3506
|
+
* @since 2.0.0
|
|
3507
3507
|
* @category requests & batching
|
|
3508
3508
|
*/
|
|
3509
3509
|
export declare const request: {
|
|
@@ -3512,12 +3512,12 @@ export declare const request: {
|
|
|
3512
3512
|
] extends [Effect<any, any, any>] ? Effect.Context<Ds> : never, Request.Request.Error<A>, Request.Request.Success<A>>;
|
|
3513
3513
|
};
|
|
3514
3514
|
/**
|
|
3515
|
-
* @since
|
|
3515
|
+
* @since 2.0.0
|
|
3516
3516
|
* @category requests & batching
|
|
3517
3517
|
*/
|
|
3518
3518
|
export declare const cacheRequestResult: <A extends Request.Request<any, any>>(request: A, result: Request.Request.Result<A>) => Effect<never, never, void>;
|
|
3519
3519
|
/**
|
|
3520
|
-
* @since
|
|
3520
|
+
* @since 2.0.0
|
|
3521
3521
|
* @category requests & batching
|
|
3522
3522
|
*/
|
|
3523
3523
|
export declare const withRequestBatching: {
|
|
@@ -3525,17 +3525,17 @@ export declare const withRequestBatching: {
|
|
|
3525
3525
|
<R, E, A>(self: Effect<R, E, A>, requestBatching: boolean): Effect<R, E, A>;
|
|
3526
3526
|
};
|
|
3527
3527
|
/**
|
|
3528
|
-
* @since
|
|
3528
|
+
* @since 2.0.0
|
|
3529
3529
|
* @category requests & batching
|
|
3530
3530
|
*/
|
|
3531
3531
|
export declare const setRequestBatching: (requestBatching: boolean) => Layer.Layer<never, never, never>;
|
|
3532
3532
|
/**
|
|
3533
|
-
* @since
|
|
3533
|
+
* @since 2.0.0
|
|
3534
3534
|
* @category requests & batching
|
|
3535
3535
|
*/
|
|
3536
3536
|
export declare const setRequestCaching: (requestCaching: boolean) => Layer.Layer<never, never, never>;
|
|
3537
3537
|
/**
|
|
3538
|
-
* @since
|
|
3538
|
+
* @since 2.0.0
|
|
3539
3539
|
* @category requests & batching
|
|
3540
3540
|
*/
|
|
3541
3541
|
export declare const setRequestCache: {
|
|
@@ -3543,7 +3543,7 @@ export declare const setRequestCache: {
|
|
|
3543
3543
|
(cache: Request.Cache): Layer.Layer<never, never, never>;
|
|
3544
3544
|
};
|
|
3545
3545
|
/**
|
|
3546
|
-
* @since
|
|
3546
|
+
* @since 2.0.0
|
|
3547
3547
|
* @category requests & batching
|
|
3548
3548
|
*/
|
|
3549
3549
|
export declare const withRequestCaching: {
|
|
@@ -3551,7 +3551,7 @@ export declare const withRequestCaching: {
|
|
|
3551
3551
|
<R, E, A>(self: Effect<R, E, A>, strategy: boolean): Effect<R, E, A>;
|
|
3552
3552
|
};
|
|
3553
3553
|
/**
|
|
3554
|
-
* @since
|
|
3554
|
+
* @since 2.0.0
|
|
3555
3555
|
* @category requests & batching
|
|
3556
3556
|
*/
|
|
3557
3557
|
export declare const withRequestCache: {
|
|
@@ -3561,22 +3561,22 @@ export declare const withRequestCache: {
|
|
|
3561
3561
|
/**
|
|
3562
3562
|
* Create a Layer that sets the current Tracer
|
|
3563
3563
|
*
|
|
3564
|
-
* @since
|
|
3564
|
+
* @since 2.0.0
|
|
3565
3565
|
* @category tracing
|
|
3566
3566
|
*/
|
|
3567
3567
|
export declare const setTracer: (tracer: Tracer.Tracer) => Layer.Layer<never, never, never>;
|
|
3568
3568
|
/**
|
|
3569
|
-
* @since
|
|
3569
|
+
* @since 2.0.0
|
|
3570
3570
|
* @category tracing
|
|
3571
3571
|
*/
|
|
3572
3572
|
export declare const tracer: Effect<never, never, Tracer.Tracer>;
|
|
3573
3573
|
/**
|
|
3574
|
-
* @since
|
|
3574
|
+
* @since 2.0.0
|
|
3575
3575
|
* @category tracing
|
|
3576
3576
|
*/
|
|
3577
3577
|
export declare const tracerWith: <R, E, A>(f: (tracer: Tracer.Tracer) => Effect<R, E, A>) => Effect<R, E, A>;
|
|
3578
3578
|
/**
|
|
3579
|
-
* @since
|
|
3579
|
+
* @since 2.0.0
|
|
3580
3580
|
* @category tracing
|
|
3581
3581
|
*/
|
|
3582
3582
|
export declare const withTracer: {
|
|
@@ -3584,12 +3584,12 @@ export declare const withTracer: {
|
|
|
3584
3584
|
<R, E, A>(effect: Effect<R, E, A>, value: Tracer.Tracer): Effect<R, E, A>;
|
|
3585
3585
|
};
|
|
3586
3586
|
/**
|
|
3587
|
-
* @since
|
|
3587
|
+
* @since 2.0.0
|
|
3588
3588
|
* @category tracing
|
|
3589
3589
|
*/
|
|
3590
3590
|
export declare const withTracerScoped: (value: Tracer.Tracer) => Effect<Scope.Scope, never, void>;
|
|
3591
3591
|
/**
|
|
3592
|
-
* @since
|
|
3592
|
+
* @since 2.0.0
|
|
3593
3593
|
* @category tracing
|
|
3594
3594
|
*/
|
|
3595
3595
|
export declare const withTracerTiming: {
|
|
@@ -3597,14 +3597,14 @@ export declare const withTracerTiming: {
|
|
|
3597
3597
|
<R, E, A>(effect: Effect<R, E, A>, enabled: boolean): Effect<R, E, A>;
|
|
3598
3598
|
};
|
|
3599
3599
|
/**
|
|
3600
|
-
* @since
|
|
3600
|
+
* @since 2.0.0
|
|
3601
3601
|
* @category tracing
|
|
3602
3602
|
*/
|
|
3603
3603
|
export declare const setTracerTiming: (enabled: boolean) => Layer.Layer<never, never, never>;
|
|
3604
3604
|
/**
|
|
3605
3605
|
* Adds an annotation to each span in this effect.
|
|
3606
3606
|
*
|
|
3607
|
-
* @since
|
|
3607
|
+
* @since 2.0.0
|
|
3608
3608
|
* @category tracing
|
|
3609
3609
|
*/
|
|
3610
3610
|
export declare const annotateSpans: {
|
|
@@ -3616,7 +3616,7 @@ export declare const annotateSpans: {
|
|
|
3616
3616
|
/**
|
|
3617
3617
|
* Adds an annotation to the current span if available
|
|
3618
3618
|
*
|
|
3619
|
-
* @since
|
|
3619
|
+
* @since 2.0.0
|
|
3620
3620
|
* @category tracing
|
|
3621
3621
|
*/
|
|
3622
3622
|
export declare const annotateCurrentSpan: {
|
|
@@ -3624,29 +3624,29 @@ export declare const annotateCurrentSpan: {
|
|
|
3624
3624
|
(values: Record<string, Tracer.AttributeValue>): Effect<never, never, void>;
|
|
3625
3625
|
};
|
|
3626
3626
|
/**
|
|
3627
|
-
* @since
|
|
3627
|
+
* @since 2.0.0
|
|
3628
3628
|
* @category tracing
|
|
3629
3629
|
*/
|
|
3630
3630
|
export declare const currentSpan: Effect<never, never, Option.Option<Tracer.Span>>;
|
|
3631
3631
|
/**
|
|
3632
|
-
* @since
|
|
3632
|
+
* @since 2.0.0
|
|
3633
3633
|
* @category tracing
|
|
3634
3634
|
*/
|
|
3635
3635
|
export declare const currentParentSpan: Effect<never, never, Option.Option<Tracer.ParentSpan>>;
|
|
3636
3636
|
/**
|
|
3637
|
-
* @since
|
|
3637
|
+
* @since 2.0.0
|
|
3638
3638
|
* @category tracing
|
|
3639
3639
|
*/
|
|
3640
3640
|
export declare const spanAnnotations: Effect<never, never, HashMap.HashMap<string, Tracer.AttributeValue>>;
|
|
3641
3641
|
/**
|
|
3642
|
-
* @since
|
|
3642
|
+
* @since 2.0.0
|
|
3643
3643
|
* @category tracing
|
|
3644
3644
|
*/
|
|
3645
3645
|
export declare const spanLinks: Effect<never, never, Chunk.Chunk<Tracer.SpanLink>>;
|
|
3646
3646
|
/**
|
|
3647
3647
|
* For all spans in this effect, add a link with the provided span.
|
|
3648
3648
|
*
|
|
3649
|
-
* @since
|
|
3649
|
+
* @since 2.0.0
|
|
3650
3650
|
* @category tracing
|
|
3651
3651
|
*/
|
|
3652
3652
|
export declare const linkSpans: {
|
|
@@ -3656,7 +3656,7 @@ export declare const linkSpans: {
|
|
|
3656
3656
|
/**
|
|
3657
3657
|
* Create a new span for tracing.
|
|
3658
3658
|
*
|
|
3659
|
-
* @since
|
|
3659
|
+
* @since 2.0.0
|
|
3660
3660
|
* @category tracing
|
|
3661
3661
|
*/
|
|
3662
3662
|
export declare const makeSpan: (name: string, options?: {
|
|
@@ -3669,7 +3669,7 @@ export declare const makeSpan: (name: string, options?: {
|
|
|
3669
3669
|
/**
|
|
3670
3670
|
* Adds the provided span to the span stack.
|
|
3671
3671
|
*
|
|
3672
|
-
* @since
|
|
3672
|
+
* @since 2.0.0
|
|
3673
3673
|
* @category tracing
|
|
3674
3674
|
*/
|
|
3675
3675
|
export declare const setParentSpan: (span: Tracer.ParentSpan) => Layer.Layer<never, never, never>;
|
|
@@ -3678,7 +3678,7 @@ export declare const setParentSpan: (span: Tracer.ParentSpan) => Layer.Layer<nev
|
|
|
3678
3678
|
*
|
|
3679
3679
|
* The span is ended when the Layer is released.
|
|
3680
3680
|
*
|
|
3681
|
-
* @since
|
|
3681
|
+
* @since 2.0.0
|
|
3682
3682
|
* @category tracing
|
|
3683
3683
|
*/
|
|
3684
3684
|
export declare const setSpan: (name: string, options?: {
|
|
@@ -3695,7 +3695,7 @@ export declare const setSpan: (name: string, options?: {
|
|
|
3695
3695
|
* The span is not added to the current span stack, so no child spans will be
|
|
3696
3696
|
* created for it.
|
|
3697
3697
|
*
|
|
3698
|
-
* @since
|
|
3698
|
+
* @since 2.0.0
|
|
3699
3699
|
* @category tracing
|
|
3700
3700
|
*/
|
|
3701
3701
|
export declare const useSpan: {
|
|
@@ -3715,7 +3715,7 @@ export declare const useSpan: {
|
|
|
3715
3715
|
* The span is not added to the current span stack, so no child spans will be
|
|
3716
3716
|
* created for it.
|
|
3717
3717
|
*
|
|
3718
|
-
* @since
|
|
3718
|
+
* @since 2.0.0
|
|
3719
3719
|
* @category tracing
|
|
3720
3720
|
*/
|
|
3721
3721
|
export declare const useSpanScoped: (name: string, options?: {
|
|
@@ -3728,7 +3728,7 @@ export declare const useSpanScoped: (name: string, options?: {
|
|
|
3728
3728
|
/**
|
|
3729
3729
|
* Wraps the effect with a new span for tracing.
|
|
3730
3730
|
*
|
|
3731
|
-
* @since
|
|
3731
|
+
* @since 2.0.0
|
|
3732
3732
|
* @category tracing
|
|
3733
3733
|
*/
|
|
3734
3734
|
export declare const withSpan: {
|
|
@@ -3752,7 +3752,7 @@ export declare const withSpan: {
|
|
|
3752
3752
|
*
|
|
3753
3753
|
* The span is ended when the Scope is finalized.
|
|
3754
3754
|
*
|
|
3755
|
-
* @since
|
|
3755
|
+
* @since 2.0.0
|
|
3756
3756
|
* @category tracing
|
|
3757
3757
|
*/
|
|
3758
3758
|
export declare const withSpanScoped: (name: string, options?: {
|
|
@@ -3765,7 +3765,7 @@ export declare const withSpanScoped: (name: string, options?: {
|
|
|
3765
3765
|
/**
|
|
3766
3766
|
* Adds the provided span to the current span stack.
|
|
3767
3767
|
*
|
|
3768
|
-
* @since
|
|
3768
|
+
* @since 2.0.0
|
|
3769
3769
|
* @category tracing
|
|
3770
3770
|
*/
|
|
3771
3771
|
export declare const withParentSpan: {
|
|
@@ -3775,7 +3775,7 @@ export declare const withParentSpan: {
|
|
|
3775
3775
|
/**
|
|
3776
3776
|
* Adds the provided span to the current span stack.
|
|
3777
3777
|
*
|
|
3778
|
-
* @since
|
|
3778
|
+
* @since 2.0.0
|
|
3779
3779
|
* @category tracing
|
|
3780
3780
|
*/
|
|
3781
3781
|
export declare const withParentSpanScoped: (span: Tracer.ParentSpan) => Effect<Scope.Scope, never, void>;
|
|
@@ -3783,7 +3783,7 @@ export declare const withParentSpanScoped: (span: Tracer.ParentSpan) => Effect<S
|
|
|
3783
3783
|
* Returns an effect that errors with `NoSuchElementException` if the value is
|
|
3784
3784
|
* null or undefined, otherwise succeeds with the value.
|
|
3785
3785
|
*
|
|
3786
|
-
* @since
|
|
3786
|
+
* @since 2.0.0
|
|
3787
3787
|
* @category optionality
|
|
3788
3788
|
*/
|
|
3789
3789
|
export declare const fromNullable: <A>(value: A) => Effect<never, Cause.NoSuchElementException, NonNullable<A>>;
|
|
@@ -3791,7 +3791,7 @@ export declare const fromNullable: <A>(value: A) => Effect<never, Cause.NoSuchEl
|
|
|
3791
3791
|
* Wraps the success value of this effect with `Option.some`, and maps
|
|
3792
3792
|
* `Cause.NoSuchElementException` to `Option.none`.
|
|
3793
3793
|
*
|
|
3794
|
-
* @since
|
|
3794
|
+
* @since 2.0.0
|
|
3795
3795
|
* @category optionality
|
|
3796
3796
|
*/
|
|
3797
3797
|
export declare const optionFromOptional: <R, E, A>(self: Effect<R, E, A>) => Effect<R, Exclude<E, Cause.NoSuchElementException>, Option.Option<A>>;
|