[plt-scheme] send/suspend: when the response relies on the request

From: Dave Herman (dherman at ccs.neu.edu)
Date: Sat Aug 13 11:19:41 EDT 2005

Jay wrote:
> When send/suspend is used, there is always _a_ request in scope.

Matthias wrote:
> Remember that this function can only be invoked if the consumer has
> triggered the start "entry" into this script. This creates an initial
> request and somehow this request should be shuffled into the function
> that creates a response for send/suspend.

I see. I was thrown off because I'm working with a unit-based servlet, 
but it looks like you get the initial-request from the servlet^ 
signature, and as you say every subsequent request is available as the 
result of the next call to send/suspend.

Thanks.

Dave



Posted on the users mailing list.