Logos DX
    Preparing search index...

    The minimal state structure for persistence.

    interface State {
        lastRefill: number;
        stats?: RateLimitTokenBucket.Stats;
        tokens: number;
    }
    Index

    Properties

    lastRefill: number

    Timestamp of the last refill

    Usage statistics

    tokens: number

    Current number of tokens