Skip to main content

start_relay_incoming_ack_pipeline

Function start_relay_incoming_ack_pipeline 

Source
async fn start_relay_incoming_ack_pipeline<AckIn, T, TEvt, A, SEvt>(
    ack_incoming: AckIn,
    ticket_events: TEvt,
    ticket_proc: Arc<T>,
    exit_ack_proc: Arc<A>,
    recovered_ssa: SEvt,
    concurrency: usize,
)
where AckIn: Stream + Send + 'static, AckIn::Item: Into<WithContext<(OffchainPublicKey, Vec<Acknowledgement>)>> + Send, T: UnacknowledgedTicketProcessor + Sync + Send + 'static, TEvt: Sink<TicketEvent> + Clone + Unpin + Send + 'static, TEvt::Error: Error, A: ExitAcknowledgementShareProcessor<HoprPixSpec> + Send + Sync + 'static, SEvt: Sink<HoprShareResolution> + Clone + Unpin + Send + 'static, SEvt::Error: Error,