I have a function which i wish to make it run for every 0.200ms

i have a function which i wish to make it run for every 0.200ms can anyone give an example

like

def write():
log(“write”)

making it write every 0.2 sec.

Create a thread with an infinite loop that sleeps for 0.2 seconds.

would it create any delay with bot ?

<3 solved bro :slight_smile:

1 Like