(entry: Entry)
| 4719 | } |
| 4720 | |
| 4721 | const listMoreOf = (entry: Entry): More<any> => { |
| 4722 | if ( |
| 4723 | entry.target !== undefined && entry.target > listHeldPages(entry).length |
| 4724 | ) { |
| 4725 | return moreLoading |
| 4726 | } |
| 4727 | if (entry.moreError !== undefined) { |
| 4728 | return { _tag: "Failed", error: entry.moreError.error } |
| 4729 | } |
| 4730 | return listHasMoreOf(entry) ? moreAvailable : moreEnd |
| 4731 | } |
| 4732 | |
| 4733 | const listLoadedMore = (entry: Entry): LoadedMore<any> => ({ |
| 4734 | pages: listHeldPages(entry), |
nothing calls this directly
no test coverage detected