crnt - v0.0.31
    Preparing search index...

    Function isResolved

    • Check whether a promise is resolved or not.

      The returned promise should be resolved within a microtask boundary.

      Parameters

      • promise: Promise<unknown>

      Returns Promise<false | "fulfilled" | "rejected">

      • false If the promise is not resolved yet
      • 'fulfilled' If the promise is resolved
      • 'rejected' If the promise is rejected.