- From: Douglas Crockford <douglas@crockford.com>
- Date: Tue, 31 Oct 2006 15:51:30 -0800 (PST)
> > The sender is suspended until the receiver returns. > As a quick note, in general we're trying to get away from synchronous > scripting. It causes too many problems, especially in browsers written > around a single UI thread on which JS runs. Several APIs are having to be > grandfathered in -- window.alert(), for instance -- but as a rule none of > the new APIs should be synchronous. This is a function invocation. The new APIs should allow function invocations to remain synchronous. The thing to avoid is blockage. alert() is evil. send() is not.
Received on Tuesday, 31 October 2006 15:51:30 UTC