Function brane_cli::run::process_instance_result

source ·
pub async fn process_instance_result(
    api_endpoint: impl AsRef<str>,
    proxy_addr: &Option<String>,
    result: FullValue,
) -> Result<(), Error>
Expand description

Processes the given result of a remote workflow execution.

§Arguments

  • api_endpoint: The remote endpoint where we can potentially download data from (or, that at least knows about it).
  • proxy_addr: If given, proxies all data transfers through the proxy at the given location.
  • result: The value to process.

§Returns

Nothing, but does print any result to stdout. It may also download a remote dataset if one is given.

§Errors

This function may error if the given result was a dataset and we failed to retrieve it.