How to call a method after so many seconds?

后端 未结 5 870
太阳男子
太阳男子 2020-12-06 22:31

In my project I would like to be able to call a method after 3 minutes have passed. There is no \"main loop\" to speak of so I cannot use a stopwatch and constantly check if

5条回答
  •  天命终不由人
    2020-12-06 23:00

    After trying out several options, the method was not self-triggering. Hence, I used Javascript to solve the same problem as shown below.

    
    

提交回复
热议问题