# Function fetchAllCurrentMEPs

- fetchAllCurrentMEPs(): Promise<FetchMEPsResult>

  Fetch all current MEPs by paginating until no more pages remain.

  If a page request fails mid-pagination, the error is logged via auditLogger.logError and the function returns the MEPs collected so far as partial results. Callers should check FetchMEPsResult.complete to know whether the data is complete.

  #### Returns Promise<FetchMEPsResult>

  A FetchMEPsResult containing the MEPs, a `complete` flag, and an optional `failureOffset` when the fetch was incomplete.

  - Defined in utils/mepFetcher.ts:40