Conditionally Apply AsParallel #55766
Unanswered
TonyValenti
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Your method returns plain So no, you cannot conditionally make a query parallel this way. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this code:
But when I use it like so:
I don't get parallelism. But if I use it like so:
I do.
Is there a way to make my method work as intended?
Beta Was this translation helpful? Give feedback.
All reactions