loalang 0.1.15

Loa is a general-purpose, purely immutable, object-oriented programming language.
Documentation
1
2
3
4
5
6
7
8
9
use crate::server_handler::ServerContext;
use lsp_types::notification::Notification;

pub trait NotificationHandler {
    type N: Notification;

    fn handle(context: &mut ServerContext, params: <Self::N as Notification>::Params)
        -> Option<()>;
}