LspService.wrap constructor

LspService.wrap(
  1. LspClient client
)

Wraps an existing client (e.g. one connected to a remote server over a StreamLspEndpoint) with the same document-tracking convenience. The caller retains ownership: dispose will not dispose client.

Implementation

factory LspService.wrap(LspClient client) => LspService._(client, false);