Skip to content

Commit 34acbfc

Browse files
takasekkzaher
authored andcommitted
Remove deprecated choices from a document comment
`shareReplayLatestWhileConnected` and `shareReplay` are deprecated at ReactiveX#1430 The document comment of `SharingStrategyProtocol.share(_:)` should be fixed.
1 parent f20c35a commit 34acbfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RxCocoa/Traits/SharedSequence/SharedSequence.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public protocol SharingStrategyProtocol {
7474
/**
7575
Computation resources sharing strategy for multiple sequence observers.
7676

77-
E.g. One can choose `shareReplayWhenConnected`, `shareReplay` or `share`
77+
E.g. One can choose `share(replay:scope:)`
7878
as sequence event sharing strategies, but also do something more exotic, like
7979
implementing promises or lazy loading chains.
8080
*/

0 commit comments

Comments
 (0)