paginate
paginate<
T>(fetchPage):Promise<T[]>
Defined in: graphql/graphql.ts:77
Reads every page of a connection; fetchPage receives the cursor to continue from (null for the first).
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”fetchPage
Section titled “fetchPage”(after) => Promise<Connection<T>>
Returns
Section titled “Returns”Promise<T[]>