caolan / caolan/highland

memo does not accept array

Open
#708 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.4k
Forks
145
PR merge metrics
No merged PRs in 30d

Description

Stream.scan(memo, iterator)
looks like memo is forced to accept string and buffer, any suggestion or work around to make "memo" accept an array

Contributor guide

Open the contributing guide

Research direction

The issue names Stream.scan(memo, iterator), so start by locating that entry point and reproducing the array-memo case. Trace how memo is handled for string and buffer values, then check the related tests. Done means the intended array behavior is covered by a test and the accepted behavior or workaround is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
stream-processing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.