termux-api-package icon indicating copy to clipboard operation
termux-api-package copied to clipboard

Setting event handlers to termux-download

Open aurium opened this issue 4 years ago • 0 comments

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.

aurium avatar Jan 14 '21 00:01 aurium