Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 23cca38

Browse files
committedNov 8, 2022
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‎

Lines changed: 2 additions & 0 deletions
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)
Please sign in to comment.