diff --git a/README.md b/README.md index 6b94ee4..35dd0cc 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 +