C
C#•11mo ago
tri

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
cap5lut
cap5lut•11mo ago
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 signaling
tri
triOP•11mo ago
thank you 🙂
Denis
Denis•11mo ago
$close
MODiX
MODiX•11mo ago
Use the /close command to mark a forum thread as answered
Want results from more Discord servers?
Add your server