Permalink
Browse files

updating README to reflect new work on async_yield. In particular, th…

…e method self.yield_cb has been replaced by self.mycb
  • Loading branch information...
1 parent e344a4c commit f20c1fefdf9ac14a79a48df893fbeededd4d1e39 Jeremy Kelley committed Feb 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -66,7 +66,7 @@ Or, you can wrap your methods with async_yield...
def get(self):
somedata = 'xxx'
fetchdata = yield AsyncHTTPClient.fetch( 'http://over/there',
- callback=self.yield_cb )
+ callback=self.mycb )
# do stuff with fetchdata here
self.write(fetchdata.body if not fetchdata.error else '')

0 comments on commit f20c1fe

Please sign in to comment.