Closed ronycohen closed 8 years ago
I solved my issue with a cloning of the doc before saving into the worker DB.
Yes, objects cannot be cloned if they have functions inside of them. PouchDB ignores this; worker-pouch throws an error when this happens.
In my case I just did a _.clone(device) in order to make it work.
When Getting some data the cloning is not possible on the worker side.