(tasks: Vec<DelegateTaskOptions>)
| 953 | } |
| 954 | |
| 955 | fn parallel_task_options_to_args(tasks: Vec<DelegateTaskOptions>) -> serde_json::Value { |
| 956 | let task_values = tasks |
| 957 | .into_iter() |
| 958 | .map(delegate_task_options_to_args) |
| 959 | .collect::<Vec<_>>(); |
| 960 | serde_json::json!({ "tasks": task_values }) |
| 961 | } |
| 962 | |
| 963 | #[napi(object)] |
| 964 | #[derive(Clone)] |
no outgoing calls