4 ms·
Neither are callbacks just functions nor are they necessarily asynchronous, that’s just how they work in JavaScript for example. Callbacks - or closures, to us
by BjoernKW 9y ago
Neither are callbacks just functions nor are they necessarily asynchronous, that’s just how they work in JavaScript for example.
Callbacks - or closures, to use the more general mathematical term - allow you to delegate behaviour.