Searched refs:resultCapability (Results 1 – 2 of 2) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_promise.h | 79 … const JSHandle<PromiseCapability> &resultCapability,
|
D | builtins_promise.cpp | 377 …JSHandle<PromiseCapability> resultCapability = JSPromise::NewPromiseCapability(thread, constructor… in Then() local 384 …PromiseThen(thread, JSHandle<JSPromise>::Cast(promise), onFulfilled, onRejected, resultCapability); in Then() 716 … const JSHandle<PromiseCapability> &resultCapability, in PerformPromiseAny() argument 773 JSHandle<JSTaggedValue> resultCapabilityHandle(thread, resultCapability->GetPromise()); in PerformPromiseAny() 819 onRejected->SetCapability(thread, resultCapability); in PerformPromiseAny() 826 JSHandle<JSTaggedValue> resCapaFunc(thread, resultCapability->GetResolve()); in PerformPromiseAny()
|