Searched refs:then (Results 1 - 2 of 2) sorted by relevance
/drivers/external_device_manager/services/native/driver_extension/src/ |
H A D | js_driver_extension.cpp | 247 napi_value then = nullptr; in OnConnect() local 248 napi_get_named_property(env, result, "then", &then); in OnConnect() 250 napi_is_callable(env, then, &isCallable); in OnConnect() 252 HILOG_ERROR("CallPromise, property then is not callable."); in OnConnect() 259 napi_call_function(env, result, then, 1, argv, nullptr); in OnConnect() 392 napi_value then = nullptr; in CallPromise() local 394 napi_get_named_property(env, result, "then", &then); in CallPromise() 397 napi_is_callable(env, then, in CallPromise() [all...] |
/drivers/hdf_core/framework/tools/hcs-view/hcsVSCode/ |
H A D | extension.js | 90 vscode.workspace.openTextDocument(msg.data).then((d) => {
|
Completed in 2 milliseconds