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

promisify extractSAPUI5 in downloader-core #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thorsten-wolf-neptune
Copy link

Hi Basti,

first of all thx for this amazing tool :-)
This PR is a suggestion to promisify the Downloader.extractSAPUI5 function in the sap-ui5-downloader-core.
That allows a caller not only to have a callback for intermediate extract steps (updateProgress callback) but also when you call it with the await statement it would actually wait until the zip file is fully extracted.

That's shouldn't touch any of the existing logic but add an additional feature to it and the "await downloader.extractSAPUI5" would actually wait until the zip is fully extracted.

Feel free to adjust my suggestion to your needs :-)

Kind regards
Thorsten

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

Successfully merging this pull request may close these issues.

1 participant