You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My code is structured like the below.
How could i use pyinotify in main, ie from within the run function ?
if name == "main":
asyncio.run(main())
async def main()
asyncio.gather(a,enter_this_whenever_a_file_is_modified)
async def a():
while True:
do_a()
async def enter_this_whenever_a_file_is_modified():
how should i write this coroutine ?
The text was updated successfully, but these errors were encountered:
Hi,
My code is structured like the below.
How could i use pyinotify in main, ie from within the run function ?
if name == "main":
asyncio.run(main())
async def main()
asyncio.gather(a,enter_this_whenever_a_file_is_modified)
async def a():
while True:
do_a()
async def enter_this_whenever_a_file_is_modified():
how should i write this coroutine ?
The text was updated successfully, but these errors were encountered: