W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] The Module Tag

From: Douglas Crockford <douglas@crockford.com>
Date: Wed, 01 Nov 2006 05:20:52 -0800
Message-ID: <45489F34.90404@crockford.com>
 > > The sender is suspended until the receiver returns.

 > And what happens to the receiver? Is the script currently
 > running in the receiver context interrupted?

The send function checks the type of its argument. It then checks for the 
existence of the receive function. If it exists, it calls it, passing the 
argument. If it does not exist, it throws.

Send/receive is a guarded function invocation. It does not suspend, interrupt, 
queue, or block. It is just an invocation.
Received on Wednesday, 1 November 2006 05:20:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC