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 de90bbc commit 5a27645Copy full SHA for 5a27645
Sources/CodeEditSourceEditor/TreeSitter/TreeSitterExecutor.swift
@@ -124,7 +124,7 @@ final package class TreeSitterExecutor {
124
queuedTasks.append(QueueItem(task: task, id: id, priority: priority))
125
}
126
127
- func exec<T>(_ priority: Priority = .access, operation: @escaping () -> T) async throws -> T{
+ func exec<T>(_ priority: Priority = .access, operation: @escaping () -> T) async throws -> T {
128
return try await withCheckedThrowingContinuation { continuation in
129
execAsync(priority: priority) {
130
continuation.resume(returning: operation())
0 commit comments