ruby on rails - Broadcast message to client after specific time in action cable -
i have used action cable in rails 5. want broadcast message server after wait of n seconds. made r&d same not find useful. can please advise me on how broadcast message client after waiting n period of time?
it's simple as:
settimeout(function () { app.message.speak(value); },500); //500ms
just out of curiosity, actioncable slow (i recommend anycable), why want fabricate further delay..?
Comments
Post a Comment