We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dear contributors,
Can I use some method to achieve this function:
from watchdog.events import FileSystemEventHandler from watchdog.observers import Observer class MyEventHandler(FileSystemEventHandler): def __init__(self): FileSystemEventHandler.__init__(self) ... def on_modified(self, event): set_a_timeout_of_3_seconds() do_something() if the_function_ends_in_3_seconds: pass else: break_it()
I have tried the eventlet and signal module, but all of them cannot be used with watchdog together.
eventlet
signal
Thanks a lot!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Dear contributors,
Can I use some method to achieve this function:
I have tried the
eventlet
andsignal
module, but all of them cannot be used with watchdog together.Thanks a lot!
The text was updated successfully, but these errors were encountered: