rabbit_auto::auto_ack

Function auto_ack

source
pub fn auto_ack<S: StreamExt + Stream<Item = Delivery>>(
    stream: S,
) -> impl Stream<Item = (AutoAck, Vec<u8>)>
Expand description

Map consumer stream into automatically ack stream. The AutoAck object can still be used to release the ack, and manually ack it or not ack it.