SearchResults[A: Any val]¶
A page of search results from the GitHub search API. Contains the total
match count, an incomplete-results flag, and the items for this page. Use
prev_page() and next_page() to navigate between pages.
Public fields¶
let total_count: I64 val¶
let incomplete_results: Bool val¶
let items: Array[A] val¶
Public Functions¶
prev_page¶
Fetches the previous page, or returns None if on the first page.
Returns¶
- (Promise[(SearchResults[A] val | RequestError val)] tag | None val)
next_page¶
Fetches the next page, or returns None if on the last page.
Returns¶
- (Promise[(SearchResults[A] val | RequestError val)] tag | None val)