adspace
What is the difference between events and callbacks in node.js?
Answer Posted / Kavita
Events are asynchronous actions triggered by specific conditions within Node.js, such as 'data' or 'error'. Callbacks, on the other hand, are functions passed as arguments to higher-order functions that are executed after a specific task is completed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers