Reactive Extensions has these three methods:
ToTask
: Returns a task that will receive the last value or the exception produced by the observable sequence.LastAsync
: Returns the last element of an observable sequenceRunAsync
: Gets an awaiter that returns the last value of the observable sequence or throws an exception if the sequence is empty.
They sound very similar. How would I choose which one to use?