Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Prioritizeable<T>

Type parameters

  • T

Index

Type aliases

GetPriority

GetPriority<T>: (value: T) => MaybePromise<number>

Type parameters

  • T

Type declaration

GetPrioritySync

GetPrioritySync<T>: (value: T) => number

Type parameters

  • T

Type declaration

    • (value: T): number
    • Parameters

      • value: T

      Returns number

Properties

Readonly priority

priority: number

Readonly value

value: T

Functions

compare

isValid

prioritizeAll

prioritizeAllSync

toPrioritizeable

toPrioritizeableSync