Package com.openai.core
        Class DefaultSleeper
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            com.openai.core.Sleeper,java.lang.AutoCloseable
 
 public final class DefaultSleeper implements Sleeper 
- 
                
                    
                    - 
                                
                            
                                Constructor SummaryConstructors Constructor Description DefaultSleeper()
 - 
                                
                            
                                Method SummaryModifier and Type Method Description Unitsleep(Duration duration)Synchronously pauses execution for the given duration. CompletableFuture<Void>sleepAsync(Duration duration)Asynchronously pauses execution for the given duration. Unitclose()Overridden from AutoCloseable to not have a checked exception in its signature. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        sleepAsyncCompletableFuture<Void> sleepAsync(Duration duration) Asynchronously pauses execution for the given duration. 
 - 
                                        closeUnit close() Overridden from AutoCloseable to not have a checked exception in its signature. 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-