fedimint_client::sm::state

Type Alias StateTransitionFunction

source
pub(super) type StateTransitionFunction<S> = Arc<dyn for<'a> Fn(&'a mut ClientSMDatabaseTransaction<'_, '_>, Value, S) -> BoxFuture<'a, S> + Send + Sync>;

Aliased Typeยง

struct StateTransitionFunction<S> { /* private fields */ }