publishLast method

ConnectableObservable<T> publishLast()

Creates a ConnectableObservable that emits its last value to all its subscribers on completion.

Implementation

ConnectableObservable<T> publishLast() =>
    multicast(subject: AsyncSubject<T>());