Class Ax


  • public class Ax
    extends Object
    Async Utility X for Function Only This tool is critical for function management and scheduled in different code flow here. It's a little duplicated to `Ux.then` methods, but no impact here for future usage, in future versions I'll remove all the function part from `Ux`, instead, the Ax is more usage. Here the name are as following: A: JsonArray J: JsonObject T: Generic T S: Set L: List All the returned value must be Function and the returned value should be Future type. i -> Future(o) i - input o - output The name specification is as following: o - One m - Many ( A, S, L ) Recommend you to use non-Ax API ( Instead you should use Ux/Ut/Fn ) Ax tool is used in .compose only to remove `->`.
    Author:
    Lang
    • Constructor Detail

      • Ax

        public Ax()
    • Method Detail

      • setTA

        public static <T> Function<Set<T>,​io.vertx.core.Future<io.vertx.core.json.JsonArray>> setTA​(Function<T,​io.vertx.core.Future<io.vertx.core.json.JsonArray>> consumer)