import { resolveOffsetConnection } from "https://deno.land/x/pothos@release-1689659814/packages/plugin-relay/utils/connections.ts";
Parameters
resolve: (params: { offset: number; limit: number; }) => U & (MaybePromise<readonly T[] | null> | null)
Returns
Promise<RemoveMaybePromiseProps<ConnectionShape<SchemaTypes, NonNullable<T>, U extends NonNullable<U> ? (Promise<null> extends U ? true : false) : true, T extends NonNullable<T> ? false : { list: false; items: true; }, false>>>