4 ms·
Something that work for me, have a websocket open to the client and notify him that it's done. Additionally register this notifications in the database, so that
by furstenheim 5y ago
Something that work for me, have a websocket open to the client and notify him that it's done. Additionally register this notifications in the database, so that if the user had closed the browser he'll see the notification next time that he logs in
- cpursley 5y agoSupabase does something like this.
- burggraf 5y agoYes, look at the Supabase Realtime API here: https://supabase.io/docs/reference/javascript/subscribe https://supabase.io/docs/reference/javascript/subscribe https://supabase.io/docs/reference/javascript/removesubscription https://supabase.io/docs/reference/javascript/removesubscrip... https://supabase.io/docs/reference/javascript/getsubscriptions https://supabase.io/docs/reference/javascript/getsubscriptio...