Searched refs:napi_stop_event_loop (Results 1 – 11 of 11) sorted by relevance
4 开发者在自己创建的ArkTS运行环境中调用异步的ArkTS接口时,可以通过使用Node-API中的扩展接口napi_run_event_loop和napi_stop_event_loop来运行和停止…9 …层事件循环,系统会阻塞当前的线程,同时会一直尝试从事件队列中获取任务并执行处理这些任务。如果不想当前线程继续被阻塞,可以使用扩展接口napi_stop_event_loop将正在运行的事件循环停止。21 napi_stop_event_loop(env);27 napi_stop_event_loop(env);
507 | napi_stop_event_loop | 停止底层的事件循环。|586 #### napi_stop_event_loop subsubsection589 napi_status napi_stop_event_loop(napi_env env);
629 | napi_stop_event_loop | 停止底层的事件循环。 |633 #### napi_run_event_loop、napi_stop_event_loop
4 …ou can use **napi_run_event_loop** to run an event loop and use **napi_stop_event_loop** to stop a…10 …tasks. If you do not want the current thread to be blocked, use **napi_stop_event_loop** to stop t…22 napi_stop_event_loop(env);28 napi_stop_event_loop(env);
496 | napi_stop_event_loop | Stops the underlying event loop.|575 #### napi_stop_event_loop subsubsection578 napi_status napi_stop_event_loop(napi_env env);
617 | napi_stop_event_loop | Stops an underlying event loop.|621 #### napi_run_event_loop, napi_stop_event_loop
697 |FUNC|napi_stop_event_loop|停止底层的事件循环。|12|964 ### napi_stop_event_loop subsection967 napi_status napi_stop_event_loop(napi_env env)
103 NAPI_EXTERN napi_status napi_stop_event_loop(napi_env env);
695 |FUNC|napi_stop_event_loop|Stops the underlying event loop.|12|962 ### napi_stop_event_loop subsection965 napi_status napi_stop_event_loop(napi_env env)
4386 napi_status res = napi_stop_event_loop(nullptr);4400 napi_status res = napi_stop_event_loop(napi_env(engine));4415 napi_status res = napi_stop_event_loop(env);4430 napi_status res = napi_stop_event_loop(env);4446 napi_status res = napi_stop_event_loop(env);4461 napi_status res = napi_stop_event_loop(env);9713 auto res = napi_stop_event_loop(nullptr);
3989 NAPI_EXTERN napi_status napi_stop_event_loop(napi_env env) in napi_stop_event_loop() function