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!

interface Initializable {
    initialize: (() => Promise<void>);
}

Implemented by

Properties

Properties

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