hopr_chain_actions::action_state

Type Alias ExpectationResolver

Source
pub type ExpectationResolver = Pin<Box<dyn Future<Output = Result<SignificantChainEvent>> + Send>>;
Expand description

Future that resolves once an expectation is matched by some SignificantChainEvent. Also allows mocking in tests.

Aliased Typeยง

struct ExpectationResolver {}