@jiway/firestorm-core - v1.1.1
    Preparing search index...

    Function priorityComparer

    • Evaluates the priority of a request compared to another

      Parameters

      • lhs: Request<unknown>

        The left request to compare

      • rhs: Request<unknown>

        The right request to compare

      Returns number

      A number such as :

      • 0: if the requests have the same priority
      • < 0: if the left request has a higher priority
      • > 0: if the right request has a higher priority