More callback refactoring (#713) #719

Merged
lhchavez merged 1 commits from cherry-pick-413302603-release-0.27 into release-0.27 2020-12-13 13:08:39 -06:00

1 Commits

Author SHA1 Message Date
lhchavez cabfa71fbc More callback refactoring (#713)
This change:

* Gets rid of the `.toC()` functions for Options objects, since they
  were redundant with the `populateXxxOptions()`.
* Adds support for `errorTarget` to the `RemoteOptions`, since they are
  used in the same stack for some functions (like `Fetch()`). Now for
  those cases, the error returned by the callback will be preserved
  as-is.

(cherry picked from commit 10c67474a8)
2020-12-10 18:31:15 -08:00