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

Method notification

plugins/src/lib.rs:159–162  ·  view source on GitHub ↗
(mut self, notif: messages::NotificationTopic)

Source from the content-addressed store, hash-verified

157 }
158
159 pub fn notification(mut self, notif: messages::NotificationTopic) -> Builder<S, I, O> {
160 self.notifications.push(notif);
161 self
162 }
163
164 /// Subscribe to notifications for the given `topic`. The handler
165 /// is an async function that takes a `Plugin<S>` and the

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected