Added a set extension which will return the result of an array of
promises