RxSwift: Share, ShareReplay, replayAll

I’m new bie in Rxswift, I don’t know the different between:

publish()
replayAll()
replay(bufferSize)
share()
shareReplay(bufferSize)
shareReplayLatestWhileConnectred()

Anybody help to give me some example about them?

@thuchau Please check out our Reactive Programming with Swift book when you get a chance:

https://store.raywenderlich.com/products/rxswift

I hope it helps. Thank you!

This topic was automatically closed after 166 days. New replies are no longer allowed.