( duration = 0 )
| 190 | * @return A Promise instance. |
| 191 | */ |
| 192 | export function wait( duration = 0 ): Promise<void> { |
| 193 | return new Promise( resolve => { |
| 194 | setTimeout( resolve, duration ); |
| 195 | } ); |
| 196 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…