nyx Typedoc
    Preparing search index...

    Variable PriorityEnumConst

    PriorityEnum: {
        High: 4;
        Highest: 5;
        HighMonitor: 6;
        Low: 2;
        Lowest: 1;
        LowMonitor: 0;
        Normal: 3;
    } = ...

    An object's priority compared to others in the same place.

    The specific sorting depends on the implementation, but in general priority Highest to Lowest is advised.

    Monitor is a special priority type, meant to be used for overseeing purposes, like statistics.

    For example in a Middleware context, you can use HighMonitor to see how many requests come in, and LowMonitor to see how many got through all the middlewares and will actually be executed.

    Type Declaration

    • ReadonlyHigh: 4
    • ReadonlyHighest: 5
    • ReadonlyHighMonitor: 6
    • ReadonlyLow: 2
    • ReadonlyLowest: 1
    • ReadonlyLowMonitor: 0
    • ReadonlyNormal: 3