How to gracefully rollback operations on error?

前端 未结 0 1915
独厮守ぢ
独厮守ぢ 2020-12-03 06:44

This is my function,

const doWork = async =() =>
{
    try {
        await 3rdParthService.step1();
        await 3rdParthService.step2();
        await my         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题