(mut self, notif: messages::NotificationTopic)
| 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 |