vertx / io.vertx.reactivex.core / Vertx / setPeriodic

# setPeriodic

`open fun setPeriodic(delay: Long, handler: Handler<Long>): Long`

Set a periodic timer to fire every `delay` milliseconds, at which point `handler` will be called with the id of the timer.

### Parameters

`delay` - the delay in milliseconds, after which the timer will fire

`handler` - the handler that will be called with the timer ID when the timer fires

Return
the unique ID of the timer