JavaScript abort task if it`s taking more than xxx seconds

前端 未结 0 825
温柔的废话
温柔的废话 2021-02-14 05:01

I understand that JavaScript is a single-threaded language but I was wondering if there is any way to stop the execution of a long task if it`s taking too long.

I am work

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