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 }
-
gets the page number if exists. Blocking
Declaration
Swift
func page(_ number: Int) throws -> [TransactionEntity]?
-
gets the page number if exists. Non-blocking
Declaration
Swift
func page(_ number: Int, result: @escaping (Result<[TransactionEntity]?, Error>) -> Void)