Angular 10 Timeout Example, The promise will be resolved with the return value of the fn function.