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 1/2] 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)
+```
License
@@ -92,4 +101,4 @@ If not, see
|
https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)
- |
\ No newline at end of file
+
From 28d1fc12926cf3aed2f516a6da8d1f96c557a448 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:52 +0530
Subject: [PATCH 2/2] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 0f79ff2..35dd0cc 100644
--- a/README.md
+++ b/README.md
@@ -72,7 +72,7 @@ CreateThread(function()
print(a, b) -- 'hello there', 'general kenobi'
end)
```
-###Intervals
+### Intervals
```lua
local ontick = SetInterval(function(...)