Answer the question
In order to leave comments, you need to log in
How does the function to which the callback is passed work?
How does an async function work with a callback?
The data is also obtained asynchronously (for example, from the database) and, in theory, nothing should be transferred to the callback,
Or is the code executed synchronously inside the asynchronous function?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question