I understand asynchronous javascript and why it is implemented like API call which takes time so we don\'t want to have bad ux or we don\'t have the data to perform our sequ