Skip to main content

run_wrapped_operation

Function run_wrapped_operation 

Source
pub fn run_wrapped_operation(
    operation: &str,
    input: Value,
    runner: fn(SurfaceRequest) -> Result<SurfaceResponse, String>,
) -> Result<SurfaceResponse, String>
Expand description

Runs an operation through a library-owned surface and adds standard package-surface value fields if an older surface omitted them.