Any way to convert array into individual values?
Open
- Dominant language
- JavaScript
- Stars
- 3.4k
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Description
In this code, `download` returns an array of many objects, but `handleSingleObject` expects a single object to be piped through it. Is there a way to convert an array of objects into a single object for piping further down the chain?
```js
highland(myArray)
.map(page => highland(download(page))
.parallel(5)
.pipe(handleSingleObject())
...
```
Contributor guide
Research direction
Start with the Highland pipeline shown in the issue and trace how the array returned by download reaches handleSingleObject after parallel(5). Done means determining whether existing stream operations can emit individual objects for handleSingleObject, or whether a library change would be needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- stream-processing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100