bind
is a basic JavaScript built-in that attaches a context to a function. IOW, when args.callback
is invoked, the this
value will be the this
passed to bind
. See here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind