create a race to resolve between an array of values and/or promises