I want to use bacon.js for the following scenario:
1. read files in a directory
2. each file consists of a url, make http request to the url
3. write each response into a corresponding file in another directory
From the docs, I understand that the errors from one stream are passed onto the subsequent ones, even if all values are filtered out. If this is the case, then I only need to specify the onError
handler on the last stream, since it will receive errors from the previous streams as well. Is that correct?
Also, it seems that by default, an error event doesn't terminate the stream. So even if one file operation or http request fails, the others are unaffected. Is that correct?