Allows for initializing state or executing logic when the application is started. Use this interface to add initialization logic to classes that already extend some other type. NOTE: classes without an existing extends-relation should extend from Initializer instead!

Hierarchy

  • Initializable

Implemented by

Properties

Properties

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

Type declaration

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