Module wakers

Source
Expand description

Utilities which allow users to block on some future notification from LDK. These are specifically used by ChannelManager to allow waiting until the ChannelManager needs to be re-persisted.

Structs§

Future
A simple future which can complete once, and calls some callback(s) when it does so.
Notifier
Used to signal to one of many waiters that the condition they’re waiting on has happened.
Sleeper
A struct which can be used to select across many Futures at once without relying on a full async context.

Traits§

FutureCallback
A callback which is called when a Future completes.