crnt - v0.0.31
    Preparing search index...

    Function isResolvedChecker

    • Create a function that checks whether a given promise is resolved or not.

      Note: the returned function is synchronous, and within the same microtask boundary, it's guaranteed to return the same value.

      Parameters

      • promise: Promise<unknown>

      Returns Promise<() => false | "fulfilled" | "rejected">