effect 2.0.0-next.5 → 2.0.0-next.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BigInt/dist/effect-BigInt.cjs.d.mts +2 -0
- package/BigInt/dist/effect-BigInt.cjs.d.mts.map +1 -0
- package/BigInt/dist/effect-BigInt.cjs.d.ts +2 -0
- package/BigInt/dist/effect-BigInt.cjs.d.ts.map +1 -0
- package/BigInt/dist/effect-BigInt.cjs.dev.js +520 -0
- package/BigInt/dist/effect-BigInt.cjs.js +7 -0
- package/BigInt/dist/effect-BigInt.cjs.mjs +28 -0
- package/BigInt/dist/effect-BigInt.cjs.prod.js +520 -0
- package/BigInt/dist/effect-BigInt.esm.js +482 -0
- package/BigInt/package.json +4 -0
- package/Boolean/dist/effect-Boolean.cjs.d.mts +2 -0
- package/Boolean/dist/effect-Boolean.cjs.d.mts.map +1 -0
- package/Boolean/dist/effect-Boolean.cjs.d.ts +2 -0
- package/Boolean/dist/effect-Boolean.cjs.d.ts.map +1 -0
- package/Boolean/dist/effect-Boolean.cjs.dev.js +247 -0
- package/Boolean/dist/effect-Boolean.cjs.js +7 -0
- package/Boolean/dist/effect-Boolean.cjs.mjs +16 -0
- package/Boolean/dist/effect-Boolean.cjs.prod.js +247 -0
- package/Boolean/dist/effect-Boolean.esm.js +230 -0
- package/Boolean/package.json +4 -0
- package/Brand/dist/effect-Brand.cjs.d.mts +2 -0
- package/Brand/dist/effect-Brand.cjs.d.mts.map +1 -0
- package/Brand/dist/effect-Brand.cjs.d.ts +2 -0
- package/Brand/dist/effect-Brand.cjs.d.ts.map +1 -0
- package/Brand/dist/effect-Brand.cjs.dev.js +228 -0
- package/Brand/dist/effect-Brand.cjs.js +7 -0
- package/Brand/dist/effect-Brand.cjs.mjs +9 -0
- package/Brand/dist/effect-Brand.cjs.prod.js +228 -0
- package/Brand/dist/effect-Brand.esm.js +204 -0
- package/Brand/package.json +4 -0
- package/Cache/dist/effect-Cache.cjs.d.mts +2 -0
- package/Cache/dist/effect-Cache.cjs.d.mts.map +1 -0
- package/Cache/dist/effect-Cache.cjs.d.ts +2 -0
- package/Cache/dist/effect-Cache.cjs.d.ts.map +1 -0
- package/Cache/dist/effect-Cache.cjs.dev.js +191 -0
- package/Cache/dist/effect-Cache.cjs.js +7 -0
- package/Cache/dist/effect-Cache.cjs.mjs +7 -0
- package/Cache/dist/effect-Cache.cjs.prod.js +191 -0
- package/Cache/dist/effect-Cache.esm.js +111 -0
- package/Cache/package.json +4 -0
- package/Cause/dist/effect-Cause.cjs.d.mts +2 -0
- package/Cause/dist/effect-Cause.cjs.d.mts.map +1 -0
- package/Cause/dist/effect-Cause.cjs.d.ts +2 -0
- package/Cause/dist/effect-Cause.cjs.d.ts.map +1 -0
- package/Cause/dist/effect-Cause.cjs.dev.js +759 -0
- package/Cause/dist/effect-Cause.cjs.js +7 -0
- package/Cause/dist/effect-Cause.cjs.mjs +61 -0
- package/Cause/dist/effect-Cause.cjs.prod.js +759 -0
- package/Cause/dist/effect-Cause.esm.js +668 -0
- package/Cause/package.json +4 -0
- package/Channel/dist/effect-Channel.cjs.d.mts +2 -0
- package/Channel/dist/effect-Channel.cjs.d.mts.map +1 -0
- package/Channel/dist/effect-Channel.cjs.d.ts +2 -0
- package/Channel/dist/effect-Channel.cjs.d.ts.map +1 -0
- package/Channel/dist/effect-Channel.cjs.dev.js +1221 -0
- package/Channel/dist/effect-Channel.cjs.js +7 -0
- package/Channel/dist/effect-Channel.cjs.mjs +109 -0
- package/Channel/dist/effect-Channel.cjs.prod.js +1221 -0
- package/Channel/dist/effect-Channel.esm.js +1009 -0
- package/Channel/package.json +4 -0
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.d.mts +2 -0
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.d.mts.map +1 -0
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.d.ts +2 -0
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.d.ts.map +1 -0
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.dev.js +125 -0
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.js +7 -0
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.mjs +11 -0
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.cjs.prod.js +125 -0
- package/ChannelChildExecutorDecision/dist/effect-ChannelChildExecutorDecision.esm.js +112 -0
- package/ChannelChildExecutorDecision/package.json +4 -0
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.d.mts +2 -0
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.d.mts.map +1 -0
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.d.ts +2 -0
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.d.ts.map +1 -0
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.dev.js +70 -0
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.js +7 -0
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.mjs +8 -0
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.cjs.prod.js +70 -0
- package/ChannelMergeDecision/dist/effect-ChannelMergeDecision.esm.js +60 -0
- package/ChannelMergeDecision/package.json +4 -0
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.d.mts +2 -0
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.d.mts.map +1 -0
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.d.ts +2 -0
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.d.ts.map +1 -0
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.dev.js +114 -0
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.js +7 -0
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.mjs +11 -0
- package/ChannelMergeState/dist/effect-ChannelMergeState.cjs.prod.js +114 -0
- package/ChannelMergeState/dist/effect-ChannelMergeState.esm.js +101 -0
- package/ChannelMergeState/package.json +4 -0
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.d.mts +2 -0
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.d.mts.map +1 -0
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.d.ts +2 -0
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.d.ts.map +1 -0
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.dev.js +95 -0
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.js +7 -0
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.mjs +9 -0
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.cjs.prod.js +95 -0
- package/ChannelMergeStrategy/dist/effect-ChannelMergeStrategy.esm.js +84 -0
- package/ChannelMergeStrategy/package.json +4 -0
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.d.mts +2 -0
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.d.mts.map +1 -0
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.d.ts +2 -0
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.d.ts.map +1 -0
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.dev.js +138 -0
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.js +7 -0
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.mjs +3 -0
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.cjs.prod.js +138 -0
- package/ChannelSingleProducerAsyncInput/dist/effect-ChannelSingleProducerAsyncInput.esm.js +47 -0
- package/ChannelSingleProducerAsyncInput/package.json +4 -0
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.d.mts +2 -0
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.d.mts.map +1 -0
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.d.ts +2 -0
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.d.ts.map +1 -0
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.dev.js +95 -0
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.js +7 -0
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.mjs +9 -0
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.cjs.prod.js +95 -0
- package/ChannelUpstreamPullRequest/dist/effect-ChannelUpstreamPullRequest.esm.js +84 -0
- package/ChannelUpstreamPullRequest/package.json +4 -0
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.d.mts +2 -0
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.d.mts.map +1 -0
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.d.ts +2 -0
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.d.ts.map +1 -0
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.dev.js +94 -0
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.js +7 -0
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.mjs +9 -0
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.cjs.prod.js +94 -0
- package/ChannelUpstreamPullStrategy/dist/effect-ChannelUpstreamPullStrategy.esm.js +83 -0
- package/ChannelUpstreamPullStrategy/package.json +4 -0
- package/Chunk/dist/effect-Chunk.cjs.d.mts +2 -0
- package/Chunk/dist/effect-Chunk.cjs.d.mts.map +1 -0
- package/Chunk/dist/effect-Chunk.cjs.d.ts +2 -0
- package/Chunk/dist/effect-Chunk.cjs.d.ts.map +1 -0
- package/Chunk/dist/effect-Chunk.cjs.dev.js +1183 -0
- package/Chunk/dist/effect-Chunk.cjs.js +7 -0
- package/Chunk/dist/effect-Chunk.cjs.mjs +82 -0
- package/Chunk/dist/effect-Chunk.cjs.prod.js +1183 -0
- package/Chunk/dist/effect-Chunk.esm.js +1092 -0
- package/Chunk/package.json +4 -0
- package/Clock/dist/effect-Clock.cjs.d.mts +2 -0
- package/Clock/dist/effect-Clock.cjs.d.mts.map +1 -0
- package/Clock/dist/effect-Clock.cjs.d.ts +2 -0
- package/Clock/dist/effect-Clock.cjs.d.ts.map +1 -0
- package/Clock/dist/effect-Clock.cjs.dev.js +127 -0
- package/Clock/dist/effect-Clock.cjs.js +7 -0
- package/Clock/dist/effect-Clock.cjs.mjs +9 -0
- package/Clock/dist/effect-Clock.cjs.prod.js +127 -0
- package/Clock/dist/effect-Clock.esm.js +78 -0
- package/Clock/package.json +4 -0
- package/Config/dist/effect-Config.cjs.d.mts +2 -0
- package/Config/dist/effect-Config.cjs.d.mts.map +1 -0
- package/Config/dist/effect-Config.cjs.d.ts +2 -0
- package/Config/dist/effect-Config.cjs.d.ts.map +1 -0
- package/Config/dist/effect-Config.cjs.dev.js +391 -0
- package/Config/dist/effect-Config.cjs.js +7 -0
- package/Config/dist/effect-Config.cjs.mjs +35 -0
- package/Config/dist/effect-Config.cjs.prod.js +391 -0
- package/Config/dist/effect-Config.esm.js +321 -0
- package/Config/package.json +4 -0
- package/ConfigError/dist/effect-ConfigError.cjs.d.mts +2 -0
- package/ConfigError/dist/effect-ConfigError.cjs.d.mts.map +1 -0
- package/ConfigError/dist/effect-ConfigError.cjs.d.ts +2 -0
- package/ConfigError/dist/effect-ConfigError.cjs.d.ts.map +1 -0
- package/ConfigError/dist/effect-ConfigError.cjs.dev.js +223 -0
- package/ConfigError/dist/effect-ConfigError.cjs.js +7 -0
- package/ConfigError/dist/effect-ConfigError.cjs.mjs +19 -0
- package/ConfigError/dist/effect-ConfigError.cjs.prod.js +223 -0
- package/ConfigError/dist/effect-ConfigError.esm.js +185 -0
- package/ConfigError/package.json +4 -0
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.d.mts +2 -0
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.d.mts.map +1 -0
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.d.ts +2 -0
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.d.ts.map +1 -0
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.dev.js +256 -0
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.js +7 -0
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.mjs +20 -0
- package/ConfigProvider/dist/effect-ConfigProvider.cjs.prod.js +256 -0
- package/ConfigProvider/dist/effect-ConfigProvider.esm.js +198 -0
- package/ConfigProvider/package.json +4 -0
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.d.mts +2 -0
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.d.mts.map +1 -0
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.d.ts +2 -0
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.d.ts.map +1 -0
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.dev.js +99 -0
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.js +7 -0
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.mjs +7 -0
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.cjs.prod.js +99 -0
- package/ConfigProviderPathPatch/dist/effect-ConfigProviderPathPatch.esm.js +70 -0
- package/ConfigProviderPathPatch/package.json +4 -0
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.d.mts +2 -0
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.d.mts.map +1 -0
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.d.ts +2 -0
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.d.ts.map +1 -0
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.dev.js +92 -0
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.js +7 -0
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.mjs +9 -0
- package/ConfigSecret/dist/effect-ConfigSecret.cjs.prod.js +92 -0
- package/ConfigSecret/dist/effect-ConfigSecret.esm.js +63 -0
- package/ConfigSecret/package.json +4 -0
- package/Console/dist/effect-Console.cjs.d.mts +2 -0
- package/Console/dist/effect-Console.cjs.d.mts.map +1 -0
- package/Console/dist/effect-Console.cjs.d.ts +2 -0
- package/Console/dist/effect-Console.cjs.d.ts.map +1 -0
- package/Console/dist/effect-Console.cjs.dev.js +322 -0
- package/Console/dist/effect-Console.cjs.js +7 -0
- package/Console/dist/effect-Console.cjs.mjs +24 -0
- package/Console/dist/effect-Console.cjs.prod.js +322 -0
- package/Console/dist/effect-Console.esm.js +154 -0
- package/Console/package.json +4 -0
- package/Context/dist/effect-Context.cjs.d.mts +2 -0
- package/Context/dist/effect-Context.cjs.d.mts.map +1 -0
- package/Context/dist/effect-Context.cjs.d.ts +2 -0
- package/Context/dist/effect-Context.cjs.d.ts.map +1 -0
- package/Context/dist/effect-Context.cjs.dev.js +321 -0
- package/Context/dist/effect-Context.cjs.js +7 -0
- package/Context/dist/effect-Context.cjs.mjs +15 -0
- package/Context/dist/effect-Context.cjs.prod.js +321 -0
- package/Context/dist/effect-Context.esm.js +295 -0
- package/Context/package.json +4 -0
- package/Data/dist/effect-Data.cjs.d.mts +2 -0
- package/Data/dist/effect-Data.cjs.d.mts.map +1 -0
- package/Data/dist/effect-Data.cjs.d.ts +2 -0
- package/Data/dist/effect-Data.cjs.d.ts.map +1 -0
- package/Data/dist/effect-Data.cjs.dev.js +318 -0
- package/Data/dist/effect-Data.cjs.js +7 -0
- package/Data/dist/effect-Data.cjs.mjs +15 -0
- package/Data/dist/effect-Data.cjs.prod.js +318 -0
- package/Data/dist/effect-Data.esm.js +217 -0
- package/Data/package.json +4 -0
- package/DefaultServices/dist/effect-DefaultServices.cjs.d.mts +2 -0
- package/DefaultServices/dist/effect-DefaultServices.cjs.d.mts.map +1 -0
- package/DefaultServices/dist/effect-DefaultServices.cjs.d.ts +2 -0
- package/DefaultServices/dist/effect-DefaultServices.cjs.d.ts.map +1 -0
- package/DefaultServices/dist/effect-DefaultServices.cjs.dev.js +69 -0
- package/DefaultServices/dist/effect-DefaultServices.cjs.js +7 -0
- package/DefaultServices/dist/effect-DefaultServices.cjs.mjs +4 -0
- package/DefaultServices/dist/effect-DefaultServices.cjs.prod.js +69 -0
- package/DefaultServices/dist/effect-DefaultServices.esm.js +24 -0
- package/DefaultServices/package.json +4 -0
- package/Deferred/dist/effect-Deferred.cjs.d.mts +2 -0
- package/Deferred/dist/effect-Deferred.cjs.d.mts.map +1 -0
- package/Deferred/dist/effect-Deferred.cjs.d.ts +2 -0
- package/Deferred/dist/effect-Deferred.cjs.d.ts.map +1 -0
- package/Deferred/dist/effect-Deferred.cjs.dev.js +259 -0
- package/Deferred/dist/effect-Deferred.cjs.js +7 -0
- package/Deferred/dist/effect-Deferred.cjs.mjs +23 -0
- package/Deferred/dist/effect-Deferred.cjs.prod.js +259 -0
- package/Deferred/dist/effect-Deferred.esm.js +206 -0
- package/Deferred/package.json +4 -0
- package/Differ/dist/effect-Differ.cjs.d.mts +2 -0
- package/Differ/dist/effect-Differ.cjs.d.mts.map +1 -0
- package/Differ/dist/effect-Differ.cjs.d.ts +2 -0
- package/Differ/dist/effect-Differ.cjs.d.ts.map +1 -0
- package/Differ/dist/effect-Differ.cjs.dev.js +990 -0
- package/Differ/dist/effect-Differ.cjs.js +7 -0
- package/Differ/dist/effect-Differ.cjs.mjs +17 -0
- package/Differ/dist/effect-Differ.cjs.prod.js +990 -0
- package/Differ/dist/effect-Differ.esm.js +137 -0
- package/Differ/package.json +4 -0
- package/Duration/dist/effect-Duration.cjs.d.mts +2 -0
- package/Duration/dist/effect-Duration.cjs.d.mts.map +1 -0
- package/Duration/dist/effect-Duration.cjs.d.ts +2 -0
- package/Duration/dist/effect-Duration.cjs.d.ts.map +1 -0
- package/Duration/dist/effect-Duration.cjs.dev.js +479 -0
- package/Duration/dist/effect-Duration.cjs.js +7 -0
- package/Duration/dist/effect-Duration.cjs.mjs +34 -0
- package/Duration/dist/effect-Duration.cjs.prod.js +479 -0
- package/Duration/dist/effect-Duration.esm.js +438 -0
- package/Duration/package.json +4 -0
- package/Effect/dist/effect-Effect.cjs.d.mts +2 -0
- package/Effect/dist/effect-Effect.cjs.d.mts.map +1 -0
- package/Effect/dist/effect-Effect.cjs.d.ts +2 -0
- package/Effect/dist/effect-Effect.cjs.d.ts.map +1 -0
- package/Effect/dist/effect-Effect.cjs.dev.js +3402 -0
- package/Effect/dist/effect-Effect.cjs.js +7 -0
- package/Effect/dist/effect-Effect.cjs.mjs +312 -0
- package/Effect/dist/effect-Effect.cjs.prod.js +3402 -0
- package/Effect/dist/effect-Effect.esm.js +3014 -0
- package/Effect/package.json +4 -0
- package/Effectable/dist/effect-Effectable.cjs.d.mts +2 -0
- package/Effectable/dist/effect-Effectable.cjs.d.mts.map +1 -0
- package/Effectable/dist/effect-Effectable.cjs.d.ts +2 -0
- package/Effectable/dist/effect-Effectable.cjs.d.ts.map +1 -0
- package/Effectable/dist/effect-Effectable.cjs.dev.js +106 -0
- package/Effectable/dist/effect-Effectable.cjs.js +7 -0
- package/Effectable/dist/effect-Effectable.cjs.mjs +11 -0
- package/Effectable/dist/effect-Effectable.cjs.prod.js +106 -0
- package/Effectable/dist/effect-Effectable.esm.js +87 -0
- package/Effectable/package.json +4 -0
- package/Either/dist/effect-Either.cjs.d.mts +2 -0
- package/Either/dist/effect-Either.cjs.d.mts.map +1 -0
- package/Either/dist/effect-Either.cjs.d.ts +2 -0
- package/Either/dist/effect-Either.cjs.d.ts.map +1 -0
- package/Either/dist/effect-Either.cjs.dev.js +493 -0
- package/Either/dist/effect-Either.cjs.js +7 -0
- package/Either/dist/effect-Either.cjs.mjs +31 -0
- package/Either/dist/effect-Either.cjs.prod.js +493 -0
- package/Either/dist/effect-Either.esm.js +454 -0
- package/Either/package.json +4 -0
- package/Encoding/dist/effect-Encoding.cjs.d.mts +2 -0
- package/Encoding/dist/effect-Encoding.cjs.d.mts.map +1 -0
- package/Encoding/dist/effect-Encoding.cjs.d.ts +2 -0
- package/Encoding/dist/effect-Encoding.cjs.d.ts.map +1 -0
- package/Encoding/dist/effect-Encoding.cjs.dev.js +306 -0
- package/Encoding/dist/effect-Encoding.cjs.js +7 -0
- package/Encoding/dist/effect-Encoding.cjs.mjs +14 -0
- package/Encoding/dist/effect-Encoding.cjs.prod.js +306 -0
- package/Encoding/dist/effect-Encoding.esm.js +123 -0
- package/Encoding/package.json +4 -0
- package/Equal/dist/effect-Equal.cjs.d.mts +2 -0
- package/Equal/dist/effect-Equal.cjs.d.mts.map +1 -0
- package/Equal/dist/effect-Equal.cjs.d.ts +2 -0
- package/Equal/dist/effect-Equal.cjs.d.ts.map +1 -0
- package/Equal/dist/effect-Equal.cjs.dev.js +68 -0
- package/Equal/dist/effect-Equal.cjs.js +7 -0
- package/Equal/dist/effect-Equal.cjs.mjs +6 -0
- package/Equal/dist/effect-Equal.cjs.prod.js +68 -0
- package/Equal/dist/effect-Equal.esm.js +57 -0
- package/Equal/package.json +4 -0
- package/Equivalence/dist/effect-Equivalence.cjs.d.mts +2 -0
- package/Equivalence/dist/effect-Equivalence.cjs.d.mts.map +1 -0
- package/Equivalence/dist/effect-Equivalence.cjs.d.ts +2 -0
- package/Equivalence/dist/effect-Equivalence.cjs.d.ts.map +1 -0
- package/Equivalence/dist/effect-Equivalence.cjs.dev.js +217 -0
- package/Equivalence/dist/effect-Equivalence.cjs.js +7 -0
- package/Equivalence/dist/effect-Equivalence.cjs.mjs +20 -0
- package/Equivalence/dist/effect-Equivalence.cjs.prod.js +217 -0
- package/Equivalence/dist/effect-Equivalence.esm.js +196 -0
- package/Equivalence/package.json +4 -0
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.d.mts +2 -0
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.d.mts.map +1 -0
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.d.ts +2 -0
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.d.ts.map +1 -0
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.dev.js +16 -0
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.js +7 -0
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.mjs +9 -0
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.cjs.prod.js +16 -0
- package/ExecutionStrategy/dist/effect-ExecutionStrategy.esm.js +99 -0
- package/ExecutionStrategy/package.json +4 -0
- package/Exit/dist/effect-Exit.cjs.d.mts +2 -0
- package/Exit/dist/effect-Exit.cjs.d.mts.map +1 -0
- package/Exit/dist/effect-Exit.cjs.d.ts +2 -0
- package/Exit/dist/effect-Exit.cjs.d.ts.map +1 -0
- package/Exit/dist/effect-Exit.cjs.dev.js +400 -0
- package/Exit/dist/effect-Exit.cjs.js +7 -0
- package/Exit/dist/effect-Exit.cjs.mjs +37 -0
- package/Exit/dist/effect-Exit.cjs.prod.js +400 -0
- package/Exit/dist/effect-Exit.esm.js +332 -0
- package/Exit/package.json +4 -0
- package/Fiber/dist/effect-Fiber.cjs.d.mts +2 -0
- package/Fiber/dist/effect-Fiber.cjs.d.mts.map +1 -0
- package/Fiber/dist/effect-Fiber.cjs.d.ts +2 -0
- package/Fiber/dist/effect-Fiber.cjs.d.ts.map +1 -0
- package/Fiber/dist/effect-Fiber.cjs.dev.js +544 -0
- package/Fiber/dist/effect-Fiber.cjs.js +7 -0
- package/Fiber/dist/effect-Fiber.cjs.mjs +48 -0
- package/Fiber/dist/effect-Fiber.cjs.prod.js +544 -0
- package/Fiber/dist/effect-Fiber.esm.js +423 -0
- package/Fiber/package.json +4 -0
- package/FiberId/dist/effect-FiberId.cjs.d.mts +2 -0
- package/FiberId/dist/effect-FiberId.cjs.d.mts.map +1 -0
- package/FiberId/dist/effect-FiberId.cjs.d.ts +2 -0
- package/FiberId/dist/effect-FiberId.cjs.d.ts.map +1 -0
- package/FiberId/dist/effect-FiberId.cjs.dev.js +43 -0
- package/FiberId/dist/effect-FiberId.cjs.js +7 -0
- package/FiberId/dist/effect-FiberId.cjs.mjs +19 -0
- package/FiberId/dist/effect-FiberId.cjs.prod.js +43 -0
- package/FiberId/dist/effect-FiberId.esm.js +161 -0
- package/FiberId/package.json +4 -0
- package/FiberRef/dist/effect-FiberRef.cjs.d.mts +2 -0
- package/FiberRef/dist/effect-FiberRef.cjs.d.mts.map +1 -0
- package/FiberRef/dist/effect-FiberRef.cjs.d.ts +2 -0
- package/FiberRef/dist/effect-FiberRef.cjs.d.ts.map +1 -0
- package/FiberRef/dist/effect-FiberRef.cjs.dev.js +400 -0
- package/FiberRef/dist/effect-FiberRef.cjs.js +7 -0
- package/FiberRef/dist/effect-FiberRef.cjs.mjs +46 -0
- package/FiberRef/dist/effect-FiberRef.cjs.prod.js +400 -0
- package/FiberRef/dist/effect-FiberRef.esm.js +283 -0
- package/FiberRef/package.json +4 -0
- package/FiberRefs/dist/effect-FiberRefs.cjs.d.mts +2 -0
- package/FiberRefs/dist/effect-FiberRefs.cjs.d.mts.map +1 -0
- package/FiberRefs/dist/effect-FiberRefs.cjs.d.ts +2 -0
- package/FiberRefs/dist/effect-FiberRefs.cjs.d.ts.map +1 -0
- package/FiberRefs/dist/effect-FiberRefs.cjs.dev.js +152 -0
- package/FiberRefs/dist/effect-FiberRefs.cjs.js +7 -0
- package/FiberRefs/dist/effect-FiberRefs.cjs.mjs +13 -0
- package/FiberRefs/dist/effect-FiberRefs.cjs.prod.js +152 -0
- package/FiberRefs/dist/effect-FiberRefs.esm.js +107 -0
- package/FiberRefs/package.json +4 -0
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.d.mts +2 -0
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.d.mts.map +1 -0
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.d.ts +2 -0
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.d.ts.map +1 -0
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.dev.js +115 -0
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.js +7 -0
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.mjs +6 -0
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.cjs.prod.js +115 -0
- package/FiberRefsPatch/dist/effect-FiberRefsPatch.esm.js +76 -0
- package/FiberRefsPatch/package.json +4 -0
- package/FiberStatus/dist/effect-FiberStatus.cjs.d.mts +2 -0
- package/FiberStatus/dist/effect-FiberStatus.cjs.d.mts.map +1 -0
- package/FiberStatus/dist/effect-FiberStatus.cjs.d.ts +2 -0
- package/FiberStatus/dist/effect-FiberStatus.cjs.d.ts.map +1 -0
- package/FiberStatus/dist/effect-FiberStatus.cjs.dev.js +189 -0
- package/FiberStatus/dist/effect-FiberStatus.cjs.js +7 -0
- package/FiberStatus/dist/effect-FiberStatus.cjs.mjs +10 -0
- package/FiberStatus/dist/effect-FiberStatus.cjs.prod.js +189 -0
- package/FiberStatus/dist/effect-FiberStatus.esm.js +89 -0
- package/FiberStatus/package.json +4 -0
- package/Function/dist/effect-Function.cjs.d.mts +2 -0
- package/Function/dist/effect-Function.cjs.d.mts.map +1 -0
- package/Function/dist/effect-Function.cjs.d.ts +2 -0
- package/Function/dist/effect-Function.cjs.d.ts.map +1 -0
- package/Function/dist/effect-Function.cjs.dev.js +515 -0
- package/Function/dist/effect-Function.cjs.js +7 -0
- package/Function/dist/effect-Function.cjs.mjs +22 -0
- package/Function/dist/effect-Function.cjs.prod.js +515 -0
- package/Function/dist/effect-Function.esm.js +492 -0
- package/Function/package.json +4 -0
- package/GlobalValue/dist/effect-GlobalValue.cjs.d.mts +2 -0
- package/GlobalValue/dist/effect-GlobalValue.cjs.d.mts.map +1 -0
- package/GlobalValue/dist/effect-GlobalValue.cjs.d.ts +2 -0
- package/GlobalValue/dist/effect-GlobalValue.cjs.d.ts.map +1 -0
- package/GlobalValue/dist/effect-GlobalValue.cjs.dev.js +24 -0
- package/GlobalValue/dist/effect-GlobalValue.cjs.js +7 -0
- package/GlobalValue/dist/effect-GlobalValue.cjs.mjs +3 -0
- package/GlobalValue/dist/effect-GlobalValue.cjs.prod.js +24 -0
- package/GlobalValue/dist/effect-GlobalValue.esm.js +20 -0
- package/GlobalValue/package.json +4 -0
- package/GroupBy/dist/effect-GroupBy.cjs.d.mts +2 -0
- package/GroupBy/dist/effect-GroupBy.cjs.d.mts.map +1 -0
- package/GroupBy/dist/effect-GroupBy.cjs.d.ts +2 -0
- package/GroupBy/dist/effect-GroupBy.cjs.d.ts.map +1 -0
- package/GroupBy/dist/effect-GroupBy.cjs.dev.js +177 -0
- package/GroupBy/dist/effect-GroupBy.cjs.js +7 -0
- package/GroupBy/dist/effect-GroupBy.cjs.mjs +7 -0
- package/GroupBy/dist/effect-GroupBy.cjs.prod.js +177 -0
- package/GroupBy/dist/effect-GroupBy.esm.js +63 -0
- package/GroupBy/package.json +4 -0
- package/HKT/dist/effect-HKT.cjs.d.mts +2 -0
- package/HKT/dist/effect-HKT.cjs.d.mts.map +1 -0
- package/HKT/dist/effect-HKT.cjs.d.ts +2 -0
- package/HKT/dist/effect-HKT.cjs.d.ts.map +1 -0
- package/HKT/dist/effect-HKT.cjs.dev.js +2 -0
- package/HKT/dist/effect-HKT.cjs.js +7 -0
- package/HKT/dist/effect-HKT.cjs.mjs +1 -0
- package/HKT/dist/effect-HKT.cjs.prod.js +2 -0
- package/HKT/dist/effect-HKT.esm.js +1 -0
- package/HKT/package.json +4 -0
- package/Hash/dist/effect-Hash.cjs.d.mts +2 -0
- package/Hash/dist/effect-Hash.cjs.d.mts.map +1 -0
- package/Hash/dist/effect-Hash.cjs.d.ts +2 -0
- package/Hash/dist/effect-Hash.cjs.d.ts.map +1 -0
- package/Hash/dist/effect-Hash.cjs.dev.js +179 -0
- package/Hash/dist/effect-Hash.cjs.js +7 -0
- package/Hash/dist/effect-Hash.cjs.mjs +13 -0
- package/Hash/dist/effect-Hash.cjs.prod.js +179 -0
- package/Hash/dist/effect-Hash.esm.js +164 -0
- package/Hash/package.json +4 -0
- package/HashMap/dist/effect-HashMap.cjs.d.mts +2 -0
- package/HashMap/dist/effect-HashMap.cjs.d.mts.map +1 -0
- package/HashMap/dist/effect-HashMap.cjs.d.ts +2 -0
- package/HashMap/dist/effect-HashMap.cjs.d.ts.map +1 -0
- package/HashMap/dist/effect-HashMap.cjs.dev.js +341 -0
- package/HashMap/dist/effect-HashMap.cjs.js +7 -0
- package/HashMap/dist/effect-HashMap.cjs.mjs +34 -0
- package/HashMap/dist/effect-HashMap.cjs.prod.js +341 -0
- package/HashMap/dist/effect-HashMap.esm.js +287 -0
- package/HashMap/package.json +4 -0
- package/HashSet/dist/effect-HashSet.cjs.d.mts +2 -0
- package/HashSet/dist/effect-HashSet.cjs.d.mts.map +1 -0
- package/HashSet/dist/effect-HashSet.cjs.d.ts +2 -0
- package/HashSet/dist/effect-HashSet.cjs.d.ts.map +1 -0
- package/HashSet/dist/effect-HashSet.cjs.dev.js +270 -0
- package/HashSet/dist/effect-HashSet.cjs.js +7 -0
- package/HashSet/dist/effect-HashSet.cjs.mjs +27 -0
- package/HashSet/dist/effect-HashSet.cjs.prod.js +270 -0
- package/HashSet/dist/effect-HashSet.esm.js +227 -0
- package/HashSet/package.json +4 -0
- package/Inspectable/dist/effect-Inspectable.cjs.d.mts +2 -0
- package/Inspectable/dist/effect-Inspectable.cjs.d.mts.map +1 -0
- package/Inspectable/dist/effect-Inspectable.cjs.d.ts +2 -0
- package/Inspectable/dist/effect-Inspectable.cjs.d.ts.map +1 -0
- package/Inspectable/dist/effect-Inspectable.cjs.dev.js +44 -0
- package/Inspectable/dist/effect-Inspectable.cjs.js +7 -0
- package/Inspectable/dist/effect-Inspectable.cjs.mjs +5 -0
- package/Inspectable/dist/effect-Inspectable.cjs.prod.js +44 -0
- package/Inspectable/dist/effect-Inspectable.esm.js +38 -0
- package/Inspectable/package.json +4 -0
- package/KeyedPool/dist/effect-KeyedPool.cjs.d.mts +2 -0
- package/KeyedPool/dist/effect-KeyedPool.cjs.d.mts.map +1 -0
- package/KeyedPool/dist/effect-KeyedPool.cjs.d.ts +2 -0
- package/KeyedPool/dist/effect-KeyedPool.cjs.d.ts.map +1 -0
- package/KeyedPool/dist/effect-KeyedPool.cjs.dev.js +334 -0
- package/KeyedPool/dist/effect-KeyedPool.cjs.js +7 -0
- package/KeyedPool/dist/effect-KeyedPool.cjs.mjs +9 -0
- package/KeyedPool/dist/effect-KeyedPool.cjs.prod.js +334 -0
- package/KeyedPool/dist/effect-KeyedPool.esm.js +104 -0
- package/KeyedPool/package.json +4 -0
- package/Layer/dist/effect-Layer.cjs.d.mts +2 -0
- package/Layer/dist/effect-Layer.cjs.d.mts.map +1 -0
- package/Layer/dist/effect-Layer.cjs.d.ts +2 -0
- package/Layer/dist/effect-Layer.cjs.d.ts.map +1 -0
- package/Layer/dist/effect-Layer.cjs.dev.js +802 -0
- package/Layer/dist/effect-Layer.cjs.js +7 -0
- package/Layer/dist/effect-Layer.cjs.mjs +77 -0
- package/Layer/dist/effect-Layer.cjs.prod.js +802 -0
- package/Layer/dist/effect-Layer.esm.js +646 -0
- package/Layer/package.json +4 -0
- package/List/dist/effect-List.cjs.d.mts +2 -0
- package/List/dist/effect-List.cjs.d.mts.map +1 -0
- package/List/dist/effect-List.cjs.d.ts +2 -0
- package/List/dist/effect-List.cjs.d.ts.map +1 -0
- package/List/dist/effect-List.cjs.dev.js +879 -0
- package/List/dist/effect-List.cjs.js +7 -0
- package/List/dist/effect-List.cjs.mjs +48 -0
- package/List/dist/effect-List.cjs.prod.js +879 -0
- package/List/dist/effect-List.esm.js +822 -0
- package/List/package.json +4 -0
- package/LogLevel/dist/effect-LogLevel.cjs.d.mts +2 -0
- package/LogLevel/dist/effect-LogLevel.cjs.d.mts.map +1 -0
- package/LogLevel/dist/effect-LogLevel.cjs.d.ts +2 -0
- package/LogLevel/dist/effect-LogLevel.cjs.d.ts.map +1 -0
- package/LogLevel/dist/effect-LogLevel.cjs.dev.js +249 -0
- package/LogLevel/dist/effect-LogLevel.cjs.js +7 -0
- package/LogLevel/dist/effect-LogLevel.cjs.mjs +18 -0
- package/LogLevel/dist/effect-LogLevel.cjs.prod.js +249 -0
- package/LogLevel/dist/effect-LogLevel.esm.js +202 -0
- package/LogLevel/package.json +4 -0
- package/LogSpan/dist/effect-LogSpan.cjs.d.mts +2 -0
- package/LogSpan/dist/effect-LogSpan.cjs.d.mts.map +1 -0
- package/LogSpan/dist/effect-LogSpan.cjs.d.ts +2 -0
- package/LogSpan/dist/effect-LogSpan.cjs.d.ts.map +1 -0
- package/LogSpan/dist/effect-LogSpan.cjs.dev.js +41 -0
- package/LogSpan/dist/effect-LogSpan.cjs.js +7 -0
- package/LogSpan/dist/effect-LogSpan.cjs.mjs +4 -0
- package/LogSpan/dist/effect-LogSpan.cjs.prod.js +41 -0
- package/LogSpan/dist/effect-LogSpan.esm.js +24 -0
- package/LogSpan/package.json +4 -0
- package/Logger/dist/effect-Logger.cjs.d.mts +2 -0
- package/Logger/dist/effect-Logger.cjs.d.mts.map +1 -0
- package/Logger/dist/effect-Logger.cjs.d.ts +2 -0
- package/Logger/dist/effect-Logger.cjs.d.ts.map +1 -0
- package/Logger/dist/effect-Logger.cjs.dev.js +314 -0
- package/Logger/dist/effect-Logger.cjs.js +7 -0
- package/Logger/dist/effect-Logger.cjs.mjs +29 -0
- package/Logger/dist/effect-Logger.cjs.prod.js +314 -0
- package/Logger/dist/effect-Logger.esm.js +193 -0
- package/Logger/package.json +4 -0
- package/Match/dist/effect-Match.cjs.d.mts +2 -0
- package/Match/dist/effect-Match.cjs.d.mts.map +1 -0
- package/Match/dist/effect-Match.cjs.d.ts +2 -0
- package/Match/dist/effect-Match.cjs.d.ts.map +1 -0
- package/Match/dist/effect-Match.cjs.dev.js +619 -0
- package/Match/dist/effect-Match.cjs.js +7 -0
- package/Match/dist/effect-Match.cjs.mjs +39 -0
- package/Match/dist/effect-Match.cjs.prod.js +619 -0
- package/Match/dist/effect-Match.esm.js +258 -0
- package/Match/package.json +4 -0
- package/Metric/dist/effect-Metric.cjs.d.mts +2 -0
- package/Metric/dist/effect-Metric.cjs.d.mts.map +1 -0
- package/Metric/dist/effect-Metric.cjs.d.ts +2 -0
- package/Metric/dist/effect-Metric.cjs.d.ts.map +1 -0
- package/Metric/dist/effect-Metric.cjs.dev.js +592 -0
- package/Metric/dist/effect-Metric.cjs.js +7 -0
- package/Metric/dist/effect-Metric.cjs.mjs +46 -0
- package/Metric/dist/effect-Metric.cjs.prod.js +592 -0
- package/Metric/dist/effect-Metric.esm.js +477 -0
- package/Metric/package.json +4 -0
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.d.mts +2 -0
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.d.mts.map +1 -0
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.d.ts +2 -0
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.d.ts.map +1 -0
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.dev.js +79 -0
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.js +7 -0
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.mjs +7 -0
- package/MetricBoundaries/dist/effect-MetricBoundaries.cjs.prod.js +79 -0
- package/MetricBoundaries/dist/effect-MetricBoundaries.esm.js +52 -0
- package/MetricBoundaries/package.json +4 -0
- package/MetricHook/dist/effect-MetricHook.cjs.d.mts +2 -0
- package/MetricHook/dist/effect-MetricHook.cjs.d.mts.map +1 -0
- package/MetricHook/dist/effect-MetricHook.cjs.d.ts +2 -0
- package/MetricHook/dist/effect-MetricHook.cjs.d.ts.map +1 -0
- package/MetricHook/dist/effect-MetricHook.cjs.dev.js +104 -0
- package/MetricHook/dist/effect-MetricHook.cjs.js +7 -0
- package/MetricHook/dist/effect-MetricHook.cjs.mjs +10 -0
- package/MetricHook/dist/effect-MetricHook.cjs.prod.js +104 -0
- package/MetricHook/dist/effect-MetricHook.esm.js +68 -0
- package/MetricHook/package.json +4 -0
- package/MetricKey/dist/effect-MetricKey.cjs.d.mts +2 -0
- package/MetricKey/dist/effect-MetricKey.cjs.d.mts.map +1 -0
- package/MetricKey/dist/effect-MetricKey.cjs.d.ts +2 -0
- package/MetricKey/dist/effect-MetricKey.cjs.d.ts.map +1 -0
- package/MetricKey/dist/effect-MetricKey.cjs.dev.js +137 -0
- package/MetricKey/dist/effect-MetricKey.cjs.js +7 -0
- package/MetricKey/dist/effect-MetricKey.cjs.mjs +12 -0
- package/MetricKey/dist/effect-MetricKey.cjs.prod.js +137 -0
- package/MetricKey/dist/effect-MetricKey.esm.js +104 -0
- package/MetricKey/package.json +4 -0
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.d.mts +2 -0
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.d.mts.map +1 -0
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.d.ts +2 -0
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.d.ts.map +1 -0
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.dev.js +182 -0
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.js +7 -0
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.mjs +19 -0
- package/MetricKeyType/dist/effect-MetricKeyType.cjs.prod.js +182 -0
- package/MetricKeyType/dist/effect-MetricKeyType.esm.js +147 -0
- package/MetricKeyType/package.json +4 -0
- package/MetricLabel/dist/effect-MetricLabel.cjs.d.mts +2 -0
- package/MetricLabel/dist/effect-MetricLabel.cjs.d.mts.map +1 -0
- package/MetricLabel/dist/effect-MetricLabel.cjs.d.ts +2 -0
- package/MetricLabel/dist/effect-MetricLabel.cjs.d.ts.map +1 -0
- package/MetricLabel/dist/effect-MetricLabel.cjs.dev.js +54 -0
- package/MetricLabel/dist/effect-MetricLabel.cjs.js +7 -0
- package/MetricLabel/dist/effect-MetricLabel.cjs.mjs +5 -0
- package/MetricLabel/dist/effect-MetricLabel.cjs.prod.js +54 -0
- package/MetricLabel/dist/effect-MetricLabel.esm.js +41 -0
- package/MetricLabel/package.json +4 -0
- package/MetricPair/dist/effect-MetricPair.cjs.d.mts +2 -0
- package/MetricPair/dist/effect-MetricPair.cjs.d.mts.map +1 -0
- package/MetricPair/dist/effect-MetricPair.cjs.d.ts +2 -0
- package/MetricPair/dist/effect-MetricPair.cjs.d.ts.map +1 -0
- package/MetricPair/dist/effect-MetricPair.cjs.dev.js +45 -0
- package/MetricPair/dist/effect-MetricPair.cjs.js +7 -0
- package/MetricPair/dist/effect-MetricPair.cjs.mjs +5 -0
- package/MetricPair/dist/effect-MetricPair.cjs.prod.js +45 -0
- package/MetricPair/dist/effect-MetricPair.esm.js +38 -0
- package/MetricPair/package.json +4 -0
- package/MetricPolling/dist/effect-MetricPolling.cjs.d.mts +2 -0
- package/MetricPolling/dist/effect-MetricPolling.cjs.d.mts.map +1 -0
- package/MetricPolling/dist/effect-MetricPolling.cjs.d.ts +2 -0
- package/MetricPolling/dist/effect-MetricPolling.cjs.d.ts.map +1 -0
- package/MetricPolling/dist/effect-MetricPolling.cjs.dev.js +236 -0
- package/MetricPolling/dist/effect-MetricPolling.cjs.js +7 -0
- package/MetricPolling/dist/effect-MetricPolling.cjs.mjs +10 -0
- package/MetricPolling/dist/effect-MetricPolling.cjs.prod.js +236 -0
- package/MetricPolling/dist/effect-MetricPolling.esm.js +84 -0
- package/MetricPolling/package.json +4 -0
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.d.mts +2 -0
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.d.mts.map +1 -0
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.d.ts +2 -0
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.d.ts.map +1 -0
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.dev.js +64 -0
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.js +7 -0
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.mjs +4 -0
- package/MetricRegistry/dist/effect-MetricRegistry.cjs.prod.js +64 -0
- package/MetricRegistry/dist/effect-MetricRegistry.esm.js +28 -0
- package/MetricRegistry/package.json +4 -0
- package/MetricState/dist/effect-MetricState.cjs.d.mts +2 -0
- package/MetricState/dist/effect-MetricState.cjs.d.mts.map +1 -0
- package/MetricState/dist/effect-MetricState.cjs.d.ts +2 -0
- package/MetricState/dist/effect-MetricState.cjs.d.ts.map +1 -0
- package/MetricState/dist/effect-MetricState.cjs.dev.js +178 -0
- package/MetricState/dist/effect-MetricState.cjs.js +7 -0
- package/MetricState/dist/effect-MetricState.cjs.mjs +19 -0
- package/MetricState/dist/effect-MetricState.cjs.prod.js +178 -0
- package/MetricState/dist/effect-MetricState.esm.js +151 -0
- package/MetricState/package.json +4 -0
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.d.mts +2 -0
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.d.mts.map +1 -0
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.d.ts +2 -0
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.d.ts.map +1 -0
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.dev.js +153 -0
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.js +7 -0
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.mjs +12 -0
- package/MutableHashMap/dist/effect-MutableHashMap.cjs.prod.js +153 -0
- package/MutableHashMap/dist/effect-MutableHashMap.esm.js +128 -0
- package/MutableHashMap/package.json +4 -0
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.d.mts +2 -0
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.d.mts.map +1 -0
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.d.ts +2 -0
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.d.ts.map +1 -0
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.dev.js +115 -0
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.js +7 -0
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.mjs +9 -0
- package/MutableHashSet/dist/effect-MutableHashSet.cjs.prod.js +115 -0
- package/MutableHashSet/dist/effect-MutableHashSet.esm.js +90 -0
- package/MutableHashSet/package.json +4 -0
- package/MutableList/dist/effect-MutableList.cjs.d.mts +2 -0
- package/MutableList/dist/effect-MutableList.cjs.d.mts.map +1 -0
- package/MutableList/dist/effect-MutableList.cjs.d.ts +2 -0
- package/MutableList/dist/effect-MutableList.cjs.d.ts.map +1 -0
- package/MutableList/dist/effect-MutableList.cjs.dev.js +280 -0
- package/MutableList/dist/effect-MutableList.cjs.js +7 -0
- package/MutableList/dist/effect-MutableList.cjs.mjs +15 -0
- package/MutableList/dist/effect-MutableList.cjs.prod.js +280 -0
- package/MutableList/dist/effect-MutableList.esm.js +264 -0
- package/MutableList/package.json +4 -0
- package/MutableQueue/dist/effect-MutableQueue.cjs.d.mts +2 -0
- package/MutableQueue/dist/effect-MutableQueue.cjs.d.mts.map +1 -0
- package/MutableQueue/dist/effect-MutableQueue.cjs.d.ts +2 -0
- package/MutableQueue/dist/effect-MutableQueue.cjs.d.ts.map +1 -0
- package/MutableQueue/dist/effect-MutableQueue.cjs.dev.js +216 -0
- package/MutableQueue/dist/effect-MutableQueue.cjs.js +7 -0
- package/MutableQueue/dist/effect-MutableQueue.cjs.mjs +13 -0
- package/MutableQueue/dist/effect-MutableQueue.cjs.prod.js +216 -0
- package/MutableQueue/dist/effect-MutableQueue.esm.js +187 -0
- package/MutableQueue/package.json +4 -0
- package/MutableRef/dist/effect-MutableRef.cjs.d.mts +2 -0
- package/MutableRef/dist/effect-MutableRef.cjs.d.mts.map +1 -0
- package/MutableRef/dist/effect-MutableRef.cjs.d.ts +2 -0
- package/MutableRef/dist/effect-MutableRef.cjs.d.ts.map +1 -0
- package/MutableRef/dist/effect-MutableRef.cjs.dev.js +179 -0
- package/MutableRef/dist/effect-MutableRef.cjs.js +7 -0
- package/MutableRef/dist/effect-MutableRef.cjs.mjs +18 -0
- package/MutableRef/dist/effect-MutableRef.cjs.prod.js +179 -0
- package/MutableRef/dist/effect-MutableRef.esm.js +156 -0
- package/MutableRef/package.json +4 -0
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.d.mts +2 -0
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.d.mts.map +1 -0
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.d.ts +2 -0
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.d.ts.map +1 -0
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.dev.js +32 -0
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.js +7 -0
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.mjs +3 -0
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.cjs.prod.js +32 -0
- package/NonEmptyIterable/dist/effect-NonEmptyIterable.esm.js +28 -0
- package/NonEmptyIterable/package.json +4 -0
- package/Number/dist/effect-Number.cjs.d.mts +2 -0
- package/Number/dist/effect-Number.cjs.d.mts.map +1 -0
- package/Number/dist/effect-Number.cjs.d.ts +2 -0
- package/Number/dist/effect-Number.cjs.d.ts.map +1 -0
- package/Number/dist/effect-Number.cjs.dev.js +422 -0
- package/Number/dist/effect-Number.cjs.js +7 -0
- package/Number/dist/effect-Number.cjs.mjs +24 -0
- package/Number/dist/effect-Number.cjs.prod.js +422 -0
- package/Number/dist/effect-Number.esm.js +390 -0
- package/Number/package.json +4 -0
- package/Option/dist/effect-Option.cjs.d.mts +2 -0
- package/Option/dist/effect-Option.cjs.d.mts.map +1 -0
- package/Option/dist/effect-Option.cjs.d.ts +2 -0
- package/Option/dist/effect-Option.cjs.d.ts.map +1 -0
- package/Option/dist/effect-Option.cjs.dev.js +1054 -0
- package/Option/dist/effect-Option.cjs.js +7 -0
- package/Option/dist/effect-Option.cjs.mjs +57 -0
- package/Option/dist/effect-Option.cjs.prod.js +1054 -0
- package/Option/dist/effect-Option.esm.js +990 -0
- package/Option/package.json +4 -0
- package/Order/dist/effect-Order.cjs.d.mts +2 -0
- package/Order/dist/effect-Order.cjs.d.mts.map +1 -0
- package/Order/dist/effect-Order.cjs.d.ts +2 -0
- package/Order/dist/effect-Order.cjs.d.ts.map +1 -0
- package/Order/dist/effect-Order.cjs.dev.js +292 -0
- package/Order/dist/effect-Order.cjs.js +7 -0
- package/Order/dist/effect-Order.cjs.mjs +28 -0
- package/Order/dist/effect-Order.cjs.prod.js +292 -0
- package/Order/dist/effect-Order.esm.js +263 -0
- package/Order/package.json +4 -0
- package/Ordering/dist/effect-Ordering.cjs.d.mts +2 -0
- package/Ordering/dist/effect-Ordering.cjs.d.mts.map +1 -0
- package/Ordering/dist/effect-Ordering.cjs.d.ts +2 -0
- package/Ordering/dist/effect-Ordering.cjs.d.ts.map +1 -0
- package/Ordering/dist/effect-Ordering.cjs.dev.js +96 -0
- package/Ordering/dist/effect-Ordering.cjs.js +7 -0
- package/Ordering/dist/effect-Ordering.cjs.mjs +7 -0
- package/Ordering/dist/effect-Ordering.cjs.prod.js +96 -0
- package/Ordering/dist/effect-Ordering.esm.js +88 -0
- package/Ordering/package.json +4 -0
- package/Pipeable/dist/effect-Pipeable.cjs.d.mts +2 -0
- package/Pipeable/dist/effect-Pipeable.cjs.d.mts.map +1 -0
- package/Pipeable/dist/effect-Pipeable.cjs.d.ts +2 -0
- package/Pipeable/dist/effect-Pipeable.cjs.d.ts.map +1 -0
- package/Pipeable/dist/effect-Pipeable.cjs.dev.js +48 -0
- package/Pipeable/dist/effect-Pipeable.cjs.js +7 -0
- package/Pipeable/dist/effect-Pipeable.cjs.mjs +3 -0
- package/Pipeable/dist/effect-Pipeable.cjs.prod.js +48 -0
- package/Pipeable/dist/effect-Pipeable.esm.js +44 -0
- package/Pipeable/package.json +4 -0
- package/Pool/dist/effect-Pool.cjs.d.mts +2 -0
- package/Pool/dist/effect-Pool.cjs.d.mts.map +1 -0
- package/Pool/dist/effect-Pool.cjs.d.ts +2 -0
- package/Pool/dist/effect-Pool.cjs.d.ts.map +1 -0
- package/Pool/dist/effect-Pool.cjs.dev.js +186 -0
- package/Pool/dist/effect-Pool.cjs.js +7 -0
- package/Pool/dist/effect-Pool.cjs.mjs +8 -0
- package/Pool/dist/effect-Pool.cjs.prod.js +186 -0
- package/Pool/dist/effect-Pool.esm.js +104 -0
- package/Pool/package.json +4 -0
- package/Predicate/dist/effect-Predicate.cjs.d.mts +2 -0
- package/Predicate/dist/effect-Predicate.cjs.d.mts.map +1 -0
- package/Predicate/dist/effect-Predicate.cjs.d.ts +2 -0
- package/Predicate/dist/effect-Predicate.cjs.d.ts.map +1 -0
- package/Predicate/dist/effect-Predicate.cjs.dev.js +676 -0
- package/Predicate/dist/effect-Predicate.cjs.js +7 -0
- package/Predicate/dist/effect-Predicate.cjs.mjs +41 -0
- package/Predicate/dist/effect-Predicate.cjs.prod.js +676 -0
- package/Predicate/dist/effect-Predicate.esm.js +634 -0
- package/Predicate/package.json +4 -0
- package/PubSub/dist/effect-PubSub.cjs.d.mts +2 -0
- package/PubSub/dist/effect-PubSub.cjs.d.mts.map +1 -0
- package/PubSub/dist/effect-PubSub.cjs.d.ts +2 -0
- package/PubSub/dist/effect-PubSub.cjs.d.ts.map +1 -0
- package/PubSub/dist/effect-PubSub.cjs.dev.js +1326 -0
- package/PubSub/dist/effect-PubSub.cjs.js +7 -0
- package/PubSub/dist/effect-PubSub.cjs.mjs +16 -0
- package/PubSub/dist/effect-PubSub.cjs.prod.js +1326 -0
- package/PubSub/dist/effect-PubSub.esm.js +148 -0
- package/PubSub/package.json +4 -0
- package/Queue/dist/effect-Queue.cjs.d.mts +2 -0
- package/Queue/dist/effect-Queue.cjs.d.mts.map +1 -0
- package/Queue/dist/effect-Queue.cjs.d.ts +2 -0
- package/Queue/dist/effect-Queue.cjs.d.ts.map +1 -0
- package/Queue/dist/effect-Queue.cjs.dev.js +433 -0
- package/Queue/dist/effect-Queue.cjs.js +7 -0
- package/Queue/dist/effect-Queue.cjs.mjs +32 -0
- package/Queue/dist/effect-Queue.cjs.prod.js +433 -0
- package/Queue/dist/effect-Queue.esm.js +328 -0
- package/Queue/package.json +4 -0
- package/README.md +48 -14
- package/Random/dist/effect-Random.cjs.d.mts +2 -0
- package/Random/dist/effect-Random.cjs.d.mts.map +1 -0
- package/Random/dist/effect-Random.cjs.d.ts +2 -0
- package/Random/dist/effect-Random.cjs.d.ts.map +1 -0
- package/Random/dist/effect-Random.cjs.dev.js +133 -0
- package/Random/dist/effect-Random.cjs.js +7 -0
- package/Random/dist/effect-Random.cjs.mjs +10 -0
- package/Random/dist/effect-Random.cjs.prod.js +133 -0
- package/Random/dist/effect-Random.esm.js +83 -0
- package/Random/package.json +4 -0
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.d.mts +2 -0
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.d.mts.map +1 -0
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.d.ts +2 -0
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.d.ts.map +1 -0
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.dev.js +1592 -0
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.js +7 -0
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.mjs +137 -0
- package/ReadonlyArray/dist/effect-ReadonlyArray.cjs.prod.js +1592 -0
- package/ReadonlyArray/dist/effect-ReadonlyArray.esm.js +1445 -0
- package/ReadonlyArray/package.json +4 -0
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.d.mts +2 -0
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.d.mts.map +1 -0
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.d.ts +2 -0
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.d.ts.map +1 -0
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.dev.js +798 -0
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.js +7 -0
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.mjs +37 -0
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.cjs.prod.js +798 -0
- package/ReadonlyRecord/dist/effect-ReadonlyRecord.esm.js +749 -0
- package/ReadonlyRecord/package.json +4 -0
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.d.mts +2 -0
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.d.mts.map +1 -0
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.d.ts +2 -0
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.d.ts.map +1 -0
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.dev.js +1642 -0
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.js +7 -0
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.mjs +37 -0
- package/RedBlackTree/dist/effect-RedBlackTree.cjs.prod.js +1642 -0
- package/RedBlackTree/dist/effect-RedBlackTree.esm.js +314 -0
- package/RedBlackTree/package.json +4 -0
- package/Ref/dist/effect-Ref.cjs.d.mts +2 -0
- package/Ref/dist/effect-Ref.cjs.d.mts.map +1 -0
- package/Ref/dist/effect-Ref.cjs.d.ts +2 -0
- package/Ref/dist/effect-Ref.cjs.d.ts.map +1 -0
- package/Ref/dist/effect-Ref.cjs.dev.js +54 -0
- package/Ref/dist/effect-Ref.cjs.js +7 -0
- package/Ref/dist/effect-Ref.cjs.mjs +17 -0
- package/Ref/dist/effect-Ref.cjs.prod.js +54 -0
- package/Ref/dist/effect-Ref.esm.js +111 -0
- package/Ref/package.json +4 -0
- package/Reloadable/dist/effect-Reloadable.cjs.d.mts +2 -0
- package/Reloadable/dist/effect-Reloadable.cjs.d.mts.map +1 -0
- package/Reloadable/dist/effect-Reloadable.cjs.d.ts +2 -0
- package/Reloadable/dist/effect-Reloadable.cjs.d.ts.map +1 -0
- package/Reloadable/dist/effect-Reloadable.cjs.dev.js +232 -0
- package/Reloadable/dist/effect-Reloadable.cjs.js +7 -0
- package/Reloadable/dist/effect-Reloadable.cjs.mjs +10 -0
- package/Reloadable/dist/effect-Reloadable.cjs.prod.js +232 -0
- package/Reloadable/dist/effect-Reloadable.esm.js +88 -0
- package/Reloadable/package.json +4 -0
- package/Request/dist/effect-Request.cjs.d.mts +2 -0
- package/Request/dist/effect-Request.cjs.d.mts.map +1 -0
- package/Request/dist/effect-Request.cjs.d.ts +2 -0
- package/Request/dist/effect-Request.cjs.d.ts.map +1 -0
- package/Request/dist/effect-Request.cjs.dev.js +244 -0
- package/Request/dist/effect-Request.cjs.js +7 -0
- package/Request/dist/effect-Request.cjs.mjs +15 -0
- package/Request/dist/effect-Request.cjs.prod.js +244 -0
- package/Request/dist/effect-Request.esm.js +160 -0
- package/Request/package.json +4 -0
- package/RequestBlock/dist/effect-RequestBlock.cjs.d.mts +2 -0
- package/RequestBlock/dist/effect-RequestBlock.cjs.d.mts.map +1 -0
- package/RequestBlock/dist/effect-RequestBlock.cjs.d.ts +2 -0
- package/RequestBlock/dist/effect-RequestBlock.cjs.d.ts.map +1 -0
- package/RequestBlock/dist/effect-RequestBlock.cjs.dev.js +199 -0
- package/RequestBlock/dist/effect-RequestBlock.cjs.js +7 -0
- package/RequestBlock/dist/effect-RequestBlock.cjs.mjs +10 -0
- package/RequestBlock/dist/effect-RequestBlock.cjs.prod.js +199 -0
- package/RequestBlock/dist/effect-RequestBlock.esm.js +103 -0
- package/RequestBlock/package.json +4 -0
- package/RequestResolver/dist/effect-RequestResolver.cjs.d.mts +2 -0
- package/RequestResolver/dist/effect-RequestResolver.cjs.d.mts.map +1 -0
- package/RequestResolver/dist/effect-RequestResolver.cjs.d.ts +2 -0
- package/RequestResolver/dist/effect-RequestResolver.cjs.d.ts.map +1 -0
- package/RequestResolver/dist/effect-RequestResolver.cjs.dev.js +296 -0
- package/RequestResolver/dist/effect-RequestResolver.cjs.js +7 -0
- package/RequestResolver/dist/effect-RequestResolver.cjs.mjs +20 -0
- package/RequestResolver/dist/effect-RequestResolver.cjs.prod.js +296 -0
- package/RequestResolver/dist/effect-RequestResolver.esm.js +191 -0
- package/RequestResolver/package.json +4 -0
- package/Resource/dist/effect-Resource.cjs.d.mts +2 -0
- package/Resource/dist/effect-Resource.cjs.d.mts.map +1 -0
- package/Resource/dist/effect-Resource.cjs.d.ts +2 -0
- package/Resource/dist/effect-Resource.cjs.d.ts.map +1 -0
- package/Resource/dist/effect-Resource.cjs.dev.js +183 -0
- package/Resource/dist/effect-Resource.cjs.js +7 -0
- package/Resource/dist/effect-Resource.cjs.mjs +7 -0
- package/Resource/dist/effect-Resource.cjs.prod.js +183 -0
- package/Resource/dist/effect-Resource.esm.js +70 -0
- package/Resource/package.json +4 -0
- package/Runtime/dist/effect-Runtime.cjs.d.mts +2 -0
- package/Runtime/dist/effect-Runtime.cjs.d.mts.map +1 -0
- package/Runtime/dist/effect-Runtime.cjs.d.ts +2 -0
- package/Runtime/dist/effect-Runtime.cjs.d.ts.map +1 -0
- package/Runtime/dist/effect-Runtime.cjs.dev.js +251 -0
- package/Runtime/dist/effect-Runtime.cjs.js +7 -0
- package/Runtime/dist/effect-Runtime.cjs.mjs +16 -0
- package/Runtime/dist/effect-Runtime.cjs.prod.js +251 -0
- package/Runtime/dist/effect-Runtime.esm.js +157 -0
- package/Runtime/package.json +4 -0
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.d.mts +2 -0
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.d.mts.map +1 -0
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.d.ts +2 -0
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.d.ts.map +1 -0
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.dev.js +424 -0
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.js +7 -0
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.mjs +37 -0
- package/RuntimeFlags/dist/effect-RuntimeFlags.cjs.prod.js +424 -0
- package/RuntimeFlags/dist/effect-RuntimeFlags.esm.js +305 -0
- package/RuntimeFlags/package.json +4 -0
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.d.mts +2 -0
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.d.mts.map +1 -0
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.d.ts +2 -0
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.d.ts.map +1 -0
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.dev.js +50 -0
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.js +7 -0
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.mjs +19 -0
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.cjs.prod.js +50 -0
- package/RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.esm.js +158 -0
- package/RuntimeFlagsPatch/package.json +4 -0
- package/STM/dist/effect-STM.cjs.d.mts +2 -0
- package/STM/dist/effect-STM.cjs.d.mts.map +1 -0
- package/STM/dist/effect-STM.cjs.d.ts +2 -0
- package/STM/dist/effect-STM.cjs.d.ts.map +1 -0
- package/STM/dist/effect-STM.cjs.dev.js +1427 -0
- package/STM/dist/effect-STM.cjs.js +7 -0
- package/STM/dist/effect-STM.cjs.mjs +126 -0
- package/STM/dist/effect-STM.cjs.prod.js +1427 -0
- package/STM/dist/effect-STM.esm.js +1193 -0
- package/STM/package.json +4 -0
- package/Schedule/dist/effect-Schedule.cjs.d.mts +2 -0
- package/Schedule/dist/effect-Schedule.cjs.d.mts.map +1 -0
- package/Schedule/dist/effect-Schedule.cjs.d.ts +2 -0
- package/Schedule/dist/effect-Schedule.cjs.d.ts.map +1 -0
- package/Schedule/dist/effect-Schedule.cjs.dev.js +1113 -0
- package/Schedule/dist/effect-Schedule.cjs.js +7 -0
- package/Schedule/dist/effect-Schedule.cjs.mjs +100 -0
- package/Schedule/dist/effect-Schedule.cjs.prod.js +1113 -0
- package/Schedule/dist/effect-Schedule.esm.js +957 -0
- package/Schedule/package.json +4 -0
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.d.mts +2 -0
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.d.mts.map +1 -0
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.d.ts +2 -0
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.d.ts.map +1 -0
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.dev.js +118 -0
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.js +7 -0
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.mjs +7 -0
- package/ScheduleDecision/dist/effect-ScheduleDecision.cjs.prod.js +118 -0
- package/ScheduleDecision/dist/effect-ScheduleDecision.esm.js +48 -0
- package/ScheduleDecision/package.json +4 -0
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.d.mts +2 -0
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.d.mts.map +1 -0
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.d.ts +2 -0
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.d.ts.map +1 -0
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.dev.js +240 -0
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.js +7 -0
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.mjs +15 -0
- package/ScheduleInterval/dist/effect-ScheduleInterval.cjs.prod.js +240 -0
- package/ScheduleInterval/dist/effect-ScheduleInterval.esm.js +130 -0
- package/ScheduleInterval/package.json +4 -0
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.d.mts +2 -0
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.d.mts.map +1 -0
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.d.ts +2 -0
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.d.ts.map +1 -0
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.dev.js +268 -0
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.js +7 -0
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.mjs +13 -0
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.cjs.prod.js +268 -0
- package/ScheduleIntervals/dist/effect-ScheduleIntervals.esm.js +105 -0
- package/ScheduleIntervals/package.json +4 -0
- package/Scheduler/dist/effect-Scheduler.cjs.d.mts +2 -0
- package/Scheduler/dist/effect-Scheduler.cjs.d.mts.map +1 -0
- package/Scheduler/dist/effect-Scheduler.cjs.d.ts +2 -0
- package/Scheduler/dist/effect-Scheduler.cjs.d.ts.map +1 -0
- package/Scheduler/dist/effect-Scheduler.cjs.dev.js +370 -0
- package/Scheduler/dist/effect-Scheduler.cjs.js +7 -0
- package/Scheduler/dist/effect-Scheduler.cjs.mjs +15 -0
- package/Scheduler/dist/effect-Scheduler.cjs.prod.js +370 -0
- package/Scheduler/dist/effect-Scheduler.esm.js +326 -0
- package/Scheduler/package.json +4 -0
- package/Scope/dist/effect-Scope.cjs.d.mts +2 -0
- package/Scope/dist/effect-Scope.cjs.d.mts.map +1 -0
- package/Scope/dist/effect-Scope.cjs.d.ts +2 -0
- package/Scope/dist/effect-Scope.cjs.d.ts.map +1 -0
- package/Scope/dist/effect-Scope.cjs.dev.js +198 -0
- package/Scope/dist/effect-Scope.cjs.js +7 -0
- package/Scope/dist/effect-Scope.cjs.mjs +12 -0
- package/Scope/dist/effect-Scope.cjs.prod.js +198 -0
- package/Scope/dist/effect-Scope.esm.js +117 -0
- package/Scope/package.json +4 -0
- package/ScopedCache/dist/effect-ScopedCache.cjs.d.mts +2 -0
- package/ScopedCache/dist/effect-ScopedCache.cjs.d.mts.map +1 -0
- package/ScopedCache/dist/effect-ScopedCache.cjs.d.ts +2 -0
- package/ScopedCache/dist/effect-ScopedCache.cjs.d.ts.map +1 -0
- package/ScopedCache/dist/effect-ScopedCache.cjs.dev.js +533 -0
- package/ScopedCache/dist/effect-ScopedCache.cjs.js +7 -0
- package/ScopedCache/dist/effect-ScopedCache.cjs.mjs +5 -0
- package/ScopedCache/dist/effect-ScopedCache.cjs.prod.js +533 -0
- package/ScopedCache/dist/effect-ScopedCache.esm.js +52 -0
- package/ScopedCache/package.json +4 -0
- package/ScopedRef/dist/effect-ScopedRef.cjs.d.mts +2 -0
- package/ScopedRef/dist/effect-ScopedRef.cjs.d.mts.map +1 -0
- package/ScopedRef/dist/effect-ScopedRef.cjs.d.ts +2 -0
- package/ScopedRef/dist/effect-ScopedRef.cjs.d.ts.map +1 -0
- package/ScopedRef/dist/effect-ScopedRef.cjs.dev.js +156 -0
- package/ScopedRef/dist/effect-ScopedRef.cjs.js +7 -0
- package/ScopedRef/dist/effect-ScopedRef.cjs.mjs +7 -0
- package/ScopedRef/dist/effect-ScopedRef.cjs.prod.js +156 -0
- package/ScopedRef/dist/effect-ScopedRef.esm.js +71 -0
- package/ScopedRef/package.json +4 -0
- package/Sink/dist/effect-Sink.cjs.d.mts +2 -0
- package/Sink/dist/effect-Sink.cjs.d.mts.map +1 -0
- package/Sink/dist/effect-Sink.cjs.d.ts +2 -0
- package/Sink/dist/effect-Sink.cjs.d.ts.map +1 -0
- package/Sink/dist/effect-Sink.cjs.dev.js +1205 -0
- package/Sink/dist/effect-Sink.cjs.js +7 -0
- package/Sink/dist/effect-Sink.cjs.mjs +108 -0
- package/Sink/dist/effect-Sink.cjs.prod.js +1205 -0
- package/Sink/dist/effect-Sink.esm.js +997 -0
- package/Sink/package.json +4 -0
- package/SortedMap/dist/effect-SortedMap.cjs.d.mts +2 -0
- package/SortedMap/dist/effect-SortedMap.cjs.d.mts.map +1 -0
- package/SortedMap/dist/effect-SortedMap.cjs.d.ts +2 -0
- package/SortedMap/dist/effect-SortedMap.cjs.d.ts.map +1 -0
- package/SortedMap/dist/effect-SortedMap.cjs.dev.js +202 -0
- package/SortedMap/dist/effect-SortedMap.cjs.js +7 -0
- package/SortedMap/dist/effect-SortedMap.cjs.mjs +20 -0
- package/SortedMap/dist/effect-SortedMap.cjs.prod.js +202 -0
- package/SortedMap/dist/effect-SortedMap.esm.js +168 -0
- package/SortedMap/package.json +4 -0
- package/SortedSet/dist/effect-SortedSet.cjs.d.mts +2 -0
- package/SortedSet/dist/effect-SortedSet.cjs.d.mts.map +1 -0
- package/SortedSet/dist/effect-SortedSet.cjs.d.ts +2 -0
- package/SortedSet/dist/effect-SortedSet.cjs.d.ts.map +1 -0
- package/SortedSet/dist/effect-SortedSet.cjs.dev.js +301 -0
- package/SortedSet/dist/effect-SortedSet.cjs.js +7 -0
- package/SortedSet/dist/effect-SortedSet.cjs.mjs +23 -0
- package/SortedSet/dist/effect-SortedSet.cjs.prod.js +301 -0
- package/SortedSet/dist/effect-SortedSet.esm.js +263 -0
- package/SortedSet/package.json +4 -0
- package/Stream/dist/effect-Stream.cjs.d.mts +2 -0
- package/Stream/dist/effect-Stream.cjs.d.mts.map +1 -0
- package/Stream/dist/effect-Stream.cjs.d.ts +2 -0
- package/Stream/dist/effect-Stream.cjs.d.ts.map +1 -0
- package/Stream/dist/effect-Stream.cjs.dev.js +3279 -0
- package/Stream/dist/effect-Stream.cjs.js +7 -0
- package/Stream/dist/effect-Stream.cjs.mjs +294 -0
- package/Stream/dist/effect-Stream.cjs.prod.js +3279 -0
- package/Stream/dist/effect-Stream.esm.js +2879 -0
- package/Stream/package.json +4 -0
- package/StreamEmit/dist/effect-StreamEmit.cjs.d.mts +2 -0
- package/StreamEmit/dist/effect-StreamEmit.cjs.d.mts.map +1 -0
- package/StreamEmit/dist/effect-StreamEmit.cjs.d.ts +2 -0
- package/StreamEmit/dist/effect-StreamEmit.cjs.d.ts.map +1 -0
- package/StreamEmit/dist/effect-StreamEmit.cjs.dev.js +2 -0
- package/StreamEmit/dist/effect-StreamEmit.cjs.js +7 -0
- package/StreamEmit/dist/effect-StreamEmit.cjs.mjs +1 -0
- package/StreamEmit/dist/effect-StreamEmit.cjs.prod.js +2 -0
- package/StreamEmit/dist/effect-StreamEmit.esm.js +1 -0
- package/StreamEmit/package.json +4 -0
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.d.mts +2 -0
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.d.mts.map +1 -0
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.d.ts +2 -0
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.d.ts.map +1 -0
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.dev.js +19 -0
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.js +7 -0
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.mjs +12 -0
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.cjs.prod.js +19 -0
- package/StreamHaltStrategy/dist/effect-StreamHaltStrategy.esm.js +97 -0
- package/StreamHaltStrategy/package.json +4 -0
- package/Streamable/dist/effect-Streamable.cjs.d.mts +2 -0
- package/Streamable/dist/effect-Streamable.cjs.d.mts.map +1 -0
- package/Streamable/dist/effect-Streamable.cjs.d.ts +2 -0
- package/Streamable/dist/effect-Streamable.cjs.d.ts.map +1 -0
- package/Streamable/dist/effect-Streamable.cjs.dev.js +152 -0
- package/Streamable/dist/effect-Streamable.cjs.js +7 -0
- package/Streamable/dist/effect-Streamable.cjs.mjs +3 -0
- package/Streamable/dist/effect-Streamable.cjs.prod.js +152 -0
- package/Streamable/dist/effect-Streamable.esm.js +42 -0
- package/Streamable/package.json +4 -0
- package/String/dist/effect-String.cjs.d.mts +2 -0
- package/String/dist/effect-String.cjs.d.mts.map +1 -0
- package/String/dist/effect-String.cjs.d.ts +2 -0
- package/String/dist/effect-String.cjs.d.ts.map +1 -0
- package/String/dist/effect-String.cjs.dev.js +656 -0
- package/String/dist/effect-String.cjs.js +7 -0
- package/String/dist/effect-String.cjs.mjs +46 -0
- package/String/dist/effect-String.cjs.prod.js +656 -0
- package/String/dist/effect-String.esm.js +600 -0
- package/String/package.json +4 -0
- package/Struct/dist/effect-Struct.cjs.d.mts +2 -0
- package/Struct/dist/effect-Struct.cjs.d.mts.map +1 -0
- package/Struct/dist/effect-Struct.cjs.d.ts +2 -0
- package/Struct/dist/effect-Struct.cjs.d.ts.map +1 -0
- package/Struct/dist/effect-Struct.cjs.dev.js +133 -0
- package/Struct/dist/effect-Struct.cjs.js +7 -0
- package/Struct/dist/effect-Struct.cjs.mjs +7 -0
- package/Struct/dist/effect-Struct.cjs.prod.js +133 -0
- package/Struct/dist/effect-Struct.esm.js +125 -0
- package/Struct/package.json +4 -0
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.d.mts +2 -0
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.d.mts.map +1 -0
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.d.ts +2 -0
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.d.ts.map +1 -0
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.dev.js +343 -0
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.js +7 -0
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.mjs +24 -0
- package/SubscriptionRef/dist/effect-SubscriptionRef.cjs.prod.js +343 -0
- package/SubscriptionRef/dist/effect-SubscriptionRef.esm.js +160 -0
- package/SubscriptionRef/package.json +4 -0
- package/Supervisor/dist/effect-Supervisor.cjs.d.mts +2 -0
- package/Supervisor/dist/effect-Supervisor.cjs.d.mts.map +1 -0
- package/Supervisor/dist/effect-Supervisor.cjs.d.ts +2 -0
- package/Supervisor/dist/effect-Supervisor.cjs.d.ts.map +1 -0
- package/Supervisor/dist/effect-Supervisor.cjs.dev.js +239 -0
- package/Supervisor/dist/effect-Supervisor.cjs.js +7 -0
- package/Supervisor/dist/effect-Supervisor.cjs.mjs +10 -0
- package/Supervisor/dist/effect-Supervisor.cjs.prod.js +239 -0
- package/Supervisor/dist/effect-Supervisor.esm.js +148 -0
- package/Supervisor/package.json +4 -0
- package/Symbol/dist/effect-Symbol.cjs.d.mts +2 -0
- package/Symbol/dist/effect-Symbol.cjs.d.mts.map +1 -0
- package/Symbol/dist/effect-Symbol.cjs.d.ts +2 -0
- package/Symbol/dist/effect-Symbol.cjs.d.ts.map +1 -0
- package/Symbol/dist/effect-Symbol.cjs.dev.js +36 -0
- package/Symbol/dist/effect-Symbol.cjs.js +7 -0
- package/Symbol/dist/effect-Symbol.cjs.mjs +4 -0
- package/Symbol/dist/effect-Symbol.cjs.prod.js +36 -0
- package/Symbol/dist/effect-Symbol.esm.js +30 -0
- package/Symbol/package.json +4 -0
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.d.mts +2 -0
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.d.mts.map +1 -0
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.d.ts +2 -0
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.d.ts.map +1 -0
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.dev.js +260 -0
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.js +7 -0
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.mjs +25 -0
- package/SynchronizedRef/dist/effect-SynchronizedRef.cjs.prod.js +260 -0
- package/SynchronizedRef/dist/effect-SynchronizedRef.esm.js +160 -0
- package/SynchronizedRef/package.json +4 -0
- package/TArray/dist/effect-TArray.cjs.d.mts +2 -0
- package/TArray/dist/effect-TArray.cjs.d.mts.map +1 -0
- package/TArray/dist/effect-TArray.cjs.d.ts +2 -0
- package/TArray/dist/effect-TArray.cjs.d.ts.map +1 -0
- package/TArray/dist/effect-TArray.cjs.dev.js +523 -0
- package/TArray/dist/effect-TArray.cjs.js +7 -0
- package/TArray/dist/effect-TArray.cjs.mjs +43 -0
- package/TArray/dist/effect-TArray.cjs.prod.js +523 -0
- package/TArray/dist/effect-TArray.esm.js +367 -0
- package/TArray/package.json +4 -0
- package/TDeferred/dist/effect-TDeferred.cjs.d.mts +2 -0
- package/TDeferred/dist/effect-TDeferred.cjs.d.mts.map +1 -0
- package/TDeferred/dist/effect-TDeferred.cjs.d.ts +2 -0
- package/TDeferred/dist/effect-TDeferred.cjs.d.ts.map +1 -0
- package/TDeferred/dist/effect-TDeferred.cjs.dev.js +225 -0
- package/TDeferred/dist/effect-TDeferred.cjs.js +7 -0
- package/TDeferred/dist/effect-TDeferred.cjs.mjs +9 -0
- package/TDeferred/dist/effect-TDeferred.cjs.prod.js +225 -0
- package/TDeferred/dist/effect-TDeferred.esm.js +63 -0
- package/TDeferred/package.json +4 -0
- package/TMap/dist/effect-TMap.cjs.d.mts +2 -0
- package/TMap/dist/effect-TMap.cjs.d.mts.map +1 -0
- package/TMap/dist/effect-TMap.cjs.d.ts +2 -0
- package/TMap/dist/effect-TMap.cjs.d.ts.map +1 -0
- package/TMap/dist/effect-TMap.cjs.dev.js +532 -0
- package/TMap/dist/effect-TMap.cjs.js +7 -0
- package/TMap/dist/effect-TMap.cjs.mjs +44 -0
- package/TMap/dist/effect-TMap.cjs.prod.js +532 -0
- package/TMap/dist/effect-TMap.esm.js +373 -0
- package/TMap/package.json +4 -0
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.d.mts +2 -0
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.d.mts.map +1 -0
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.d.ts +2 -0
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.d.ts.map +1 -0
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.dev.js +465 -0
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.js +7 -0
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.mjs +21 -0
- package/TPriorityQueue/dist/effect-TPriorityQueue.cjs.prod.js +465 -0
- package/TPriorityQueue/dist/effect-TPriorityQueue.esm.js +184 -0
- package/TPriorityQueue/package.json +4 -0
- package/TPubSub/dist/effect-TPubSub.cjs.d.mts +2 -0
- package/TPubSub/dist/effect-TPubSub.cjs.d.mts.map +1 -0
- package/TPubSub/dist/effect-TPubSub.cjs.d.ts +2 -0
- package/TPubSub/dist/effect-TPubSub.cjs.d.ts.map +1 -0
- package/TPubSub/dist/effect-TPubSub.cjs.dev.js +657 -0
- package/TPubSub/dist/effect-TPubSub.cjs.js +7 -0
- package/TPubSub/dist/effect-TPubSub.cjs.mjs +17 -0
- package/TPubSub/dist/effect-TPubSub.cjs.prod.js +657 -0
- package/TPubSub/dist/effect-TPubSub.esm.js +157 -0
- package/TPubSub/package.json +4 -0
- package/TQueue/dist/effect-TQueue.cjs.d.mts +2 -0
- package/TQueue/dist/effect-TQueue.cjs.d.mts.map +1 -0
- package/TQueue/dist/effect-TQueue.cjs.d.ts +2 -0
- package/TQueue/dist/effect-TQueue.cjs.d.ts.map +1 -0
- package/TQueue/dist/effect-TQueue.cjs.dev.js +436 -0
- package/TQueue/dist/effect-TQueue.cjs.js +7 -0
- package/TQueue/dist/effect-TQueue.cjs.mjs +29 -0
- package/TQueue/dist/effect-TQueue.cjs.prod.js +436 -0
- package/TQueue/dist/effect-TQueue.esm.js +293 -0
- package/TQueue/package.json +4 -0
- package/TRandom/dist/effect-TRandom.cjs.d.mts +2 -0
- package/TRandom/dist/effect-TRandom.cjs.d.mts.map +1 -0
- package/TRandom/dist/effect-TRandom.cjs.d.ts +2 -0
- package/TRandom/dist/effect-TRandom.cjs.d.ts.map +1 -0
- package/TRandom/dist/effect-TRandom.cjs.dev.js +296 -0
- package/TRandom/dist/effect-TRandom.cjs.js +7 -0
- package/TRandom/dist/effect-TRandom.cjs.mjs +11 -0
- package/TRandom/dist/effect-TRandom.cjs.prod.js +296 -0
- package/TRandom/dist/effect-TRandom.esm.js +93 -0
- package/TRandom/package.json +4 -0
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.d.mts +2 -0
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.d.mts.map +1 -0
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.d.ts +2 -0
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.d.ts.map +1 -0
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.dev.js +537 -0
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.js +7 -0
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.mjs +21 -0
- package/TReentrantLock/dist/effect-TReentrantLock.cjs.prod.js +537 -0
- package/TReentrantLock/dist/effect-TReentrantLock.esm.js +199 -0
- package/TReentrantLock/package.json +4 -0
- package/TRef/dist/effect-TRef.cjs.d.mts +2 -0
- package/TRef/dist/effect-TRef.cjs.d.mts.map +1 -0
- package/TRef/dist/effect-TRef.cjs.d.ts +2 -0
- package/TRef/dist/effect-TRef.cjs.d.ts.map +1 -0
- package/TRef/dist/effect-TRef.cjs.dev.js +244 -0
- package/TRef/dist/effect-TRef.cjs.js +7 -0
- package/TRef/dist/effect-TRef.cjs.mjs +16 -0
- package/TRef/dist/effect-TRef.cjs.prod.js +244 -0
- package/TRef/dist/effect-TRef.esm.js +117 -0
- package/TRef/package.json +4 -0
- package/TSemaphore/dist/effect-TSemaphore.cjs.d.mts +2 -0
- package/TSemaphore/dist/effect-TSemaphore.cjs.d.mts.map +1 -0
- package/TSemaphore/dist/effect-TSemaphore.cjs.d.ts +2 -0
- package/TSemaphore/dist/effect-TSemaphore.cjs.d.ts.map +1 -0
- package/TSemaphore/dist/effect-TSemaphore.cjs.dev.js +289 -0
- package/TSemaphore/dist/effect-TSemaphore.cjs.js +7 -0
- package/TSemaphore/dist/effect-TSemaphore.cjs.mjs +14 -0
- package/TSemaphore/dist/effect-TSemaphore.cjs.prod.js +289 -0
- package/TSemaphore/dist/effect-TSemaphore.esm.js +97 -0
- package/TSemaphore/package.json +4 -0
- package/TSet/dist/effect-TSet.cjs.d.mts +2 -0
- package/TSet/dist/effect-TSet.cjs.d.mts.map +1 -0
- package/TSet/dist/effect-TSet.cjs.d.ts +2 -0
- package/TSet/dist/effect-TSet.cjs.d.ts.map +1 -0
- package/TSet/dist/effect-TSet.cjs.dev.js +521 -0
- package/TSet/dist/effect-TSet.cjs.js +7 -0
- package/TSet/dist/effect-TSet.cjs.mjs +32 -0
- package/TSet/dist/effect-TSet.cjs.prod.js +521 -0
- package/TSet/dist/effect-TSet.esm.js +268 -0
- package/TSet/package.json +4 -0
- package/Take/dist/effect-Take.cjs.d.mts +2 -0
- package/Take/dist/effect-Take.cjs.d.mts.map +1 -0
- package/Take/dist/effect-Take.cjs.d.ts +2 -0
- package/Take/dist/effect-Take.cjs.d.ts.map +1 -0
- package/Take/dist/effect-Take.cjs.dev.js +300 -0
- package/Take/dist/effect-Take.cjs.js +7 -0
- package/Take/dist/effect-Take.cjs.mjs +22 -0
- package/Take/dist/effect-Take.cjs.prod.js +300 -0
- package/Take/dist/effect-Take.esm.js +190 -0
- package/Take/package.json +4 -0
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.d.mts +2 -0
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.d.mts.map +1 -0
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.d.ts +2 -0
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.d.ts.map +1 -0
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.dev.js +140 -0
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.js +7 -0
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.mjs +11 -0
- package/TestAnnotation/dist/effect-TestAnnotation.cjs.prod.js +140 -0
- package/TestAnnotation/dist/effect-TestAnnotation.esm.js +111 -0
- package/TestAnnotation/package.json +4 -0
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.d.mts +2 -0
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.d.mts.map +1 -0
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.d.ts +2 -0
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.d.ts.map +1 -0
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.dev.js +113 -0
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.js +7 -0
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.mjs +11 -0
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.cjs.prod.js +113 -0
- package/TestAnnotationMap/dist/effect-TestAnnotationMap.esm.js +101 -0
- package/TestAnnotationMap/package.json +4 -0
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.d.mts +2 -0
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.d.mts.map +1 -0
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.d.ts +2 -0
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.d.ts.map +1 -0
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.dev.js +136 -0
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.js +7 -0
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.mjs +6 -0
- package/TestAnnotations/dist/effect-TestAnnotations.cjs.prod.js +136 -0
- package/TestAnnotations/dist/effect-TestAnnotations.esm.js +83 -0
- package/TestAnnotations/package.json +4 -0
- package/TestClock/dist/effect-TestClock.cjs.d.mts +2 -0
- package/TestClock/dist/effect-TestClock.cjs.d.mts.map +1 -0
- package/TestClock/dist/effect-TestClock.cjs.d.ts +2 -0
- package/TestClock/dist/effect-TestClock.cjs.d.ts.map +1 -0
- package/TestClock/dist/effect-TestClock.cjs.dev.js +630 -0
- package/TestClock/dist/effect-TestClock.cjs.js +7 -0
- package/TestClock/dist/effect-TestClock.cjs.mjs +16 -0
- package/TestClock/dist/effect-TestClock.cjs.prod.js +630 -0
- package/TestClock/dist/effect-TestClock.esm.js +411 -0
- package/TestClock/package.json +4 -0
- package/TestConfig/dist/effect-TestConfig.cjs.d.mts +2 -0
- package/TestConfig/dist/effect-TestConfig.cjs.d.mts.map +1 -0
- package/TestConfig/dist/effect-TestConfig.cjs.d.ts +2 -0
- package/TestConfig/dist/effect-TestConfig.cjs.d.ts.map +1 -0
- package/TestConfig/dist/effect-TestConfig.cjs.dev.js +43 -0
- package/TestConfig/dist/effect-TestConfig.cjs.js +7 -0
- package/TestConfig/dist/effect-TestConfig.cjs.mjs +4 -0
- package/TestConfig/dist/effect-TestConfig.cjs.prod.js +43 -0
- package/TestConfig/dist/effect-TestConfig.esm.js +27 -0
- package/TestConfig/package.json +4 -0
- package/TestContext/dist/effect-TestContext.cjs.d.mts +2 -0
- package/TestContext/dist/effect-TestContext.cjs.d.mts.map +1 -0
- package/TestContext/dist/effect-TestContext.cjs.d.ts +2 -0
- package/TestContext/dist/effect-TestContext.cjs.d.ts.map +1 -0
- package/TestContext/dist/effect-TestContext.cjs.dev.js +125 -0
- package/TestContext/dist/effect-TestContext.cjs.js +7 -0
- package/TestContext/dist/effect-TestContext.cjs.mjs +5 -0
- package/TestContext/dist/effect-TestContext.cjs.prod.js +125 -0
- package/TestContext/dist/effect-TestContext.esm.js +29 -0
- package/TestContext/package.json +4 -0
- package/TestLive/dist/effect-TestLive.cjs.d.mts +2 -0
- package/TestLive/dist/effect-TestLive.cjs.d.mts.map +1 -0
- package/TestLive/dist/effect-TestLive.cjs.d.ts +2 -0
- package/TestLive/dist/effect-TestLive.cjs.d.ts.map +1 -0
- package/TestLive/dist/effect-TestLive.cjs.dev.js +92 -0
- package/TestLive/dist/effect-TestLive.cjs.js +7 -0
- package/TestLive/dist/effect-TestLive.cjs.mjs +5 -0
- package/TestLive/dist/effect-TestLive.cjs.prod.js +92 -0
- package/TestLive/dist/effect-TestLive.esm.js +48 -0
- package/TestLive/package.json +4 -0
- package/TestServices/dist/effect-TestServices.cjs.d.mts +2 -0
- package/TestServices/dist/effect-TestServices.cjs.d.mts.map +1 -0
- package/TestServices/dist/effect-TestServices.cjs.d.ts +2 -0
- package/TestServices/dist/effect-TestServices.cjs.d.ts.map +1 -0
- package/TestServices/dist/effect-TestServices.cjs.dev.js +385 -0
- package/TestServices/dist/effect-TestServices.cjs.js +7 -0
- package/TestServices/dist/effect-TestServices.cjs.mjs +35 -0
- package/TestServices/dist/effect-TestServices.cjs.prod.js +385 -0
- package/TestServices/dist/effect-TestServices.esm.js +269 -0
- package/TestServices/package.json +4 -0
- package/TestSized/dist/effect-TestSized.cjs.d.mts +2 -0
- package/TestSized/dist/effect-TestSized.cjs.d.mts.map +1 -0
- package/TestSized/dist/effect-TestSized.cjs.d.ts +2 -0
- package/TestSized/dist/effect-TestSized.cjs.d.ts.map +1 -0
- package/TestSized/dist/effect-TestSized.cjs.dev.js +86 -0
- package/TestSized/dist/effect-TestSized.cjs.js +7 -0
- package/TestSized/dist/effect-TestSized.cjs.mjs +6 -0
- package/TestSized/dist/effect-TestSized.cjs.prod.js +86 -0
- package/TestSized/dist/effect-TestSized.esm.js +50 -0
- package/TestSized/package.json +4 -0
- package/Tracer/dist/effect-Tracer.cjs.d.mts +2 -0
- package/Tracer/dist/effect-Tracer.cjs.d.mts.map +1 -0
- package/Tracer/dist/effect-Tracer.cjs.d.ts +2 -0
- package/Tracer/dist/effect-Tracer.cjs.d.ts.map +1 -0
- package/Tracer/dist/effect-Tracer.cjs.dev.js +123 -0
- package/Tracer/dist/effect-Tracer.cjs.js +7 -0
- package/Tracer/dist/effect-Tracer.cjs.mjs +8 -0
- package/Tracer/dist/effect-Tracer.cjs.prod.js +123 -0
- package/Tracer/dist/effect-Tracer.esm.js +75 -0
- package/Tracer/package.json +4 -0
- package/Tuple/dist/effect-Tuple.cjs.d.mts +2 -0
- package/Tuple/dist/effect-Tuple.cjs.d.mts.map +1 -0
- package/Tuple/dist/effect-Tuple.cjs.d.ts +2 -0
- package/Tuple/dist/effect-Tuple.cjs.d.ts.map +1 -0
- package/Tuple/dist/effect-Tuple.cjs.dev.js +186 -0
- package/Tuple/dist/effect-Tuple.cjs.js +7 -0
- package/Tuple/dist/effect-Tuple.cjs.mjs +12 -0
- package/Tuple/dist/effect-Tuple.cjs.prod.js +186 -0
- package/Tuple/dist/effect-Tuple.esm.js +173 -0
- package/Tuple/package.json +4 -0
- package/Types/dist/effect-Types.cjs.d.mts +2 -0
- package/Types/dist/effect-Types.cjs.d.mts.map +1 -0
- package/Types/dist/effect-Types.cjs.d.ts +2 -0
- package/Types/dist/effect-Types.cjs.d.ts.map +1 -0
- package/Types/dist/effect-Types.cjs.dev.js +2 -0
- package/Types/dist/effect-Types.cjs.js +7 -0
- package/Types/dist/effect-Types.cjs.mjs +1 -0
- package/Types/dist/effect-Types.cjs.prod.js +2 -0
- package/Types/dist/effect-Types.esm.js +1 -0
- package/Types/package.json +4 -0
- package/Unify/dist/effect-Unify.cjs.d.mts +2 -0
- package/Unify/dist/effect-Unify.cjs.d.mts.map +1 -0
- package/Unify/dist/effect-Unify.cjs.d.ts +2 -0
- package/Unify/dist/effect-Unify.cjs.d.ts.map +1 -0
- package/Unify/dist/effect-Unify.cjs.dev.js +44 -0
- package/Unify/dist/effect-Unify.cjs.js +7 -0
- package/Unify/dist/effect-Unify.cjs.mjs +3 -0
- package/Unify/dist/effect-Unify.cjs.prod.js +44 -0
- package/Unify/dist/effect-Unify.esm.js +40 -0
- package/Unify/package.json +4 -0
- package/Utils/dist/effect-Utils.cjs.d.mts +2 -0
- package/Utils/dist/effect-Utils.cjs.d.mts.map +1 -0
- package/Utils/dist/effect-Utils.cjs.d.ts +2 -0
- package/Utils/dist/effect-Utils.cjs.d.ts.map +1 -0
- package/Utils/dist/effect-Utils.cjs.dev.js +361 -0
- package/Utils/dist/effect-Utils.cjs.js +7 -0
- package/Utils/dist/effect-Utils.cjs.mjs +8 -0
- package/Utils/dist/effect-Utils.cjs.prod.js +361 -0
- package/Utils/dist/effect-Utils.esm.js +352 -0
- package/Utils/package.json +4 -0
- package/dist/Context-607e9b4c.cjs.dev.js +222 -0
- package/dist/Context-c91d8ca0.cjs.prod.js +222 -0
- package/dist/Effectable-6a8a05f1.cjs.prod.js +234 -0
- package/dist/Effectable-71c10ab9.cjs.dev.js +234 -0
- package/dist/Either-a3f96c60.cjs.prod.js +105 -0
- package/dist/Either-e7500e90.cjs.dev.js +105 -0
- package/dist/ExecutionStrategy-4808fe5d.cjs.prod.js +168 -0
- package/dist/ExecutionStrategy-7d9d457b.cjs.dev.js +168 -0
- package/dist/FiberId-0f0b7779.cjs.prod.js +421 -0
- package/dist/FiberId-6595cf4c.cjs.dev.js +421 -0
- package/dist/HashSet-251c8294.cjs.prod.js +965 -0
- package/dist/HashSet-c12c037b.cjs.dev.js +965 -0
- package/dist/Option-01caa9d4.cjs.dev.js +81 -0
- package/dist/Option-dd52e82a.cjs.prod.js +81 -0
- package/dist/ReadonlyArray-9a1474f6.cjs.dev.js +10 -0
- package/dist/ReadonlyArray-f9ed7a05.cjs.prod.js +10 -0
- package/dist/Ref-00103de4.cjs.prod.js +262 -0
- package/dist/Ref-f990026b.cjs.dev.js +262 -0
- package/dist/RuntimeFlagsPatch-3890e860.cjs.prod.js +389 -0
- package/dist/RuntimeFlagsPatch-7d62915d.cjs.dev.js +389 -0
- package/dist/Stack-ada2d201.cjs.dev.js +11 -0
- package/dist/Stack-fc8f9fe5.cjs.prod.js +11 -0
- package/dist/StreamHaltStrategy-9a61b88d.cjs.dev.js +199 -0
- package/dist/StreamHaltStrategy-b495622b.cjs.prod.js +199 -0
- package/dist/boundaries-8dfe50cb.cjs.dev.js +54 -0
- package/dist/boundaries-ebe66d32.cjs.prod.js +54 -0
- package/dist/cache-0b148e42.cjs.prod.js +523 -0
- package/dist/cache-d709d5cb.cjs.dev.js +523 -0
- package/dist/childExecutorDecision-2eed6e25.cjs.dev.js +98 -0
- package/dist/childExecutorDecision-b5842db5.cjs.prod.js +98 -0
- package/dist/circular-5b6f6504.cjs.prod.js +108 -0
- package/dist/circular-6d2bb353.cjs.dev.js +108 -0
- package/dist/circular-952618e5.cjs.prod.js +341 -0
- package/dist/circular-aa705e70.cjs.dev.js +341 -0
- package/dist/config-8a7bf1ae.cjs.dev.js +474 -0
- package/dist/config-f0bd27af.cjs.prod.js +474 -0
- package/dist/configError-0c09b93c.cjs.dev.js +323 -0
- package/dist/configError-9021016b.cjs.prod.js +323 -0
- package/dist/configProvider-3d85d4ef.cjs.dev.js +447 -0
- package/dist/configProvider-ae007b10.cjs.prod.js +447 -0
- package/dist/configSecret-0bdfadd8.cjs.prod.js +74 -0
- package/dist/configSecret-938818ad.cjs.dev.js +74 -0
- package/dist/core-473934ce.cjs.prod.js +3572 -0
- package/dist/core-b4bf44d3.cjs.dev.js +3572 -0
- package/dist/core-d3f4e713.cjs.prod.js +1072 -0
- package/dist/core-dd1edd7a.cjs.dev.js +1072 -0
- package/dist/core-effect-6666f2dc.cjs.prod.js +1039 -0
- package/dist/core-effect-f4b1aad8.cjs.dev.js +1039 -0
- package/dist/dataSource-9f78e828.cjs.dev.js +74 -0
- package/dist/dataSource-d5d7f338.cjs.prod.js +74 -0
- package/dist/declarations/src/BigInt.d.ts +461 -0
- package/dist/declarations/src/BigInt.d.ts.map +1 -0
- package/dist/declarations/src/Boolean.d.ts +229 -0
- package/dist/declarations/src/Boolean.d.ts.map +1 -0
- package/dist/declarations/src/Brand.d.ts +230 -0
- package/dist/declarations/src/Brand.d.ts.map +1 -0
- package/dist/declarations/src/Cache.d.ts +218 -0
- package/dist/declarations/src/Cache.d.ts.map +1 -0
- package/dist/declarations/src/Cause.d.ts +718 -0
- package/dist/declarations/src/Cause.d.ts.map +1 -0
- package/dist/declarations/src/Channel.d.ts +1177 -0
- package/dist/declarations/src/Channel.d.ts.map +1 -0
- package/dist/declarations/src/ChannelChildExecutorDecision.d.ts +123 -0
- package/dist/declarations/src/ChannelChildExecutorDecision.d.ts.map +1 -0
- package/dist/declarations/src/ChannelMergeDecision.d.ts +77 -0
- package/dist/declarations/src/ChannelMergeDecision.d.ts.map +1 -0
- package/dist/declarations/src/ChannelMergeState.d.ts +122 -0
- package/dist/declarations/src/ChannelMergeState.d.ts.map +1 -0
- package/dist/declarations/src/ChannelMergeStrategy.d.ts +92 -0
- package/dist/declarations/src/ChannelMergeStrategy.d.ts.map +1 -0
- package/dist/declarations/src/ChannelSingleProducerAsyncInput.d.ts +57 -0
- package/dist/declarations/src/ChannelSingleProducerAsyncInput.d.ts.map +1 -0
- package/dist/declarations/src/ChannelUpstreamPullRequest.d.ts +96 -0
- package/dist/declarations/src/ChannelUpstreamPullRequest.d.ts.map +1 -0
- package/dist/declarations/src/ChannelUpstreamPullStrategy.d.ts +97 -0
- package/dist/declarations/src/ChannelUpstreamPullStrategy.d.ts.map +1 -0
- package/dist/declarations/src/Chunk.d.ts +754 -0
- package/dist/declarations/src/Chunk.d.ts.map +1 -0
- package/dist/declarations/src/Clock.d.ts +97 -0
- package/dist/declarations/src/Clock.d.ts.map +1 -0
- package/dist/declarations/src/Config.d.ts +388 -0
- package/dist/declarations/src/Config.d.ts.map +1 -0
- package/dist/declarations/src/ConfigError.d.ts +219 -0
- package/dist/declarations/src/ConfigError.d.ts.map +1 -0
- package/dist/declarations/src/ConfigProvider.d.ts +256 -0
- package/dist/declarations/src/ConfigProvider.d.ts.map +1 -0
- package/dist/declarations/src/ConfigProviderPathPatch.d.ts +86 -0
- package/dist/declarations/src/ConfigProviderPathPatch.d.ts.map +1 -0
- package/dist/declarations/src/ConfigSecret.d.ts +64 -0
- package/dist/declarations/src/ConfigSecret.d.ts.map +1 -0
- package/dist/declarations/src/Console.d.ts +196 -0
- package/dist/declarations/src/Console.d.ts.map +1 -0
- package/dist/declarations/src/Context.d.ts +339 -0
- package/dist/declarations/src/Context.d.ts.map +1 -0
- package/dist/declarations/src/Data.d.ts +248 -0
- package/dist/declarations/src/Data.d.ts.map +1 -0
- package/dist/declarations/src/DefaultServices.d.ts +26 -0
- package/dist/declarations/src/DefaultServices.d.ts.map +1 -0
- package/dist/declarations/src/Deferred.d.ts +247 -0
- package/dist/declarations/src/Deferred.d.ts.map +1 -0
- package/dist/declarations/src/Differ.d.ts +308 -0
- package/dist/declarations/src/Differ.d.ts.map +1 -0
- package/dist/declarations/src/Duration.d.ts +265 -0
- package/dist/declarations/src/Duration.d.ts.map +1 -0
- package/dist/declarations/src/Effect.d.ts +3735 -0
- package/dist/declarations/src/Effect.d.ts.map +1 -0
- package/dist/declarations/src/Effectable.d.ts +93 -0
- package/dist/declarations/src/Effectable.d.ts.map +1 -0
- package/dist/declarations/src/Either.d.ts +453 -0
- package/dist/declarations/src/Either.d.ts.map +1 -0
- package/dist/declarations/src/Encoding.d.ts +110 -0
- package/dist/declarations/src/Encoding.d.ts.map +1 -0
- package/dist/declarations/src/Equal.d.ts +34 -0
- package/dist/declarations/src/Equal.d.ts.map +1 -0
- package/dist/declarations/src/Equivalence.d.ts +134 -0
- package/dist/declarations/src/Equivalence.d.ts.map +1 -0
- package/dist/declarations/src/ExecutionStrategy.d.ts +100 -0
- package/dist/declarations/src/ExecutionStrategy.d.ts.map +1 -0
- package/dist/declarations/src/Exit.d.ts +406 -0
- package/dist/declarations/src/Exit.d.ts.map +1 -0
- package/dist/declarations/src/Fiber.d.ts +569 -0
- package/dist/declarations/src/Fiber.d.ts.map +1 -0
- package/dist/declarations/src/FiberId.d.ts +165 -0
- package/dist/declarations/src/FiberId.d.ts.map +1 -0
- package/dist/declarations/src/FiberRef.d.ts +307 -0
- package/dist/declarations/src/FiberRef.d.ts.map +1 -0
- package/dist/declarations/src/FiberRefs.d.ts +138 -0
- package/dist/declarations/src/FiberRefs.d.ts.map +1 -0
- package/dist/declarations/src/FiberRefsPatch.d.ts +95 -0
- package/dist/declarations/src/FiberRefsPatch.d.ts.map +1 -0
- package/dist/declarations/src/FiberStatus.d.ts +94 -0
- package/dist/declarations/src/FiberStatus.d.ts.map +1 -0
- package/dist/declarations/src/Function.d.ts +371 -0
- package/dist/declarations/src/Function.d.ts.map +1 -0
- package/dist/declarations/src/GlobalValue.d.ts +5 -0
- package/dist/declarations/src/GlobalValue.d.ts.map +1 -0
- package/dist/declarations/src/GroupBy.d.ts +86 -0
- package/dist/declarations/src/GroupBy.d.ts.map +1 -0
- package/dist/declarations/src/HKT.d.ts +40 -0
- package/dist/declarations/src/HKT.d.ts.map +1 -0
- package/dist/declarations/src/Hash.d.ts +63 -0
- package/dist/declarations/src/Hash.d.ts.map +1 -0
- package/dist/declarations/src/HashMap.d.ts +361 -0
- package/dist/declarations/src/HashMap.d.ts.map +1 -0
- package/dist/declarations/src/HashSet.d.ts +267 -0
- package/dist/declarations/src/HashSet.d.ts.map +1 -0
- package/dist/declarations/src/Inspectable.d.ts +31 -0
- package/dist/declarations/src/Inspectable.d.ts.map +1 -0
- package/dist/declarations/src/KeyedPool.d.ts +147 -0
- package/dist/declarations/src/KeyedPool.d.ts.map +1 -0
- package/dist/declarations/src/Layer.d.ts +747 -0
- package/dist/declarations/src/Layer.d.ts.map +1 -0
- package/dist/declarations/src/List.d.ts +478 -0
- package/dist/declarations/src/List.d.ts.map +1 -0
- package/dist/declarations/src/LogLevel.d.ts +203 -0
- package/dist/declarations/src/LogLevel.d.ts.map +1 -0
- package/dist/declarations/src/LogSpan.d.ts +19 -0
- package/dist/declarations/src/LogSpan.d.ts.map +1 -0
- package/dist/declarations/src/Logger.d.ts +238 -0
- package/dist/declarations/src/Logger.d.ts.map +1 -0
- package/dist/declarations/src/Match.d.ts +420 -0
- package/dist/declarations/src/Match.d.ts.map +1 -0
- package/dist/declarations/src/Metric.d.ts +595 -0
- package/dist/declarations/src/Metric.d.ts.map +1 -0
- package/dist/declarations/src/MetricBoundaries.d.ts +59 -0
- package/dist/declarations/src/MetricBoundaries.d.ts.map +1 -0
- package/dist/declarations/src/MetricHook.d.ts +120 -0
- package/dist/declarations/src/MetricHook.d.ts.map +1 -0
- package/dist/declarations/src/MetricKey.d.ts +182 -0
- package/dist/declarations/src/MetricKey.d.ts.map +1 -0
- package/dist/declarations/src/MetricKeyType.d.ts +221 -0
- package/dist/declarations/src/MetricKeyType.d.ts.map +1 -0
- package/dist/declarations/src/MetricLabel.d.ts +42 -0
- package/dist/declarations/src/MetricLabel.d.ts.map +1 -0
- package/dist/declarations/src/MetricPair.d.ts +53 -0
- package/dist/declarations/src/MetricPair.d.ts.map +1 -0
- package/dist/declarations/src/MetricPolling.d.ts +99 -0
- package/dist/declarations/src/MetricPolling.d.ts.map +1 -0
- package/dist/declarations/src/MetricRegistry.d.ts +38 -0
- package/dist/declarations/src/MetricRegistry.d.ts.map +1 -0
- package/dist/declarations/src/MetricState.d.ts +223 -0
- package/dist/declarations/src/MetricState.d.ts.map +1 -0
- package/dist/declarations/src/MutableHashMap.d.ts +87 -0
- package/dist/declarations/src/MutableHashMap.d.ts.map +1 -0
- package/dist/declarations/src/MutableHashSet.d.ts +61 -0
- package/dist/declarations/src/MutableHashSet.d.ts.map +1 -0
- package/dist/declarations/src/MutableList.d.ts +114 -0
- package/dist/declarations/src/MutableList.d.ts.map +1 -0
- package/dist/declarations/src/MutableQueue.d.ts +127 -0
- package/dist/declarations/src/MutableQueue.d.ts.map +1 -0
- package/dist/declarations/src/MutableRef.d.ts +118 -0
- package/dist/declarations/src/MutableRef.d.ts.map +1 -0
- package/dist/declarations/src/NonEmptyIterable.d.ts +21 -0
- package/dist/declarations/src/NonEmptyIterable.d.ts.map +1 -0
- package/dist/declarations/src/Number.d.ts +384 -0
- package/dist/declarations/src/Number.d.ts.map +1 -0
- package/dist/declarations/src/Option.d.ts +967 -0
- package/dist/declarations/src/Option.d.ts.map +1 -0
- package/dist/declarations/src/Order.d.ts +212 -0
- package/dist/declarations/src/Order.d.ts.map +1 -0
- package/dist/declarations/src/Ordering.d.ts +83 -0
- package/dist/declarations/src/Ordering.d.ts.map +1 -0
- package/dist/declarations/src/Pipeable.d.ts +35 -0
- package/dist/declarations/src/Pipeable.d.ts.map +1 -0
- package/dist/declarations/src/Pool.d.ts +136 -0
- package/dist/declarations/src/Pool.d.ts.map +1 -0
- package/dist/declarations/src/Predicate.d.ts +596 -0
- package/dist/declarations/src/Predicate.d.ts.map +1 -0
- package/dist/declarations/src/PubSub.d.ts +158 -0
- package/dist/declarations/src/PubSub.d.ts.map +1 -0
- package/dist/declarations/src/Queue.d.ts +501 -0
- package/dist/declarations/src/Queue.d.ts.map +1 -0
- package/dist/declarations/src/Random.d.ts +101 -0
- package/dist/declarations/src/Random.d.ts.map +1 -0
- package/dist/declarations/src/ReadonlyArray.d.ts +1254 -0
- package/dist/declarations/src/ReadonlyArray.d.ts.map +1 -0
- package/dist/declarations/src/ReadonlyRecord.d.ts +603 -0
- package/dist/declarations/src/ReadonlyRecord.d.ts.map +1 -0
- package/dist/declarations/src/RedBlackTree.d.ts +369 -0
- package/dist/declarations/src/RedBlackTree.d.ts.map +1 -0
- package/dist/declarations/src/Ref.d.ts +141 -0
- package/dist/declarations/src/Ref.d.ts.map +1 -0
- package/dist/declarations/src/Reloadable.d.ts +101 -0
- package/dist/declarations/src/Reloadable.d.ts.map +1 -0
- package/dist/declarations/src/Request.d.ts +251 -0
- package/dist/declarations/src/Request.d.ts.map +1 -0
- package/dist/declarations/src/RequestBlock.d.ts +113 -0
- package/dist/declarations/src/RequestBlock.d.ts.map +1 -0
- package/dist/declarations/src/RequestResolver.d.ts +218 -0
- package/dist/declarations/src/RequestResolver.d.ts.map +1 -0
- package/dist/declarations/src/Resource.d.ts +78 -0
- package/dist/declarations/src/Resource.d.ts.map +1 -0
- package/dist/declarations/src/Runtime.d.ts +180 -0
- package/dist/declarations/src/Runtime.d.ts.map +1 -0
- package/dist/declarations/src/RuntimeFlags.d.ts +297 -0
- package/dist/declarations/src/RuntimeFlags.d.ts.map +1 -0
- package/dist/declarations/src/RuntimeFlagsPatch.d.ts +161 -0
- package/dist/declarations/src/RuntimeFlagsPatch.d.ts.map +1 -0
- package/dist/declarations/src/STM.d.ts +1551 -0
- package/dist/declarations/src/STM.d.ts.map +1 -0
- package/dist/declarations/src/Schedule.d.ts +1073 -0
- package/dist/declarations/src/Schedule.d.ts.map +1 -0
- package/dist/declarations/src/ScheduleDecision.d.ts +50 -0
- package/dist/declarations/src/ScheduleDecision.d.ts.map +1 -0
- package/dist/declarations/src/ScheduleInterval.d.ts +136 -0
- package/dist/declarations/src/ScheduleInterval.d.ts.map +1 -0
- package/dist/declarations/src/ScheduleIntervals.d.ts +109 -0
- package/dist/declarations/src/ScheduleIntervals.d.ts.map +1 -0
- package/dist/declarations/src/Scheduler.d.ts +158 -0
- package/dist/declarations/src/Scheduler.d.ts.map +1 -0
- package/dist/declarations/src/Scope.d.ts +131 -0
- package/dist/declarations/src/Scope.d.ts.map +1 -0
- package/dist/declarations/src/ScopedCache.d.ts +126 -0
- package/dist/declarations/src/ScopedCache.d.ts.map +1 -0
- package/dist/declarations/src/ScopedRef.d.ts +82 -0
- package/dist/declarations/src/ScopedRef.d.ts.map +1 -0
- package/dist/declarations/src/Sink.d.ts +1127 -0
- package/dist/declarations/src/Sink.d.ts.map +1 -0
- package/dist/declarations/src/SortedMap.d.ts +136 -0
- package/dist/declarations/src/SortedMap.d.ts.map +1 -0
- package/dist/declarations/src/SortedSet.d.ts +185 -0
- package/dist/declarations/src/SortedSet.d.ts.map +1 -0
- package/dist/declarations/src/Stream.d.ts +3577 -0
- package/dist/declarations/src/Stream.d.ts.map +1 -0
- package/dist/declarations/src/StreamEmit.d.ts +73 -0
- package/dist/declarations/src/StreamEmit.d.ts.map +1 -0
- package/dist/declarations/src/StreamHaltStrategy.d.ts +92 -0
- package/dist/declarations/src/StreamHaltStrategy.d.ts.map +1 -0
- package/dist/declarations/src/Streamable.d.ts +27 -0
- package/dist/declarations/src/Streamable.d.ts.map +1 -0
- package/dist/declarations/src/String.d.ts +514 -0
- package/dist/declarations/src/String.d.ts.map +1 -0
- package/dist/declarations/src/Struct.d.ts +109 -0
- package/dist/declarations/src/Struct.d.ts.map +1 -0
- package/dist/declarations/src/SubscriptionRef.d.ts +211 -0
- package/dist/declarations/src/SubscriptionRef.d.ts.map +1 -0
- package/dist/declarations/src/Supervisor.d.ts +170 -0
- package/dist/declarations/src/Supervisor.d.ts.map +1 -0
- package/dist/declarations/src/Symbol.d.ts +25 -0
- package/dist/declarations/src/Symbol.d.ts.map +1 -0
- package/dist/declarations/src/SynchronizedRef.d.ts +205 -0
- package/dist/declarations/src/SynchronizedRef.d.ts.map +1 -0
- package/dist/declarations/src/TArray.d.ts +430 -0
- package/dist/declarations/src/TArray.d.ts.map +1 -0
- package/dist/declarations/src/TDeferred.d.ts +79 -0
- package/dist/declarations/src/TDeferred.d.ts.map +1 -0
- package/dist/declarations/src/TMap.d.ts +427 -0
- package/dist/declarations/src/TMap.d.ts.map +1 -0
- package/dist/declarations/src/TPriorityQueue.d.ts +185 -0
- package/dist/declarations/src/TPriorityQueue.d.ts.map +1 -0
- package/dist/declarations/src/TPubSub.d.ts +146 -0
- package/dist/declarations/src/TPubSub.d.ts.map +1 -0
- package/dist/declarations/src/TQueue.d.ts +383 -0
- package/dist/declarations/src/TQueue.d.ts.map +1 -0
- package/dist/declarations/src/TRandom.d.ts +108 -0
- package/dist/declarations/src/TRandom.d.ts.map +1 -0
- package/dist/declarations/src/TReentrantLock.d.ts +194 -0
- package/dist/declarations/src/TReentrantLock.d.ts.map +1 -0
- package/dist/declarations/src/TRef.d.ts +145 -0
- package/dist/declarations/src/TRef.d.ts.map +1 -0
- package/dist/declarations/src/TSemaphore.d.ts +105 -0
- package/dist/declarations/src/TSemaphore.d.ts.map +1 -0
- package/dist/declarations/src/TSet.d.ts +306 -0
- package/dist/declarations/src/TSet.d.ts.map +1 -0
- package/dist/declarations/src/Take.d.ts +214 -0
- package/dist/declarations/src/Take.d.ts.map +1 -0
- package/dist/declarations/src/TestAnnotation.d.ts +70 -0
- package/dist/declarations/src/TestAnnotation.d.ts.map +1 -0
- package/dist/declarations/src/TestAnnotationMap.d.ts +55 -0
- package/dist/declarations/src/TestAnnotationMap.d.ts.map +1 -0
- package/dist/declarations/src/TestAnnotations.d.ts +59 -0
- package/dist/declarations/src/TestAnnotations.d.ts.map +1 -0
- package/dist/declarations/src/TestClock.d.ts +149 -0
- package/dist/declarations/src/TestClock.d.ts.map +1 -0
- package/dist/declarations/src/TestConfig.d.ts +45 -0
- package/dist/declarations/src/TestConfig.d.ts.map +1 -0
- package/dist/declarations/src/TestContext.d.ts +15 -0
- package/dist/declarations/src/TestContext.d.ts.map +1 -0
- package/dist/declarations/src/TestLive.d.ts +35 -0
- package/dist/declarations/src/TestLive.d.ts.map +1 -0
- package/dist/declarations/src/TestServices.d.ts +231 -0
- package/dist/declarations/src/TestServices.d.ts.map +1 -0
- package/dist/declarations/src/TestSized.d.ts +36 -0
- package/dist/declarations/src/TestSized.d.ts.map +1 -0
- package/dist/declarations/src/Tracer.d.ts +112 -0
- package/dist/declarations/src/Tracer.d.ts.map +1 -0
- package/dist/declarations/src/Tuple.d.ts +173 -0
- package/dist/declarations/src/Tuple.d.ts.map +1 -0
- package/dist/declarations/src/Types.d.ts +113 -0
- package/dist/declarations/src/Types.d.ts.map +1 -0
- package/dist/declarations/src/Unify.d.ts +62 -0
- package/dist/declarations/src/Unify.d.ts.map +1 -0
- package/dist/declarations/src/Utils.d.ts +224 -0
- package/dist/declarations/src/Utils.d.ts.map +1 -0
- package/dist/declarations/src/index.d.ts +702 -0
- package/dist/declarations/src/index.d.ts.map +1 -0
- package/dist/defaultServices-6a9a2d2b.cjs.dev.js +328 -0
- package/dist/defaultServices-8ea5e664.cjs.prod.js +328 -0
- package/dist/effect.cjs.d.mts +2 -0
- package/dist/effect.cjs.d.mts.map +1 -0
- package/dist/effect.cjs.d.ts +2 -0
- package/dist/effect.cjs.d.ts.map +1 -0
- package/dist/effect.cjs.dev.js +476 -0
- package/dist/effect.cjs.js +7 -0
- package/dist/effect.cjs.mjs +150 -0
- package/dist/effect.cjs.prod.js +476 -0
- package/dist/effect.esm.js +285 -0
- package/dist/fiber-3d944398.cjs.dev.js +411 -0
- package/dist/fiber-cbd0613f.cjs.prod.js +411 -0
- package/dist/fiberRefs-99808a27.cjs.prod.js +181 -0
- package/dist/fiberRefs-ccc37f30.cjs.dev.js +181 -0
- package/dist/fiberRuntime-0c1e7478.cjs.dev.js +3012 -0
- package/dist/fiberRuntime-f1e80ca7.cjs.prod.js +3012 -0
- package/dist/groupBy-30f6e9ba.cjs.prod.js +219 -0
- package/dist/groupBy-8ae74e3b.cjs.dev.js +219 -0
- package/dist/hook-ad5af092.cjs.dev.js +375 -0
- package/dist/hook-cab99f9e.cjs.prod.js +375 -0
- package/dist/key-9c7368c8.cjs.prod.js +79 -0
- package/dist/key-e3189bbd.cjs.dev.js +79 -0
- package/dist/keyType-2ae6a00e.cjs.prod.js +243 -0
- package/dist/keyType-36962f62.cjs.dev.js +243 -0
- package/dist/label-a588e6cd.cjs.prod.js +44 -0
- package/dist/label-b0cebeae.cjs.dev.js +44 -0
- package/dist/layer-bfb9802a.cjs.prod.js +684 -0
- package/dist/layer-c284cf0d.cjs.dev.js +684 -0
- package/dist/mergeDecision-07c6b5c9.cjs.prod.js +86 -0
- package/dist/mergeDecision-be41e797.cjs.dev.js +86 -0
- package/dist/mergeState-75990fa2.cjs.prod.js +109 -0
- package/dist/mergeState-8153ce39.cjs.dev.js +109 -0
- package/dist/mergeStrategy-3dd6e55f.cjs.prod.js +72 -0
- package/dist/mergeStrategy-81ea5b80.cjs.dev.js +72 -0
- package/dist/pair-291b78d7.cjs.dev.js +42 -0
- package/dist/pair-6254cf85.cjs.prod.js +42 -0
- package/dist/patch-256bc574.cjs.prod.js +132 -0
- package/dist/patch-cda9b6c8.cjs.dev.js +132 -0
- package/dist/pathPatch-31ce8101.cjs.dev.js +90 -0
- package/dist/pathPatch-40b92af6.cjs.prod.js +90 -0
- package/dist/pool-122f0fad.cjs.prod.js +278 -0
- package/dist/pool-f6ca2038.cjs.dev.js +278 -0
- package/dist/query-5cc0ddf8.cjs.prod.js +104 -0
- package/dist/query-7bffa3c3.cjs.dev.js +104 -0
- package/dist/queue-4166cfdb.cjs.dev.js +548 -0
- package/dist/queue-e326fd89.cjs.prod.js +548 -0
- package/dist/registry-081e18a3.cjs.prod.js +114 -0
- package/dist/registry-377855a9.cjs.dev.js +114 -0
- package/dist/runtime-4078f059.cjs.prod.js +290 -0
- package/dist/runtime-d4514ab5.cjs.dev.js +290 -0
- package/dist/schedule-31e38871.cjs.dev.js +956 -0
- package/dist/schedule-f036b254.cjs.prod.js +956 -0
- package/dist/scopedRef-5ecf6468.cjs.dev.js +55 -0
- package/dist/scopedRef-8ce21228.cjs.prod.js +55 -0
- package/dist/singleProducerAsyncInput-8879d87c.cjs.prod.js +193 -0
- package/dist/singleProducerAsyncInput-ece7387b.cjs.dev.js +193 -0
- package/dist/sink-1794329b.cjs.dev.js +3093 -0
- package/dist/sink-9208df8d.cjs.prod.js +3093 -0
- package/dist/state-40d5dc71.cjs.prod.js +223 -0
- package/dist/state-620f7a22.cjs.dev.js +223 -0
- package/dist/stm-6ad7b384.cjs.prod.js +678 -0
- package/dist/stm-b080be31.cjs.dev.js +678 -0
- package/dist/stream-09aeeac3.cjs.dev.js +3652 -0
- package/dist/stream-e19805ca.cjs.prod.js +3652 -0
- package/dist/synchronizedRef-8fa16866.cjs.dev.js +62 -0
- package/dist/synchronizedRef-cc04ecbd.cjs.prod.js +62 -0
- package/dist/tArray-5e42c290.cjs.prod.js +330 -0
- package/dist/tArray-7d470ed7.cjs.dev.js +330 -0
- package/dist/tMap-a2cfde88.cjs.prod.js +535 -0
- package/dist/tMap-f0df0ea0.cjs.dev.js +535 -0
- package/dist/tQueue-085f70b5.cjs.dev.js +367 -0
- package/dist/tQueue-b80e940e.cjs.prod.js +367 -0
- package/dist/tRef-2e495254.cjs.dev.js +133 -0
- package/dist/tRef-42a212cb.cjs.prod.js +133 -0
- package/dist/take-114476e5.cjs.prod.js +152 -0
- package/dist/take-d4fa1beb.cjs.dev.js +152 -0
- package/dist/timeout-489f3f86.cjs.prod.js +25 -0
- package/dist/timeout-d380d3f8.cjs.dev.js +25 -0
- package/dist/upstreamPullRequest-7a694281.cjs.dev.js +79 -0
- package/dist/upstreamPullRequest-c89f818d.cjs.prod.js +79 -0
- package/dist/upstreamPullStrategy-63cc8967.cjs.prod.js +81 -0
- package/dist/upstreamPullStrategy-f9f1ab57.cjs.dev.js +81 -0
- package/internal/Context.esm.js +208 -0
- package/internal/Data.esm.js +52 -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 +1053 -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 +647 -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 +884 -0
- package/internal/core-stream.esm.js +293 -0
- package/internal/core.esm.js +1756 -0
- package/internal/dataSource.esm.js +61 -0
- package/internal/defaultServices/console.esm.js +96 -0
- package/internal/defaultServices.esm.js +85 -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 +2005 -0
- package/internal/fiberScope.esm.js +58 -0
- package/internal/fiberStatus.esm.js +89 -0
- package/internal/groupBy.esm.js +211 -0
- package/internal/keyedPool.esm.js +161 -0
- package/internal/layer/circular.esm.js +86 -0
- package/internal/layer.esm.js +575 -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/matcher.esm.js +314 -0
- package/internal/metric/boundaries.esm.js +48 -0
- package/internal/metric/hook.esm.js +366 -0
- package/internal/metric/key.esm.js +68 -0
- package/internal/metric/keyType.esm.js +225 -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 +205 -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/pubsub.esm.js +1102 -0
- package/internal/query.esm.js +100 -0
- package/internal/queue.esm.js +515 -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 +270 -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/tMap.esm.js +492 -0
- package/internal/stm/tPriorityQueue.esm.js +156 -0
- package/internal/stm/tPubSub.esm.js +381 -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 +2990 -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 +205 -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 +74 -0
- package/package.json +1091 -31
- package/src/.index.ts +30 -0
- package/src/BigInt.ts +531 -0
- package/src/Boolean.ts +261 -0
- package/src/Brand.ts +336 -0
- package/src/Cache.ts +250 -0
- package/src/Cause.ts +813 -0
- package/src/Channel.ts +2254 -0
- package/src/ChannelChildExecutorDecision.ts +138 -0
- package/src/ChannelMergeDecision.ts +94 -0
- package/src/ChannelMergeState.ts +166 -0
- package/src/ChannelMergeStrategy.ts +107 -0
- package/src/ChannelSingleProducerAsyncInput.ts +68 -0
- package/src/ChannelUpstreamPullRequest.ts +110 -0
- package/src/ChannelUpstreamPullStrategy.ts +120 -0
- package/src/Chunk.ts +1325 -0
- package/src/Clock.ts +111 -0
- package/src/Config.ts +447 -0
- package/src/ConfigError.ts +267 -0
- package/src/ConfigProvider.ts +296 -0
- package/src/ConfigProviderPathPatch.ts +100 -0
- package/src/ConfigSecret.ts +76 -0
- package/src/Console.ts +222 -0
- package/src/Context.ts +365 -0
- package/src/Data.ts +379 -0
- package/src/DefaultServices.ts +34 -0
- package/src/Deferred.ts +283 -0
- package/src/Differ.ts +406 -0
- package/src/Duration.ts +558 -0
- package/src/Effect.ts +5075 -0
- package/src/Effectable.ts +107 -0
- package/src/Either.ts +626 -0
- package/src/Encoding.ts +130 -0
- package/src/Equal.ts +64 -0
- package/src/Equivalence.ts +235 -0
- package/src/ExecutionStrategy.ts +111 -0
- package/src/Exit.ts +464 -0
- package/src/Fiber.ts +650 -0
- package/src/FiberId.ts +187 -0
- package/src/FiberRef.ts +392 -0
- package/src/FiberRefs.ts +160 -0
- package/src/FiberRefsPatch.ts +105 -0
- package/src/FiberStatus.ts +108 -0
- package/src/Function.ts +834 -0
- package/src/GlobalValue.ts +20 -0
- package/src/GroupBy.ts +102 -0
- package/src/HKT.ts +44 -0
- package/src/Hash.ts +162 -0
- package/src/HashMap.ts +403 -0
- package/src/HashSet.ts +300 -0
- package/src/Inspectable.ts +45 -0
- package/src/KeyedPool.ts +160 -0
- package/src/Layer.ts +1017 -0
- package/src/List.ts +951 -0
- package/src/LogLevel.ts +266 -0
- package/src/LogSpan.ts +25 -0
- package/src/Logger.ts +315 -0
- package/src/Match.ts +800 -0
- package/src/Metric.ts +739 -0
- package/src/MetricBoundaries.ts +70 -0
- package/src/MetricHook.ts +139 -0
- package/src/MetricKey.ts +227 -0
- package/src/MetricKeyType.ts +257 -0
- package/src/MetricLabel.ts +47 -0
- package/src/MetricPair.ts +70 -0
- package/src/MetricPolling.ts +136 -0
- package/src/MetricRegistry.ts +47 -0
- package/src/MetricState.ts +256 -0
- package/src/MutableHashMap.ts +187 -0
- package/src/MutableHashSet.ts +118 -0
- package/src/MutableList.ts +289 -0
- package/src/MutableQueue.ts +227 -0
- package/src/MutableRef.ts +204 -0
- package/src/NonEmptyIterable.ts +30 -0
- package/src/Number.ts +434 -0
- package/src/Option.ts +1214 -0
- package/src/Order.ts +328 -0
- package/src/Ordering.ts +112 -0
- package/src/Pipeable.ts +318 -0
- package/src/Pool.ts +148 -0
- package/src/Predicate.ts +704 -0
- package/src/PubSub.ts +175 -0
- package/src/Queue.ts +583 -0
- package/src/Random.ts +115 -0
- package/src/ReadonlyArray.ts +2017 -0
- package/src/ReadonlyRecord.ts +914 -0
- package/src/RedBlackTree.ts +415 -0
- package/src/Ref.ts +159 -0
- package/src/Reloadable.ts +136 -0
- package/src/Request.ts +285 -0
- package/src/RequestBlock.ts +157 -0
- package/src/RequestResolver.ts +305 -0
- package/src/Resource.ts +97 -0
- package/src/Runtime.ts +216 -0
- package/src/RuntimeFlags.ts +336 -0
- package/src/RuntimeFlagsPatch.ts +183 -0
- package/src/STM.ts +2076 -0
- package/src/Schedule.ts +1396 -0
- package/src/ScheduleDecision.ts +62 -0
- package/src/ScheduleInterval.ts +151 -0
- package/src/ScheduleIntervals.ts +122 -0
- package/src/Scheduler.ts +359 -0
- package/src/Scope.ts +171 -0
- package/src/ScopedCache.ts +148 -0
- package/src/ScopedRef.ts +95 -0
- package/src/Sink.ts +1431 -0
- package/src/SortedMap.ts +229 -0
- package/src/SortedSet.ts +385 -0
- package/src/Stream.ts +4540 -0
- package/src/StreamEmit.ts +83 -0
- package/src/StreamHaltStrategy.ts +111 -0
- package/src/Streamable.ts +42 -0
- package/src/String.ts +682 -0
- package/src/Struct.ts +151 -0
- package/src/SubscriptionRef.ts +273 -0
- package/src/Supervisor.ts +239 -0
- package/src/Symbol.ts +28 -0
- package/src/SynchronizedRef.ts +249 -0
- package/src/TArray.ts +494 -0
- package/src/TDeferred.ts +99 -0
- package/src/TMap.ts +510 -0
- package/src/TPriorityQueue.ts +223 -0
- package/src/TPubSub.ts +187 -0
- package/src/TQueue.ts +431 -0
- package/src/TRandom.ts +129 -0
- package/src/TReentrantLock.ts +224 -0
- package/src/TRef.ts +176 -0
- package/src/TSemaphore.ts +129 -0
- package/src/TSet.ts +349 -0
- package/src/Take.ts +257 -0
- package/src/TestAnnotation.ts +166 -0
- package/src/TestAnnotationMap.ts +124 -0
- package/src/TestAnnotations.ts +113 -0
- package/src/TestClock.ts +552 -0
- package/src/TestConfig.ts +49 -0
- package/src/TestContext.ts +35 -0
- package/src/TestLive.ts +55 -0
- package/src/TestServices.ts +392 -0
- package/src/TestSized.ts +55 -0
- package/src/Tracer.ts +133 -0
- package/src/Tuple.ts +204 -0
- package/src/Types.ts +123 -0
- package/src/Unify.ts +118 -0
- package/src/Utils.ts +699 -0
- package/src/index.ts +845 -0
- package/src/internal/Common.ts +56 -0
- package/src/internal/Context.ts +252 -0
- package/src/internal/Data.ts +55 -0
- package/src/internal/Differ/ChunkPatch.ts +209 -0
- package/src/internal/Differ/ContextPatch.ts +229 -0
- package/src/internal/Differ/HashMapPatch.ts +217 -0
- package/src/internal/Differ/HashSetPatch.ts +174 -0
- package/src/internal/Differ/OrPatch.ts +296 -0
- package/src/internal/Differ.ts +184 -0
- package/src/internal/Effectable.ts +92 -0
- package/src/internal/Either.ts +107 -0
- package/src/internal/Encoding/Base64.ts +282 -0
- package/src/internal/Encoding/Base64Url.ts +28 -0
- package/src/internal/Encoding/Common.ts +24 -0
- package/src/internal/Encoding/Hex.ts +315 -0
- package/src/internal/HashMap/array.ts +49 -0
- package/src/internal/HashMap/bitwise.ts +32 -0
- package/src/internal/HashMap/config.ts +14 -0
- package/src/internal/HashMap/keySet.ts +8 -0
- package/src/internal/HashMap/node.ts +390 -0
- package/src/internal/HashMap.ts +533 -0
- package/src/internal/HashSet.ts +319 -0
- package/src/internal/Iterable.ts +54 -0
- package/src/internal/Option.ts +79 -0
- package/src/internal/ReadonlyArray.ts +8 -0
- package/src/internal/RedBlackTree/iterator.ts +207 -0
- package/src/internal/RedBlackTree/node.ts +48 -0
- package/src/internal/RedBlackTree.ts +1195 -0
- package/src/internal/Stack.ts +4 -0
- package/src/internal/blockedRequests.ts +512 -0
- package/src/internal/cache.ts +714 -0
- package/src/internal/cause.ts +1205 -0
- package/src/internal/channel/channelExecutor.ts +1193 -0
- package/src/internal/channel/channelState.ts +132 -0
- package/src/internal/channel/childExecutorDecision.ts +95 -0
- package/src/internal/channel/continuation.ts +171 -0
- package/src/internal/channel/mergeDecision.ts +115 -0
- package/src/internal/channel/mergeState.ts +120 -0
- package/src/internal/channel/mergeStrategy.ts +72 -0
- package/src/internal/channel/singleProducerAsyncInput.ts +261 -0
- package/src/internal/channel/subexecutor.ts +229 -0
- package/src/internal/channel/upstreamPullRequest.ts +83 -0
- package/src/internal/channel/upstreamPullStrategy.ts +86 -0
- package/src/internal/channel.ts +2520 -0
- package/src/internal/clock.ts +97 -0
- package/src/internal/completedRequestMap.ts +9 -0
- package/src/internal/concurrency.ts +83 -0
- package/src/internal/config.ts +598 -0
- package/src/internal/configError.ts +291 -0
- package/src/internal/configProvider/pathPatch.ts +97 -0
- package/src/internal/configProvider.ts +692 -0
- package/src/internal/configSecret.ts +71 -0
- package/src/internal/console.ts +136 -0
- package/src/internal/core-effect.ts +2161 -0
- package/src/internal/core-stream.ts +999 -0
- package/src/internal/core.ts +2776 -0
- package/src/internal/dataSource.ts +258 -0
- package/src/internal/defaultServices/console.ts +97 -0
- package/src/internal/defaultServices.ts +140 -0
- package/src/internal/deferred.ts +44 -0
- package/src/internal/effect/circular.ts +664 -0
- package/src/internal/executionStrategy.ts +72 -0
- package/src/internal/fiber.ts +350 -0
- package/src/internal/fiberId.ts +270 -0
- package/src/internal/fiberMessage.ts +85 -0
- package/src/internal/fiberRefs/patch.ts +144 -0
- package/src/internal/fiberRefs.ts +239 -0
- package/src/internal/fiberRuntime.ts +3478 -0
- package/src/internal/fiberScope.ts +72 -0
- package/src/internal/fiberStatus.ts +118 -0
- package/src/internal/groupBy.ts +520 -0
- package/src/internal/keyedPool.ts +240 -0
- package/src/internal/layer/circular.ts +215 -0
- package/src/internal/layer.ts +1246 -0
- package/src/internal/logSpan.ts +15 -0
- package/src/internal/logger-circular.ts +24 -0
- package/src/internal/logger.ts +307 -0
- package/src/internal/matcher.ts +594 -0
- package/src/internal/metric/boundaries.ts +72 -0
- package/src/internal/metric/hook.ts +459 -0
- package/src/internal/metric/key.ts +173 -0
- package/src/internal/metric/keyType.ts +263 -0
- package/src/internal/metric/label.ts +44 -0
- package/src/internal/metric/pair.ts +48 -0
- package/src/internal/metric/polling.ts +143 -0
- package/src/internal/metric/registry.ts +188 -0
- package/src/internal/metric/state.ts +286 -0
- package/src/internal/metric.ts +522 -0
- package/src/internal/opCodes/cause.ts +35 -0
- package/src/internal/opCodes/channel.ts +83 -0
- package/src/internal/opCodes/channelChildExecutorDecision.ts +17 -0
- package/src/internal/opCodes/channelMergeDecision.ts +11 -0
- package/src/internal/opCodes/channelMergeState.ts +17 -0
- package/src/internal/opCodes/channelMergeStrategy.ts +11 -0
- package/src/internal/opCodes/channelState.ts +23 -0
- package/src/internal/opCodes/channelUpstreamPullRequest.ts +11 -0
- package/src/internal/opCodes/channelUpstreamPullStrategy.ts +11 -0
- package/src/internal/opCodes/config.ts +65 -0
- package/src/internal/opCodes/configError.ts +35 -0
- package/src/internal/opCodes/continuation.ts +11 -0
- package/src/internal/opCodes/deferred.ts +11 -0
- package/src/internal/opCodes/effect.ts +83 -0
- package/src/internal/opCodes/layer.ts +53 -0
- package/src/internal/opCodes/streamHaltStrategy.ts +23 -0
- package/src/internal/pool.ts +499 -0
- package/src/internal/pubsub.ts +1557 -0
- package/src/internal/query.ts +199 -0
- package/src/internal/queue.ts +744 -0
- package/src/internal/random.ts +88 -0
- package/src/internal/ref.ts +164 -0
- package/src/internal/reloadable.ts +164 -0
- package/src/internal/request.ts +137 -0
- package/src/internal/resource.ts +64 -0
- package/src/internal/ringBuffer.ts +68 -0
- package/src/internal/runtime.ts +348 -0
- package/src/internal/runtimeFlags.ts +176 -0
- package/src/internal/runtimeFlagsPatch.ts +103 -0
- package/src/internal/schedule/decision.ts +47 -0
- package/src/internal/schedule/interval.ts +101 -0
- package/src/internal/schedule/intervals.ts +179 -0
- package/src/internal/schedule.ts +2096 -0
- package/src/internal/scopedCache.ts +634 -0
- package/src/internal/scopedRef.ts +133 -0
- package/src/internal/singleShotGen.ts +35 -0
- package/src/internal/sink.ts +2118 -0
- package/src/internal/stm/core.ts +804 -0
- package/src/internal/stm/opCodes/stm.ts +71 -0
- package/src/internal/stm/opCodes/stmState.ts +17 -0
- package/src/internal/stm/opCodes/strategy.ts +17 -0
- package/src/internal/stm/opCodes/tExit.ts +29 -0
- package/src/internal/stm/opCodes/tryCommit.ts +11 -0
- package/src/internal/stm/stm/entry.ts +59 -0
- package/src/internal/stm/stm/journal.ts +123 -0
- package/src/internal/stm/stm/opCodes/stm.ts +71 -0
- package/src/internal/stm/stm/opCodes/stmState.ts +17 -0
- package/src/internal/stm/stm/opCodes/strategy.ts +17 -0
- package/src/internal/stm/stm/opCodes/tExit.ts +29 -0
- package/src/internal/stm/stm/opCodes/tryCommit.ts +11 -0
- package/src/internal/stm/stm/stmState.ts +130 -0
- package/src/internal/stm/stm/tExit.ts +180 -0
- package/src/internal/stm/stm/tryCommit.ts +34 -0
- package/src/internal/stm/stm/txnId.ts +14 -0
- package/src/internal/stm/stm/versioned.ts +4 -0
- package/src/internal/stm/stm.ts +1491 -0
- package/src/internal/stm/tArray.ts +550 -0
- package/src/internal/stm/tDeferred.ts +79 -0
- package/src/internal/stm/tMap.ts +824 -0
- package/src/internal/stm/tPriorityQueue.ts +259 -0
- package/src/internal/stm/tPubSub.ts +542 -0
- package/src/internal/stm/tQueue.ts +400 -0
- package/src/internal/stm/tRandom.ts +140 -0
- package/src/internal/stm/tReentrantLock.ts +352 -0
- package/src/internal/stm/tRef.ts +190 -0
- package/src/internal/stm/tSemaphore.ts +113 -0
- package/src/internal/stm/tSet.ts +237 -0
- package/src/internal/stream/debounceState.ts +57 -0
- package/src/internal/stream/emit.ts +46 -0
- package/src/internal/stream/haltStrategy.ts +85 -0
- package/src/internal/stream/handoff.ts +185 -0
- package/src/internal/stream/handoffSignal.ts +59 -0
- package/src/internal/stream/pull.ts +35 -0
- package/src/internal/stream/sinkEndReason.ts +30 -0
- package/src/internal/stream/zipAllState.ts +88 -0
- package/src/internal/stream/zipChunksState.ts +56 -0
- package/src/internal/stream.ts +8092 -0
- package/src/internal/string-utils.ts +107 -0
- package/src/internal/subscriptionRef.ts +133 -0
- package/src/internal/supervisor/patch.ts +190 -0
- package/src/internal/supervisor.ts +301 -0
- package/src/internal/synchronizedRef.ts +115 -0
- package/src/internal/take.ts +198 -0
- package/src/internal/testing/sleep.ts +27 -0
- package/src/internal/testing/suspendedWarningData.ts +85 -0
- package/src/internal/testing/warningData.ts +94 -0
- package/src/internal/timeout.ts +23 -0
- package/src/internal/tracer.ts +101 -0
- package/src/tsconfig.json +49 -0
- package/Debug.d.ts +0 -31
- package/Debug.d.ts.map +0 -1
- package/Debug.js +0 -31
- package/Debug.js.map +0 -1
- package/Differ.d.ts +0 -61
- package/Differ.d.ts.map +0 -1
- package/Differ.js +0 -38
- package/Differ.js.map +0 -1
- package/Fiber.d.ts +0 -51
- package/Fiber.d.ts.map +0 -1
- package/Fiber.js +0 -35
- package/Fiber.js.map +0 -1
- package/FiberRefs.d.ts +0 -21
- package/FiberRefs.d.ts.map +0 -1
- package/FiberRefs.js +0 -26
- package/FiberRefs.js.map +0 -1
- package/Metric.d.ts +0 -101
- package/Metric.d.ts.map +0 -1
- package/Metric.js +0 -50
- package/Metric.js.map +0 -1
- package/Optic.d.ts +0 -62
- package/Optic.d.ts.map +0 -1
- package/Optic.js +0 -70
- package/Optic.js.map +0 -1
- package/Ref.d.ts +0 -31
- package/Ref.d.ts.map +0 -1
- package/Ref.js +0 -29
- package/Ref.js.map +0 -1
- package/Schedule.d.ts +0 -41
- package/Schedule.d.ts.map +0 -1
- package/Schedule.js +0 -32
- package/Schedule.js.map +0 -1
- package/_mjs/Debug.mjs +0 -27
- package/_mjs/Debug.mjs.map +0 -1
- package/_mjs/Differ.mjs +0 -61
- package/_mjs/Differ.mjs.map +0 -1
- package/_mjs/Fiber.mjs +0 -51
- package/_mjs/Fiber.mjs.map +0 -1
- package/_mjs/FiberRefs.mjs +0 -21
- package/_mjs/FiberRefs.mjs.map +0 -1
- package/_mjs/Metric.mjs +0 -101
- package/_mjs/Metric.mjs.map +0 -1
- package/_mjs/Optic.mjs +0 -62
- package/_mjs/Optic.mjs.map +0 -1
- package/_mjs/Ref.mjs +0 -31
- package/_mjs/Ref.mjs.map +0 -1
- package/_mjs/Schedule.mjs +0 -41
- package/_mjs/Schedule.mjs.map +0 -1
- package/_mjs/index.mjs +0 -939
- package/_mjs/index.mjs.map +0 -1
- package/index.d.ts +0 -939
- package/index.d.ts.map +0 -1
- package/index.js +0 -217
- package/index.js.map +0 -1
|
@@ -0,0 +1,2005 @@
|
|
|
1
|
+
import { not } from '../Boolean/dist/effect-Boolean.esm.js';
|
|
2
|
+
import { fromIterable as fromIterable$1, isNonEmpty, headNonEmpty, tailNonEmpty, unsafeFromArray, prepend } from '../Chunk/dist/effect-Chunk.esm.js';
|
|
3
|
+
import { getOption, get as get$1, add, Tag, merge, make as make$2, unsafeGet } from '../Context/dist/effect-Context.esm.js';
|
|
4
|
+
import { await as _await$1 } from '../Deferred/dist/effect-Deferred.esm.js';
|
|
5
|
+
import { parallel, sequential, parallelN } from '../ExecutionStrategy/dist/effect-ExecutionStrategy.esm.js';
|
|
6
|
+
import { threadName, combine, none as none$2, unsafeMake as unsafeMake$1 } from '../FiberId/dist/effect-FiberId.esm.js';
|
|
7
|
+
import { getOrDefault } from '../FiberRefs/dist/effect-FiberRefs.esm.js';
|
|
8
|
+
import { diff as diff$1, patch as patch$1 } from '../FiberRefsPatch/dist/effect-FiberRefsPatch.esm.js';
|
|
9
|
+
import { isDone, done, suspended, running } from '../FiberStatus/dist/effect-FiberStatus.esm.js';
|
|
10
|
+
import { dual, identity, pipe } from '../Function/dist/effect-Function.esm.js';
|
|
11
|
+
import { map as map$1 } from '../HashMap/dist/effect-HashMap.esm.js';
|
|
12
|
+
import { make, fromIterable as fromIterable$2, union, size } from '../HashSet/dist/effect-HashSet.esm.js';
|
|
13
|
+
import { par, flatten as flatten$2, sequentialCollectionToChunk } from './blockedRequests.esm.js';
|
|
14
|
+
import { pretty, failureOrCause, parallel as parallel$1, sequential as sequential$1, interrupt, isEmpty, isInterruptedOnly, die, NoSuchElementException, stripFailures, isInterruptedException, IllegalArgumentException } from './cause.esm.js';
|
|
15
|
+
import { clockTag } from './clock.esm.js';
|
|
16
|
+
import { currentRequestMap } from './completedRequestMap.esm.js';
|
|
17
|
+
import { matchSimple, match as match$1 } from './concurrency.esm.js';
|
|
18
|
+
import { configProviderTag } from './configProvider.esm.js';
|
|
19
|
+
import { fiberRefUnsafeMake, currentContext, fiberRefUnsafeMakeHashSet, uninterruptible, tap, isEffect, withFiberRuntime, fiberRefLocally, currentForkScopeOverride, map as map$2, exit, exitIsSuccess, onError, failCause, partitionMap, either, flatMap as flatMap$1, unit, succeed, fail, dieSync, uninterruptibleMask, interruptible, forEachSequential, zipRight, asUnit, onInterrupt, zipLeft, interruptFiber, deferredMake, exitMatchEffect, flatten, deferredFailCause, deferredSucceed, contextWithEffect, scopeFork, currentMetricLabels, acquireUseRelease, scopeClose, exitZipWith, flip, fiberIdWith, updateRuntimeFlags, runtimeFlags, ScopeTypeId, releaseMapMake, CloseableScopeTypeId, releaseMapAdd, scopeAddFinalizerExit, as, mapInputContext, onExit, fiberRefUnsafeMakePatch, fiberRefGet, fiberRefSet, fiberRefGetWith, sync, fiberRefUpdate, fiberRefDelete, fiberRefUnsafeMakeContext, fiberRefUnsafeMakeRuntimeFlags, forEachSequentialDiscard, exitSucceed, matchCauseEffect, suspend, currentInterruptedCause, deferredUnsafeMake, deferredAwait, async, currentSchedulingPriority, whileLoop, currentUnhandledErrorLogLevel, currentLogLevel, currentLogSpan, currentLogAnnotations, exitFailCause, exitUnit, blocked, catchAllCause, runRequestBlock, RevertFlags, yieldNow as yieldNow$1, isEffectError, withRuntimeFlags, matchEffect, if_, zipWith, currentRequestBatching, transplant, step, deferredUnsafeDone, deferredFail, exitCollectAll, exitIsFailure, exitInterrupt, exitAsUnit, interruptAsFiber, flatMapStep } from './core.esm.js';
|
|
20
|
+
import { makeSpan, currentTimeNanosTracing, provideService, mapErrorCause } from './core-effect.esm.js';
|
|
21
|
+
import { currentServices } from './defaultServices.esm.js';
|
|
22
|
+
import { consoleTag } from './defaultServices/console.esm.js';
|
|
23
|
+
import { sequential as sequential$2, isSequential, isParallel } from './executionStrategy.esm.js';
|
|
24
|
+
import { _await, FiberTypeId, fiberVariance, join, RuntimeFiberTypeId, currentFiberURI, inheritAll, interruptAsFork } from './fiber.esm.js';
|
|
25
|
+
import { resume, stateful, interruptSignal, OP_STATEFUL, OP_RESUME, OP_INTERRUPT_SIGNAL, OP_YIELD_NOW, yieldNow } from './fiberMessage.esm.js';
|
|
26
|
+
import { get, joinAs, delete_, updatedAs, forkAs, getOrDefault as getOrDefault$1 } from './fiberRefs.esm.js';
|
|
27
|
+
import { globalScope, unsafeMake } from './fiberScope.esm.js';
|
|
28
|
+
import { makeLogger, stringLogger, logfmtLogger, serializeUnknown } from './logger.esm.js';
|
|
29
|
+
import { counter, tagged, histogram } from './metric.esm.js';
|
|
30
|
+
import { exponential } from './metric/boundaries.esm.js';
|
|
31
|
+
import { make as make$3 } from './metric/label.esm.js';
|
|
32
|
+
import { OP_FAILURE, OP_SUCCESS, OP_YIELD, OP_ASYNC, OP_ON_FAILURE, OP_ON_SUCCESS, OP_WHILE, OP_TAG, OP_SYNC, OP_REVERT_FLAGS, OP_ON_SUCCESS_AND_FAILURE, OP_WITH_RUNTIME, OP_UPDATE_RUNTIME_FLAGS, OP_COMMIT } from './opCodes/effect.esm.js';
|
|
33
|
+
import { complete } from './request.esm.js';
|
|
34
|
+
import { patch, diff, runtimeMetrics, WindDown, Interruption, interruptible as interruptible$1, enable, cooperativeYielding, OpSupervision, none as none$3 } from './runtimeFlags.esm.js';
|
|
35
|
+
import { none as none$1 } from './supervisor.esm.js';
|
|
36
|
+
import { differ, empty as empty$1 } from './supervisor/patch.esm.js';
|
|
37
|
+
import { spanTag, tracerTag } from './tracer.esm.js';
|
|
38
|
+
import { fromLiteral, greaterThan } from '../LogLevel/dist/effect-LogLevel.esm.js';
|
|
39
|
+
import { make as make$4, compareAndSet } from '../MutableRef/dist/effect-MutableRef.esm.js';
|
|
40
|
+
import { flatMap, map, some, none, match, fromNullable, isSome, getOrElse } from '../Option/dist/effect-Option.esm.js';
|
|
41
|
+
import { pipeArguments } from '../Pipeable/dist/effect-Pipeable.esm.js';
|
|
42
|
+
import { isIterable } from '../Predicate/dist/effect-Predicate.esm.js';
|
|
43
|
+
import { fromIterable, filterMap, reduce, flatten as flatten$1, reduceRight, compact } from '../ReadonlyArray/dist/effect-ReadonlyArray.esm.js';
|
|
44
|
+
import { make as make$1, modify, update, get as get$2 } from '../Ref/dist/effect-Ref.esm.js';
|
|
45
|
+
import { empty, exclude } from '../RuntimeFlagsPatch/dist/effect-RuntimeFlagsPatch.esm.js';
|
|
46
|
+
import { currentScheduler } from '../Scheduler/dist/effect-Scheduler.esm.js';
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
const fiberStarted = /*#__PURE__*/counter("effect_fiber_started");
|
|
50
|
+
/** @internal */
|
|
51
|
+
const fiberActive = /*#__PURE__*/counter("effect_fiber_active");
|
|
52
|
+
/** @internal */
|
|
53
|
+
const fiberSuccesses = /*#__PURE__*/counter("effect_fiber_successes");
|
|
54
|
+
/** @internal */
|
|
55
|
+
const fiberFailures = /*#__PURE__*/counter("effect_fiber_failures");
|
|
56
|
+
/** @internal */
|
|
57
|
+
const fiberLifetimes = /*#__PURE__*/tagged( /*#__PURE__*/histogram("effect_fiber_lifetimes", /*#__PURE__*/exponential({
|
|
58
|
+
start: 1.0,
|
|
59
|
+
factor: 1.3,
|
|
60
|
+
count: 100
|
|
61
|
+
})), "time_unit", "milliseconds");
|
|
62
|
+
|
|
63
|
+
/** @internal */
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
const EvaluationSignalContinue = "Continue";
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
|
|
70
|
+
/** @internal */
|
|
71
|
+
const EvaluationSignalDone = "Done";
|
|
72
|
+
|
|
73
|
+
/** @internal */
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
const EvaluationSignalYieldNow = "Yield";
|
|
77
|
+
|
|
78
|
+
/** @internal */
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
const runtimeFiberVariance = {
|
|
82
|
+
_E: _ => _,
|
|
83
|
+
_A: _ => _
|
|
84
|
+
};
|
|
85
|
+
const absurd = _ => {
|
|
86
|
+
throw new Error(`BUG: FiberRuntime - ${JSON.stringify(_)} - please report an issue at https://github.com/Effect-TS/io/issues`);
|
|
87
|
+
};
|
|
88
|
+
const contOpSuccess = {
|
|
89
|
+
[OP_ON_SUCCESS]: (_, cont, value) => {
|
|
90
|
+
return cont.i1(value);
|
|
91
|
+
},
|
|
92
|
+
["OnStep"]: (_, cont, value) => {
|
|
93
|
+
return cont.i1(exitSucceed(value));
|
|
94
|
+
},
|
|
95
|
+
[OP_ON_SUCCESS_AND_FAILURE]: (_, cont, value) => {
|
|
96
|
+
return cont.i2(value);
|
|
97
|
+
},
|
|
98
|
+
[OP_REVERT_FLAGS]: (self, cont, value) => {
|
|
99
|
+
self.patchRuntimeFlags(self._runtimeFlags, cont.patch);
|
|
100
|
+
if (interruptible$1(self._runtimeFlags) && self.isInterrupted()) {
|
|
101
|
+
return exitFailCause(self.getInterruptedCause());
|
|
102
|
+
} else {
|
|
103
|
+
return exitSucceed(value);
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
[OP_WHILE]: (self, cont, value) => {
|
|
107
|
+
cont.i2(value);
|
|
108
|
+
if (cont.i0()) {
|
|
109
|
+
self.pushStack(cont);
|
|
110
|
+
return cont.i1();
|
|
111
|
+
} else {
|
|
112
|
+
return unit;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
const drainQueueWhileRunningTable = {
|
|
117
|
+
[OP_INTERRUPT_SIGNAL]: (self, runtimeFlags, cur, message) => {
|
|
118
|
+
self.processNewInterruptSignal(message.cause);
|
|
119
|
+
return interruptible$1(runtimeFlags) ? exitFailCause(message.cause) : cur;
|
|
120
|
+
},
|
|
121
|
+
[OP_RESUME]: (_self, _runtimeFlags, _cur, _message) => {
|
|
122
|
+
throw new Error("It is illegal to have multiple concurrent run loops in a single fiber");
|
|
123
|
+
},
|
|
124
|
+
[OP_STATEFUL]: (self, runtimeFlags, cur, message) => {
|
|
125
|
+
message.onFiber(self, running(runtimeFlags));
|
|
126
|
+
return cur;
|
|
127
|
+
},
|
|
128
|
+
[OP_YIELD_NOW]: (_self, _runtimeFlags, cur, _message) => {
|
|
129
|
+
return flatMap$1(yieldNow$1(), () => cur);
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Executes all requests, submitting requests to each data source in parallel.
|
|
135
|
+
*/
|
|
136
|
+
const runBlockedRequests = self => forEachSequentialDiscard(flatten$2(self), requestsByRequestResolver => forEachParUnboundedDiscard(sequentialCollectionToChunk(requestsByRequestResolver), ([dataSource, sequential]) => {
|
|
137
|
+
const map = new Map();
|
|
138
|
+
for (const block of sequential) {
|
|
139
|
+
for (const entry of block) {
|
|
140
|
+
map.set(entry.request, entry);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
return fiberRefLocally(invokeWithInterrupt(dataSource.runAll(sequential), sequential.flat()), currentRequestMap, map);
|
|
144
|
+
}, false));
|
|
145
|
+
|
|
146
|
+
/** @internal */
|
|
147
|
+
class FiberRuntime {
|
|
148
|
+
[FiberTypeId] = fiberVariance;
|
|
149
|
+
[RuntimeFiberTypeId] = runtimeFiberVariance;
|
|
150
|
+
pipe() {
|
|
151
|
+
return pipeArguments(this, arguments);
|
|
152
|
+
}
|
|
153
|
+
_queue = new Array();
|
|
154
|
+
_children = null;
|
|
155
|
+
_observers = new Array();
|
|
156
|
+
_running = false;
|
|
157
|
+
_stack = [];
|
|
158
|
+
_asyncInterruptor = null;
|
|
159
|
+
_asyncBlockingOn = null;
|
|
160
|
+
_exitValue = null;
|
|
161
|
+
_steps = [false];
|
|
162
|
+
currentOpCount = 0;
|
|
163
|
+
isYielding = false;
|
|
164
|
+
constructor(fiberId, fiberRefs0, runtimeFlags0) {
|
|
165
|
+
this._runtimeFlags = runtimeFlags0;
|
|
166
|
+
this._fiberId = fiberId;
|
|
167
|
+
this._fiberRefs = fiberRefs0;
|
|
168
|
+
this._supervisor = this.getFiberRef(currentSupervisor);
|
|
169
|
+
this._scheduler = this.getFiberRef(currentScheduler);
|
|
170
|
+
if (runtimeMetrics(runtimeFlags0)) {
|
|
171
|
+
const tags = this.getFiberRef(currentMetricLabels);
|
|
172
|
+
fiberStarted.unsafeUpdate(1, tags);
|
|
173
|
+
fiberActive.unsafeUpdate(1, tags);
|
|
174
|
+
}
|
|
175
|
+
this._tracer = get$1(this.getFiberRef(currentServices), tracerTag);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The identity of the fiber.
|
|
180
|
+
*/
|
|
181
|
+
id() {
|
|
182
|
+
return this._fiberId;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Begins execution of the effect associated with this fiber on in the
|
|
187
|
+
* background. This can be called to "kick off" execution of a fiber after
|
|
188
|
+
* it has been created.
|
|
189
|
+
*/
|
|
190
|
+
resume(effect) {
|
|
191
|
+
this.tell(resume(effect));
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* The status of the fiber.
|
|
196
|
+
*/
|
|
197
|
+
status() {
|
|
198
|
+
return this.ask((_, status) => status);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Gets the fiber runtime flags.
|
|
203
|
+
*/
|
|
204
|
+
runtimeFlags() {
|
|
205
|
+
return this.ask((state, status) => {
|
|
206
|
+
if (isDone(status)) {
|
|
207
|
+
return state._runtimeFlags;
|
|
208
|
+
}
|
|
209
|
+
return status.runtimeFlags;
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Returns the current `FiberScope` for the fiber.
|
|
215
|
+
*/
|
|
216
|
+
scope() {
|
|
217
|
+
return unsafeMake(this);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Retrieves the immediate children of the fiber.
|
|
222
|
+
*/
|
|
223
|
+
children() {
|
|
224
|
+
return this.ask(fiber => Array.from(fiber.getChildren()));
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Gets the fiber's set of children.
|
|
229
|
+
*/
|
|
230
|
+
getChildren() {
|
|
231
|
+
if (this._children === null) {
|
|
232
|
+
this._children = new Set();
|
|
233
|
+
}
|
|
234
|
+
return this._children;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Retrieves the interrupted cause of the fiber, which will be `Cause.empty`
|
|
239
|
+
* if the fiber has not been interrupted.
|
|
240
|
+
*
|
|
241
|
+
* **NOTE**: This method is safe to invoke on any fiber, but if not invoked
|
|
242
|
+
* on this fiber, then values derived from the fiber's state (including the
|
|
243
|
+
* log annotations and log level) may not be up-to-date.
|
|
244
|
+
*/
|
|
245
|
+
getInterruptedCause() {
|
|
246
|
+
return this.getFiberRef(currentInterruptedCause);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Retrieves the whole set of fiber refs.
|
|
251
|
+
*/
|
|
252
|
+
fiberRefs() {
|
|
253
|
+
return this.ask(fiber => fiber.getFiberRefs());
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Returns an effect that will contain information computed from the fiber
|
|
258
|
+
* state and status while running on the fiber.
|
|
259
|
+
*
|
|
260
|
+
* This allows the outside world to interact safely with mutable fiber state
|
|
261
|
+
* without locks or immutable data.
|
|
262
|
+
*/
|
|
263
|
+
ask(f) {
|
|
264
|
+
return suspend(() => {
|
|
265
|
+
const deferred = deferredUnsafeMake(this._fiberId);
|
|
266
|
+
this.tell(stateful((fiber, status) => {
|
|
267
|
+
deferredUnsafeDone(deferred, sync(() => f(fiber, status)));
|
|
268
|
+
}));
|
|
269
|
+
return deferredAwait(deferred);
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Adds a message to be processed by the fiber on the fiber.
|
|
275
|
+
*/
|
|
276
|
+
tell(message) {
|
|
277
|
+
this._queue.push(message);
|
|
278
|
+
if (!this._running) {
|
|
279
|
+
this._running = true;
|
|
280
|
+
this.drainQueueLaterOnExecutor();
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
await() {
|
|
284
|
+
return async(resume => {
|
|
285
|
+
const cb = exit => resume(succeed(exit));
|
|
286
|
+
this.tell(stateful((fiber, _) => {
|
|
287
|
+
if (fiber._exitValue !== null) {
|
|
288
|
+
cb(this._exitValue);
|
|
289
|
+
} else {
|
|
290
|
+
fiber.addObserver(cb);
|
|
291
|
+
}
|
|
292
|
+
}));
|
|
293
|
+
return sync(() => this.tell(stateful((fiber, _) => {
|
|
294
|
+
fiber.removeObserver(cb);
|
|
295
|
+
})));
|
|
296
|
+
}, this.id());
|
|
297
|
+
}
|
|
298
|
+
inheritAll() {
|
|
299
|
+
return withFiberRuntime((parentFiber, parentStatus) => {
|
|
300
|
+
const parentFiberId = parentFiber.id();
|
|
301
|
+
const parentFiberRefs = parentFiber.getFiberRefs();
|
|
302
|
+
const parentRuntimeFlags = parentStatus.runtimeFlags;
|
|
303
|
+
const childFiberRefs = this.getFiberRefs();
|
|
304
|
+
const updatedFiberRefs = joinAs(parentFiberRefs, parentFiberId, childFiberRefs);
|
|
305
|
+
parentFiber.setFiberRefs(updatedFiberRefs);
|
|
306
|
+
const updatedRuntimeFlags = parentFiber.getFiberRef(currentRuntimeFlags);
|
|
307
|
+
const patch = pipe(diff(parentRuntimeFlags, updatedRuntimeFlags),
|
|
308
|
+
// Do not inherit WindDown or Interruption!
|
|
309
|
+
exclude(Interruption), exclude(WindDown));
|
|
310
|
+
return updateRuntimeFlags(patch);
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Tentatively observes the fiber, but returns immediately if it is not
|
|
316
|
+
* already done.
|
|
317
|
+
*/
|
|
318
|
+
poll() {
|
|
319
|
+
return sync(() => fromNullable(this._exitValue));
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Unsafely observes the fiber, but returns immediately if it is not
|
|
324
|
+
* already done.
|
|
325
|
+
*/
|
|
326
|
+
unsafePoll() {
|
|
327
|
+
return this._exitValue;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* In the background, interrupts the fiber as if interrupted from the specified fiber.
|
|
332
|
+
*/
|
|
333
|
+
interruptAsFork(fiberId) {
|
|
334
|
+
return sync(() => this.tell(interruptSignal(interrupt(fiberId))));
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Adds an observer to the list of observers.
|
|
339
|
+
*
|
|
340
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
341
|
+
*/
|
|
342
|
+
addObserver(observer) {
|
|
343
|
+
if (this._exitValue !== null) {
|
|
344
|
+
observer(this._exitValue);
|
|
345
|
+
} else {
|
|
346
|
+
this._observers.push(observer);
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Removes the specified observer from the list of observers that will be
|
|
352
|
+
* notified when the fiber exits.
|
|
353
|
+
*
|
|
354
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
355
|
+
*/
|
|
356
|
+
removeObserver(observer) {
|
|
357
|
+
this._observers = this._observers.filter(o => o !== observer);
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Retrieves all fiber refs of the fiber.
|
|
361
|
+
*
|
|
362
|
+
* **NOTE**: This method is safe to invoke on any fiber, but if not invoked
|
|
363
|
+
* on this fiber, then values derived from the fiber's state (including the
|
|
364
|
+
* log annotations and log level) may not be up-to-date.
|
|
365
|
+
*/
|
|
366
|
+
getFiberRefs() {
|
|
367
|
+
this.setFiberRef(currentRuntimeFlags, this._runtimeFlags);
|
|
368
|
+
return this._fiberRefs;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Deletes the specified fiber ref.
|
|
373
|
+
*
|
|
374
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
375
|
+
*/
|
|
376
|
+
unsafeDeleteFiberRef(fiberRef) {
|
|
377
|
+
this._fiberRefs = delete_(this._fiberRefs, fiberRef);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Retrieves the state of the fiber ref, or else its initial value.
|
|
382
|
+
*
|
|
383
|
+
* **NOTE**: This method is safe to invoke on any fiber, but if not invoked
|
|
384
|
+
* on this fiber, then values derived from the fiber's state (including the
|
|
385
|
+
* log annotations and log level) may not be up-to-date.
|
|
386
|
+
*/
|
|
387
|
+
getFiberRef(fiberRef) {
|
|
388
|
+
if (this._fiberRefs.locals.has(fiberRef)) {
|
|
389
|
+
return this._fiberRefs.locals.get(fiberRef)[0][1];
|
|
390
|
+
}
|
|
391
|
+
return fiberRef.initial;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Sets the fiber ref to the specified value.
|
|
396
|
+
*
|
|
397
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
398
|
+
*/
|
|
399
|
+
setFiberRef(fiberRef, value) {
|
|
400
|
+
this._fiberRefs = updatedAs(this._fiberRefs, {
|
|
401
|
+
fiberId: this._fiberId,
|
|
402
|
+
fiberRef,
|
|
403
|
+
value
|
|
404
|
+
});
|
|
405
|
+
this.refreshRefCache();
|
|
406
|
+
}
|
|
407
|
+
refreshRefCache() {
|
|
408
|
+
this._tracer = get$1(this.getFiberRef(currentServices), tracerTag);
|
|
409
|
+
this._supervisor = this.getFiberRef(currentSupervisor);
|
|
410
|
+
this._scheduler = this.getFiberRef(currentScheduler);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Wholesale replaces all fiber refs of this fiber.
|
|
415
|
+
*
|
|
416
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
417
|
+
*/
|
|
418
|
+
setFiberRefs(fiberRefs) {
|
|
419
|
+
this._fiberRefs = fiberRefs;
|
|
420
|
+
this.refreshRefCache();
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* Adds a reference to the specified fiber inside the children set.
|
|
425
|
+
*
|
|
426
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
427
|
+
*/
|
|
428
|
+
addChild(child) {
|
|
429
|
+
this.getChildren().add(child);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Removes a reference to the specified fiber inside the children set.
|
|
434
|
+
*
|
|
435
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
436
|
+
*/
|
|
437
|
+
removeChild(child) {
|
|
438
|
+
this.getChildren().delete(child);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* On the current thread, executes all messages in the fiber's inbox. This
|
|
443
|
+
* method may return before all work is done, in the event the fiber executes
|
|
444
|
+
* an asynchronous operation.
|
|
445
|
+
*
|
|
446
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
447
|
+
*/
|
|
448
|
+
drainQueueOnCurrentThread() {
|
|
449
|
+
let recurse = true;
|
|
450
|
+
while (recurse) {
|
|
451
|
+
let evaluationSignal = EvaluationSignalContinue;
|
|
452
|
+
const prev = globalThis[currentFiberURI];
|
|
453
|
+
globalThis[currentFiberURI] = this;
|
|
454
|
+
try {
|
|
455
|
+
while (evaluationSignal === EvaluationSignalContinue) {
|
|
456
|
+
evaluationSignal = this._queue.length === 0 ? EvaluationSignalDone : this.evaluateMessageWhileSuspended(this._queue.splice(0, 1)[0]);
|
|
457
|
+
}
|
|
458
|
+
} finally {
|
|
459
|
+
this._running = false;
|
|
460
|
+
globalThis[currentFiberURI] = prev;
|
|
461
|
+
}
|
|
462
|
+
// Maybe someone added something to the queue between us checking, and us
|
|
463
|
+
// giving up the drain. If so, we need to restart the draining, but only
|
|
464
|
+
// if we beat everyone else to the restart:
|
|
465
|
+
if (this._queue.length > 0 && !this._running) {
|
|
466
|
+
this._running = true;
|
|
467
|
+
if (evaluationSignal === EvaluationSignalYieldNow) {
|
|
468
|
+
this.drainQueueLaterOnExecutor();
|
|
469
|
+
recurse = false;
|
|
470
|
+
} else {
|
|
471
|
+
recurse = true;
|
|
472
|
+
}
|
|
473
|
+
} else {
|
|
474
|
+
recurse = false;
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Schedules the execution of all messages in the fiber's inbox.
|
|
481
|
+
*
|
|
482
|
+
* This method will return immediately after the scheduling
|
|
483
|
+
* operation is completed, but potentially before such messages have been
|
|
484
|
+
* executed.
|
|
485
|
+
*
|
|
486
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
487
|
+
*/
|
|
488
|
+
drainQueueLaterOnExecutor() {
|
|
489
|
+
this._scheduler.scheduleTask(this.run, this.getFiberRef(currentSchedulingPriority));
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Drains the fiber's message queue while the fiber is actively running,
|
|
494
|
+
* returning the next effect to execute, which may be the input effect if no
|
|
495
|
+
* additional effect needs to be executed.
|
|
496
|
+
*
|
|
497
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
498
|
+
*/
|
|
499
|
+
drainQueueWhileRunning(runtimeFlags, cur0) {
|
|
500
|
+
let cur = cur0;
|
|
501
|
+
while (this._queue.length > 0) {
|
|
502
|
+
const message = this._queue.splice(0, 1)[0];
|
|
503
|
+
// @ts-expect-error
|
|
504
|
+
cur = drainQueueWhileRunningTable[message._tag](this, runtimeFlags, cur, message);
|
|
505
|
+
}
|
|
506
|
+
return cur;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Determines if the fiber is interrupted.
|
|
511
|
+
*
|
|
512
|
+
* **NOTE**: This method is safe to invoke on any fiber, but if not invoked
|
|
513
|
+
* on this fiber, then values derived from the fiber's state (including the
|
|
514
|
+
* log annotations and log level) may not be up-to-date.
|
|
515
|
+
*/
|
|
516
|
+
isInterrupted() {
|
|
517
|
+
return !isEmpty(this.getFiberRef(currentInterruptedCause));
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Adds an interruptor to the set of interruptors that are interrupting this
|
|
522
|
+
* fiber.
|
|
523
|
+
*
|
|
524
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
525
|
+
*/
|
|
526
|
+
addInterruptedCause(cause) {
|
|
527
|
+
const oldSC = this.getFiberRef(currentInterruptedCause);
|
|
528
|
+
this.setFiberRef(currentInterruptedCause, sequential$1(oldSC, cause));
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Processes a new incoming interrupt signal.
|
|
533
|
+
*
|
|
534
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
535
|
+
*/
|
|
536
|
+
processNewInterruptSignal(cause) {
|
|
537
|
+
this.addInterruptedCause(cause);
|
|
538
|
+
this.sendInterruptSignalToAllChildren();
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Interrupts all children of the current fiber, returning an effect that will
|
|
543
|
+
* await the exit of the children. This method will return null if the fiber
|
|
544
|
+
* has no children.
|
|
545
|
+
*
|
|
546
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
547
|
+
*/
|
|
548
|
+
sendInterruptSignalToAllChildren() {
|
|
549
|
+
if (this._children === null || this._children.size === 0) {
|
|
550
|
+
return false;
|
|
551
|
+
}
|
|
552
|
+
let told = false;
|
|
553
|
+
for (const child of this._children) {
|
|
554
|
+
child.tell(interruptSignal(interrupt(this.id())));
|
|
555
|
+
told = true;
|
|
556
|
+
}
|
|
557
|
+
return told;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Interrupts all children of the current fiber, returning an effect that will
|
|
562
|
+
* await the exit of the children. This method will return null if the fiber
|
|
563
|
+
* has no children.
|
|
564
|
+
*
|
|
565
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
566
|
+
*/
|
|
567
|
+
interruptAllChildren() {
|
|
568
|
+
if (this.sendInterruptSignalToAllChildren()) {
|
|
569
|
+
const it = this._children.values();
|
|
570
|
+
this._children = null;
|
|
571
|
+
let isDone = false;
|
|
572
|
+
const body = () => {
|
|
573
|
+
const next = it.next();
|
|
574
|
+
if (!next.done) {
|
|
575
|
+
return asUnit(next.value.await());
|
|
576
|
+
} else {
|
|
577
|
+
return sync(() => {
|
|
578
|
+
isDone = true;
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
};
|
|
582
|
+
return whileLoop({
|
|
583
|
+
while: () => !isDone,
|
|
584
|
+
body,
|
|
585
|
+
step: () => {
|
|
586
|
+
//
|
|
587
|
+
}
|
|
588
|
+
});
|
|
589
|
+
}
|
|
590
|
+
return null;
|
|
591
|
+
}
|
|
592
|
+
reportExitValue(exit) {
|
|
593
|
+
if (runtimeMetrics(this._runtimeFlags)) {
|
|
594
|
+
const tags = this.getFiberRef(currentMetricLabels);
|
|
595
|
+
fiberActive.unsafeUpdate(-1, tags);
|
|
596
|
+
switch (exit._tag) {
|
|
597
|
+
case OP_SUCCESS:
|
|
598
|
+
{
|
|
599
|
+
fiberSuccesses.unsafeUpdate(1, tags);
|
|
600
|
+
break;
|
|
601
|
+
}
|
|
602
|
+
case OP_FAILURE:
|
|
603
|
+
{
|
|
604
|
+
fiberFailures.unsafeUpdate(1, tags);
|
|
605
|
+
break;
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
if (exit._tag === "Failure") {
|
|
610
|
+
const level = this.getFiberRef(currentUnhandledErrorLogLevel);
|
|
611
|
+
if (!isInterruptedOnly(exit.cause) && level._tag === "Some") {
|
|
612
|
+
this.log("Fiber terminated with a non handled error", exit.cause, level);
|
|
613
|
+
}
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
setExitValue(exit) {
|
|
617
|
+
this._exitValue = exit;
|
|
618
|
+
if (runtimeMetrics(this._runtimeFlags)) {
|
|
619
|
+
const tags = this.getFiberRef(currentMetricLabels);
|
|
620
|
+
const startTimeMillis = this.id().startTimeMillis;
|
|
621
|
+
const endTimeMillis = new Date().getTime();
|
|
622
|
+
fiberLifetimes.unsafeUpdate(endTimeMillis - startTimeMillis, tags);
|
|
623
|
+
}
|
|
624
|
+
this.reportExitValue(exit);
|
|
625
|
+
for (let i = this._observers.length - 1; i >= 0; i--) {
|
|
626
|
+
this._observers[i](exit);
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
getLoggers() {
|
|
630
|
+
return this.getFiberRef(currentLoggers);
|
|
631
|
+
}
|
|
632
|
+
log(message, cause, overrideLogLevel) {
|
|
633
|
+
const logLevel = isSome(overrideLogLevel) ? overrideLogLevel.value : this.getFiberRef(currentLogLevel);
|
|
634
|
+
const minimumLogLevel = this.getFiberRef(currentMinimumLogLevel);
|
|
635
|
+
if (greaterThan(minimumLogLevel, logLevel)) {
|
|
636
|
+
return;
|
|
637
|
+
}
|
|
638
|
+
const spans = this.getFiberRef(currentLogSpan);
|
|
639
|
+
const annotations = this.getFiberRef(currentLogAnnotations);
|
|
640
|
+
const loggers = this.getLoggers();
|
|
641
|
+
const contextMap = this.getFiberRefs();
|
|
642
|
+
if (size(loggers) > 0) {
|
|
643
|
+
const clockService = get$1(this.getFiberRef(currentServices), clockTag);
|
|
644
|
+
const date = new Date(clockService.unsafeCurrentTimeMillis());
|
|
645
|
+
for (const logger of loggers) {
|
|
646
|
+
logger.log({
|
|
647
|
+
fiberId: this.id(),
|
|
648
|
+
logLevel,
|
|
649
|
+
message,
|
|
650
|
+
cause,
|
|
651
|
+
context: contextMap,
|
|
652
|
+
spans,
|
|
653
|
+
annotations,
|
|
654
|
+
date
|
|
655
|
+
});
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* Evaluates a single message on the current thread, while the fiber is
|
|
662
|
+
* suspended. This method should only be called while evaluation of the
|
|
663
|
+
* fiber's effect is suspended due to an asynchronous operation.
|
|
664
|
+
*
|
|
665
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
666
|
+
*/
|
|
667
|
+
evaluateMessageWhileSuspended(message) {
|
|
668
|
+
switch (message._tag) {
|
|
669
|
+
case OP_YIELD_NOW:
|
|
670
|
+
{
|
|
671
|
+
return EvaluationSignalYieldNow;
|
|
672
|
+
}
|
|
673
|
+
case OP_INTERRUPT_SIGNAL:
|
|
674
|
+
{
|
|
675
|
+
this.processNewInterruptSignal(message.cause);
|
|
676
|
+
if (this._asyncInterruptor !== null) {
|
|
677
|
+
this._asyncInterruptor(exitFailCause(message.cause));
|
|
678
|
+
this._asyncInterruptor = null;
|
|
679
|
+
}
|
|
680
|
+
return EvaluationSignalContinue;
|
|
681
|
+
}
|
|
682
|
+
case OP_RESUME:
|
|
683
|
+
{
|
|
684
|
+
this._asyncInterruptor = null;
|
|
685
|
+
this._asyncBlockingOn = null;
|
|
686
|
+
this.evaluateEffect(message.effect);
|
|
687
|
+
return EvaluationSignalContinue;
|
|
688
|
+
}
|
|
689
|
+
case OP_STATEFUL:
|
|
690
|
+
{
|
|
691
|
+
message.onFiber(this, this._exitValue !== null ? done : suspended(this._runtimeFlags, this._asyncBlockingOn));
|
|
692
|
+
return EvaluationSignalContinue;
|
|
693
|
+
}
|
|
694
|
+
default:
|
|
695
|
+
{
|
|
696
|
+
return absurd(message);
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Evaluates an effect until completion, potentially asynchronously.
|
|
703
|
+
*
|
|
704
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
705
|
+
*/
|
|
706
|
+
evaluateEffect(effect0) {
|
|
707
|
+
this._supervisor.onResume(this);
|
|
708
|
+
try {
|
|
709
|
+
let effect = interruptible$1(this._runtimeFlags) && this.isInterrupted() ? exitFailCause(this.getInterruptedCause()) : effect0;
|
|
710
|
+
while (effect !== null) {
|
|
711
|
+
try {
|
|
712
|
+
const eff = effect;
|
|
713
|
+
const exit = this.runLoop(eff);
|
|
714
|
+
this._runtimeFlags = pipe(this._runtimeFlags, enable(WindDown));
|
|
715
|
+
const interruption = this.interruptAllChildren();
|
|
716
|
+
if (interruption !== null) {
|
|
717
|
+
effect = flatMap$1(interruption, () => exit);
|
|
718
|
+
} else {
|
|
719
|
+
if (this._queue.length === 0) {
|
|
720
|
+
// No more messages to process, so we will allow the fiber to end life:
|
|
721
|
+
this.setExitValue(exit);
|
|
722
|
+
} else {
|
|
723
|
+
// There are messages, possibly added by the final op executed by
|
|
724
|
+
// the fiber. To be safe, we should execute those now before we
|
|
725
|
+
// allow the fiber to end life:
|
|
726
|
+
this.tell(resume(exit));
|
|
727
|
+
}
|
|
728
|
+
effect = null;
|
|
729
|
+
}
|
|
730
|
+
} catch (e) {
|
|
731
|
+
if (isEffect(e)) {
|
|
732
|
+
if (e._op === OP_YIELD) {
|
|
733
|
+
if (cooperativeYielding(this._runtimeFlags)) {
|
|
734
|
+
this.tell(yieldNow());
|
|
735
|
+
this.tell(resume(exitUnit));
|
|
736
|
+
effect = null;
|
|
737
|
+
} else {
|
|
738
|
+
effect = exitUnit;
|
|
739
|
+
}
|
|
740
|
+
} else if (e._op === OP_ASYNC) {
|
|
741
|
+
// Terminate this evaluation, async resumption will continue evaluation:
|
|
742
|
+
effect = null;
|
|
743
|
+
}
|
|
744
|
+
} else {
|
|
745
|
+
throw e;
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
} finally {
|
|
750
|
+
this._supervisor.onSuspend(this);
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Begins execution of the effect associated with this fiber on the current
|
|
756
|
+
* thread. This can be called to "kick off" execution of a fiber after it has
|
|
757
|
+
* been created, in hopes that the effect can be executed synchronously.
|
|
758
|
+
*
|
|
759
|
+
* This is not the normal way of starting a fiber, but it is useful when the
|
|
760
|
+
* express goal of executing the fiber is to synchronously produce its exit.
|
|
761
|
+
*/
|
|
762
|
+
start(effect) {
|
|
763
|
+
if (!this._running) {
|
|
764
|
+
this._running = true;
|
|
765
|
+
const prev = globalThis[currentFiberURI];
|
|
766
|
+
globalThis[currentFiberURI] = this;
|
|
767
|
+
try {
|
|
768
|
+
this.evaluateEffect(effect);
|
|
769
|
+
} finally {
|
|
770
|
+
this._running = false;
|
|
771
|
+
globalThis[currentFiberURI] = prev;
|
|
772
|
+
// Because we're special casing `start`, we have to be responsible
|
|
773
|
+
// for spinning up the fiber if there were new messages added to
|
|
774
|
+
// the queue between the completion of the effect and the transition
|
|
775
|
+
// to the not running state.
|
|
776
|
+
if (this._queue.length > 0) {
|
|
777
|
+
this.drainQueueLaterOnExecutor();
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
} else {
|
|
781
|
+
this.tell(resume(effect));
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* Begins execution of the effect associated with this fiber on in the
|
|
787
|
+
* background, and on the correct thread pool. This can be called to "kick
|
|
788
|
+
* off" execution of a fiber after it has been created, in hopes that the
|
|
789
|
+
* effect can be executed synchronously.
|
|
790
|
+
*/
|
|
791
|
+
startFork(effect) {
|
|
792
|
+
this.tell(resume(effect));
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Takes the current runtime flags, patches them to return the new runtime
|
|
797
|
+
* flags, and then makes any changes necessary to fiber state based on the
|
|
798
|
+
* specified patch.
|
|
799
|
+
*
|
|
800
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
801
|
+
*/
|
|
802
|
+
patchRuntimeFlags(oldRuntimeFlags, patch$1) {
|
|
803
|
+
const newRuntimeFlags = patch(oldRuntimeFlags, patch$1);
|
|
804
|
+
globalThis[currentFiberURI] = this;
|
|
805
|
+
this._runtimeFlags = newRuntimeFlags;
|
|
806
|
+
return newRuntimeFlags;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Initiates an asynchronous operation, by building a callback that will
|
|
811
|
+
* resume execution, and then feeding that callback to the registration
|
|
812
|
+
* function, handling error cases and repeated resumptions appropriately.
|
|
813
|
+
*
|
|
814
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
815
|
+
*/
|
|
816
|
+
initiateAsync(runtimeFlags, asyncRegister) {
|
|
817
|
+
let alreadyCalled = false;
|
|
818
|
+
const callback = effect => {
|
|
819
|
+
if (!alreadyCalled) {
|
|
820
|
+
alreadyCalled = true;
|
|
821
|
+
this.tell(resume(effect));
|
|
822
|
+
}
|
|
823
|
+
};
|
|
824
|
+
if (interruptible$1(runtimeFlags)) {
|
|
825
|
+
this._asyncInterruptor = callback;
|
|
826
|
+
}
|
|
827
|
+
try {
|
|
828
|
+
asyncRegister(callback);
|
|
829
|
+
} catch (e) {
|
|
830
|
+
callback(failCause(die(e)));
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
pushStack(cont) {
|
|
834
|
+
this._stack.push(cont);
|
|
835
|
+
if (cont._op === "OnStep") {
|
|
836
|
+
this._steps.push(true);
|
|
837
|
+
}
|
|
838
|
+
if (cont._op === "RevertFlags") {
|
|
839
|
+
this._steps.push(false);
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
popStack() {
|
|
843
|
+
const item = this._stack.pop();
|
|
844
|
+
if (item) {
|
|
845
|
+
if (item._op === "OnStep" || item._op === "RevertFlags") {
|
|
846
|
+
this._steps.pop();
|
|
847
|
+
}
|
|
848
|
+
return item;
|
|
849
|
+
}
|
|
850
|
+
return;
|
|
851
|
+
}
|
|
852
|
+
getNextSuccessCont() {
|
|
853
|
+
let frame = this.popStack();
|
|
854
|
+
while (frame) {
|
|
855
|
+
if (frame._op !== OP_ON_FAILURE) {
|
|
856
|
+
return frame;
|
|
857
|
+
}
|
|
858
|
+
frame = this.popStack();
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
getNextFailCont() {
|
|
862
|
+
let frame = this.popStack();
|
|
863
|
+
while (frame) {
|
|
864
|
+
if (frame._op !== OP_ON_SUCCESS && frame._op !== OP_WHILE) {
|
|
865
|
+
return frame;
|
|
866
|
+
}
|
|
867
|
+
frame = this.popStack();
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
[OP_TAG](op) {
|
|
871
|
+
return map$2(fiberRefGet(currentContext), context => {
|
|
872
|
+
try {
|
|
873
|
+
return unsafeGet(context, op);
|
|
874
|
+
} catch (e) {
|
|
875
|
+
console.log(e);
|
|
876
|
+
throw e;
|
|
877
|
+
}
|
|
878
|
+
});
|
|
879
|
+
}
|
|
880
|
+
["Left"](op) {
|
|
881
|
+
return fail(op.left);
|
|
882
|
+
}
|
|
883
|
+
["None"](_) {
|
|
884
|
+
return fail(NoSuchElementException());
|
|
885
|
+
}
|
|
886
|
+
["Right"](op) {
|
|
887
|
+
return exitSucceed(op.right);
|
|
888
|
+
}
|
|
889
|
+
["Some"](op) {
|
|
890
|
+
return exitSucceed(op.value);
|
|
891
|
+
}
|
|
892
|
+
[OP_SYNC](op) {
|
|
893
|
+
const value = op.i0();
|
|
894
|
+
const cont = this.getNextSuccessCont();
|
|
895
|
+
if (cont !== undefined) {
|
|
896
|
+
if (!(cont._op in contOpSuccess)) {
|
|
897
|
+
// @ts-expect-error
|
|
898
|
+
absurd(cont);
|
|
899
|
+
}
|
|
900
|
+
// @ts-expect-error
|
|
901
|
+
return contOpSuccess[cont._op](this, cont, value);
|
|
902
|
+
} else {
|
|
903
|
+
throw exitSucceed(value);
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
[OP_SUCCESS](op) {
|
|
907
|
+
const oldCur = op;
|
|
908
|
+
const cont = this.getNextSuccessCont();
|
|
909
|
+
if (cont !== undefined) {
|
|
910
|
+
if (!(cont._op in contOpSuccess)) {
|
|
911
|
+
// @ts-expect-error
|
|
912
|
+
absurd(cont);
|
|
913
|
+
}
|
|
914
|
+
// @ts-expect-error
|
|
915
|
+
return contOpSuccess[cont._op](this, cont, oldCur.i0);
|
|
916
|
+
} else {
|
|
917
|
+
throw oldCur;
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
[OP_FAILURE](op) {
|
|
921
|
+
const cause = op.i0;
|
|
922
|
+
const cont = this.getNextFailCont();
|
|
923
|
+
if (cont !== undefined) {
|
|
924
|
+
switch (cont._op) {
|
|
925
|
+
case OP_ON_FAILURE:
|
|
926
|
+
case OP_ON_SUCCESS_AND_FAILURE:
|
|
927
|
+
{
|
|
928
|
+
if (!(interruptible$1(this._runtimeFlags) && this.isInterrupted())) {
|
|
929
|
+
return cont.i1(cause);
|
|
930
|
+
} else {
|
|
931
|
+
return exitFailCause(stripFailures(cause));
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
case "OnStep":
|
|
935
|
+
{
|
|
936
|
+
if (!(interruptible$1(this._runtimeFlags) && this.isInterrupted())) {
|
|
937
|
+
return cont.i1(exitFailCause(cause));
|
|
938
|
+
} else {
|
|
939
|
+
return exitFailCause(stripFailures(cause));
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
case OP_REVERT_FLAGS:
|
|
943
|
+
{
|
|
944
|
+
this.patchRuntimeFlags(this._runtimeFlags, cont.patch);
|
|
945
|
+
if (interruptible$1(this._runtimeFlags) && this.isInterrupted()) {
|
|
946
|
+
return exitFailCause(sequential$1(cause, this.getInterruptedCause()));
|
|
947
|
+
} else {
|
|
948
|
+
return exitFailCause(cause);
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
default:
|
|
952
|
+
{
|
|
953
|
+
absurd(cont);
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
} else {
|
|
957
|
+
throw exitFailCause(cause);
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
[OP_WITH_RUNTIME](op) {
|
|
961
|
+
return op.i0(this, running(this._runtimeFlags));
|
|
962
|
+
}
|
|
963
|
+
["Blocked"](op) {
|
|
964
|
+
if (this._steps[this._steps.length - 1]) {
|
|
965
|
+
const nextOp = this.popStack();
|
|
966
|
+
if (nextOp) {
|
|
967
|
+
switch (nextOp._op) {
|
|
968
|
+
case "OnStep":
|
|
969
|
+
{
|
|
970
|
+
return nextOp.i1(op);
|
|
971
|
+
}
|
|
972
|
+
case "OnSuccess":
|
|
973
|
+
{
|
|
974
|
+
return blocked(op.i0, flatMap$1(op.i1, nextOp.i1));
|
|
975
|
+
}
|
|
976
|
+
case "OnSuccessAndFailure":
|
|
977
|
+
{
|
|
978
|
+
return blocked(op.i0, matchCauseEffect(op.i1, {
|
|
979
|
+
onFailure: nextOp.i1,
|
|
980
|
+
onSuccess: nextOp.i2
|
|
981
|
+
}));
|
|
982
|
+
}
|
|
983
|
+
case "OnFailure":
|
|
984
|
+
{
|
|
985
|
+
return blocked(op.i0, catchAllCause(op.i1, nextOp.i1));
|
|
986
|
+
}
|
|
987
|
+
case "While":
|
|
988
|
+
{
|
|
989
|
+
return blocked(op.i0, flatMap$1(op.i1, a => {
|
|
990
|
+
nextOp.i2(a);
|
|
991
|
+
if (nextOp.i0()) {
|
|
992
|
+
return whileLoop({
|
|
993
|
+
while: nextOp.i0,
|
|
994
|
+
body: nextOp.i1,
|
|
995
|
+
step: nextOp.i2
|
|
996
|
+
});
|
|
997
|
+
}
|
|
998
|
+
return unit;
|
|
999
|
+
}));
|
|
1000
|
+
}
|
|
1001
|
+
case "RevertFlags":
|
|
1002
|
+
{
|
|
1003
|
+
this.pushStack(nextOp);
|
|
1004
|
+
break;
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
return uninterruptibleMask(restore => flatMap$1(fork(runRequestBlock(op.i0)), () => restore(op.i1)));
|
|
1010
|
+
}
|
|
1011
|
+
["RunBlocked"](op) {
|
|
1012
|
+
return runBlockedRequests(op.i0);
|
|
1013
|
+
}
|
|
1014
|
+
[OP_UPDATE_RUNTIME_FLAGS](op) {
|
|
1015
|
+
const updateFlags = op.i0;
|
|
1016
|
+
const oldRuntimeFlags = this._runtimeFlags;
|
|
1017
|
+
const newRuntimeFlags = patch(oldRuntimeFlags, updateFlags);
|
|
1018
|
+
// One more chance to short circuit: if we're immediately going
|
|
1019
|
+
// to interrupt. Interruption will cause immediate reversion of
|
|
1020
|
+
// the flag, so as long as we "peek ahead", there's no need to
|
|
1021
|
+
// set them to begin with.
|
|
1022
|
+
if (interruptible$1(newRuntimeFlags) && this.isInterrupted()) {
|
|
1023
|
+
return exitFailCause(this.getInterruptedCause());
|
|
1024
|
+
} else {
|
|
1025
|
+
// Impossible to short circuit, so record the changes
|
|
1026
|
+
this.patchRuntimeFlags(this._runtimeFlags, updateFlags);
|
|
1027
|
+
if (op.i1) {
|
|
1028
|
+
// Since we updated the flags, we need to revert them
|
|
1029
|
+
const revertFlags = diff(newRuntimeFlags, oldRuntimeFlags);
|
|
1030
|
+
this.pushStack(new RevertFlags(revertFlags, op));
|
|
1031
|
+
return op.i1(oldRuntimeFlags);
|
|
1032
|
+
} else {
|
|
1033
|
+
return exitUnit;
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
[OP_ON_SUCCESS](op) {
|
|
1038
|
+
this.pushStack(op);
|
|
1039
|
+
return op.i0;
|
|
1040
|
+
}
|
|
1041
|
+
["OnStep"](op) {
|
|
1042
|
+
this.pushStack(op);
|
|
1043
|
+
return op.i0;
|
|
1044
|
+
}
|
|
1045
|
+
[OP_ON_FAILURE](op) {
|
|
1046
|
+
this.pushStack(op);
|
|
1047
|
+
return op.i0;
|
|
1048
|
+
}
|
|
1049
|
+
[OP_ON_SUCCESS_AND_FAILURE](op) {
|
|
1050
|
+
this.pushStack(op);
|
|
1051
|
+
return op.i0;
|
|
1052
|
+
}
|
|
1053
|
+
[OP_ASYNC](op) {
|
|
1054
|
+
this._asyncBlockingOn = op.i1;
|
|
1055
|
+
this.initiateAsync(this._runtimeFlags, op.i0);
|
|
1056
|
+
throw op;
|
|
1057
|
+
}
|
|
1058
|
+
[OP_YIELD](op) {
|
|
1059
|
+
this.isYielding = false;
|
|
1060
|
+
throw op;
|
|
1061
|
+
}
|
|
1062
|
+
[OP_WHILE](op) {
|
|
1063
|
+
const check = op.i0;
|
|
1064
|
+
const body = op.i1;
|
|
1065
|
+
if (check()) {
|
|
1066
|
+
this.pushStack(op);
|
|
1067
|
+
return body();
|
|
1068
|
+
} else {
|
|
1069
|
+
return exitUnit;
|
|
1070
|
+
}
|
|
1071
|
+
}
|
|
1072
|
+
[OP_COMMIT](op) {
|
|
1073
|
+
return op.commit();
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* The main run-loop for evaluating effects.
|
|
1078
|
+
*
|
|
1079
|
+
* **NOTE**: This method must be invoked by the fiber itself.
|
|
1080
|
+
*/
|
|
1081
|
+
runLoop(effect0) {
|
|
1082
|
+
let cur = effect0;
|
|
1083
|
+
this.currentOpCount = 0;
|
|
1084
|
+
// eslint-disable-next-line no-constant-condition
|
|
1085
|
+
while (true) {
|
|
1086
|
+
if ((this._runtimeFlags & OpSupervision) !== 0) {
|
|
1087
|
+
this._supervisor.onEffect(this, cur);
|
|
1088
|
+
}
|
|
1089
|
+
if (this._queue.length > 0) {
|
|
1090
|
+
cur = this.drainQueueWhileRunning(this._runtimeFlags, cur);
|
|
1091
|
+
}
|
|
1092
|
+
if (!this.isYielding) {
|
|
1093
|
+
this.currentOpCount += 1;
|
|
1094
|
+
const shouldYield = this._scheduler.shouldYield(this);
|
|
1095
|
+
if (shouldYield !== false) {
|
|
1096
|
+
this.isYielding = true;
|
|
1097
|
+
this.currentOpCount = 0;
|
|
1098
|
+
const oldCur = cur;
|
|
1099
|
+
cur = flatMap$1(yieldNow$1({
|
|
1100
|
+
priority: shouldYield
|
|
1101
|
+
}), () => oldCur);
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
try {
|
|
1105
|
+
if (!("_op" in cur)) {
|
|
1106
|
+
console.log(cur);
|
|
1107
|
+
}
|
|
1108
|
+
if (!(cur._op in this)) {
|
|
1109
|
+
if (typeof cur === "function") {
|
|
1110
|
+
console.log(cur());
|
|
1111
|
+
}
|
|
1112
|
+
// @ts-expect-error
|
|
1113
|
+
absurd(cur);
|
|
1114
|
+
}
|
|
1115
|
+
// @ts-expect-error
|
|
1116
|
+
cur = this._tracer.context(
|
|
1117
|
+
// @ts-expect-error
|
|
1118
|
+
() => this[cur._op](cur), this);
|
|
1119
|
+
} catch (e) {
|
|
1120
|
+
if (isEffect(e)) {
|
|
1121
|
+
if (e._op === OP_YIELD || e._op === OP_ASYNC) {
|
|
1122
|
+
throw e;
|
|
1123
|
+
}
|
|
1124
|
+
if (e._op === OP_SUCCESS || e._op === OP_FAILURE) {
|
|
1125
|
+
return e;
|
|
1126
|
+
}
|
|
1127
|
+
} else {
|
|
1128
|
+
if (isEffectError(e)) {
|
|
1129
|
+
cur = exitFailCause(e.cause);
|
|
1130
|
+
} else if (isInterruptedException(e)) {
|
|
1131
|
+
cur = exitFailCause(sequential$1(die(e), interrupt(none$2)));
|
|
1132
|
+
} else {
|
|
1133
|
+
cur = exitFailCause(die(e));
|
|
1134
|
+
}
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
run = () => {
|
|
1140
|
+
this.drainQueueOnCurrentThread();
|
|
1141
|
+
};
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
// circular with Logger
|
|
1145
|
+
|
|
1146
|
+
/** @internal */
|
|
1147
|
+
const currentMinimumLogLevel = /*#__PURE__*/fiberRefUnsafeMake( /*#__PURE__*/fromLiteral("Info"));
|
|
1148
|
+
|
|
1149
|
+
/** @internal */
|
|
1150
|
+
const getConsole = refs => {
|
|
1151
|
+
const defaultServicesValue = getOrDefault(refs, currentServices);
|
|
1152
|
+
const cnsl = get$1(defaultServicesValue, consoleTag);
|
|
1153
|
+
return cnsl.unsafe;
|
|
1154
|
+
};
|
|
1155
|
+
|
|
1156
|
+
/** @internal */
|
|
1157
|
+
const defaultLogger = /*#__PURE__*/makeLogger(options => {
|
|
1158
|
+
const formatted = stringLogger.log(options);
|
|
1159
|
+
getConsole(options.context).log(formatted);
|
|
1160
|
+
});
|
|
1161
|
+
|
|
1162
|
+
/** @internal */
|
|
1163
|
+
const logFmtLogger = /*#__PURE__*/makeLogger(options => {
|
|
1164
|
+
const formatted = logfmtLogger.log(options);
|
|
1165
|
+
getConsole(options.context).log(formatted);
|
|
1166
|
+
});
|
|
1167
|
+
|
|
1168
|
+
/** @internal */
|
|
1169
|
+
const tracerLogger = /*#__PURE__*/makeLogger(({
|
|
1170
|
+
annotations,
|
|
1171
|
+
cause,
|
|
1172
|
+
context,
|
|
1173
|
+
fiberId,
|
|
1174
|
+
logLevel,
|
|
1175
|
+
message
|
|
1176
|
+
}) => {
|
|
1177
|
+
const span = flatMap(get(context, currentContext), getOption(spanTag));
|
|
1178
|
+
const clockService = map(get(context, currentServices), _ => get$1(_, clockTag));
|
|
1179
|
+
if (span._tag === "None" || span.value._tag === "ExternalSpan" || clockService._tag === "None") {
|
|
1180
|
+
return;
|
|
1181
|
+
}
|
|
1182
|
+
const attributes = Object.fromEntries(map$1(annotations, value => serializeUnknown(value)));
|
|
1183
|
+
attributes["effect.fiberId"] = threadName(fiberId);
|
|
1184
|
+
attributes["effect.logLevel"] = logLevel.label;
|
|
1185
|
+
if (cause !== null && cause._tag !== "Empty") {
|
|
1186
|
+
attributes["effect.cause"] = pretty(cause);
|
|
1187
|
+
}
|
|
1188
|
+
span.value.event(String(message), clockService.value.unsafeCurrentTimeNanos(), attributes);
|
|
1189
|
+
});
|
|
1190
|
+
|
|
1191
|
+
/** @internal */
|
|
1192
|
+
const currentLoggers = /*#__PURE__*/fiberRefUnsafeMakeHashSet( /*#__PURE__*/make(defaultLogger, tracerLogger));
|
|
1193
|
+
|
|
1194
|
+
// circular with Effect
|
|
1195
|
+
|
|
1196
|
+
/* @internal */
|
|
1197
|
+
const acquireRelease = /*#__PURE__*/dual(args => isEffect(args[0]), (acquire, release) => {
|
|
1198
|
+
return uninterruptible(tap(acquire, a => addFinalizer(exit => release(a, exit))));
|
|
1199
|
+
});
|
|
1200
|
+
|
|
1201
|
+
/* @internal */
|
|
1202
|
+
const acquireReleaseInterruptible = /*#__PURE__*/dual(args => isEffect(args[0]), (acquire, release) => {
|
|
1203
|
+
return ensuring(acquire, addFinalizer(exit => release(exit)));
|
|
1204
|
+
});
|
|
1205
|
+
|
|
1206
|
+
/* @internal */
|
|
1207
|
+
const addFinalizer = finalizer => withFiberRuntime(runtime => {
|
|
1208
|
+
const acquireRefs = runtime.getFiberRefs();
|
|
1209
|
+
const acquireFlags = runtime._runtimeFlags;
|
|
1210
|
+
return flatMap$1(scope, scope => scopeAddFinalizerExit(scope, exit => withFiberRuntime(runtimeFinalizer => {
|
|
1211
|
+
const preRefs = runtimeFinalizer.getFiberRefs();
|
|
1212
|
+
const preFlags = runtimeFinalizer._runtimeFlags;
|
|
1213
|
+
const patchRefs = diff$1(preRefs, acquireRefs);
|
|
1214
|
+
const patchFlags = diff(preFlags, acquireFlags);
|
|
1215
|
+
const inverseRefs = diff$1(acquireRefs, preRefs);
|
|
1216
|
+
runtimeFinalizer.setFiberRefs(patch$1(patchRefs, runtimeFinalizer.id(), acquireRefs));
|
|
1217
|
+
return ensuring(withRuntimeFlags(finalizer(exit), patchFlags), sync(() => {
|
|
1218
|
+
runtimeFinalizer.setFiberRefs(patch$1(inverseRefs, runtimeFinalizer.id(), runtimeFinalizer.getFiberRefs()));
|
|
1219
|
+
}));
|
|
1220
|
+
})));
|
|
1221
|
+
});
|
|
1222
|
+
|
|
1223
|
+
/* @internal */
|
|
1224
|
+
const daemonChildren = self => {
|
|
1225
|
+
const forkScope = fiberRefLocally(currentForkScopeOverride, some(globalScope));
|
|
1226
|
+
return forkScope(self);
|
|
1227
|
+
};
|
|
1228
|
+
|
|
1229
|
+
/** @internal */
|
|
1230
|
+
const _existsParFound = /*#__PURE__*/Symbol.for("effect/Effect/existsPar/found");
|
|
1231
|
+
|
|
1232
|
+
/* @internal */
|
|
1233
|
+
const exists = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, f, options) => matchSimple(options, () => suspend(() => existsLoop(elements[Symbol.iterator](), 0, f)), () => matchEffect(forEachOptions(elements, (a, i) => if_(f(a, i), {
|
|
1234
|
+
onTrue: fail(_existsParFound),
|
|
1235
|
+
onFalse: unit
|
|
1236
|
+
}), options), {
|
|
1237
|
+
onFailure: e => e === _existsParFound ? succeed(true) : fail(e),
|
|
1238
|
+
onSuccess: () => succeed(false)
|
|
1239
|
+
})));
|
|
1240
|
+
const existsLoop = (iterator, index, f) => {
|
|
1241
|
+
const next = iterator.next();
|
|
1242
|
+
if (next.done) {
|
|
1243
|
+
return succeed(false);
|
|
1244
|
+
}
|
|
1245
|
+
return pipe(flatMap$1(f(next.value, index), b => b ? succeed(b) : existsLoop(iterator, index + 1, f)));
|
|
1246
|
+
};
|
|
1247
|
+
|
|
1248
|
+
/* @internal */
|
|
1249
|
+
const filter = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, f, options) => {
|
|
1250
|
+
const predicate = options?.negate ? (a, i) => map$2(f(a, i), not) : f;
|
|
1251
|
+
return matchSimple(options, () => suspend(() => fromIterable(elements).reduceRight((effect, a, i) => zipWith(effect, suspend(() => predicate(a, i)), (list, b) => b ? [a, ...list] : list), sync(() => new Array()))), () => map$2(forEachOptions(elements, (a, i) => map$2(predicate(a, i), b => b ? some(a) : none()), options), compact));
|
|
1252
|
+
});
|
|
1253
|
+
|
|
1254
|
+
// === all
|
|
1255
|
+
|
|
1256
|
+
const allResolveInput = input => {
|
|
1257
|
+
if (Array.isArray(input) || isIterable(input)) {
|
|
1258
|
+
return [input, none()];
|
|
1259
|
+
}
|
|
1260
|
+
const keys = Object.keys(input);
|
|
1261
|
+
const size = keys.length;
|
|
1262
|
+
return [keys.map(k => input[k]), some(values => {
|
|
1263
|
+
const res = {};
|
|
1264
|
+
for (let i = 0; i < size; i++) {
|
|
1265
|
+
res[keys[i]] = values[i];
|
|
1266
|
+
}
|
|
1267
|
+
return res;
|
|
1268
|
+
})];
|
|
1269
|
+
};
|
|
1270
|
+
const allValidate = (effects, reconcile, options) => {
|
|
1271
|
+
const eitherEffects = [];
|
|
1272
|
+
for (const effect of effects) {
|
|
1273
|
+
eitherEffects.push(either(effect));
|
|
1274
|
+
}
|
|
1275
|
+
return flatMap$1(forEachOptions(eitherEffects, identity, {
|
|
1276
|
+
concurrency: options?.concurrency,
|
|
1277
|
+
batching: options?.batching
|
|
1278
|
+
}), eithers => {
|
|
1279
|
+
const none$1 = none();
|
|
1280
|
+
const size = eithers.length;
|
|
1281
|
+
const errors = new Array(size);
|
|
1282
|
+
const successes = new Array(size);
|
|
1283
|
+
let errored = false;
|
|
1284
|
+
for (let i = 0; i < size; i++) {
|
|
1285
|
+
const either = eithers[i];
|
|
1286
|
+
if (either._tag === "Left") {
|
|
1287
|
+
errors[i] = some(either.left);
|
|
1288
|
+
errored = true;
|
|
1289
|
+
} else {
|
|
1290
|
+
successes[i] = either.right;
|
|
1291
|
+
errors[i] = none$1;
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
if (errored) {
|
|
1295
|
+
return reconcile._tag === "Some" ? fail(reconcile.value(errors)) : fail(errors);
|
|
1296
|
+
} else if (options?.discard) {
|
|
1297
|
+
return unit;
|
|
1298
|
+
}
|
|
1299
|
+
return reconcile._tag === "Some" ? succeed(reconcile.value(successes)) : succeed(successes);
|
|
1300
|
+
});
|
|
1301
|
+
};
|
|
1302
|
+
const allEither = (effects, reconcile, options) => {
|
|
1303
|
+
const eitherEffects = [];
|
|
1304
|
+
for (const effect of effects) {
|
|
1305
|
+
eitherEffects.push(either(effect));
|
|
1306
|
+
}
|
|
1307
|
+
if (options?.discard) {
|
|
1308
|
+
return forEachOptions(eitherEffects, identity, {
|
|
1309
|
+
concurrency: options?.concurrency,
|
|
1310
|
+
batching: options?.batching,
|
|
1311
|
+
discard: true
|
|
1312
|
+
});
|
|
1313
|
+
}
|
|
1314
|
+
return map$2(forEachOptions(eitherEffects, identity, {
|
|
1315
|
+
concurrency: options?.concurrency,
|
|
1316
|
+
batching: options?.batching
|
|
1317
|
+
}), eithers => reconcile._tag === "Some" ? reconcile.value(eithers) : eithers);
|
|
1318
|
+
};
|
|
1319
|
+
|
|
1320
|
+
/* @internal */
|
|
1321
|
+
const all = (arg, options) => {
|
|
1322
|
+
const [effects, reconcile] = allResolveInput(arg);
|
|
1323
|
+
if (options?.mode === "validate") {
|
|
1324
|
+
return allValidate(effects, reconcile, options);
|
|
1325
|
+
} else if (options?.mode === "either") {
|
|
1326
|
+
return allEither(effects, reconcile, options);
|
|
1327
|
+
}
|
|
1328
|
+
return reconcile._tag === "Some" ? map$2(forEachOptions(effects, identity, options), reconcile.value) : forEachOptions(effects, identity, options);
|
|
1329
|
+
};
|
|
1330
|
+
|
|
1331
|
+
/* @internal */
|
|
1332
|
+
const allWith = options => arg => all(arg, options);
|
|
1333
|
+
|
|
1334
|
+
/* @internal */
|
|
1335
|
+
const allSuccesses = (elements, options) => map$2(all(fromIterable(elements).map(exit), options), filterMap(exit => exitIsSuccess(exit) ? some(exit.i0) : none()));
|
|
1336
|
+
|
|
1337
|
+
/* @internal */
|
|
1338
|
+
const replicate = /*#__PURE__*/dual(2, (self, n) => Array.from({
|
|
1339
|
+
length: n
|
|
1340
|
+
}, () => self));
|
|
1341
|
+
|
|
1342
|
+
/* @internal */
|
|
1343
|
+
const replicateEffect = /*#__PURE__*/dual(args => isEffect(args[0]), (self, n, options) => all(replicate(self, n), options));
|
|
1344
|
+
|
|
1345
|
+
// @ts-expect-error
|
|
1346
|
+
const forEachOptions = /*#__PURE__*/dual(args => isIterable(args[0]), (self, f, options) => withFiberRuntime(r => {
|
|
1347
|
+
const requestBatchingEnabled = options?.batching === true || options?.batching === "inherit" && r.getFiberRef(currentRequestBatching);
|
|
1348
|
+
if (options?.discard) {
|
|
1349
|
+
return match$1(options, () => finalizersMask(sequential)(restore => requestBatchingEnabled ? forEachBatchedDiscard(self, (a, i) => restore(f(a, i))) : forEachSequentialDiscard(self, (a, i) => restore(f(a, i)))), () => finalizersMask(parallel)(restore => forEachParUnboundedDiscard(self, (a, i) => restore(f(a, i)), requestBatchingEnabled)), n => finalizersMask(parallelN(n))(restore => forEachParNDiscard(self, n, (a, i) => restore(f(a, i)), requestBatchingEnabled)));
|
|
1350
|
+
}
|
|
1351
|
+
return match$1(options, () => finalizersMask(sequential)(restore => requestBatchingEnabled ? forEachParN(self, 1, (a, i) => restore(f(a, i)), true) : forEachSequential(self, (a, i) => restore(f(a, i)))), () => finalizersMask(parallel)(restore => forEachParUnbounded(self, (a, i) => restore(f(a, i)), requestBatchingEnabled)), n => finalizersMask(parallelN(n))(restore => forEachParN(self, n, (a, i) => restore(f(a, i)), requestBatchingEnabled)));
|
|
1352
|
+
}));
|
|
1353
|
+
|
|
1354
|
+
/* @internal */
|
|
1355
|
+
const forEachParUnbounded = (self, f, batching) => suspend(() => {
|
|
1356
|
+
const as = fromIterable(self);
|
|
1357
|
+
const array = new Array(as.length);
|
|
1358
|
+
const fn = (a, i) => flatMap$1(f(a, i), b => sync(() => array[i] = b));
|
|
1359
|
+
return zipRight(forEachParUnboundedDiscard(as, fn, batching), succeed(array));
|
|
1360
|
+
});
|
|
1361
|
+
const forEachBatchedDiscard = (self, f) => suspend(() => {
|
|
1362
|
+
const as = fromIterable(self);
|
|
1363
|
+
const size = as.length;
|
|
1364
|
+
if (size === 0) {
|
|
1365
|
+
return unit;
|
|
1366
|
+
} else if (size === 1) {
|
|
1367
|
+
return asUnit(f(as[0], 0));
|
|
1368
|
+
}
|
|
1369
|
+
const effects = as.map(f);
|
|
1370
|
+
const blocked$1 = new Array();
|
|
1371
|
+
const loop = i => i === effects.length ? suspend(() => {
|
|
1372
|
+
if (blocked$1.length > 0) {
|
|
1373
|
+
const requests = blocked$1.map(b => b.i0).reduce(par);
|
|
1374
|
+
return blocked(requests, forEachBatchedDiscard(blocked$1.map(b => b.i1), identity));
|
|
1375
|
+
}
|
|
1376
|
+
return unit;
|
|
1377
|
+
}) : flatMapStep(effects[i], s => {
|
|
1378
|
+
if (s._op === "Blocked") {
|
|
1379
|
+
blocked$1.push(s);
|
|
1380
|
+
return loop(i + 1);
|
|
1381
|
+
} else if (s._op === "Failure") {
|
|
1382
|
+
return suspend(() => {
|
|
1383
|
+
if (blocked$1.length > 0) {
|
|
1384
|
+
const requests = blocked$1.map(b => b.i0).reduce(par);
|
|
1385
|
+
return blocked(requests, flatMap$1(forEachBatchedDiscard(blocked$1.map(b => b.i1), identity), () => s));
|
|
1386
|
+
}
|
|
1387
|
+
return unit;
|
|
1388
|
+
});
|
|
1389
|
+
} else {
|
|
1390
|
+
return loop(i + 1);
|
|
1391
|
+
}
|
|
1392
|
+
});
|
|
1393
|
+
return loop(0);
|
|
1394
|
+
});
|
|
1395
|
+
|
|
1396
|
+
/* @internal */
|
|
1397
|
+
const forEachParUnboundedDiscard = (self, f, batching) => suspend(() => {
|
|
1398
|
+
const as = fromIterable(self);
|
|
1399
|
+
const size = as.length;
|
|
1400
|
+
if (size === 0) {
|
|
1401
|
+
return unit;
|
|
1402
|
+
} else if (size === 1) {
|
|
1403
|
+
return asUnit(f(as[0], 0));
|
|
1404
|
+
}
|
|
1405
|
+
return uninterruptibleMask(restore => {
|
|
1406
|
+
const deferred = deferredUnsafeMake(none$2);
|
|
1407
|
+
let ref = 0;
|
|
1408
|
+
const residual = [];
|
|
1409
|
+
const joinOrder = [];
|
|
1410
|
+
const process = transplant(graft => forEachSequential(as, (a, i) => pipe(graft(pipe(suspend(() => restore((batching ? step : exit)(f(a, i)))), flatMap$1(exit => {
|
|
1411
|
+
switch (exit._op) {
|
|
1412
|
+
case "Failure":
|
|
1413
|
+
{
|
|
1414
|
+
if (residual.length > 0) {
|
|
1415
|
+
const requests = residual.map(blocked => blocked.i0).reduce(par);
|
|
1416
|
+
const _continue = forEachParUnboundedDiscard(residual, blocked => blocked.i1, batching);
|
|
1417
|
+
return blocked(requests, matchCauseEffect(_continue, {
|
|
1418
|
+
onFailure: cause => zipRight(deferredFail(deferred, void 0), failCause(parallel$1(cause, exit.cause))),
|
|
1419
|
+
onSuccess: () => zipRight(deferredFail(deferred, void 0), failCause(exit.cause))
|
|
1420
|
+
}));
|
|
1421
|
+
}
|
|
1422
|
+
return zipRight(deferredFail(deferred, void 0), failCause(exit.cause));
|
|
1423
|
+
}
|
|
1424
|
+
default:
|
|
1425
|
+
{
|
|
1426
|
+
if (exit._op === "Blocked") {
|
|
1427
|
+
residual.push(exit);
|
|
1428
|
+
}
|
|
1429
|
+
if (ref + 1 === size) {
|
|
1430
|
+
if (residual.length > 0) {
|
|
1431
|
+
const requests = residual.map(blocked => blocked.i0).reduce(par);
|
|
1432
|
+
const _continue = forEachParUnboundedDiscard(residual, blocked => blocked.i1, batching);
|
|
1433
|
+
return deferredSucceed(deferred, blocked(requests, _continue));
|
|
1434
|
+
} else {
|
|
1435
|
+
deferredUnsafeDone(deferred, exitSucceed(exitUnit));
|
|
1436
|
+
}
|
|
1437
|
+
} else {
|
|
1438
|
+
ref = ref + 1;
|
|
1439
|
+
}
|
|
1440
|
+
return unit;
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
}))), forkDaemon, map$2(fiber => {
|
|
1444
|
+
fiber.addObserver(() => {
|
|
1445
|
+
joinOrder.push(fiber);
|
|
1446
|
+
});
|
|
1447
|
+
return fiber;
|
|
1448
|
+
}))));
|
|
1449
|
+
return flatMap$1(process, fibers => matchCauseEffect(restore(deferredAwait(deferred)), {
|
|
1450
|
+
onFailure: cause => flatMap$1(forEachParUnbounded(fibers, interruptFiber, batching), exits => {
|
|
1451
|
+
const exit = exitCollectAll(exits, {
|
|
1452
|
+
parallel: true
|
|
1453
|
+
});
|
|
1454
|
+
if (exit._tag === "Some" && exitIsFailure(exit.value)) {
|
|
1455
|
+
return failCause(parallel$1(stripFailures(cause), exit.value.i0));
|
|
1456
|
+
} else {
|
|
1457
|
+
return failCause(stripFailures(cause));
|
|
1458
|
+
}
|
|
1459
|
+
}),
|
|
1460
|
+
onSuccess: rest => flatMap$1(rest, () => forEachSequentialDiscard(joinOrder, f => f.inheritAll()))
|
|
1461
|
+
}));
|
|
1462
|
+
});
|
|
1463
|
+
});
|
|
1464
|
+
|
|
1465
|
+
/* @internal */
|
|
1466
|
+
const forEachParN = (self, n, f, batching) => suspend(() => {
|
|
1467
|
+
const as = fromIterable(self);
|
|
1468
|
+
const array = new Array(as.length);
|
|
1469
|
+
const fn = (a, i) => map$2(f(a, i), b => array[i] = b);
|
|
1470
|
+
return zipRight(forEachParNDiscard(as, n, fn, batching), succeed(array));
|
|
1471
|
+
});
|
|
1472
|
+
|
|
1473
|
+
/* @internal */
|
|
1474
|
+
const forEachParNDiscard = (self, n, f, batching) => suspend(() => {
|
|
1475
|
+
let i = 0;
|
|
1476
|
+
const iterator = self[Symbol.iterator]();
|
|
1477
|
+
const residual = [];
|
|
1478
|
+
const worker = flatMap$1(sync(() => iterator.next()), next => next.done ? unit : flatMap$1((batching ? step : exit)(asUnit(f(next.value, i++))), res => {
|
|
1479
|
+
switch (res._op) {
|
|
1480
|
+
case "Blocked":
|
|
1481
|
+
{
|
|
1482
|
+
residual.push(res);
|
|
1483
|
+
return worker;
|
|
1484
|
+
}
|
|
1485
|
+
case "Failure":
|
|
1486
|
+
{
|
|
1487
|
+
return res;
|
|
1488
|
+
}
|
|
1489
|
+
case "Success":
|
|
1490
|
+
return worker;
|
|
1491
|
+
}
|
|
1492
|
+
}));
|
|
1493
|
+
const effects = [];
|
|
1494
|
+
for (let i = 0; i < n; i++) {
|
|
1495
|
+
effects.push(worker);
|
|
1496
|
+
}
|
|
1497
|
+
return flatMap$1(exit(forEachParUnboundedDiscard(effects, identity, batching)), exit => {
|
|
1498
|
+
if (residual.length === 0) {
|
|
1499
|
+
return exit;
|
|
1500
|
+
}
|
|
1501
|
+
const requests = residual.map(blocked => blocked.i0).reduce(par);
|
|
1502
|
+
const _continue = forEachParNDiscard(residual, n, blocked => blocked.i1, batching);
|
|
1503
|
+
if (exit._tag === "Failure") {
|
|
1504
|
+
return blocked(requests, matchCauseEffect(_continue, {
|
|
1505
|
+
onFailure: cause => exitFailCause(parallel$1(exit.cause, cause)),
|
|
1506
|
+
onSuccess: () => exit
|
|
1507
|
+
}));
|
|
1508
|
+
}
|
|
1509
|
+
return blocked(requests, _continue);
|
|
1510
|
+
});
|
|
1511
|
+
});
|
|
1512
|
+
|
|
1513
|
+
/* @internal */
|
|
1514
|
+
const fork = self => withFiberRuntime((state, status) => succeed(unsafeFork(self, state, status.runtimeFlags)));
|
|
1515
|
+
|
|
1516
|
+
/* @internal */
|
|
1517
|
+
const forkDaemon = self => forkWithScopeOverride(self, globalScope);
|
|
1518
|
+
|
|
1519
|
+
/* @internal */
|
|
1520
|
+
const forkWithErrorHandler = /*#__PURE__*/dual(2, (self, handler) => fork(onError(self, cause => {
|
|
1521
|
+
const either = failureOrCause(cause);
|
|
1522
|
+
switch (either._tag) {
|
|
1523
|
+
case "Left":
|
|
1524
|
+
{
|
|
1525
|
+
return handler(either.left);
|
|
1526
|
+
}
|
|
1527
|
+
case "Right":
|
|
1528
|
+
{
|
|
1529
|
+
return failCause(either.right);
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
})));
|
|
1533
|
+
|
|
1534
|
+
/** @internal */
|
|
1535
|
+
const unsafeFork = (effect, parentFiber, parentRuntimeFlags, overrideScope = null) => {
|
|
1536
|
+
const childFiber = unsafeMakeChildFiber(effect, parentFiber, parentRuntimeFlags, overrideScope);
|
|
1537
|
+
childFiber.resume(effect);
|
|
1538
|
+
return childFiber;
|
|
1539
|
+
};
|
|
1540
|
+
|
|
1541
|
+
/** @internal */
|
|
1542
|
+
const unsafeMakeChildFiber = (effect, parentFiber, parentRuntimeFlags, overrideScope = null) => {
|
|
1543
|
+
const childId = unsafeMake$1();
|
|
1544
|
+
const parentFiberRefs = parentFiber.getFiberRefs();
|
|
1545
|
+
const childFiberRefs = forkAs(parentFiberRefs, childId);
|
|
1546
|
+
const childFiber = new FiberRuntime(childId, childFiberRefs, parentRuntimeFlags);
|
|
1547
|
+
const childContext = getOrDefault$1(childFiberRefs, currentContext);
|
|
1548
|
+
const supervisor = childFiber._supervisor;
|
|
1549
|
+
supervisor.onStart(childContext, effect, some(parentFiber), childFiber);
|
|
1550
|
+
childFiber.addObserver(exit => supervisor.onEnd(exit, childFiber));
|
|
1551
|
+
const parentScope = overrideScope !== null ? overrideScope : pipe(parentFiber.getFiberRef(currentForkScopeOverride), getOrElse(() => parentFiber.scope()));
|
|
1552
|
+
parentScope.add(parentRuntimeFlags, childFiber);
|
|
1553
|
+
return childFiber;
|
|
1554
|
+
};
|
|
1555
|
+
|
|
1556
|
+
/* @internal */
|
|
1557
|
+
const forkWithScopeOverride = (self, scopeOverride) => withFiberRuntime((parentFiber, parentStatus) => succeed(unsafeFork(self, parentFiber, parentStatus.runtimeFlags, scopeOverride)));
|
|
1558
|
+
|
|
1559
|
+
/* @internal */
|
|
1560
|
+
const mergeAll = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, zero, f, options) => matchSimple(options, () => fromIterable(elements).reduce((acc, a, i) => zipWith(acc, a, (acc, a) => f(acc, a, i)), succeed(zero)), () => flatMap$1(make$1(zero), acc => flatMap$1(forEachOptions(elements, (effect, i) => flatMap$1(effect, a => update(acc, b => f(b, a, i))), options), () => get$2(acc)))));
|
|
1561
|
+
|
|
1562
|
+
/* @internal */
|
|
1563
|
+
const partition = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, f, options) => pipe(forEachOptions(elements, (a, i) => either(f(a, i)), options), map$2(chunk => partitionMap(chunk, identity))));
|
|
1564
|
+
|
|
1565
|
+
/* @internal */
|
|
1566
|
+
const validateAll = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, f, options) => flatMap$1(partition(elements, f, {
|
|
1567
|
+
concurrency: options?.concurrency,
|
|
1568
|
+
batching: options?.batching
|
|
1569
|
+
}), ([es, bs]) => es.length === 0 ? options?.discard ? unit : succeed(bs) : fail(es)));
|
|
1570
|
+
|
|
1571
|
+
/* @internal */
|
|
1572
|
+
const raceAll = all => {
|
|
1573
|
+
const list = fromIterable$1(all);
|
|
1574
|
+
if (!isNonEmpty(list)) {
|
|
1575
|
+
return dieSync(() => IllegalArgumentException(`Received an empty collection of effects`));
|
|
1576
|
+
}
|
|
1577
|
+
const self = headNonEmpty(list);
|
|
1578
|
+
const effects = tailNonEmpty(list);
|
|
1579
|
+
const inheritAll$1 = res => pipe(inheritAll(res[1]), as(res[0]));
|
|
1580
|
+
return pipe(deferredMake(), flatMap$1(done => pipe(make$1(effects.length), flatMap$1(fails => uninterruptibleMask(restore => pipe(fork(interruptible(self)), flatMap$1(head => pipe(effects, forEachSequential(effect => fork(interruptible(effect))), map$2(unsafeFromArray), map$2(tail => pipe(tail, prepend(head))), tap(fibers => pipe(fibers, reduce(unit, (effect, fiber) => pipe(effect, zipRight(pipe(_await(fiber), flatMap$1(raceAllArbiter(fibers, fiber, done, fails)), fork, asUnit)))))), flatMap$1(fibers => pipe(restore(pipe(_await$1(done), flatMap$1(inheritAll$1))), onInterrupt(() => pipe(fibers, reduce(unit, (effect, fiber) => pipe(effect, zipLeft(interruptFiber(fiber))))))))))))))));
|
|
1581
|
+
};
|
|
1582
|
+
|
|
1583
|
+
/* @internal */
|
|
1584
|
+
const raceAllArbiter = (fibers, winner, deferred, fails) => exit => exitMatchEffect(exit, {
|
|
1585
|
+
onFailure: cause => pipe(modify(fails, fails => [fails === 0 ? pipe(deferredFailCause(deferred, cause), asUnit) : unit, fails - 1]), flatten),
|
|
1586
|
+
onSuccess: value => pipe(deferredSucceed(deferred, [value, winner]), flatMap$1(set => set ? pipe(fromIterable$1(fibers), reduce(unit, (effect, fiber) => fiber === winner ? effect : pipe(effect, zipLeft(interruptFiber(fiber))))) : unit))
|
|
1587
|
+
});
|
|
1588
|
+
|
|
1589
|
+
/* @internal */
|
|
1590
|
+
const reduceEffect = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, zero, f, options) => matchSimple(options, () => fromIterable(elements).reduce((acc, a, i) => zipWith(acc, a, (acc, a) => f(acc, a, i)), zero), () => suspend(() => pipe(mergeAll([zero, ...elements], none(), (acc, elem, i) => {
|
|
1591
|
+
switch (acc._tag) {
|
|
1592
|
+
case "None":
|
|
1593
|
+
{
|
|
1594
|
+
return some(elem);
|
|
1595
|
+
}
|
|
1596
|
+
case "Some":
|
|
1597
|
+
{
|
|
1598
|
+
return some(f(acc.value, elem, i));
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
}, options), map$2(option => {
|
|
1602
|
+
switch (option._tag) {
|
|
1603
|
+
case "None":
|
|
1604
|
+
{
|
|
1605
|
+
throw new Error("BUG: Effect.reduceEffect - please report an issue at https://github.com/Effect-TS/io/issues");
|
|
1606
|
+
}
|
|
1607
|
+
case "Some":
|
|
1608
|
+
{
|
|
1609
|
+
return option.value;
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
})))));
|
|
1613
|
+
|
|
1614
|
+
/* @internal */
|
|
1615
|
+
const parallelFinalizers = self => contextWithEffect(context => match(getOption(context, scopeTag), {
|
|
1616
|
+
onNone: () => self,
|
|
1617
|
+
onSome: scope => {
|
|
1618
|
+
switch (scope.strategy._tag) {
|
|
1619
|
+
case "Parallel":
|
|
1620
|
+
return self;
|
|
1621
|
+
case "Sequential":
|
|
1622
|
+
case "ParallelN":
|
|
1623
|
+
return flatMap$1(scopeFork(scope, parallel), inner => scopeExtend(self, inner));
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
}));
|
|
1627
|
+
|
|
1628
|
+
/* @internal */
|
|
1629
|
+
const parallelNFinalizers = parallelism => self => contextWithEffect(context => match(getOption(context, scopeTag), {
|
|
1630
|
+
onNone: () => self,
|
|
1631
|
+
onSome: scope => {
|
|
1632
|
+
if (scope.strategy._tag === "ParallelN" && scope.strategy.parallelism === parallelism) {
|
|
1633
|
+
return self;
|
|
1634
|
+
}
|
|
1635
|
+
return flatMap$1(scopeFork(scope, parallelN(parallelism)), inner => scopeExtend(self, inner));
|
|
1636
|
+
}
|
|
1637
|
+
}));
|
|
1638
|
+
|
|
1639
|
+
/* @internal */
|
|
1640
|
+
const finalizersMask = strategy => self => contextWithEffect(context => match(getOption(context, scopeTag), {
|
|
1641
|
+
onNone: () => self(identity),
|
|
1642
|
+
onSome: scope => {
|
|
1643
|
+
const patch = strategy._tag === "Parallel" ? parallelFinalizers : strategy._tag === "Sequential" ? sequentialFinalizers : parallelNFinalizers(strategy.parallelism);
|
|
1644
|
+
switch (scope.strategy._tag) {
|
|
1645
|
+
case "Parallel":
|
|
1646
|
+
return patch(self(parallelFinalizers));
|
|
1647
|
+
case "Sequential":
|
|
1648
|
+
return patch(self(sequentialFinalizers));
|
|
1649
|
+
case "ParallelN":
|
|
1650
|
+
return patch(self(parallelNFinalizers(scope.strategy.parallelism)));
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
}));
|
|
1654
|
+
|
|
1655
|
+
/* @internal */
|
|
1656
|
+
const scopeWith = f => flatMap$1(scopeTag, f);
|
|
1657
|
+
|
|
1658
|
+
/* @internal */
|
|
1659
|
+
const scopedEffect = effect => flatMap$1(scopeMake(), scope => scopeUse(scope)(effect));
|
|
1660
|
+
|
|
1661
|
+
/* @internal */
|
|
1662
|
+
const sequentialFinalizers = self => contextWithEffect(context => match(getOption(context, scopeTag), {
|
|
1663
|
+
onNone: () => self,
|
|
1664
|
+
onSome: scope => {
|
|
1665
|
+
switch (scope.strategy._tag) {
|
|
1666
|
+
case "Sequential":
|
|
1667
|
+
return self;
|
|
1668
|
+
case "Parallel":
|
|
1669
|
+
case "ParallelN":
|
|
1670
|
+
return flatMap$1(scopeFork(scope, sequential), inner => scopeExtend(self, inner));
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
}));
|
|
1674
|
+
|
|
1675
|
+
/* @internal */
|
|
1676
|
+
const tagMetricsScoped = (key, value) => labelMetricsScoped([make$3(key, value)]);
|
|
1677
|
+
|
|
1678
|
+
/* @internal */
|
|
1679
|
+
const labelMetricsScoped = labels => labelMetricsScopedSet(fromIterable$2(labels));
|
|
1680
|
+
|
|
1681
|
+
/* @internal */
|
|
1682
|
+
const labelMetricsScopedSet = labels => fiberRefLocallyScopedWith(currentMetricLabels, set => pipe(set, union(labels)));
|
|
1683
|
+
|
|
1684
|
+
/* @internal */
|
|
1685
|
+
const using = /*#__PURE__*/dual(2, (self, use) => acquireUseRelease(scopeMake(), scope => flatMap$1(scopeExtend(self, scope), use), (scope, exit) => scopeClose(scope, exit)));
|
|
1686
|
+
|
|
1687
|
+
/** @internal */
|
|
1688
|
+
const validate = /*#__PURE__*/dual(args => isEffect(args[1]), (self, that, options) => validateWith(self, that, (a, b) => [a, b], options));
|
|
1689
|
+
|
|
1690
|
+
/** @internal */
|
|
1691
|
+
const validateWith = /*#__PURE__*/dual(args => isEffect(args[1]), (self, that, f, options) => flatten(zipWithOptions(exit(self), exit(that), (ea, eb) => exitZipWith(ea, eb, {
|
|
1692
|
+
onSuccess: f,
|
|
1693
|
+
onFailure: (ca, cb) => options?.concurrent ? parallel$1(ca, cb) : sequential$1(ca, cb)
|
|
1694
|
+
}), options)));
|
|
1695
|
+
|
|
1696
|
+
/* @internal */
|
|
1697
|
+
const validateFirst = /*#__PURE__*/dual(args => isIterable(args[0]), (elements, f, options) => flip(forEachOptions(elements, (a, i) => flip(f(a, i)), options)));
|
|
1698
|
+
|
|
1699
|
+
/* @internal */
|
|
1700
|
+
const withClockScoped = value => fiberRefLocallyScopedWith(currentServices, add(clockTag, value));
|
|
1701
|
+
|
|
1702
|
+
/* @internal */
|
|
1703
|
+
const withConfigProviderScoped = value => fiberRefLocallyScopedWith(currentServices, add(configProviderTag, value));
|
|
1704
|
+
|
|
1705
|
+
/* @internal */
|
|
1706
|
+
const withEarlyRelease = self => scopeWith(parent => flatMap$1(scopeFork(parent, sequential$2), child => pipe(self, scopeExtend(child), map$2(value => [fiberIdWith(fiberId => scopeClose(child, exitInterrupt(fiberId))), value]))));
|
|
1707
|
+
|
|
1708
|
+
/** @internal */
|
|
1709
|
+
const zipOptions = /*#__PURE__*/dual(args => isEffect(args[1]), (self, that, options) => zipWithOptions(self, that, (a, b) => [a, b], options));
|
|
1710
|
+
|
|
1711
|
+
/** @internal */
|
|
1712
|
+
const zipLeftOptions = /*#__PURE__*/dual(args => isEffect(args[1]), (self, that, options) => zipWithOptions(self, that, (a, _) => a, options));
|
|
1713
|
+
|
|
1714
|
+
/** @internal */
|
|
1715
|
+
const zipRightOptions = /*#__PURE__*/dual(args => isEffect(args[1]), (self, that, options) => zipWithOptions(self, that, (_, b) => b, options));
|
|
1716
|
+
|
|
1717
|
+
/** @internal */
|
|
1718
|
+
const zipWithOptions = /*#__PURE__*/dual(args => isEffect(args[1]), (self, that, f, options) => map$2(all([self, that], {
|
|
1719
|
+
concurrency: options?.concurrent ? 2 : 1,
|
|
1720
|
+
batching: options?.batching
|
|
1721
|
+
}), ([a, a2]) => f(a, a2)));
|
|
1722
|
+
|
|
1723
|
+
/* @internal */
|
|
1724
|
+
const withRuntimeFlagsScoped = update => {
|
|
1725
|
+
if (update === empty) {
|
|
1726
|
+
return unit;
|
|
1727
|
+
}
|
|
1728
|
+
return pipe(runtimeFlags, flatMap$1(runtimeFlags => {
|
|
1729
|
+
const updatedRuntimeFlags = patch(runtimeFlags, update);
|
|
1730
|
+
const revertRuntimeFlags = diff(updatedRuntimeFlags, runtimeFlags);
|
|
1731
|
+
return pipe(updateRuntimeFlags(update), zipRight(addFinalizer(() => updateRuntimeFlags(revertRuntimeFlags))), asUnit);
|
|
1732
|
+
}), uninterruptible);
|
|
1733
|
+
};
|
|
1734
|
+
|
|
1735
|
+
// circular with ReleaseMap
|
|
1736
|
+
|
|
1737
|
+
/* @internal */
|
|
1738
|
+
const releaseMapReleaseAll = (strategy, exit$1) => self => suspend(() => {
|
|
1739
|
+
switch (self.state._tag) {
|
|
1740
|
+
case "Exited":
|
|
1741
|
+
{
|
|
1742
|
+
return unit;
|
|
1743
|
+
}
|
|
1744
|
+
case "Running":
|
|
1745
|
+
{
|
|
1746
|
+
const finalizersMap = self.state.finalizers;
|
|
1747
|
+
const update = self.state.update;
|
|
1748
|
+
const finalizers = Array.from(finalizersMap.keys()).sort((a, b) => b - a).map(key => finalizersMap.get(key));
|
|
1749
|
+
self.state = {
|
|
1750
|
+
_tag: "Exited",
|
|
1751
|
+
nextKey: self.state.nextKey,
|
|
1752
|
+
exit: exit$1,
|
|
1753
|
+
update
|
|
1754
|
+
};
|
|
1755
|
+
return isSequential(strategy) ? pipe(finalizers, forEachSequential(fin => exit(update(fin)(exit$1))), flatMap$1(results => pipe(exitCollectAll(results), map(exitAsUnit), getOrElse(() => exitUnit)))) : isParallel(strategy) ? pipe(forEachParUnbounded(finalizers, fin => exit(update(fin)(exit$1)), false), flatMap$1(results => pipe(exitCollectAll(results, {
|
|
1756
|
+
parallel: true
|
|
1757
|
+
}), map(exitAsUnit), getOrElse(() => exitUnit)))) : pipe(forEachParN(finalizers, strategy.parallelism, fin => exit(update(fin)(exit$1)), false), flatMap$1(results => pipe(exitCollectAll(results, {
|
|
1758
|
+
parallel: true
|
|
1759
|
+
}), map(exitAsUnit), getOrElse(() => exitUnit))));
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
});
|
|
1763
|
+
|
|
1764
|
+
// circular with Scope
|
|
1765
|
+
|
|
1766
|
+
/** @internal */
|
|
1767
|
+
const scopeTag = /*#__PURE__*/Tag(ScopeTypeId);
|
|
1768
|
+
|
|
1769
|
+
/* @internal */
|
|
1770
|
+
const scope = scopeTag;
|
|
1771
|
+
|
|
1772
|
+
/* @internal */
|
|
1773
|
+
const scopeMake = (strategy = sequential$2) => map$2(releaseMapMake, rm => ({
|
|
1774
|
+
[ScopeTypeId]: ScopeTypeId,
|
|
1775
|
+
[CloseableScopeTypeId]: CloseableScopeTypeId,
|
|
1776
|
+
strategy,
|
|
1777
|
+
pipe() {
|
|
1778
|
+
return pipeArguments(this, arguments);
|
|
1779
|
+
},
|
|
1780
|
+
fork: strategy => uninterruptible(pipe(scopeMake(strategy), flatMap$1(scope => pipe(releaseMapAdd(rm, exit => scopeClose(scope, exit)), tap(fin => scopeAddFinalizerExit(scope, fin)), as(scope))))),
|
|
1781
|
+
close: exit => asUnit(releaseMapReleaseAll(strategy, exit)(rm)),
|
|
1782
|
+
addFinalizer: fin => asUnit(releaseMapAdd(fin)(rm))
|
|
1783
|
+
}));
|
|
1784
|
+
|
|
1785
|
+
/* @internal */
|
|
1786
|
+
const scopeExtend = /*#__PURE__*/dual(2, (effect, scope) => mapInputContext(effect,
|
|
1787
|
+
// @ts-expect-error
|
|
1788
|
+
merge(make$2(scopeTag, scope))));
|
|
1789
|
+
|
|
1790
|
+
/* @internal */
|
|
1791
|
+
const scopeUse = /*#__PURE__*/dual(2, (effect, scope) => pipe(effect, scopeExtend(scope), onExit(exit => scope.close(exit))));
|
|
1792
|
+
|
|
1793
|
+
// circular with Supervisor
|
|
1794
|
+
|
|
1795
|
+
/** @internal */
|
|
1796
|
+
const fiberRefUnsafeMakeSupervisor = initial => fiberRefUnsafeMakePatch(initial, {
|
|
1797
|
+
differ: differ,
|
|
1798
|
+
fork: empty$1
|
|
1799
|
+
});
|
|
1800
|
+
|
|
1801
|
+
// circular with FiberRef
|
|
1802
|
+
|
|
1803
|
+
/* @internal */
|
|
1804
|
+
const fiberRefLocallyScoped = /*#__PURE__*/dual(2, (self, value) => asUnit(acquireRelease(flatMap$1(fiberRefGet(self), oldValue => as(fiberRefSet(self, value), oldValue)), oldValue => fiberRefSet(self, oldValue))));
|
|
1805
|
+
|
|
1806
|
+
/* @internal */
|
|
1807
|
+
const fiberRefLocallyScopedWith = /*#__PURE__*/dual(2, (self, f) => fiberRefGetWith(self, a => fiberRefLocallyScoped(self, f(a))));
|
|
1808
|
+
|
|
1809
|
+
/* @internal */
|
|
1810
|
+
const fiberRefMake = (initial, options) => fiberRefMakeWith(() => fiberRefUnsafeMake(initial, options));
|
|
1811
|
+
|
|
1812
|
+
/* @internal */
|
|
1813
|
+
const fiberRefMakeWith = ref => acquireRelease(tap(sync(ref), ref => fiberRefUpdate(ref, identity)), fiberRef => fiberRefDelete(fiberRef));
|
|
1814
|
+
|
|
1815
|
+
/* @internal */
|
|
1816
|
+
const fiberRefMakeContext = initial => fiberRefMakeWith(() => fiberRefUnsafeMakeContext(initial));
|
|
1817
|
+
|
|
1818
|
+
/* @internal */
|
|
1819
|
+
const fiberRefMakeRuntimeFlags = initial => fiberRefMakeWith(() => fiberRefUnsafeMakeRuntimeFlags(initial));
|
|
1820
|
+
|
|
1821
|
+
/** @internal */
|
|
1822
|
+
const currentRuntimeFlags = /*#__PURE__*/fiberRefUnsafeMakeRuntimeFlags(none$3);
|
|
1823
|
+
|
|
1824
|
+
/** @internal */
|
|
1825
|
+
const currentSupervisor = /*#__PURE__*/fiberRefUnsafeMakeSupervisor(none$1);
|
|
1826
|
+
|
|
1827
|
+
// circular with Fiber
|
|
1828
|
+
|
|
1829
|
+
/* @internal */
|
|
1830
|
+
const fiberAwaitAll = fibers => asUnit(_await(fiberAll(fibers)));
|
|
1831
|
+
|
|
1832
|
+
/** @internal */
|
|
1833
|
+
const fiberAll = fibers => ({
|
|
1834
|
+
[FiberTypeId]: fiberVariance,
|
|
1835
|
+
id: () => fromIterable(fibers).reduce((id, fiber) => combine(id, fiber.id()), none$2),
|
|
1836
|
+
await: () => exit(forEachParUnbounded(fibers, fiber => flatten(fiber.await()), false)),
|
|
1837
|
+
children: () => map$2(forEachParUnbounded(fibers, fiber => fiber.children(), false), flatten$1),
|
|
1838
|
+
inheritAll: () => forEachSequentialDiscard(fibers, fiber => fiber.inheritAll()),
|
|
1839
|
+
poll: () => map$2(forEachSequential(fibers, fiber => fiber.poll()), reduceRight(some(exitSucceed(new Array())), (optionB, optionA) => {
|
|
1840
|
+
switch (optionA._tag) {
|
|
1841
|
+
case "None":
|
|
1842
|
+
{
|
|
1843
|
+
return none();
|
|
1844
|
+
}
|
|
1845
|
+
case "Some":
|
|
1846
|
+
{
|
|
1847
|
+
switch (optionB._tag) {
|
|
1848
|
+
case "None":
|
|
1849
|
+
{
|
|
1850
|
+
return none();
|
|
1851
|
+
}
|
|
1852
|
+
case "Some":
|
|
1853
|
+
{
|
|
1854
|
+
return some(exitZipWith(optionA.value, optionB.value, {
|
|
1855
|
+
onSuccess: (a, chunk) => [a, ...chunk],
|
|
1856
|
+
onFailure: parallel$1
|
|
1857
|
+
}));
|
|
1858
|
+
}
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
})),
|
|
1863
|
+
interruptAsFork: fiberId => forEachSequentialDiscard(fibers, fiber => fiber.interruptAsFork(fiberId)),
|
|
1864
|
+
pipe() {
|
|
1865
|
+
return pipeArguments(this, arguments);
|
|
1866
|
+
}
|
|
1867
|
+
});
|
|
1868
|
+
|
|
1869
|
+
/* @internal */
|
|
1870
|
+
const fiberInterruptFork = self => asUnit(forkDaemon(interruptFiber(self)));
|
|
1871
|
+
|
|
1872
|
+
/* @internal */
|
|
1873
|
+
const fiberJoinAll = fibers => asUnit(join(fiberAll(fibers)));
|
|
1874
|
+
|
|
1875
|
+
/* @internal */
|
|
1876
|
+
const fiberScoped = self => acquireRelease(succeed(self), interruptFiber);
|
|
1877
|
+
|
|
1878
|
+
//
|
|
1879
|
+
// circular race
|
|
1880
|
+
//
|
|
1881
|
+
|
|
1882
|
+
/** @internal */
|
|
1883
|
+
const raceWith = /*#__PURE__*/dual(3, (self, other, options) => raceFibersWith(self, other, {
|
|
1884
|
+
onSelfWin: (winner, loser) => flatMap$1(winner.await(), exit => {
|
|
1885
|
+
switch (exit._tag) {
|
|
1886
|
+
case OP_SUCCESS:
|
|
1887
|
+
{
|
|
1888
|
+
return flatMap$1(winner.inheritAll(), () => options.onSelfDone(exit, loser));
|
|
1889
|
+
}
|
|
1890
|
+
case OP_FAILURE:
|
|
1891
|
+
{
|
|
1892
|
+
return options.onSelfDone(exit, loser);
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
}),
|
|
1896
|
+
onOtherWin: (winner, loser) => flatMap$1(winner.await(), exit => {
|
|
1897
|
+
switch (exit._tag) {
|
|
1898
|
+
case OP_SUCCESS:
|
|
1899
|
+
{
|
|
1900
|
+
return flatMap$1(winner.inheritAll(), () => options.onOtherDone(exit, loser));
|
|
1901
|
+
}
|
|
1902
|
+
case OP_FAILURE:
|
|
1903
|
+
{
|
|
1904
|
+
return options.onOtherDone(exit, loser);
|
|
1905
|
+
}
|
|
1906
|
+
}
|
|
1907
|
+
})
|
|
1908
|
+
}));
|
|
1909
|
+
|
|
1910
|
+
/** @internal */
|
|
1911
|
+
const disconnect = self => uninterruptibleMask(restore => fiberIdWith(fiberId => flatMap$1(forkDaemon(restore(self)), fiber => pipe(restore(join(fiber)), onInterrupt(() => pipe(fiber, interruptAsFork(fiberId)))))));
|
|
1912
|
+
|
|
1913
|
+
/** @internal */
|
|
1914
|
+
const race = /*#__PURE__*/dual(2, (self, that) => fiberIdWith(parentFiberId => raceWith(self, that, {
|
|
1915
|
+
onSelfDone: (exit, right) => exitMatchEffect(exit, {
|
|
1916
|
+
onFailure: cause => pipe(join(right), mapErrorCause(cause2 => parallel$1(cause, cause2))),
|
|
1917
|
+
onSuccess: value => pipe(right, interruptAsFiber(parentFiberId), as(value))
|
|
1918
|
+
}),
|
|
1919
|
+
onOtherDone: (exit, left) => exitMatchEffect(exit, {
|
|
1920
|
+
onFailure: cause => pipe(join(left), mapErrorCause(cause2 => parallel$1(cause2, cause))),
|
|
1921
|
+
onSuccess: value => pipe(left, interruptAsFiber(parentFiberId), as(value))
|
|
1922
|
+
})
|
|
1923
|
+
})));
|
|
1924
|
+
|
|
1925
|
+
/** @internal */
|
|
1926
|
+
const raceFibersWith = /*#__PURE__*/dual(3, (self, other, options) => withFiberRuntime((parentFiber, parentStatus) => {
|
|
1927
|
+
const parentRuntimeFlags = parentStatus.runtimeFlags;
|
|
1928
|
+
const raceIndicator = make$4(true);
|
|
1929
|
+
const leftFiber = unsafeMakeChildFiber(self, parentFiber, parentRuntimeFlags, options.selfScope);
|
|
1930
|
+
const rightFiber = unsafeMakeChildFiber(other, parentFiber, parentRuntimeFlags, options.otherScope);
|
|
1931
|
+
return async(cb => {
|
|
1932
|
+
leftFiber.addObserver(() => completeRace(leftFiber, rightFiber, options.onSelfWin, raceIndicator, cb));
|
|
1933
|
+
rightFiber.addObserver(() => completeRace(rightFiber, leftFiber, options.onOtherWin, raceIndicator, cb));
|
|
1934
|
+
leftFiber.startFork(self);
|
|
1935
|
+
rightFiber.startFork(other);
|
|
1936
|
+
}, combine(leftFiber.id(), rightFiber.id()));
|
|
1937
|
+
}));
|
|
1938
|
+
const completeRace = (winner, loser, cont, ab, cb) => {
|
|
1939
|
+
if (compareAndSet(true, false)(ab)) {
|
|
1940
|
+
cb(cont(winner, loser));
|
|
1941
|
+
}
|
|
1942
|
+
};
|
|
1943
|
+
|
|
1944
|
+
/** @internal */
|
|
1945
|
+
const ensuring = /*#__PURE__*/dual(2, (self, finalizer) => uninterruptibleMask(restore => matchCauseEffect(restore(self), {
|
|
1946
|
+
onFailure: cause1 => matchCauseEffect(finalizer, {
|
|
1947
|
+
onFailure: cause2 => failCause(sequential$1(cause1, cause2)),
|
|
1948
|
+
onSuccess: () => failCause(cause1)
|
|
1949
|
+
}),
|
|
1950
|
+
onSuccess: a => as(finalizer, a)
|
|
1951
|
+
})));
|
|
1952
|
+
|
|
1953
|
+
/** @internal */
|
|
1954
|
+
const invokeWithInterrupt = (dataSource, all) => fiberIdWith(id => flatMap$1(flatMap$1(forkDaemon(interruptible(dataSource)), processing => async(cb => {
|
|
1955
|
+
const counts = all.map(_ => _.listeners.count);
|
|
1956
|
+
const checkDone = () => {
|
|
1957
|
+
if (counts.every(count => count === 0)) {
|
|
1958
|
+
cleanup.forEach(f => f());
|
|
1959
|
+
cb(interruptFiber(processing));
|
|
1960
|
+
}
|
|
1961
|
+
};
|
|
1962
|
+
processing.addObserver(exit => {
|
|
1963
|
+
cleanup.forEach(f => f());
|
|
1964
|
+
cb(exit);
|
|
1965
|
+
});
|
|
1966
|
+
const cleanup = all.map((r, i) => {
|
|
1967
|
+
const observer = count => {
|
|
1968
|
+
counts[i] = count;
|
|
1969
|
+
checkDone();
|
|
1970
|
+
};
|
|
1971
|
+
r.listeners.addObserver(observer);
|
|
1972
|
+
return () => r.listeners.removeObserver(observer);
|
|
1973
|
+
});
|
|
1974
|
+
checkDone();
|
|
1975
|
+
return sync(() => {
|
|
1976
|
+
cleanup.forEach(f => f());
|
|
1977
|
+
});
|
|
1978
|
+
})), () => suspend(() => {
|
|
1979
|
+
const residual = all.flatMap(entry => {
|
|
1980
|
+
if (!entry.state.completed) {
|
|
1981
|
+
return [entry];
|
|
1982
|
+
}
|
|
1983
|
+
return [];
|
|
1984
|
+
});
|
|
1985
|
+
return forEachSequentialDiscard(residual, entry => complete(entry.request, exitInterrupt(id)));
|
|
1986
|
+
})));
|
|
1987
|
+
|
|
1988
|
+
/** @internal */
|
|
1989
|
+
const interruptWhenPossible = /*#__PURE__*/dual(2, (self, all) => fiberRefGetWith(currentRequestMap, map => suspend(() => {
|
|
1990
|
+
const entries = fromIterable(all).flatMap(_ => map.has(_) ? [map.get(_)] : []);
|
|
1991
|
+
return invokeWithInterrupt(self, entries);
|
|
1992
|
+
})));
|
|
1993
|
+
|
|
1994
|
+
// circular Tracer
|
|
1995
|
+
|
|
1996
|
+
/** @internal */
|
|
1997
|
+
const makeSpanScoped = (name, options) => acquireRelease(makeSpan(name, options), (span, exit) => flatMap$1(currentTimeNanosTracing, endTime => sync(() => span.end(endTime, exit))));
|
|
1998
|
+
|
|
1999
|
+
/* @internal */
|
|
2000
|
+
const withTracerScoped = value => fiberRefLocallyScopedWith(currentServices, add(tracerTag, value));
|
|
2001
|
+
|
|
2002
|
+
/** @internal */
|
|
2003
|
+
const withSpanScoped = /*#__PURE__*/dual(args => typeof args[0] !== "string", (self, name, options) => flatMap$1(makeSpanScoped(name, options), span => provideService(self, spanTag, span)));
|
|
2004
|
+
|
|
2005
|
+
export { FiberRuntime, acquireRelease, acquireReleaseInterruptible, addFinalizer, all, allSuccesses, allWith, currentLoggers, currentMinimumLogLevel, currentRuntimeFlags, currentSupervisor, daemonChildren, defaultLogger, disconnect, ensuring, exists, fiberActive, fiberAll, fiberAwaitAll, fiberFailures, fiberInterruptFork, fiberJoinAll, fiberLifetimes, fiberRefLocallyScoped, fiberRefLocallyScopedWith, fiberRefMake, fiberRefMakeContext, fiberRefMakeRuntimeFlags, fiberRefMakeWith, fiberRefUnsafeMakeSupervisor, fiberScoped, fiberStarted, fiberSuccesses, filter, finalizersMask, forEachOptions, forEachParN, forEachParNDiscard, forEachParUnbounded, forEachParUnboundedDiscard, fork, forkDaemon, forkWithErrorHandler, getConsole, interruptWhenPossible, invokeWithInterrupt, labelMetricsScoped, labelMetricsScopedSet, logFmtLogger, makeSpanScoped, mergeAll, parallelFinalizers, parallelNFinalizers, partition, race, raceAll, raceFibersWith, raceWith, reduceEffect, releaseMapReleaseAll, replicate, replicateEffect, runtimeFiberVariance, scope, scopeExtend, scopeMake, scopeTag, scopeUse, scopeWith, scopedEffect, sequentialFinalizers, tagMetricsScoped, tracerLogger, unsafeFork, unsafeMakeChildFiber, using, validate, validateAll, validateFirst, validateWith, withClockScoped, withConfigProviderScoped, withEarlyRelease, withRuntimeFlagsScoped, withSpanScoped, withTracerScoped, zipLeftOptions, zipOptions, zipRightOptions, zipWithOptions };
|