Worker.terminate()

查看 llm.txt

小程序插件:不支持

相关文档: 多线程 Worker

功能描述

结束当前 Worker 线程。仅限在主线程 worker 对象上调用。