Difference between first() and take(1)
The difference is that take(1) will relay 0..1 items from upstream whereas first will relay the very first element or emits an error (NoSuchElementException) if the upstream is empty. Neither of them is blocking. It is true first == take(1).single() where take(1) limits the number of upstream items to 1 and single() makes sure upstream … Read more