Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

[stream] Remove the unused class Chunk #193

Merged
merged 1 commit into from
Mar 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -308,13 +308,6 @@ sealed trait IWritable extends LegacyStream {
def write(chunk: String, encoding: String, callback: js.Function1[Error, Any]): Boolean = js.native
}

/**
* Represents a chunk of data
* @param chunk the chunk of data
* @param encoding the data's optional encoding
*/
class Chunk(var encoding: js.UndefOr[String] = js.undefined) extends js.Object

class WritableOptions(var highWaterMark: js.UndefOr[Int] = js.undefined,
var decodeStrings: js.UndefOr[Boolean] = js.undefined,
var defaultEncoding: js.UndefOr[String] = js.undefined,
Expand Down