Thread signaling still the best practice?
should i still use thread signaling, e.g. ManualResetEvent? Or that should be replaced by async await? if so what's the equivalent in async await?
Thank you for your help!
4 Replies
usually u would want async/await because awaiting something doesnt block the thread.
depending on what exactly u want to do there is
Channel<T>
, SemaphoreSlim
and TaskCompletionSource<T>
to do some signalingthank you 🙂
$close
Use the /close command to mark a forum thread as answered