chain of promsies to make a state machine?

前端 未结 0 343
-上瘾入骨i
-上瘾入骨i 2020-12-01 22:43

I have this pattern: (where (Pi) are different promsies)

// STEP 1 : Show the help modal and the instruction modal after.
P1.then(() => {
  return P2
})

/         


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