How to return promise for dispatch effects in dva1.x version

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

Mar.16,2021

go up to 2.x.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be1cd3-302ef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be1cd3-302ef.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?