iroh_docs::sync

Type Alias ContentStatusCallback

Source
pub type ContentStatusCallback = Arc<dyn Fn(Hash) -> ContentStatus + Send + Sync + 'static>;
Expand description

Callback that may be set on a replica to determine the availability status for a content hash.

Aliased Typeยง

struct ContentStatusCallback { /* private fields */ }