Package org.ldk.structs
Interface EventsProvider.EventsProviderInterface
-
- Enclosing class:
- EventsProvider
public static interface EventsProvider.EventsProviderInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process_pending_events(EventHandler handler)
Processes any events generated since the last call using the given event handler.
-
-
-
Method Detail
-
process_pending_events
void process_pending_events(EventHandler handler)
Processes any events generated since the last call using the given event handler. Subsequent calls must only process new events. However, handlers must be capable of handling duplicate events across process restarts. This may occur if the provider was recovered from an old state (i.e., it hadn't been successfully persisted after processing pending events).
-
-