Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The resolved value cannot be modified from the callback.
finally(onfinally: () => void | null): Promise<PageClass>| Name | Type | Description |
|---|---|---|
onfinally | () => void | null | The callback to execute when the Promise is settled (fulfilled or rejected). |