RxJS is great as process management, but sometimes our Effect dosen't need too much async management ability. So I really want a simpler way to provide async management ability.
@GeneratorEffect()asyncfetchUserInfo(payload: T){constresponse=awaitclient.query({ ... })try{yieldthis.getActions().setUserInfo(assertSuccess(response))}catch(e){yieldthis.getActions().getUserInfoFailed(e)}}
RxJS is great as process management, but sometimes our Effect dosen't need too much async management ability. So I really want a simpler way to provide async management ability.