返回:<Promise>
¥Returns: <Promise>
停止收集配置文件,然后返回一个 Promise,该 Promise 会以错误或配置文件数据的形式完成。
¥Stopping collecting the profile, then return a Promise that fulfills with an error or the profile data.