summaryrefslogtreecommitdiff
path: root/support/texlab/src/req_queue.rs
blob: c1eb7b95945d71d882294f02ed6fb70fce52d399 (plain)
1
2
3
4
5
6
7
8
9
10
use crossbeam_channel::Sender;
use lsp_server::ResponseError;

pub struct IncomingData;

pub struct OutgoingData {
    pub(crate) sender: Sender<Result<serde_json::Value, ResponseError>>,
}

pub type ReqQueue = lsp_server::ReqQueue<IncomingData, OutgoingData>;