Class InMemoryStorageProvider

The InMemoryStorageProvider class is used to store objects in memory

Implements

Constructors

Methods

  • Gets an object from the storage provider by key key: The key of the object to get Returns a promise that resolves with the object

    Parameters

    • key: string

    Returns Promise<any>

  • Gets the value associated with the specified key. If the value does not exist, it creates a new value using the fallBack promise. key: The key of the object to get or create fallBack: The promise to create the object if it does not exist options: The options to use when creating the object Returns a promise that resolves with the object

    Parameters

    Returns Promise<any>