You can use an eventlet or gevent consumer with the wait_async
method. Then the callback will be handled asynchronously.
from couchdbkit.consumer import Consumer
c = Consumer(db, backend='gevent')
c.wait_async(cb, **changes_params)
- benoît
There is an issue in your code. Here is the fixed one:
http://www.friendpaste.com/1RVvKLPLNlVql9oyW06qZ0
hope it helps.
- benoît