Promise<Integer> () { return PromiseUtils.compose( new Promise<String>(), v -> new Promise<Long>(), new Funct<caret>ion<Long, Integer>() { @Override public Integer apply(Long result) { return 0; } }); }