Skip to main content

as_task_result

Function as_task_result 

Source
pub fn as_task_result(result: &Value) -> Option<Task>
Expand description

If a result value is a task handle (resultType: "task"), parse it — the polymorphic shape a task-augmented request returns instead of its normal result.