Skip to content

feat(api): provide task guards for lazy register #282

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

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

Conversation

ffluk3
Copy link

@ffluk3 ffluk3 commented Mar 13, 2025

This update provides a way to use the basic AffectedModuleDetector task guard when leveraging the register api to create tasks, without needing to explicitly get the task immediately. This allows for the AMD calculation to be evaluated lazily, and avoids performing work on tasks that will not be executed.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@joshafeinberg
Copy link
Member

Hey there, looks like you haven't yet signed the CLA. Also, could you remove any formatting changes added to this PR as it just appears to be noise vs the actual feature you wanted implemented

This update provides a way to use the basic AffectedModuleDetector task
guard when leveraging the `register` api to create tasks, without
needing to explicitly get the task immediately. This allows for the AMD
calculation to be evaluated lazily, and avoids performing work on tasks
that will not be executed.
@ffluk3 ffluk3 force-pushed the task-configure-lazy branch from 0d7b7dc to 1af62a6 Compare August 14, 2025 19:56
@ffluk3
Copy link
Author

ffluk3 commented Aug 14, 2025

@joshafeinberg I addressed the formatting. Working with my team to ensure we can sign the CLA but will get back to you on that!

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.

3 participants