Exercise: Producer-Consumer with Promises

Practice how to modify the TaskQueuePC class using promises.

Problem statement

Update the TaskQueuePC class’ internal methods so that they use just promises, removing any use of the async/await syntax.

If you’re unsure about how to do this, click the “Show Hint” button.

Get hands-on with 1400+ tech skills courses.