MCPcopy Create free account
hub / github.com/ElementsProject/lightning / new

Method new

cln-grpc/src/server.rs:26–35  ·  view source on GitHub ↗
(
        path: &Path,
        events : broadcast::Sender<Notification>
    )

Source from the content-addressed store, hash-verified

24impl Server
25{
26 pub async fn new(
27 path: &Path,
28 events : broadcast::Sender<Notification>
29 ) -> Result<Self>
30 {
31 Ok(Self {
32 rpc_path: path.to_path_buf(),
33 events : events
34 })
35 }
36}
37
38pub struct NotificationStream<T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected