Genkit JS API reference
    Preparing search index...

    Function lazy

    • Lazily call the provided function to resolve the LazyPromise.

      Type Parameters

      • T

      Parameters

      • fn: () => T | PromiseLike<T>

      Returns PromiseLike<T>