IJsPromiseFinally Method (FuncObject, Object) |
Appends the handler that will be invoked if the promise is settled (fulfilled/rejected).
Namespace:
DotNetBrowser.Js
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.2
Syntax IJsPromise Finally(
Func<Object, Object> onFinally
)
Parameters
- onFinally
- Type: SystemFuncObject, Object
The rejection handler.
Return Value
Type:
IJsPromise
A new
IJsPromise resolving to the return value of the called handler, or to its original settled
value if the promise was not handled.
Exceptions See Also