PaginatedTransactionRepository
public protocol PaginatedTransactionRepository
Undocumented
-
The page size of this repository
Declaration
Swift
var pageSize: Int { get }
-
How many pages are in total
Declaration
Swift
var pageCount: Int { get }
-
How many items are to be displayed in total
Declaration
Swift
var itemCount: Int { get }
-
Returns the page number if exists. Blocking
Declaration
Swift
func page(_ number: Int) throws -> [TransactionEntity]?
-
Returns the page number if exists. Non-blocking
Declaration
Swift
func page(_ number: Int, result: @escaping (Result<[TransactionEntity]?, Error>) -> Void)