Commit c8e0bdd7 authored by Calvin Metcalf's avatar Calvin Metcalf Committed by Fedor Indutny
Browse files

doc: document _transform callback takes 2 args



Expands the paragraph in the transform stream
implementation docs about the callback that is passed
to the _transform method to include details about how
two arguments may be passed, error and data.  A code
example is also included.

Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
parent 542ac7f3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment