spawn_subtask

Function spawn_subtask 

Source
pub async fn spawn_subtask(
    __arg0: State<AppState>,
    __arg1: Path<i64>,
    __arg2: Json<SpawnSubtaskRequest>,
) -> impl IntoResponse
Expand description

Spawn a subtask and switch to it Note: This creates a subtask of the CURRENT task, not an arbitrary parent