vapor-chamber API reference - v1.3.0
    Preparing search index...

    Type Alias RateLimitOptions

    type RateLimitOptions = {
        max?: number;
        window?: number;
        actions?: string[];
    }
    Index

    Properties

    Properties

    max?: number

    Max dispatches per window. Default: 10.

    window?: number

    Window size in milliseconds. Default: 1_000 (1 second).

    actions?: string[]

    Which actions to rate limit. Glob patterns. Default: all.