|
|
|
|
|
by pikzen
3286 days ago
|
|
... Then make an endpoint where you can get a task's status through its ID (your post to sendmail would then return a task ID), and poll repeatedly until it's marked as done, wasting bandwidth, your architecture, your choices ¯\_(ツ)_/¯ Or you can let the server notify you when it's done, and carry on with your work. As a bonus, most clients able to receive SSE already include automatic reconnection to the feed if it ever gets cut. |
|
This is how WebSub (formely PubSubHubbub) works on top of RSS/Atom, for example.