mirror of
https://github.com/ReactiveX/RxSwift.git
synced 2024-10-05 06:27:29 +03:00
Fix shareReplay syntax
This commit is contained in:
parent
1ce28ba4a6
commit
bc5618fbf2
@ -59,10 +59,9 @@ extension AnomaliesTest {
|
||||
}
|
||||
|
||||
for op in [
|
||||
{ $0.shareReplay(1) },
|
||||
{ $0.share(replay: 1) },
|
||||
{ $0.replay(1).refCount() },
|
||||
{ $0.publish().refCount() },
|
||||
{ $0.shareReplayLatestWhileConnected() }
|
||||
{ $0.publish().refCount() }
|
||||
] as [(Observable<Int>) -> Observable<Int>] {
|
||||
performSharingOperatorsTest(share: op)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user