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

co.spraybot.messagerunner.HasContext Maven / Gradle / Ivy

package co.spraybot.messagerunner;

import io.vertx.core.Context;

/**
 * An interface that represents an object needs to have access to the Vert.x context that it is running under.
 *
 * @since 0.1.0
 */
public interface HasContext {

    /**
     * Primarily the use of the Context object will be to run tasks on the EventLoop.
     *
     * @return A Vert.x Context for the Verticle the code is executing in.
     */
    Context getContext();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy