How Does Javascript Know When A Promises Callback Function Is Ready To

How Does Javascript Know When A Promises Callback Function Is Ready To