Add optional callback to remit requests
Closed this issue · 1 comments
jpwilliams commented
When sending a request, add the option to provide a callback to .send()
which will be triggered with err, data
when the request has been resolved.
Do we want this? It's nice being able to use callbacks and will help converting old Remit services to the new version, but should we be forcing the use of Promises or not?
jpwilliams commented
I guess we can still use .then
, .catch
etc if callbacks are needed for some reason.
Will put this away.