Generators (usable with async)

Description Based on the concept described in the previous article (contextual async), I have added the support of generators. It has 2 main advantages: You can add generators to existing code just by yielding, you do not have the implementaztion of all the callers (of course, it will be "caught" by a caller) You can … Continue reading Generators (usable with async)

Advertisements

Contextual Async

Project goals summary The goal is to make easy the use of sync + async code.  Sync code can be left unchanged but become async automatically if it calls async code (and is called by a future) !!! You will see in the examples the the sync and async methods mix perfectly.   Async tasks … Continue reading Contextual Async