async function xxx(){    

     var results = await queryTask.executeRelationshipQuery(relationQuery)


    }


It works for me - see https://gis.stackexchange.com/questions/487508