mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-06 18:24:36 +01:00
Make all methods on BuildSystem async
This is the prerequisite for making the build systems actors.
This commit is contained in:
@@ -65,6 +65,11 @@ public final class BuildServerBuildSystem: MessageHandler {
|
||||
/// Delegate to handle any build system events.
|
||||
public weak var delegate: BuildSystemDelegate?
|
||||
|
||||
/// - Note: Needed to set the delegate from a different actor isolation context
|
||||
public func setDelegate(_ delegate: BuildSystemDelegate?) async {
|
||||
self.delegate = delegate
|
||||
}
|
||||
|
||||
/// The build settings that have been received from the build server.
|
||||
private var buildSettings: [DocumentURI: FileBuildSettings] = [:]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user