Adds barrier(promises).then(callback) (Like a chord but for promises)