import * as Effect from "effect/Effect";
import {
provideOptionalRuntimeLocalScope,
type RuntimeLocalScopeState,
} from "../../scope/runtime-context";
export const provideRuntimeLocalScope = (
effect: Effect.Effect,
runtimeLocalScope: RuntimeLocalScopeState | null,
): Effect.Effect =>
provideOptionalRuntimeLocalScope(effect, runtimeLocalScope);