It’s perfectly legal.
Those callbacks are called ‘acknowledgement functions’ and are summarily mentioned in the Wiki and described a bit more in detail on the NPM page (‘Getting acknowledgements‘).
EDIT: more recent documentation can be found here.
It’s perfectly legal.
Those callbacks are called ‘acknowledgement functions’ and are summarily mentioned in the Wiki and described a bit more in detail on the NPM page (‘Getting acknowledgements‘).
EDIT: more recent documentation can be found here.