Function run

Source
async fn run<T: LspService<Response = Value>>(
    socket: SocketWrapper,
    main: MainLoop<T>,
)
where ResponseError: From<T::Error>,
Available on crate feature ws only.