Set a setInterval function as session variable in expressJS?

Is it possible to store a setInterval function as session variable in expressjs?, for example:

let req.session.timer = setInterval(function() => {
    console.log('timer set');
}, 2000);


from Recent Questions - Stack Overflow https://ift.tt/3f4ucaB
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept