https://pulumi.com logo
#general
Title
# general
d

damp-honey-93158

04/20/2022, 7:12 PM
Forgive the total newbie question... is it really true, that to set the value of an Output<string> in C# to a constant value, I need to do something like this: Output<string> thing = Output<string>.Create(Task.FromResult("the value I got from somewhere"));
w

worried-city-86458

04/20/2022, 7:17 PM
Copy code
var thing = Output.Create("the value I got from somewhere");
d

damp-honey-93158

04/20/2022, 7:19 PM
much better. why do I make these things so hard? 😉 thank you!
simple smile 1
You just made my code a little bit cleaner. Thanks 🙂
w

worried-city-86458

04/20/2022, 8:35 PM
3 Views