Package io.vertx.core

Interface Timer

    • Method Detail

      • cancel

        boolean cancel()
        Attempt to cancel the timer task, when the timer is cancelled, the timer is failed with a CancellationException.
        Returns:
        true when the future was cancelled and the timeout didn't fire.