35 Star 164 Fork 682

OpenHarmony / arkcompiler_ets_runtime

 / 详情

[新需求]: 希望提供相关接口,能捕获异步callback回调方法中的抛出的异常。

待办的
创建于  
2023-07-10 10:32

新需求提供了什么功能?

需求:能像nodejs一样,运行时能够处理异步callback回调方法中的异常。目前,当异步回调callback方法抛出异常时,arkjs会导致应用crash或进程卡死。

该需求带来的价值、应用场景?

像nodejs一样,运行时能够处理异步callback回调方法中的异常,程序还是可以继续运行。
可以参考:
https://blog.csdn.net/shmnh/article/details/51647807

评论 (1)

小陶 创建了任务
小陶 添加了
 
enhancement
标签
展开全部操作日志

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 @gonggong @孙哲 @weng-changcheng @Gargoyle.h 。如果需要调整订阅PR、Issue的变更状态,请访问链接

Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer @gonggong @孙哲 @weng-changcheng @Gargoyle.h for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

openharmony_ci 添加了
 
waiting_for_assign
标签
小陶 修改了标题
小陶 修改了描述

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7387629 openharmony ci 1656582662
1
https://gitee.com/openharmony/arkcompiler_ets_runtime.git
git@gitee.com:openharmony/arkcompiler_ets_runtime.git
openharmony
arkcompiler_ets_runtime
arkcompiler_ets_runtime

搜索帮助