Našly by se i jiný způsoby:https://stackoverflow.com/questions/33289726/combination-of-async-function-await-settimeout