mbus-backend
    Preparing search index...

    Function getAllPredictions

    • Returns all active bus predictions grouped by vehicle ID.

      Parameters

      • req: Request

        Express request

      • res: Response

        Express response

      Returns void

      JSON array of objects, each with vid and stops (predictions).