naming fix

This commit is contained in:
Ivan Smolin 2017-11-08 17:57:17 +03:00
parent ba94c670b3
commit dd170e0873
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ public final class TotalCountCursor<LT, ET, CC: TotalCountCursorConfiguration>:
public func loadNextBatch() -> Single<[ET]> {
let sharedListing = configuration.nextBatchObservable()
.map { [configuration] listing in
configuration.getResult(fromListing: listing)
configuration.getResult(from: listing)
}
let driverListing = sharedListing

View File

@ -31,6 +31,6 @@ public protocol TotalCountCursorConfiguration: class, ResettableType {
func nextBatchObservable() -> Single<ListingType>
func getResult(fromListing listing: ListingType) -> ResultTuple
func getResult(from listing: ListingType) -> ResultTuple
}