`InterfaceConfirmationPredicate<`I>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Experimental @FunctionalInterface public interface ConfirmationPredicate<I>
一个谓词,用于判断每个输入是否满足某个条件。 FunctionNode “Run”功能会要求用户对其进行批准,并设置相关参数。 FunctionNode.Builder.requireConfirmation(ConfirmationPredicate)该代码会在 HTML 文档的主体内容(即 `<body>` 标签内的内容)之前,在浏览器的内置线程中执行;因此,如果取消该代码的执行(即取消对应的节点),整个代码的执行过程就会被中断。如果该代码抛出异常,那么整个程序的运行也会失败。
  • 方法概述

    Modifier and Type
    Method
    Description
    boolean
    test(Context context, @Nullable I input)
    该函数用于判断当前运行过程是否会在程序主体执行之前要求用户进行批准。
  • 方法详细信息(Method Details)

    • test

      boolean test(Context context, @Nullable I input) throws Exception
      该函数用于判断当前运行过程是否会在程序主体执行之前要求用户进行批准。 input 当前置进程没有发送任何输出数据,或者相关端口处于某种特定状态时,该值会变为 `null`。 Void.
      Throws:
      Exception