Easy peasy. Import the function and used.

Import = use settimeout::settimeout;

Used = settimeout(1500);

The time is in milliseconds. Have nice day.