casualjim
12/16/2010 - 11:44 PM

gistfile1.scala

asyncGet("/route") {
  // all methods below are optional so in reality you would only see 2 or 3
  init { continuation => 
  }

  resumed { continuation => 
  }

  expired { continuation => 
  }

  suspended { continuation => 
  }
 
  completing { continuation => 
  }

  timingOut { continuation => 

  }
}