mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-24 22:16:40 +00:00
Updated Scheduling Functions (markdown)
parent
04f2431660
commit
4c818131d6
@ -27,8 +27,7 @@ def foo_cb():
|
||||
foo_cb()
|
||||
```
|
||||
|
||||
This schedules itself again when it runs, so it is always running. It runs, 10 minutes pass, it schedules itself again, and repeat. This is similar to JavaScript's `setTimeout`.
|
||||
|
||||
This schedules itself again when it runs, so it is always running. It runs, 10 minutes pass, it schedules itself again, and repeat. This is similar to JavaScript's [`setTimeout`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout).
|
||||
You can also use `while` loops:
|
||||
|
||||
```python
|
||||
|
Loading…
Reference in New Issue
Block a user