Skip to main content

Interface: Finalizable

@divine/uri.Finalizable

Defines how a finalizer function is attached to an object.

Hierarchy

Properties

[FINALIZE]

Optional [FINALIZE]: () => Promise<unknown>

Type declaration

▸ (): Promise<unknown>

A finalizer function, used to clean up temporary resources.

Returns

Promise<unknown>

Defined in

uri/src/uri.ts:36