|
|
@ -53,9 +53,9 @@ Frank.
|
|
|
|
# do some stuff
|
|
|
|
# do some stuff
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
@frank.daemon()
|
|
|
|
# Interval defines how many seconds are between each call
|
|
|
|
|
|
|
|
@frank.daemon(interval=5)
|
|
|
|
async def some_daemon(self):
|
|
|
|
async def some_daemon(self):
|
|
|
|
while True:
|
|
|
|
|
|
|
|
# do some stuff
|
|
|
|
# do some stuff
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|