How do you wait for a resource to be returned when...
# general
b
How do you wait for a resource to be returned when it is in a array?
a
wrap the array into
pulumi.output
, then use
Output.apply
as usual
or just
array.map(item => item.apply(readyItem) => readyItem.prop))
b
How does pulumi find out if there are 3 elements or 2 elements in the array, and it will make sure all the elements are returned?