Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stream: add Transform.by utility function #28501

Closed
wants to merge 26 commits into from

Commits on Dec 16, 2019

  1. stream: add Transform.by utility function

    Analogous to Readable.from, Transform.by creates transform streams
    from async function generators
    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    d957541 View commit details
    Browse the repository at this point in the history
  2. docs: stream.Transform.by typo

    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    9005e46 View commit details
    Browse the repository at this point in the history
  3. stream: Transform.by SourceIterator next optimization

    instead of allocating a new function for the Promise
    constructor  per call to next (e.g. via for await)
    allocate once on init and reuse
    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    944f228 View commit details
    Browse the repository at this point in the history
  4. docs: Transform.by doc tweaks

    Co-Authored-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    2 people authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    84c84c9 View commit details
    Browse the repository at this point in the history
  5. docs: sort type-parser types alphabetically within their groups

    davidmarkclements authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    a1937c7 View commit details
    Browse the repository at this point in the history
  6. docs: sort type-parser types alphabetically within their groups

    davidmarkclements authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    ad35382 View commit details
    Browse the repository at this point in the history
  7. docs: typo

    davidmarkclements authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    8d82c5b View commit details
    Browse the repository at this point in the history
  8. docs: Transform.by clarify as async iterable

    Co-Authored-By: Anna Henningsen <github@addaleax.net>
    2 people authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    7a1ef77 View commit details
    Browse the repository at this point in the history
  9. stream: Transform. by remove unnecessary defensive code

    davidmarkclements authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    5707445 View commit details
    Browse the repository at this point in the history
  10. stream: Transform.by code style

    Co-Authored-By: Anna Henningsen <github@addaleax.net>
    2 people authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    970ed3d View commit details
    Browse the repository at this point in the history
  11. stream: Transform.by minor refactoring

    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    6e67a85 View commit details
    Browse the repository at this point in the history
  12. streams: Transform.by check fn return value instead of fn instance

    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    98aebc5 View commit details
    Browse the repository at this point in the history
  13. docs: emphasize Transform.by objectMode default behaviour

    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    eee19c5 View commit details
    Browse the repository at this point in the history
  14. docs: Transform.by function naming convention

    Co-Authored-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    2 people authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    26e96be View commit details
    Browse the repository at this point in the history
  15. docs: add transform content to streams <-> async generators compatibi…

    …lity
    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    185a6f4 View commit details
    Browse the repository at this point in the history
  16. docs: includemissing parens

    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    8e73c51 View commit details
    Browse the repository at this point in the history
  17. tests: preempt conflict with nodejs#28566

    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    b73347f View commit details
    Browse the repository at this point in the history
  18. tests: fix transform async iterator test

    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    9789a5b View commit details
    Browse the repository at this point in the history
  19. docs: add meta data to Transform.by

    Co-Authored-By: Anna Henningsen <github@addaleax.net>
    2 people authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    bad0bfd View commit details
    Browse the repository at this point in the history
  20. stream: error handling bug fix, ensure stream is destroyed after proc…

    …ess.nextTick
    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    f2c8b22 View commit details
    Browse the repository at this point in the history
  21. Update doc/api/stream.md

    Co-Authored-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    2 people authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    001fe01 View commit details
    Browse the repository at this point in the history
  22. Update doc/api/stream.md

    Co-Authored-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    2 people authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    9545ee0 View commit details
    Browse the repository at this point in the history
  23. Update doc/api/stream.md

    Co-Authored-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    2 people authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    f0fa8b6 View commit details
    Browse the repository at this point in the history
  24. Update doc/api/stream.md

    Co-Authored-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
    2 people authored and David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    b504b15 View commit details
    Browse the repository at this point in the history
  25. streams: Transform.by, rm unncessary check

    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    447a895 View commit details
    Browse the repository at this point in the history
  26. lint fixes

    David Mark Clements committed Dec 16, 2019
    Configuration menu
    Copy the full SHA
    2fe96e4 View commit details
    Browse the repository at this point in the history