@itwin/imodels-client-management
Version:
iModels API client wrapper for applications that manage iModels.
10 lines • 508 B
TypeScript
/** Abstraction for a single entity page returned by the API. */
export interface EntityCollectionPage<TEntity> {
/** Current page entities. */
entities: TEntity[];
/** Function to retrieve the next page of the entities. If `undefined` the current page is last. */
next?: () => Promise<EntityCollectionPage<TEntity>>;
}
/** Function to query an entity page. */
export type EntityPageQueryFunc<TEntity> = () => Promise<EntityCollectionPage<TEntity>>;
//# sourceMappingURL=UtilityTypes.d.ts.map