As simple as:
for await (const peopleSoFar of makeStreamingJsonRequest<Person[]>({ url: "/api/people", method: "GET", })) { setPeople(peopleSoFar); }