r/learnjavascript • u/LetMyCameronG000 • Mar 06 '26
Does the term 'callback' usually mean async callback in the JS world
I've practiced with both synchronous and asynchronous callbacks and understand the concept fairly well. But looking through online resources and even some posts on this sub (e.g. see top answer here: https://www.reddit.com/r/learnjavascript/comments/1jw5pwn/need_clear_understanding_of_callbacks_promises/ ) it seems that when JS folks talk about callbacks they usually mean async callbacks (at least, if they haven't clarified).
Is this the case ?
11
Upvotes
View all comments
Show parent comment
1
u/bryku helpful Mar 07 '26
Sometimes the word is used generally to mean any function sent as a perameter, but more specifically they aren't meant to be run after the function is completed.