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.
2 parents e47a2a3 + c68a989 commit a1ca0d3Copy full SHA for a1ca0d3
Sources/SourceKitD/SourceKitD.swift
@@ -139,10 +139,9 @@ extension SourceKitD {
139
timeout: Duration,
140
fileContents: String?
141
) async throws -> SKDResponseDictionary {
142
- log(request: request)
143
-
144
let sourcekitdResponse = try await withTimeout(timeout) {
145
return try await withCancellableCheckedThrowingContinuation { (continuation) -> SourceKitDRequestHandle? in
+ self.log(request: request)
146
var handle: sourcekitd_api_request_handle_t? = nil
147
self.api.send_request(request.dict, &handle) { response in
148
continuation.resume(returning: SKDResponse(response!, sourcekitd: self))
0 commit comments