-
-
Notifications
You must be signed in to change notification settings - Fork 267
Open
Labels
Description
The functions in the library support two ways of getting the result of the request back. One of them is through a promise that is returned in the call, and the other one is a callback parameter that gets called with the data and eventual error.
The support for Promise is quite widespread at the moment and additions to the language like async/await, which allows a concise syntax around Promises, make this option the preferred one.
The idea is to get through some of the packages and projects that depend on the library and analyze how frequently they use the callback function before getting rid of it.
Reactions are currently unavailable