Using settimeout to write polling in vue

settimeout write polling how to write the kind of long polling there are specific solutions to introduce

Sep.26,2021

consider websocket


did you say setTimeout? What's the difficulty? Can't you write? Or is there anything you can't figure out?
your question is too broad to put

just sort out the concept.
there are three situations in which data is disconnected, timeout is disconnected, and the network is disconnected. Other things just follow the rules of long polling

.
Menu