Reflection on JS promise object to retrieve list of then/catch calls

后端 未结 0 748
余生分开走
余生分开走 2020-12-24 05:42

I want to create a custom Promise class in which I can define a default rejection handler, but only if the promise does not already have a catch on it. So is th

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