anchor.diff:  %%% - ACTIONS - %%%
   
   render_action(Record) -> 
  -    ?PRINT(render_action),
       % Spawn a wrapped comet function.
       #comet {
           function=fun() -> continue_wrapper(Record) end
  
positive.code: continue_wrapper(Record) ->
      % Run the user's function. The results will either
      % be the actual result of the function, 'timeout', or 'error'
      ?PRINT(running_function),
      Result = run_continue_function(Record),
      ?PRINT({result, Result}),
      
  
      % Initiate a postback on the page to gather the requests...
  
negative.code:     wf:flush(),
  
      % Wait for the event/1 function below to request the results...
      receive 
          {get_results, Pid, Ref} -> 
              Pid ! {get_results_response, Record, Result, Ref}
      end.
  
  