Search
⌘K

Leetcode 2821. Delay the Resolution of Each Promise

Given an array of Promises and a delay in milliseconds, return a Promise that resolves to the array of each promise's result but only after postponing each individual resolution by the given delay; preserve the original order and ensure rejections propagate correctly.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.