File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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
118119foreign 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
You can’t perform that action at this time.
0 commit comments