You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using equals in a sequence, and executing a subsequence in parallel, the actions in this subsequence are only executed in parallel when i wrap the subsequence in square brackets.
[
equals(state.foo),
{
// not wrapped in [] -> wrong behavior
bar: parallel([sayHey, sayHo])
}
]
[
equals(state.foo),
{
// wrapped in [] -> correct behavior
bar: [parallel([sayHey, sayHo])]
}
]
Hi,
When using equals in a sequence, and executing a subsequence in parallel, the actions in this subsequence are only executed in parallel when i wrap the subsequence in square brackets.
see https://codesandbox.io/s/parallel-bug-pi1mc for an example.
Not using equals, both sequences (wrapped and unwrapped) will behave the same.
It is a minor issue, but one to easily trip over.
The text was updated successfully, but these errors were encountered: