Skip to content

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).

T

(after) => Promise<Connection<T>>

Promise<T[]>