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

Allow multple units in then/else branches of condition #344

Open
sergeysova opened this issue Mar 24, 2025 · 0 comments
Open

Allow multple units in then/else branches of condition #344

sergeysova opened this issue Mar 24, 2025 · 0 comments
Labels
enhancement Improvement in existing feature good first issue Good for newcomers

Comments

@sergeysova
Copy link
Member

Like:

condition({
  source: appStarted,
  if: $activated,
  then: [modelReady, userFetchFx, credentialsFetchFx],
  else: [session.drop, logIn.navigate],
});
@sergeysova sergeysova added the enhancement Improvement in existing feature label Mar 24, 2025
@sergeysova sergeysova self-assigned this Mar 24, 2025
@sergeysova sergeysova added the good first issue Good for newcomers label Mar 24, 2025
@sergeysova sergeysova removed their assignment Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement in existing feature good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant