Name-Keyed Async Task Scheduler with Sequential Lanes, Cancel and Clear by Name

Quick Overview

Implement a JavaScript task scheduler for async functions where tasks sharing a name run strictly in order while tasks with different names run concurrently. Follow-ups add cancelling the running task for a name and clearing every running and queued task by name, testing promise handling, race conditions and API design.

Name-Keyed Async Task Scheduler with Sequential Lanes, Cancel and Clear by Name

Company: Airwallex

Role: Frontend Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

Overview: Implement a JavaScript task scheduler for async functions where tasks sharing a name run strictly in order while tasks with different names run concurrently. Follow-ups add cancelling the running task for a name and clearing every running and queued task by name, testing promise handling, race conditions and API design.

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

Airwallex logo
Airwallex
Aug 31, 2026
mediumFrontend EngineerTechnical ScreenSoftware Engineering Fundamentals
8
0
Loading...