{"action":"created","issue":{"url":"https://api.github.com/repos/caolan/highland/issues/333","labels_url":"https://api.github.com/repos/caolan/highland/issues/333/labels{/name}","comments_url":"https://api.github.com/repos/caolan/highland/issues/333/comments","events_url":"https://api.github.com/repos/caolan/highland/issues/333/events","html_url":"https://github.com/caolan/highland/issues/333","id":92739352,"number":333,"title":"onErrorResumeNext?","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":1,"created_at":"2015-07-02T21:27:19Z","updated_at":"2015-07-03T00:54:04Z","closed_at":null,"body":"How would I model `onErrorResumeNext` using highlandjs?\r\n\r\nhttps://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/onerrorresumenext.md"},"comment":{"url":"https://api.github.com/repos/caolan/highland/issues/comments/118204338","html_url":"https://github.com/caolan/highland/issues/333#issuecomment-118204338","issue_url":"https://api.github.com/repos/caolan/highland/issues/333","id":118204338,"user":{"login":"vqvu","id":6435429,"avatar_url":"https://avatars.githubusercontent.com/u/6435429?v=3","gravatar_id":"","url":"https://api.github.com/users/vqvu","html_url":"https://github.com/vqvu","followers_url":"https://api.github.com/users/vqvu/followers","following_url":"https://api.github.com/users/vqvu/following{/other_user}","gists_url":"https://api.github.com/users/vqvu/gists{/gist_id}","starred_url":"https://api.github.com/users/vqvu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vqvu/subscriptions","organizations_url":"https://api.github.com/users/vqvu/orgs","repos_url":"https://api.github.com/users/vqvu/repos","events_url":"https://api.github.com/users/vqvu/events{/privacy}","received_events_url":"https://api.github.com/users/vqvu/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T00:54:04Z","updated_at":"2015-07-03T00:54:04Z","body":"```javascript\r\nfunction doNothing {\r\n}\r\n\r\nfunction onErrorResumeNext(stream) {\r\n    return stream.map(function (s) {\r\n        return s.stopOnError(doNothing);\r\n    }).sequence();\r\n}\r\n```\r\n\r\nIf your streams already stop on error, you don't even need the `map`. Just `sequence`. In Highland, errors don't terminate a stream like they do in Rx."}}