setInterval

fun EventLoop.setInterval(time: Frequency, task: () -> Unit): Closeable