Run Promise Tasks with Bounded Concurrency

Read the full interview experience this question came from →

Quick Overview

Implement a TypeScript promise scheduler with bounded concurrency and input-ordered settled results. Invoke each task factory exactly once, handle synchronous throws and asynchronous rejections without fail-fast behavior, reject invalid limits early, and test the concurrency cap deterministically.

Run Promise Tasks with Bounded Concurrency

Company: Waymo

Role: Frontend Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Onsite

Overview: Implement a TypeScript promise scheduler with bounded concurrency and input-ordered settled results. Invoke each task factory exactly once, handle synchronous throws and asynchronous rejections without fail-fast behavior, reject invalid limits early, and test the concurrency cap deterministically.

Read the full Waymo Frontend Engineer interview experience this question came from

Waymo logo
Waymo
May 11, 2026
mediumFrontend EngineerOnsiteSoftware Engineering Fundamentals
10
0
Loading...