How would I call an async method that I need to ex...
# general
e
How would I call an async method that I need to export as a value in my stack?
w
export const val = myAsyncMethod()
should work. Pulumi allows you to export a promise and will wait for it to resolve to set the stack output value.
e
whut!
I didn't even try that because I didn't think it would work haha...
thank you!
That worked perfectly...