mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Remove clientID from request handling
The client ID was needed when a `MessageHandler` could handle messages from multiple connections. We don’t support this anymore (because it wasn’t needed) and so the client ID doesn’t need to get passed through as well.
This commit is contained in:
@@ -190,7 +190,7 @@ public actor BuildServerBuildSystem: MessageHandler {
|
||||
/// the build server has sent us a notification.
|
||||
///
|
||||
/// We need to notify the delegate about any updated build settings.
|
||||
public nonisolated func handle(_ params: some NotificationType, from clientID: ObjectIdentifier) {
|
||||
public nonisolated func handle(_ params: some NotificationType) {
|
||||
logger.info(
|
||||
"""
|
||||
Received notification from build server:
|
||||
@@ -212,7 +212,6 @@ public actor BuildServerBuildSystem: MessageHandler {
|
||||
public nonisolated func handle<R: RequestType>(
|
||||
_ params: R,
|
||||
id: RequestID,
|
||||
from clientID: ObjectIdentifier,
|
||||
reply: @escaping (LSPResult<R.Response>) -> Void
|
||||
) {
|
||||
logger.info(
|
||||
|
||||
Reference in New Issue
Block a user