Skip to content

Commit 2e9432f

Browse files
committed
Another doc fix
1 parent d73fa50 commit 2e9432f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Node/Stream.purs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module Node.Stream
99
, Duplex()
1010
, setEncoding
1111
, onData
12+
, onDataString
1213
, onEnd
1314
, onClose
1415
, onError
@@ -117,7 +118,7 @@ foreign import uncork :: forall r eff. Writable r eff -> Eff eff Unit
117118

118119
foreign import setDefaultEncodingImpl :: forall r eff. Writable r eff -> String -> Eff eff Unit
119120

120-
-- | Set the default encoding used to write chunks to the stream. This function
121+
-- | Set the default encoding used to write strings to the stream. This function
121122
-- | is useful when you are passing a writable stream to some other JavaScript
122123
-- | library, which already expects a default encoding to be set. It has no
123124
-- | effect on the behaviour of the `writeString` function (because that

0 commit comments

Comments
 (0)