PublishLast Method
TOC
Collapse the table of content
Expand the table of content

Observable.PublishLast Method

Returns a connectable observable sequence that shares a single subscription that contains the last notification only.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member PublishLast<TSource>(IObservable<TSource>) Returns a connectable observable sequence that shares a single subscription to the underlying sequence containing only the last notification.
Public method Static member PublishLast<TSource, TResult>(IObservable<TSource>, Func<IObservable<TSource>, IObservable<TResult>>) Returns an observable sequence that is the result of invoking the selector on a connectable observable sequence that shares a single subscription to the underlying sequence containing only the last notification.
Top
Show:
© 2016 Microsoft