what is polling?

what is polling tldr

what is polling?

it’s when you keep checking every few mins if he/she texted back.

your frontend does the same, sending a network request to your backend every few secs for updates.

and when they’re actually interested in you, that’s websockets. you don’t have to poll.