Check out example codes for "c# timer single tick". It will help you in understanding the concepts better.

Code Example 1

public class PauseAndExecuter
{
    public async Task Execute(Action action, int timeoutInMilliseconds)
    {
        await Task.Delay(timeoutInMilliseconds);
        action();
    }
}

Learn ReactJs, React Native from akashmittal.com