Searched refs:onFinally (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_promise_handler.cpp | 270 JSHandle<JSTaggedValue> onFinally(thread, thenFinally->GetOnFinally()); in ThenFinally() local 271 ASSERT_PRINT(onFinally->IsCallable(), "onFinally is not callable"); in ThenFinally() 275 EcmaInterpreter::NewRuntimeCallInfo(thread, onFinally, undefined, undefined, 0); in ThenFinally() 311 JSHandle<JSTaggedValue> onFinally(thread, catchFinally->GetOnFinally()); in CatchFinally() local 312 ASSERT_PRINT(onFinally->IsCallable(), "thenOnFinally is not callable"); in CatchFinally() 316 EcmaInterpreter::NewRuntimeCallInfo(thread, onFinally, undefined, undefined, 0); in CatchFinally()
|
D | builtins_promise.cpp | 1066 JSHandle<JSTaggedValue> onFinally = BuiltinsBase::GetCallArg(argv, 0); in Finally() local 1075 if (!onFinally->IsCallable()) { in Finally() 1078 thenFinally = onFinally; in Finally() 1079 catchFinally = onFinally; in Finally() 1089 thenFinallyFun->SetOnFinally(thread, onFinally); in Finally() 1098 catchFinallyFun->SetOnFinally(thread, onFinally); in Finally()
|
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
D | Promise.ets | 137 finally(onFinally: () => void throws): Promise<T> { 143 onFinally();
|
/arkcompiler/runtime_core/static_core/plugins/ets/doc/stdlib/packages/ |
D | escompat.rst | 16354 |nbsp| onFinally\: () =\> :kw:`void`
|