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
there is something fishy in the chain saga, service, helper.
services are in charge of:
formatting data to be passed to an helper,
calling helpers,
formatting returned data from that helper.
helpers are generally based promise,
this is exactly the same for services.
the problem is:
what if an helper reject a promise?
how is that handled in services?
PS:
Be aware of what is the return value of .then(): resolve or failure.
Considering the returned value of .then() in both case, we have done something wrong here!
🇿🇲
The text was updated successfully, but these errors were encountered:
there is something fishy in the chain saga, service, helper.
services are in charge of:
helpers are generally based promise,
this is exactly the same for services.
the problem is:
PS:
Be aware of what is the return value of .then(): resolve or failure.
Considering the returned value of .then() in both case, we have done something wrong here!
🇿🇲
The text was updated successfully, but these errors were encountered: