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

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b327af-2b17e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b327af-2b17e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?