@adobe/data - v0.10.30
    Preparing search index...

    Function fromPromise

    • Creates a new Observer that will notify observers exactly once when the promise is resolved. Note that the promise is only created when the first observer is added so it is lazy.

      Type Parameters

      • T

      Parameters

      • promiseFactory: () => Promise<T>

      Returns Observe<T>