docs: public Object thenApply(InvocationContext ctx, VisitableCommand command,
                                      InvocationSuccessFunction function) {
        return addCallback(ctx, command, function);
     }