Query runs forever when observable output is truncated by Dump

In LinqPad 5.22.02, a C# Expression query of
displays a result with 1001 rows, as expected.

the output is truncated at 1001 rows, the last row containing '(limit of graph)'. But I then see "Query continuing asycnhronously...", forever. Is this expected? I would have expected Dump to unsubscribe after it had consumed the 1001 rows it is going to display, and hence cause the query to terminate - just like it does if you add a .ToList() to the end.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!