Crio-Bytes / IBD-2022-Master-Repository

This is the master repository where you can publish your work.
6 stars 22 forks source link

Intorduction to long polling #98

Closed raibove closed 1 year ago

raibove commented 1 year ago

Closes #86

raibove commented 1 year ago

Thanks for the feedback. The example is very basic that is intended to show how to implement Long Polling using setTimeout.
We use express so that it adds simplicity to our code and we do not need to configure the server and use functionalities provided by express. But in this example there was no need to use express as the original code itself is simple and easy to understand.

Considering your feedback, I created a mega challenge where I have done the same example using express. Thanks