I have a Service resource that i need to launch wi...
# kubernetes
p
I have a Service resource that i need to launch with skipAwait, then do some other things, and at the end still wait till the Service becomes healty. Is there a way to "await" manually?
h
Are you able to kick off the service provisioning in a separate executor in your pulumi program and then just await that at the end? Instead of using
skipAwait
?
i
if you're using typescript, in general you can do things like:
Copy code
const someResourcePromise = getSomeResource().then(r => r).catch(e => console.error(e)) // notice no await
const foo = await getResourceFoo()
const bar = await getResourceBar()
const someResource = await someResourcePromise
const baz = await getResourceBaz(someResource)