CodexBloom - AI-Powered Q&A Platform

C# 11 - Issues with Async Method Returning ValueTask and Memory Leak in HttpClient Usage

👀 Views: 1 💬 Answers: 1 📅 Created: 2025-06-06
c# async-await httpclient valuetask memory-management

I'm currently working with C# 11 and I've implemented an async method that returns a `ValueTask<T>`. However, I'm facing unexpected memory usage issues when the...