first() also returns one object from the Flow. However, it then cleanly unsubscribes from the Flow, so if the Flow is set up to perhaps return more than one object, no exception is raised.

You can learn more about this in:
Tags:
Run Edit