{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3772","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3772/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3772/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3772/events","html_url":"https://github.com/pouchdb/pouchdb/issues/3772","id":71564804,"number":3772,"title":"Highlandify PouchDB Changes stream","user":{"login":"ronag","id":3065230,"avatar_url":"https://avatars.githubusercontent.com/u/3065230?v=3","gravatar_id":"","url":"https://api.github.com/users/ronag","html_url":"https://github.com/ronag","followers_url":"https://api.github.com/users/ronag/followers","following_url":"https://api.github.com/users/ronag/following{/other_user}","gists_url":"https://api.github.com/users/ronag/gists{/gist_id}","starred_url":"https://api.github.com/users/ronag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronag/subscriptions","organizations_url":"https://api.github.com/users/ronag/orgs","repos_url":"https://api.github.com/users/ronag/repos","events_url":"https://api.github.com/users/ronag/events{/privacy}","received_events_url":"https://api.github.com/users/ronag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-28T11:39:59Z","updated_at":"2015-04-28T12:51:27Z","closed_at":null,"body":"I'm trying to highlandjsify the PouchDB changes stream (https://github.com/caolan/highland/issues/292)\r\n\r\nThe problem is that highlandjs works best on pause/resumeable streams and I'm a bit unsure how to handle that.\r\n\r\nMy initial guess would be to `cancel` the changes on `pause` and save the `seq` from the complete event and use that as the `since` value when resuming.\r\n\r\nAnyone suggestions or advice?"},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/97051325","html_url":"https://github.com/pouchdb/pouchdb/issues/3772#issuecomment-97051325","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3772","id":97051325,"user":{"login":"calvinmetcalf","id":1128607,"avatar_url":"https://avatars.githubusercontent.com/u/1128607?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinmetcalf","html_url":"https://github.com/calvinmetcalf","followers_url":"https://api.github.com/users/calvinmetcalf/followers","following_url":"https://api.github.com/users/calvinmetcalf/following{/other_user}","gists_url":"https://api.github.com/users/calvinmetcalf/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinmetcalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinmetcalf/subscriptions","organizations_url":"https://api.github.com/users/calvinmetcalf/orgs","repos_url":"https://api.github.com/users/calvinmetcalf/repos","events_url":"https://api.github.com/users/calvinmetcalf/events{/privacy}","received_events_url":"https://api.github.com/users/calvinmetcalf/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T12:51:27Z","updated_at":"2015-04-28T12:51:27Z","body":"I believe you can use a standard node stream with highland in which case you can use https://github.com/calvinmetcalf/PouchStream"}}