Join Slack
Powered by
What is the current best practice to use a promise...
# typescript
p
proud-pizza-80589
10/03/2021, 12:08 PM
What is the current best practice to use a promise (await) in a ComponentResource? Obviously an await in the constructor does not work
c
curved-pharmacist-41509
10/03/2021, 12:54 PM
Wrap it in an output, then you can use the input/output model in pulumi
curved-pharmacist-41509
10/03/2021, 12:54 PM
output(promise)
p
proud-pizza-80589
10/03/2021, 2:21 PM
thx
Open in Slack
Previous
Next