Allows for cleaning up an object and stopping relevant loops when the application needs to be stopped.

Hierarchy

  • Finalizable

Implemented by

Properties

Properties

finalize: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • Returns Promise<void>