This commit is contained in:
xfarrow
2024-07-01 10:52:25 +02:00
parent 775dbd3b6f
commit f4fa085d30
3 changed files with 19 additions and 2 deletions

View File

@ -40,6 +40,15 @@ function entryPoint () {
Executing action: something
Time of completion: Sun Jun 30 2024
I don't need execute_action's value
Callbacks are usually meant for asynchronous programming. When
we meet a function that accepts a callback, it is likely an
asynchronous function, such as time, such as
setTimeout(callback, delay).
The problem is that this makes the code harder to read
so modern JS is written using Promises and async/await
constructs.
*/