inDev. journal

generated by autopages

Archives :: asynchronous

The countinuation-passing style in JavaScript
most recent
The countinuation-passing style in JavaScript

In JavaScript, a callback is a function that is passed as an argument to another function and is invoked with the result when the operation completes. In functional programming, this way of propagating the result is called continuation-passing style (CPS). It simply indicates that a result is propagated by passing it to another function (the callback), instead of directly returning it to the caller.
2018-12-21

journal index

Looking for other categories or post? Way back to the jounral index page.

back
twitter github weibo linkedin
to top