Callback function not called in second times
I have use Couchbase for my database. Short story is, i created callback function when replication has been success that callback will be called. After trigger it, activity that listen this callback will be got return value.
Fyi, couchbase have push & pull replication data that activate by calling their listener function. In my case i only use pull replication listener. This listener will be stopped when they had listen all data from db. And this when it is stop, will be trigger my callback...