renamed Promise_when

renamed Promise_when to Promise_whenResolved so it’s not confused with
"whenable”