Skip to content

Conversation

@hoytak
Copy link
Collaborator

@hoytak hoytak commented Dec 5, 2025

The RWTaskLock utility allows easy handling of a value produced by a background task. This PR adds in more control over when the task is executed, in particular the ability to delay the execution of the task to when the value is actually needed or to when run_delayed() is called.

@hoytak hoytak requested review from assafvayner and seanses December 5, 2025 19:03
@assafvayner
Copy link
Contributor

I would slightly prefer to include this change with whatever context you plan to use the delayed variant. Would be ok to merge early but would I'd like to know why you want to add this.

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