You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For complex requests implementation, like for data migration, I need to fetch data from many databases and use them to update others.
Using the current callback system is quite limiting, forcing me to chain the data fetch callbacks until the update one.
Describe the solution you'd like
Instead of callback, make this library embracing promises.
Using promises also allow us to use the async/await keywords to have a more imperative code structure that can be easier to read and understand on some cases. For example:
Is your feature request related to a problem? Please describe.
For complex requests implementation, like for data migration, I need to fetch data from many databases and use them to update others.
Using the current callback system is quite limiting, forcing me to chain the data fetch callbacks until the update one.
Describe the solution you'd like
Instead of callback, make this library embracing promises.
Using promises also allow us to use the
async/await
keywords to have a more imperative code structure that can be easier to read and understand on some cases. For example:Describe alternatives you've considered
I don't see any alternative.
Additional context
This was a subject already evoked on the original project (louischatriot#673) but without any official answer.
The text was updated successfully, but these errors were encountered: