All challenges

JavaScript challenge · Frontend

Map Async with Concurrency Limit

Difficulty

hard

Time

~35m

Format

Single

Grading

Auto-graded

#frontend#javascript#typescript#async#concurrency
Mission file // read carefullyhard

Implement mapAsyncLimit(items, limit, iteratee) that runs iteratee(item) over every item, never running more than limit at once, and resolves with the results in the same order as items.

await mapAsyncLimit([1,2,3,4], 2, async (x) => x * 2); // [2,4,6,8]

Build with

TypeScriptJavaScript
Hidden test suite
Auto-graded on submit
Start challenge

Sign in to save your progress.