pub async fn get_relayer_last_sync(
pool: &Arc<Pool>,
prefix: &str,
relayer_id: &str,
) -> Result<Option<DateTime<Utc>>>Expand description
Gets the last sync timestamp for a relayer.
§Arguments
conn- Redis connection managerprefix- Key prefix for multi-tenant supportrelayer_id- The relayer’s unique identifier
§Returns
Ok(Some(DateTime))- The last sync time if recordedOk(None)- If the relayer has never been syncedErr(_)- Redis communication error