web-feature: Promise finally()

baseline logo Widely available

The promise finally() method executes a function when the promise settles (resolves or rejects).