We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@MainActor
withMainSerialExecutor
1 parent 42e2ad3 commit 13baaa8Copy full SHA for 13baaa8
Sources/ConcurrencyExtras/MainSerialExecutor.swift
@@ -29,7 +29,7 @@
29
/// - Parameter operation: An operation to be performed on the main serial executor.
30
31
public func withMainSerialExecutor(
32
- @_implicitSelfCapture operation: @MainActor @Sendable () async throws -> Void
+ @_implicitSelfCapture operation: @Sendable () async throws -> Void
33
) async rethrows {
34
let didUseMainSerialExecutor = uncheckedUseMainSerialExecutor
35
defer { uncheckedUseMainSerialExecutor = didUseMainSerialExecutor }
0 commit comments