Open danielmarbach opened 7 years ago
I used it once. The continuation was dispatched on the IOBP (IOBenPort) thread. Are you sure you want to do it @danielmarbach ?
Of course! Here is my rough draft
public async Ben Awesome(string itis) {
await Food().ConfigureAwait(ben);
}
It will be using the Ben Continuation model. It will also be possible to write arbitrary ben-like types.
Everything will be dispatched with the BenScheduler
. Paging in @stephentoub and @ljw1004 to get this going!
I just had an amazing revelation. With arbitrary ben-like types, I can write System.Daniel
, write an arbitrary ben-like type and then
I CAN BECOME BEN!
MUAHAHAHAHA
I think we need anonymous Ben types (we can start with his alter ego ;-))
we can start with his alter ego
Mild mannered reporter ;-)
I was exploring the code and came to the conclusion that YOU are doing it wrong.
With the introduction of #66 the code will be sprinkled with
ConfigureAwait(false)
but that is totally wrong! We should stop capturing Ben instead of the context! So I suggest we introduceConfigureAwait(ben)
. Thoughts?