Skip to content

Commit 23cca38

Browse files
committed
Note async versions of event handling within EventsProvider
1 parent b03a1ae commit 23cca38

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
@@ -1400,6 +1400,8 @@ pub trait OnionMessageProvider {
14001400
///
14011401
/// Events are processed by passing an [`EventHandler`] to [`process_pending_events`].
14021402
///
1403+
/// Implementations of this trait may also feature an async version of event handling.
1404+
///
14031405
/// # Requirements
14041406
///
14051407
/// When using this trait, [`process_pending_events`] will call [`handle_event`] for each pending

0 commit comments

Comments
 (0)