[][src]Function interledger::settlement::core::engines_api::create_settlement_engine_filter

pub fn create_settlement_engine_filter<E, S>(
    engine: E,
    store: S
) -> BoxedFilter<(impl Reply,)> where
    E: SettlementEngine + Clone + Send + Sync + 'static,
    S: IdempotentStore + Clone + Send + Sync + 'static, 

Returns a Settlement Engine filter which exposes a Warp-compatible idempotent API which forwards calls to the provided settlement engine which uses the underlying store for idempotency.