promise priority()

resolve promises based on a priority. Resolves the highest priority promise where all higher priority promises are rejected.