Skip to content
New issue

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

Question: Is there any way to interrupt a move #20

Open
hldh214 opened this issue Aug 8, 2023 · 0 comments
Open

Question: Is there any way to interrupt a move #20

hldh214 opened this issue Aug 8, 2023 · 0 comments

Comments

@hldh214
Copy link

hldh214 commented Aug 8, 2023

I saw there is a listener that functions as a callback mechanism, It occurred to me that I could potentially trigger an exception within the listener function when I need to stop and subsequently catch it outside of the move function.
Might there be a more optimal alternative available?

# call the listener
if listener:
listener(update_dict)

kunaltyagi added a commit to kunaltyagi/rclone_python that referenced this issue Oct 25, 2023
Allows easy interruption, potentially answers Johannes11833#20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant