Options
All
  • Public
  • Public/Protected
  • All
Menu

Gets an async value once on call, then returns the same value on subsequent gets.

Type parameters

  • T

    Stored value type.

Hierarchy

  • AsyncLazy

Constructors

Methods

Constructors

constructor

Parameters

Returns AsyncLazy

Methods

get

  • get(): Promise<T>

Gets the value, only calls provider on first call.

Returns Promise<T>

The value from the provider.

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.