Package com.openai.core
        Interface PageAsync
- 
                    
                    - All Implemented Interfaces:
 
 public interface PageAsync<T extends Object>An interface representing a single page, with items of type T, from a paginated endpoint response. Implementations of this interface are expected to request additional pages asynchronously. For synchronous pagination, see the Page interface. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description abstract BooleanhasNextPage()Returns whether there's another page after this one. abstract CompletableFuture<out PageAsync<T>>nextPage()Returns the page after this one by making another request. abstract List<T>items()Returns the items in this page. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        hasNextPageabstract Boolean hasNextPage() Returns whether there's another page after this one. The method generally doesn't make requests so the result depends entirely on the data in this page. If a significant amount of time has passed between requesting this page and calling this method, then the result could be stale. 
 - 
                                        nextPageabstract CompletableFuture<out PageAsync<T>> nextPage() Returns the page after this one by making another request. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-