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 83d2fa9 commit f0be1c5Copy full SHA for f0be1c5
Sources/async-task/task/ObservableSingleTask.swift
@@ -69,12 +69,6 @@ extension Async {
69
setState(.idle)
70
}
71
72
- @MainActor
73
- public func cancel(with operation: @escaping @Sendable () -> Void) {
74
- operation()
75
- cancel()
76
- }
77
-
78
/// Manages the lifecycle of an asynchronous task.
79
/// - Parameters:
80
/// - priority: The priority of the task, influencing its execution order. Defaults to `nil`.
0 commit comments