More callback refactoring (#713) #717

Merged
github-actions[bot] merged 1 commits from cherry-pick-413302603-release-1.0 into release-1.0 2020-12-10 20:01:42 -06:00

1 Commits

Author SHA1 Message Date
lhchavez 2625ac7561 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 15:20:04 +00:00