IWritable

js.node.stream.IWritable (extern interface)

Writable interface used for type parameter constraints. See Writable for actual class documentation.

Instance Members

destroyed: Bool

writable: Bool

writableEnded: Bool

writableFinished: Bool

writablehighWaterMark: Int

writableLength: Int

writableObjectMode: Bool

isTTY: Bool

cork(): Void

destroy(?error: js.lib.Error): IWritable
Name Type Default
error js.lib.Error (optional)
Returns
IWritable

end(chunk: Dynamic, ?encoding: String, ?callback: haxe.extern.EitherType<Function, Function>): Void
Name Type Default
chunk Dynamic
encoding String (optional)
callback haxe.extern.EitherType<Function, Function> (optional)

setDefaultEncoding(encoding: String): IWritable
Name Type
encoding String
Returns
IWritable

uncork(): Void

write(chunk: Dynamic, ?encoding: String, ?callback: haxe.extern.EitherType<Function, Function>): Bool
Name Type Default
chunk Dynamic
encoding String (optional)
callback haxe.extern.EitherType<Function, Function> (optional)
Returns
Bool

Metadata

Name Parameters
:remove -