EU Parliament Monitor - API Documentation - v0.7.0
    Preparing search index...

    Module Generators/Pipeline/FetchStage

    MCP data-fetching pipeline stage with circuit breaker protection.

    All functions are pure with respect to I/O: they accept an explicit client argument instead of reading module-level state, making them straightforward to unit-test with a mock client.

    The CircuitBreaker prevents cascading failures when the MCP server is degraded: after CircuitBreakerOptions.failureThreshold consecutive errors the circuit opens and subsequent calls short-circuit immediately.

    Classes

    CircuitBreaker

    Interfaces

    CircuitBreakerOptions

    Type Aliases

    CircuitState

    Variables

    mcpCircuitBreaker

    Functions

    initializeMCPClient
    fetchWeekAheadData
    fetchVotingAnomalies
    fetchCoalitionDynamics
    fetchVotingReport
    fetchMEPInfluence
    fetchCommitteeData
    fetchVotingRecords
    fetchVotingPatterns
    fetchMotionsAnomalies
    fetchParliamentaryQuestionsForMotions
    fetchMotionsData
    fetchProposalsFromMCP
    fetchPipelineFromMCP
    fetchProcedureStatusFromMCP