European Parliament MCP Server API - v1.0.1
    Preparing search index...

    Interface TimeoutConfig

    Typed configuration for timeout operations.

    Centralises timeout settings in a single object so they can be stored, passed, and validated without scattered magic numbers.

    interface TimeoutConfig {
        timeoutMs: number;
        errorMessage?: string;
        operationName?: string;
    }
    Index

    Properties

    timeoutMs: number

    Timeout duration in milliseconds (must be > 0)

    errorMessage?: string

    Custom error message override for timeout errors

    operationName?: string

    Optional human-readable label for the timed operation