use std::time::Duration; use models::ProcedureName; use crate::prelude::*; use crate::service::Service; impl Service { // TODO: leave here or switch to Actor Message? pub async fn properties(&self) -> Result { let container = &self.seed.persistent_container; container .execute::( ProcedureName::Properties, Value::Null, Some(Duration::from_secs(30)), ) .await .with_kind(ErrorKind::Unknown) } }