map.apps Bundle APIs 4.20.0
    Preparing search index...

    Function waitUntil

    • This function is similar to like waitFor but it will wait until the resolver returns a truthy value. If the resolver throws an error, the function rejects immediately.

      Type Parameters

      • T

      Parameters

      Returns Promise<Exclude<T, Falsy>>

      waitFor