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

Method notification

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

Source from the content-addressed store, hash-verified

156 }
157
158 pub fn notification(mut self, notif: messages::NotificationTopic) -> Builder<S, I, O> {
159 self.notifications.push(notif);
160 self
161 }
162
163 /// Subscribe to notifications for the given `topic`. The handler
164 /// 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