Skip to content

Commit add1010

Browse files
committed
f - Mention BackgroundProcessor in NetworkUpdateHandler docs
1 parent c71e274 commit add1010

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lightning/src/routing/network_graph.rs

+6
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,13 @@ impl_writeable_tlv_based_enum_upgradable!(NetworkUpdate,
139139
/// Once `event_handler` has been decorated, use it with any implementation of [`EventsProvider`] as
140140
/// usual.
141141
///
142+
/// # Note
143+
///
144+
/// [`BackgroundProcessor`] is configured to decorate the user-provided [`EventHandler`] with this
145+
/// handler.
146+
///
142147
/// [`EventsProvider`]: crate::util::events::EventsProvider
148+
/// [`BackgroundProcessor`]: ../../../lightning_background_processor/struct.BackgroundProcessor.html
143149
pub struct NetworkUpdateHandler<G: Deref<Target=NetworkGraph>, L: Deref, E: EventHandler>
144150
where L::Target: Logger {
145151
secp_ctx: Secp256k1<secp256k1::VerifyOnly>,

0 commit comments

Comments
 (0)