Post

Trigger.dev
Trigger.dev@triggerdotdev·
The biggest UX mistake with AI agents: Making the user stare at a spinner for 60 seconds. Even if the job is running in the background, your UI should feel 'Realtime'. Here is how to stream background updates to the frontend 🧵
English
1
2
9
678
Trigger.dev
Trigger.dev@triggerdotdev·
Standard background jobs are 'Fire and Forget'. frontend -> POST /api/job backend -> Job ID: 123 frontend -> Polls /api/job/123 every 5s... This feels slow and clunky.
English
1
0
1
211
Paylaş