Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise_handler.cpp75 … JSHandle<JSTaggedValue> thenValue = JSObject::GetProperty(thread, resolution, thenKey).GetValue(); in Resolve() local
77 if (!thenValue->IsJSError()) { in Resolve()
78 thenValue = JSHandle<JSTaggedValue>(thread, thread->GetException()); in Resolve()
81 return JSPromise::RejectPromise(thread, resolvePromise, thenValue); in Resolve()
86 if (!thenValue->IsCallable()) { in Resolve()
94 arguments->Set(thread, 2, thenValue); // 2: 2 means index of array is 2 in Resolve()