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

Method dispatch_notification

plugins/src/lib.rs:584–593  ·  view source on GitHub ↗
(
        &self,
        _notification: messages::Notification,
        _plugin: &Plugin<S>,
    )

Source from the content-addressed store, hash-verified

582 }
583
584 async fn dispatch_notification(
585 &self,
586 _notification: messages::Notification,
587 _plugin: &Plugin<S>,
588 ) -> Result<(), Error>
589 where
590 S: Send + Clone,
591 {
592 todo!("As soon as we define the full structure of the messages::Notification we'll get here. Until then the custom dispatcher below is used.")
593 }
594
595 async fn dispatch_custom_request(
596 &self,

Callers 1

dispatch_oneMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected