sui_indexer::handlers::objects_snapshot_handler

Function start_objects_snapshot_handler

Source
pub async fn start_objects_snapshot_handler(
    store: PgIndexerStore,
    metrics: IndexerMetrics,
    snapshot_config: SnapshotLagConfig,
    cancel: CancellationToken,
    start_checkpoint_opt: Option<u64>,
    end_checkpoint_opt: Option<u64>,
) -> IndexerResult<(ObjectsSnapshotHandler, u64)>