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

Setting event handlers to termux-download #119

Open
aurium opened this issue Jan 14, 2021 · 0 comments
Open

Setting event handlers to termux-download #119

aurium opened this issue Jan 14, 2021 · 0 comments

Comments

@aurium
Copy link

aurium commented Jan 14, 2021

Feature description
Pooling the FS is not the best way to wait for a file or discover when the download fails.

Would be nice if termux-download had a --onerror and --onsuccess parameters to set a command to run on background, like --action from termux-notification.

Background information
Have you checked if the feature is accessible through the android API?
I believe this means yes.

Do you know of other open-source apps that has a similar feature as the one you want? (Provide links)
Node.js's standard HTTP client and other unblocking implementations.

@termux termux deleted a comment from DaGanGata123 Dec 26, 2021
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