Hey, i'm new here. the above snippet is for my que...
# announcements
k
Hey, i'm new here. the above snippet is for my question. I create a client from an api, and it has a getIdleTimer function. I want to check the idleTime every x seconds, and then do something when a certain time has passed. so I implemented the coroutinescope on the client, and made the snippet so it checks every x time. my question is, do I have to save the coroutine and fixedrate time in a variable that I'll probably never touch again?
d
I'm not sure I completely understand you question but if you never plan on mutating or checking the values or coroutine, then I don't think you have to.