From: vss96 Date: Mon, 20 Sep 2021 19:05:26 +0000 (+0530) Subject: Update docs to specify where process events is called X-Git-Tag: v0.0.101~12^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=2f0f0c9bf397b19fba8fe617b50f1eb25dc79431;p=rust-lightning Update docs to specify where process events is called --- diff --git a/lightning/src/ln/peer_handler.rs b/lightning/src/ln/peer_handler.rs index c9bc40c94..80edebc69 100644 --- a/lightning/src/ln/peer_handler.rs +++ b/lightning/src/ln/peer_handler.rs @@ -1169,6 +1169,9 @@ impl P /// May call [`send_data`] on [`SocketDescriptor`]s. Thus, be very careful with reentrancy /// issues! /// + /// You don't have to call this function explicitly if you are using [`lightning-net-tokio`] + /// or one of the other clients provided in our language bindings. + /// /// [`send_payment`]: crate::ln::channelmanager::ChannelManager::send_payment /// [`ChannelManager::process_pending_htlc_forwards`]: crate::ln::channelmanager::ChannelManager::process_pending_htlc_forwards /// [`send_data`]: SocketDescriptor::send_data