JMD group Interview Question

How to implement async queue