GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - pull-stream/pull-stream-faq

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 

Repository files navigation

pull-streams: there is a module for that!

how can I achieve 1:many and many:1 transforms?

  • use pull(pull.map(mapToArray), pull.flatten())
  • use pull-through
  • use pull-flatmap

how do I interop with node streams? are there any caveats?

  • use stream-to-pull-stream back pressure will still work correctly. make sure you use toPull.source(readable) toPull.sink(writable) or toPull.duplex(duplex).

is there a way I can push to a pull stream?

generally, avoid doing this if you can because you'll loose back pressure, but if you must

  • use pull-pushable

can i apply a async function over pull-stream input?

  • use pull-paramap order will be preserved.

I need to return a stream immediately, but need to do something async first, how?

  • use pull-defer
  • or pull-cont

can I concat two pull-streams

yes.

  • use pull-cat

How do I fork a pull-stream?

eg: if there's an error, I want to stream to stderr, otherwise stream to stdout

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

21 stars

Watchers

5 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.