[Twisted-Python] Deferred documentation rewrite

Don Dwiggins ddwiggins at advpubtech.com
Tue Aug 4 14:30:12 EDT 2009


Andrew Francis wrote:
> Simple definition: In a synchronous call, the caller blocks until a result is ready. Upon return the next statement is executed (barring something like an exception). In an asynchronous call, the caller does not wait for a result and continues.

Just a thought on terminology: in the syncrhonous situation, A calls B; 
in async, A initiates (or triggers) B.  The intent here is to remove any 
connotation that A might wait for a response.  In line with this, B 
isn't a function or method, it's a task, unit of work, process, ...

For what it may be worth...

-- 
Don Dwiggins
Advanced Publishing Technology




More information about the Twisted-Python mailing list