Settings and activity
3 results found
-
2 votesJeff Mercado shared this idea ·
-
4 votes
An error occurred while saving the comment An error occurred while saving the comment Jeff Mercado commentedTo demonstrate, you would have to wait 10 seconds to see any results for this:
Enumerable.Range(0, 10).Select(i =>
{
Thread.Sleep(1000);
return i;
}).Dump();For this, you won't get any results at all, just the exception.
Enumerable.Range(0, 10).Select(i =>
{
Thread.Sleep(1000);
if (i > 8)
throw new Exception("No results for you");
return i;
}).Dump();Jeff Mercado shared this idea · -
92 votesJeff Mercado supported this idea ·
That'll work. Though I'd prefer if it was the default behavior of Dump() if possible.