This message was deleted.
# azure
s
This message was deleted.
w
Yes - you can do something like https://gist.github.com/lukehoban/fd0355ed5b82386bd89c0ffe2a3c916a#file-waitforjob-ts-L20 (though simpler). Schematically it looks like:
Copy code
var x = new Res1();
var y = new Res2({
  input: x.output.apply(async (o) => {
    if (!pulumi.runtime.isDryRun()) {
      await sleep(1000);
    }
    return o;
  }),
});
b
Wow - amazing - thanks @white-balloon-205 - I've been looking everywhere for a solution and tried lots of clunky things - will give it a go