Uses of Class
org.ldk.structs.Future
-
Packages that use Future Package Description org.ldk.structs -
-
Uses of Future in org.ldk.structs
Methods in org.ldk.structs that return Future Modifier and Type Method Description Future
Future. clone()
Creates a copy of the FutureFuture
ChannelManager. get_persistable_update_future()
Gets a [`Future`] that completes when this [`ChannelManager`] needs to be persisted.Future
ChainMonitor. get_update_future()
Gets a [`Future`] that completes when an event is available either via [`chain::Watch::release_pending_monitor_events`] or [`EventsProvider::process_pending_events`].Methods in org.ldk.structs with parameters of type Future Modifier and Type Method Description static Sleeper
Sleeper. from_single_future(Future future)
Constructs a new sleeper from one future, allowing blocking on it.static Sleeper
Sleeper. from_two_futures(Future fut_a, Future fut_b)
Constructs a new sleeper from two futures, allowing blocking on both at once.static Sleeper
Sleeper. of(Future[] futures)
Constructs a new sleeper on many futures, allowing blocking on all at once.
-