You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			5 lines
		
	
	
		
			177 B
		
	
	
	
		
			TypeScript
		
	
		
		
			
		
	
	
			5 lines
		
	
	
		
			177 B
		
	
	
	
		
			TypeScript
		
	
| 
								 
											6 years ago
										 
									 | 
							
								export async function timeout(ms: number): Promise<void> {
							 | 
						||
| 
								 | 
							
								  // tslint:disable-next-line no-string-based-set-timeout
							 | 
						||
| 
								 | 
							
								  return new Promise(resolve => setTimeout(resolve, ms));
							 | 
						||
| 
								 | 
							
								}
							 |