/// Sends an idempotent account creation request to the engine (will retry if it fails)
/// This is done by sending a POST to /accounts with the provided `id` as the request's body
Sends an idempotent account creation request to the engine (will retry if it fails)
This is done by sending a POST to /accounts with the provided `id` as the request's body
Sends an idempotent account creation request to the engine ( will retry if it fails ) This is done by sending a POST to / accounts with the provided ` id ` as the request ' s body
pub async fn create_engine_account(&self, id: Uuid, engine_url: Url) -> Response {
        FutureRetry::new(
            move || self.create_engine_account_once(id, engine_url.clone()),
            RequestErrorHandler::new(self.max_retries),
        )
        .await
        .map(|(response, _attempts)| response)
        .map_err(|(err, _attempts)| err)
    }
pub async fn create_engine_account ( & self , id : Uuid , engine_url : Url ) -> Response { FutureRetry :: new ( move | | self . create_engine_account_once ( id , engine_url . clone ( ) ) , RequestErrorHandler :: new ( self . max_retries ) , ) . await . map ( | ( response , _attempts ) | response ) . map_err ( | ( err , _attempts ) | err ) }
Sends an idempotent account creation request to the engine (will retry if it fails)
This is done by sending a POST to /accounts with the provided `id` as the request's body
Sends an idempotent account creation request to the engine ( will retry if it fails ) This is done by sending a POST to / accounts with the provided ` id ` as the request ' s body
&self
id
Uuid
engine_url
Url