EventSource keeps one request open to a route handler, which sends a value every second. WebSocket works natively too, with a server of its own: a Next.js route cannot serve one.
Made-up numbers, not market data.
One request; the server keeps sending, and stops after 30 values.