开发者社区 问答 正文

Node.js中AbortController的作用是什么?

Node.js中AbortController的作用是什么?

展开
收起
云上静思 2021-10-21 16:41:00 1462 分享 版权
1 条回答
写回答
取消 提交回答
  • AbortController 主要是为了能对一些长时运行的、基于 Promise 的 API 进行取消 和中断。

    2021-10-21 17:51:36
    赞同 展开评论
问答分类: