Interface JsConsole<T extends JsValue>

  • Type Parameters:
    T - type of the JsValue returned
    All Superinterfaces:
    java.util.function.Function<JsPath,​JsFuture<T>>
    All Known Implementing Classes:
    JsArrayConsole, JsObjConsole

    public interface JsConsole<T extends JsValue>
    extends java.util.function.Function<JsPath,​JsFuture<T>>
    Represents a functional effect than when execute creates e JsValue
    • Method Detail

      • promptMessage

        default java.util.function.Consumer<JsPath> promptMessage()
        Returns:
        consumer that accepts a path and prints out a message indicating to the user that they must type in the value associated to that path