promise.wait() now returns the arguments of the "success" event. If there was only a single argument, then it is returned. If there was more than one, they are returned as an array. If there was an error, it is thrown. See documentation.