Using Angular 4 Settimeout With Variable Delay And Wait

Using Angular 4 Settimeout With Variable Delay And Wait