@return {{capability: Object, specs: Array.<string>, taskId: string, done: function()}}