(rpc_path: PathBuf, timeout: std::time::Duration)
| 57 | |
| 58 | impl State { |
| 59 | pub fn new(rpc_path: PathBuf, timeout: std::time::Duration) -> Self { |
| 60 | Self { |
| 61 | sender: ClnSender::new(rpc_path), |
| 62 | pending: PendingRequests::new(), |
| 63 | timeout, |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | pub fn client(&self) -> LspsClient<MultiplexedTransport<ClnSender>> { |
| 68 | LspsClient::new(self.transport()) |
nothing calls this directly
no outgoing calls
no test coverage detected