Skip to content

Commit

Permalink
still silly
Browse files Browse the repository at this point in the history
  • Loading branch information
sgwilym committed Aug 30, 2024
1 parent c3e34f6 commit ed562f6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion data-model/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,5 +537,10 @@ where
progress_id: u64,
area: &Area<MCL, MCC, MPL, S>,
ignore: Option<QueryIgnoreParams>,
) -> Result<impl Producer<Item = StoreEvent<MCL, MCC, MPL, N, S, PD, AT>>, ResumptionFailedError>;
) -> impl Future<
Output = Result<
impl Producer<Item = StoreEvent<MCL, MCC, MPL, N, S, PD, AT>>,
ResumptionFailedError,
>,
>;
}
7 changes: 6 additions & 1 deletion wgps/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,12 @@ where
progress_id: u64,
range: &Range3d<MCL, MCC, MPL, S>,
ignore: Option<QueryIgnoreParams>,
) -> Result<impl Producer<Item = StoreEvent<MCL, MCC, MPL, N, S, PD, AT>>, ResumptionFailedError>;
) -> impl Future<
Output = Result<
impl Producer<Item = StoreEvent<MCL, MCC, MPL, N, S, PD, AT>>,
ResumptionFailedError,
>,
>;

/// Summarise a [`Range3d`] as a [fingerprint](https://willowprotocol.org/specs/3d-range-based-set-reconciliation/index.html#d3rbsr_fp).
fn summarise(&self, range: Range3d<MCL, MCC, MPL, S>) -> impl Future<Output = FP>;
Expand Down

0 comments on commit ed562f6

Please sign in to comment.