-
Notifications
You must be signed in to change notification settings - Fork 14
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
[FEATURE] TaskUtil: Add 'force' flag to cleanup task callback #677
Conversation
Co-authored-by: Merlin Beutlberger <m.beutlberger@sap.com>
Maybe we should have this as a |
We should also update the JSDoc in TaskUtil: https://github.com/SAP/ui5-project/blob/main/lib/build/helpers/TaskUtil.js#L175 |
I have added JSDoc for the TaskUtil's cleanup callback. @KlattG would you take a look, please? |
Update JSDoc
Co-authored-by: Günter Klatt <57760635+KlattG@users.noreply.github.com>
Co-authored-by: Günter Klatt <57760635+KlattG@users.noreply.github.com>
Co-authored-by: Günter Klatt <57760635+KlattG@users.noreply.github.com>
…953) fixes: SAP/ui5-tooling#894 JIRA: CPOUI5FOUNDATION-751 depends on: SAP/ui5-project#677 Workerpool needs to wait for all the active tasks to complete before terminating. --------- Co-authored-by: Merlin Beutlberger <m.beutlberger@sap.com>
JIRA: CPOUI5FOUNDATION-751
@ui5/builder PR that depends on this change: SAP/ui5-builder#953
When cleaning up after tasks run, it can happen in couple cases:
We need to be able to distinguish between those cases as in some places we rely on graceful termination and cleanup. Especially, after the project has been build successfully. On the other hand when the user presses
Ctrl + C
, for example, we need to enforce the termination.This cahnge provides this context.