@@ -48,14 +48,16 @@ impl BackgroundProcessor {
48
48
/// Start a background thread that takes care of responsibilities enumerated in the top-level
49
49
/// documentation.
50
50
///
51
- /// If `persist_manager` returns an error, then this thread will return said error (and `start()`
52
- /// will need to be called again to restart the `BackgroundProcessor`). Users should wait on
53
- /// [`thread_handle`]'s `join()` method to be able to tell if and when an error is returned, or
54
- /// implement `persist_manager` such that an error is never returned to the `BackgroundProcessor`
51
+ /// If `persist_manager` returns an error, then this thread will return said error (and
52
+ /// `start()` will need to be called again to restart the `BackgroundProcessor`). Users should
53
+ /// wait on [`thread_handle`]'s `join()` method to be able to tell if and when an error is
54
+ /// returned, or implement `persist_manager` such that an error is never returned to the
55
+ /// `BackgroundProcessor`
55
56
///
56
- /// `persist_manager` is responsible for writing out the [`ChannelManager`] to disk, and/or uploading
57
- /// to one or more backup services. See [`ChannelManager::write`] for writing out a [`ChannelManager`].
58
- /// See [`FilesystemPersister::persist_manager`] for Rust-Lightning's provided implementation.
57
+ /// `persist_manager` is responsible for writing out the [`ChannelManager`] to disk, and/or
58
+ /// uploading to one or more backup services. See [`ChannelManager::write`] for writing out a
59
+ /// [`ChannelManager`]. See [`FilesystemPersister::persist_manager`] for Rust-Lightning's
60
+ /// provided implementation.
59
61
///
60
62
/// [`thread_handle`]: BackgroundProcessor::thread_handle
61
63
/// [`ChannelManager`]: lightning::ln::channelmanager::ChannelManager
0 commit comments