.wsHasnew()
Description
Parameters
Usage
ws_id = "url".newWebsocket()
if ws_id.wsHasnew() (
// handle the new messages using ws_id.wsGetnext() to get the next message and then discard it
)Last updated
wsHasnew allows you to check if a websocket has received new data.
wsHasnew takes no parameters.
ws_id = "url".newWebsocket()
if ws_id.wsHasnew() (
// handle the new messages using ws_id.wsGetnext() to get the next message and then discard it
)Last updated