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
Dealing with callback-based APIs is harder than Promise-based ones when you need to compose multiple consecutive calls.
So, it would be very cool to add all the functions from the fs Promise API.
EDIT: I know that we can use util.promisify() but we loose type safety as this function returns Rest<Dynamic> ‑> Promise<Dynamic>.
The text was updated successfully, but these errors were encountered:
Dealing with callback-based APIs is harder than Promise-based ones when you need to compose multiple consecutive calls.
So, it would be very cool to add all the functions from the
fs
Promise API.EDIT: I know that we can use
util.promisify()
but we loose type safety as this function returnsRest<Dynamic> ‑> Promise<Dynamic>
.The text was updated successfully, but these errors were encountered: