async_rack_front.ru
# This is a template async response. N.B. Can't use string for body on 1.9
This is a template async response.
This is a template async response .
def call(env)
    env.delete('rack.errors')
    input = env.delete('rack.input')
    async_callback = env.delete('async.callback')
    Nanite.request('/rack_worker/call', env, :random) do |response| 
      async_callback.call response.values.first
    end
    AsyncResponse 
  end
def call ( env ) env . delete ( 'rack.errors' ) input = env . delete ( 'rack.input' ) async_callback = env . delete ( 'async.callback' ) Nanite . request ( '/rack_worker/call' , env , :random ) do | response | async_callback . call response . values . first end AsyncResponse end
This is a template async response.
This is a template async response .
# May end up in Rack :-)
env
<not_specific>