@discordx/utilities
    Preparing search index...

    Interface ITimedSet<T>

    A set like object that evicts entries from the set after they have been in there for the set time

    interface ITimedSet<T> {
        getTimeRemaining(key: T): number;
        isEmpty(): boolean;
        refresh(key: T): boolean;
    }

    Type Parameters

    • T

    Implemented by

    Index

    Methods