API Reference > ecschema-metadata > Utils > DelayedPromise > finally finally Method Attaches a callback for only the finally clause of the Promise. finally(onFinally?: | () => void): Promise<T> Parameter Type Description onFinally | () => void Returns - Promise<T> A Promise for the completion of the callback. Defined in core/ecschema-metadata/src/DelayedPromise.ts Line 76 Last Updated: 11 June, 2024