From b806ca3eee95fa1e282818ba397e0752aced53b6 Mon Sep 17 00:00:00 2001
From: Tony Stark <76168122+tony-stark-17@users.noreply.github.com>
Date: Sat, 8 Jan 2022 20:47:25 +0530
Subject: [PATCH] Interval Readme
---
README.md | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 6b94ee4..0f79ff2 100644
--- a/README.md
+++ b/README.md
@@ -72,6 +72,15 @@ CreateThread(function()
print(a, b) -- 'hello there', 'general kenobi'
end)
```
+###Intervals
+
+```lua
+local ontick = SetInterval(function(...)
+ print(...)
+end, 0, 'arg1', 'arg2')
+
+ClearInterval(ontick)
+```