mde / ejs

Embedded JavaScript templates -- http://ejs.co
Apache License 2.0
7.76k stars 842 forks source link

Suggestion #599

Closed TrueXPixells closed 3 years ago

TrueXPixells commented 3 years ago

Hello! I have a question Does it support setInterval on EJS?

I have Shard Statistics on my website. I use await. But however, it shows the same ping number after 5 seconds, but it shows the same when it should show different.

Is there a recurring feature on EJS?

Translated By Google Translate

TrueXPixells commented 3 years ago

@mde help me

mde commented 3 years ago

I don't understand your question. This sounds like a problem with your application code, not the EJS library. Your best bet is to write some wrapping code that will periodically invoke the render call. Since this is not a problem with EJS, I am going to close this issue. Please feel free to reopen, or open a new one if there is a problem with EJS itself.