Skip to content

Commit 8790e45

Browse files
committed
Note async versions of event handling within EventsProvider
1 parent bf13c35 commit 8790e45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning/src/util/events.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1339,6 +1339,8 @@ pub trait OnionMessageProvider {
13391339
///
13401340
/// Events are processed by passing an [`EventHandler`] to [`process_pending_events`].
13411341
///
1342+
/// Implementations of this event may also feature an async version of event handling.
1343+
///
13421344
/// # Requirements
13431345
///
13441346
/// When using this trait, [`process_pending_events`] will call [`handle_event`] for each pending

0 commit comments

Comments
 (0)