solo swiftui build — fanning out 5 model calls through one edge function without it feeling laggy
been wrestling with this for a bit so figured id ask the people who actually ship on apple.
im building a little iphone app solo (swiftui, ios 26, dark mode only) where 5 different AI models debate a question and then get synthesized into one answer. the fun architectural problem was the fan-out — 5 model calls that all have to come back and feel live, not like youre staring at a spinner for 30 seconds.
what i landed on: supabase deno edge functions routing all 5 calls through openrouter, streaming partials back as each model responds so the ui fills in progressively instead of waiting on the slowest one. keeps it around 5 cents a debate too.
curious how other solo devs handle long-running multi-call stuff in swiftui — proper async streams, polling, websockets? the app is war table (https://wartable.co) if the context helps, but mostly i just wanna hear how youd structure the concurrency. whats worked for you?