Skip to content

Commit 8d837f0

Browse files
committed
Note async versions of event handling within EventsProvider
1 parent 0ab88c0 commit 8d837f0

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
@@ -1395,6 +1395,8 @@ pub trait OnionMessageProvider {
13951395
///
13961396
/// Events are processed by passing an [`EventHandler`] to [`process_pending_events`].
13971397
///
1398+
/// Implementations of this trait may also feature an async version of event handling.
1399+
///
13981400
/// # Requirements
13991401
///
14001402
/// When using this trait, [`process_pending_events`] will call [`handle_event`] for each pending

0 commit comments

Comments
 (0)