fedimint_client::sm

Module notifier

Source
Expand description

Helper to notify modules about state transitions

Structs§

ModuleNotifier
State transition notifier for a specific module instance that can only subscribe to transitions belonging to that module
Notifier
State transition notifier owned by the modularized client used to inform modules of state transitions.
NotifierSender
Notifier send handle that can be shared to places where we don’t need an entire Notifier but still need to trigger notifications. The main use case is triggering notifications when a DB transaction was committed successfully.