In general, if I did want to work with HttpClient, would I need to wrap it in my own library?
I couldn’t see how to work the instance once I had one here …
GetAsync is already async - so is ReadAsStringAsync.
I explicitly tried to bind them closely together with things I found in the Task Category (ContinueWith) instead of making use of the AsyncTask region, which I deliberately tried not to do because it didn’t seem right here.
I felt like there had to be a way to spawn the next Task in a more elegant way.
That would be a insync call
var string = await client.GetAsync(bla bla)
Would not block, and would be an async call, so if you don’t want to block thread you have to await the result
I’m still trying to get my head around how I should be thinking about vvvv.
I’m a .NET guy, so I keep thinking about starting with my .NET code and then re-writing that as nodes. Really, I should be thinking one level up, I think, piecing together blocks. But I guess you have to make those blocks first, which I would almost rather do this async code in a class library and then pull that into vvvv.