You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works, however I find that the resolved stream is eagerly pulled even if there's no sink. Here's an example:
constdeferred=defer()deferred.resolve(pull(pull.once('x'),pull.through(console.log)))// I would expect no output since there is no sink, but instead 'x' is logged
Does this behavior seem intentional or might there be something to dig into here? My workaround is simply to use pull-defer, which preserves laziness in the way I originally expected. If you believe there's an issue here, I would be happy to look into contributing a fix.
The text was updated successfully, but these errors were encountered:
First, thanks for pull-streams— truly a treat :)
I attempted to implement a deferred source using pull-many. It looks like this:
This works, however I find that the resolved stream is eagerly pulled even if there's no sink. Here's an example:
Does this behavior seem intentional or might there be something to dig into here? My workaround is simply to use pull-defer, which preserves laziness in the way I originally expected. If you believe there's an issue here, I would be happy to look into contributing a fix.
The text was updated successfully, but these errors were encountered: