import { setTimeout } from "https://deno.land/x/xdg@v10.5.1/vendor/types/deno.d.ts";
Sets a timer which executes a function once after the timer expires. Returns an id which may be used to cancel the timeout.
setTimeout(() => { console.log('hello'); }, 500);