fedimint_client::sm

Module notifier

source
Expand description

Helper to notify modules about state transitions

Structs§

  • State transition notifier for a specific module instance that can only subscribe to transitions belonging to that module
  • State transition notifier owned by the modularized client used to inform modules of state transitions.
  • 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.