[Moin-devel] deferred and macros

Alexander Schremmer mailinglist at alexanderweb.de
Tue Dec 21 12:01:11 EST 2004


William Waites wrote on Tuesday, December 21, 2004 6:12 PM CEST:

>>> But it is difficult because right now the
>>> MoinMoin architecture expects calls like this to be synchronous
>> 
>> Between which events do you want your code to be asynchronous?
> 
> Between the macro execution and the page rendering.

The page rendering works instantly. So after you have returned the chunk of
data, it will be written to the client. Instantly. Even in another thread if you
use Twisted (according to Nir).
(Or it will be cached statically). 

So you may want to handle such defers internally while having the problem of
non-portability to non-Twisted environments.

I do not see any other point or might misunderstand your problem :-)

Kind regards,
Alexander





More information about the Moin-devel mailing list