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

com.englishtown.promises.Context Maven / Gradle / Ivy

There is a newer version: 3.1.1
Show newest version
package com.englishtown.promises;

import com.englishtown.promises.internal.handlers.Handler;

/**
 * Promise context methods
 */
public interface Context {

    default void createContext(Handler handler) {
        createContext(handler, null);
    }

    void createContext(Handler handler, Object parentContext);

    void enterContext(Handler handler);

    void exitContext();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy