ToList or ToListAsync is going to pull the entire list.
I thought there was some pull request activity around async versions of various linq extensions.
You could make a pr for FirstOrDefaultAsync or try .Take(1).ToListAsync().
--
You received this message because you are subscribed to the Google Groups "ravendb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "ravendb" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ravendb/Jy2_vwwvx6Y/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to ravendb+u...@googlegroups.com.
Thanks for that. I was still checking ayende/ravendb master.