Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_promise_handler.cpp270 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()
Dbuiltins_promise.cpp1066 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/
DPromise.ets137 finally(onFinally: () => void throws): Promise<T> {
143 onFinally();
/arkcompiler/runtime_core/static_core/plugins/ets/doc/stdlib/packages/
Descompat.rst16354 |nbsp| onFinally\: () =\> :kw:`void`