how would you typically create a simple async dela...
# getting-started
t
how would you typically create a simple async delay in kotlin? similar to this java:
Copy code
void delay(Runnable runnable) {
    new Timer().schedule(
        new TimerTask() {
            public void run() {
                runnable.run();
            }
        },
        1000
    );
}