Type Alias RankOptions

RankOptions: {
    emitEqualRanked?: boolean;
    emitRepeatHighest?: boolean;
    includeType?:
        | "string"
        | "number"
        | "object"
        | "boolean";
}

Type declaration

  • OptionalemitEqualRanked?: boolean

    If true, also emits values when they rank equal with current highest. false by default

  • OptionalemitRepeatHighest?: boolean

    If true, emits the current highest value even if it hasn't changed. This means it will match the tempo of the incoming stream.

  • OptionalincludeType?:
        | "string"
        | "number"
        | "object"
        | "boolean"

    If set, only values with this JS type are included