pub async fn send_to_actor( state: &AppState, ref_id: Uuid, msg: RefMsg, ) -> Result<(), AppError>
Send a message to the ref actor for ref_id, starting one if needed.
ref_id