Vinyl
    Preparing search index...

    Function resolveValueProvider

    • Resolves a ValueProvider to its underlying value.

      Handles all three ValueProvider forms: direct values, synchronous functions, and async functions, returning a Promise that resolves to the value.

      Type Parameters

      • T

      Parameters

      • valueProvider: ValueProvider<T>

        The value, function, or async function to resolve

      Returns Promise<T>

      A Promise resolving to the provided value of type T