0
I need to get a service to read a table in the comic book every 5 or 10 seconds. I don’t see any other way to do that. When in this table a certain Flag is changed, then the service pushes a message to an App. I don’t know if this is the best way to automate my App, but it’s what’s coming into my head right now and I have no idea how to do it. The lambda that checks the table ok, I do not know if the timer or something else, how to do. How do I implement this timer? The idea would be to create a Task(async) that reads the table, but the problem is the timer. Web Api usage with REST and C#.
leaves the Task async running all the time...
while(true)
and inside it places the Task.Delay(5000); to wait the time– Rovann Linhalis
Thanks, @Rovannlinhalis, I’m gonna take this test and post the result.
– pnet
Blz, look at what Albano said, it shouldn’t be in the api but on your server
– Rovann Linhalis