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

Implement a task synchronization consumable #754

Merged
merged 2 commits into from
Oct 5, 2024
Merged

Implement a task synchronization consumable #754

merged 2 commits into from
Oct 5, 2024

Conversation

mairas
Copy link
Collaborator

@mairas mairas commented Oct 5, 2024

SemaphoreValue is a new class that holds values like an ObservableValue but which uses a semaphore to flag value updates. If one task is writing to the SemaphoreValue, another class can wait on it and resume execution once a new value has been set.

@mairas mairas merged commit 01189c0 into main Oct 5, 2024
14 checks passed
@mairas mairas deleted the task_sync branch October 5, 2024 15:52
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