ActiveListCooldownConfig<T>

TYPE DEFINITION

Represents the configuration of the cooldown.

Can be two possible things:

  1. A callback function which receives the relevant cooldown data, and which is required to return the duration in milliseconds. Useful for providing a different cooldown for different items.
  2. A number in milliseconds. When it is a number all items will have the same cooldown.

Since 1.0.0

Union of

| number
| ActiveListCooldownDurationCallback<T>