PooledValueTaskSource
PooledValueTaskSource copied to clipboard
ManualResetValueTaskSourceCore
I extended your sample with another class that shows how to use ManualResetValueTaskSourceCore
.
Is this something we should bring over to this repo?
Ideally the implemenations (IValueTaskSource
manully, and ManualResetValueTaskSourceCore
) should live side by side, so any reader can pick what is prefered -- at least for an educational sense it's good to see how it's manully done before using the very nice helper of MRVTSC.