All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.ext.unit.Async Maven / Gradle / Ivy

There is a newer version: 5.0.0.CR3
Show newest version
package io.vertx.ext.unit;

import io.vertx.codegen.annotations.VertxGen;

/**
 * An asynchronous exit point for a test.

* * @author Julien Viet */ @VertxGen public interface Async extends Completion { /** * @return the current count */ int count(); /** * Count down the async. * * @throws IllegalStateException in strict mode if invoked more than the initial count */ void countDown(); /** * Signals the asynchronous operation is done, this method must be called with a count greater than {@code 0}, * otherwise it throws an {@code IllegalStateException} to signal the error. */ void complete(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy