I am currently using version 1.x of dva, and do not support dispatch effects to handle callbacks with then. I would like to ask how to return promise in the existing version of effects if I do not upgrade to version 2.x.
I tried to directly return Promise.resolve
in saga, but I couldn"t