• Computes the base priority for the given visibility value. If the value is Number.POSTIVE_INFINITY, corresponding to actual visibility, the base priority is 0. Otherwise, the value is interpreted as the prefetch priority (higher means higher priority), and the base priority is equal to the product of this value and PREFETCH_PRIORITY_MULTIPLIER.

    Parameters

    • visibility: number

    Returns number

Generated using TypeDoc