We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3547232 commit d7472beCopy full SHA for d7472be
Sources/Dependencies/WithDependencies.swift
@@ -483,7 +483,7 @@ private func isSetting<R>(
483
private func isSetting<R>(
484
_ value: Bool,
485
isolation: isolated (any Actor)? = #isolation,
486
- operation: () async throws -> R
+ operation: () async throws -> sending R
487
) async rethrows -> R {
488
#if DEBUG
489
try await DependencyValues.$isSetting.withValue(value, operation: operation)
0 commit comments