pub trait DmqConsumer<M: TryFromBytes + Debug + Send + Sync>: Send + Sync {
// Required method
fn consume_messages<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = StdResult<Vec<(M, PartyId)>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Trait for consuming messages from a DMQ node.