Home
last modified time | relevance | path

Searched refs:async_resource (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/napi/native_engine/
H A Dnative_node_api.cpp109 napi_value async_resource, in napi_create_async_work() argument
124 auto asyncResource = LocalValueFromJsValue(async_resource); in napi_create_async_work()
354 …pi_status napi_create_threadsafe_function(napi_env env, napi_value func, napi_value async_resource, in napi_create_threadsafe_function() argument
372 …auto safeAsyncWork = engine->CreateSafeAsyncWork(func, async_resource, async_resource_name, max_qu… in napi_create_threadsafe_function()
490 …napi_env env, napi_value async_resource, napi_value async_resource_name, napi_async_context* resul… in napi_async_init() argument
499 if (async_resource != nullptr) { in napi_async_init()
500 auto nativeValue = LocalValueFromJsValue(async_resource); in napi_async_init()
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/
H A Dnapi.md462 - 由于当前暂不支持async_hooks资源管理机制,入参async_resource暂时也不做处理。
524 - async_resource: OpenHarmony中不做类型限制。
H A Dlibuv.md359 // async_resource:可选的资源对象,用于跟踪异步操作
366 napi_value async_resource,
/ohos5.0/docs/en/application-dev/reference/native-lib/
H A Dnapi.md460 - The exported symbol does not process the input parameter **async_resource** because it does not s…
522 - **async_resource**: There is no type restriction for this parameter in the exported symbol.
H A Dlibuv.md357 // async_resource: (optional) resource object used to trace asynchronous operations.
364 napi_value async_resource,