Expose coarse and precise timer through setTimeout