search for: continuation_call

Displaying 1 result from an estimated 1 matches for "continuation_call".

2006 Mar 08
1
Poor Man''s Continuations
...rrect?) My idea is to use the fact that (in many cases) given the same starting state (params, and session vars) a controller will end up at the same point. So we could implement a continuation-like thingy by saving the these relevant parts of the state, and using a state stack. The first time a continuation_call is found, the control is redirected to the target, the target redirects back to the source when it is done. The second time the continuation_call is encountered there''s a result ready, and that is returned. So I''ve written this, by sticking a catch in perform_action which effect...