hi...i'm consuming cockpit api promises, but it would seem they are using a non standard form which i cannot use with elemental2
their fail method returns multiple paramters, which elemental2 doesn't have.
so they recommended using done method (which elemental2 also doesn't have)
cockpit.spawn(["/opt/aeroscout/engine/run/aeroscout-engine-wd","status"])
.done(data=>console.log("data " + data))
.fail((ex,data) => {
console.log(ex);
})
are there any other java gwt Promise libraries i can use?