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

Question: How to create two mutually exclusive contexts? #511

Open
anohren opened this issue Mar 17, 2020 · 0 comments
Open

Question: How to create two mutually exclusive contexts? #511

anohren opened this issue Mar 17, 2020 · 0 comments

Comments

@anohren
Copy link

anohren commented Mar 17, 2020

I have two contexts, "daytime" and "nighttime". Nighttime's active state is controlled by the system clock.

It's easy to express that daytime is active with 100% confidence whenever nighttime is not active. But how do I express that daytime is not active with 100% confidence when nighttime is active? Without it I'll eventually end up with both contexts active.

I have other contexts as well so it's not a solution to disable multiple active contexts.

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

No branches or pull requests

1 participant