SmythOS SDK
    Preparing search index...

    Class VaultInstance

    Base class for all SDK objects.

    This class provides a base implementation for all SDK objects. It handles event emission, promise management, and initialization.

    This object is used to ensure that an SRE instance is initialized, and if not, create one with default settings.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    _readyPromise: ControlledPromise<any>

    Accessors

    Methods

    • Get a value from the vault

      Parameters

      • key: string

        The key to get the value for

      Returns Promise<string>

      The value of the key