How to create stateful, queue like function in javascript?

前端 未结 0 1204
长发绾君心
长发绾君心 2021-01-20 05:41

is there a way to create a javascript function that:

  1. as a parameter takes other function returning promise
  2. returns after previous call returned
相关标签:
回答
  • 消灭零回复
提交回复
热议问题