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.
AsyncQueue
1 parent 7670fd4 commit b9d5a66Copy full SHA for b9d5a66
Sources/SKSupport/AsyncQueue.swift
@@ -144,7 +144,7 @@ public final class AsyncQueue<TaskMetadata: DependencyTracker>: Sendable {
144
let dependencies: [PendingTask] = tasks.filter { $0.metadata.isDependency(of: metadata) }
145
146
// Schedule the task.
147
- let task = Task { [pendingTasks] in
+ let task = Task(priority: priority) { [pendingTasks] in
148
// IMPORTANT: The only throwing call in here must be the call to
149
// operation. Otherwise the assumption that the task will never throw
150
// if `operation` does not throw, which we are making in `async` does
0 commit comments