Function arret_lsp_server::session::run[][src]

pub async fn run(connection: Connection) -> Result<(), ()>

Runs a session loop against the provided connection

On a clean exit (shutdown followed by exit) this will return Ok, otherwise it will return Err.