QuickSell interview question

Promises and solve a problem using them.