Skip to main content

set_output

Function set_output 

Source
pub fn set_output<T: Serialize + ?Sized>(
    rsp: &mut RunFunctionResponse,
    output: &T,
) -> Result<(), Error>
Expand description

Sets the output of an operation function.

The source must serialize to a JSON object. Output is written to the Operation’s status.pipeline field; XRs discard function output.