Wednesday, 20 February 2019

Run function/code after certain time with nodejs

I am looking for a way to run some code in nodejs after N amount of seconds.

Tried setTimeout() but it seems to completely block on it until the time is out but this is not what I want since my server is still sending and receiving events.

Any advice?



from Run function/code after certain time with nodejs

No comments:

Post a Comment