not working couchdbkit consumer gevents example Revision 326162393062 (Tue Dec 06 2011 at 19:23) - Diff Link to this snippet: https://friendpaste.com/46jPnk5Ng2BTImDBcNk2A1 Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 12345678910111213from couchdbkit import Serverfrom couchdbkit.consumer import Consumerfrom time import sleepdef print_event(*args, **kwargs): print('EVENT: %s - %s' % (args, kwargs))db = Server(uri='http://localhost:5984')db.get_or_create_db('a_test_db')c = Consumer(db, backend="gevent")c.wait_async(print_event)sleep(1000)