effect-io-ai

Package: effect
Module: Effect

Effect.withConfigProviderScoped

Sets a configuration provider within a scope.

Details

This function sets the configuration provider to a specified value and ensures that it is restored to its original value when the scope is closed.

Signature

declare const withConfigProviderScoped: (provider: ConfigProvider) => Effect<void, never, Scope.Scope>

Source

Since v2.0.0