pub fn parse_task_event( method: &str, params: &Value, ) -> Result<TaskEvent, String>
Parse a task.* notification given the JSON-RPC method and params.
task.*