Writable interface used for type parameter constraints. See Writable for actual class documentation.
Writable
read onlydestroyed:Bool
read onlyisTTY:Bool
read onlywritable:Bool
read onlywritableEnded:Bool
read onlywritableFinished:Bool
read onlywritableLength:Int
read onlywritableObjectMode:Bool
read onlywritablehighWaterMark:Int
cork():Void
destroy(?error:Error):IWritable
end(chunk:Dynamic, ?encoding:String, ?callback:EitherType<() ‑> Void, Null<Error> ‑> Void>):Void
end(?callback:EitherType<() ‑> Void, Null<Error> ‑> Void>):Void
setDefaultEncoding(encoding:String):IWritable
uncork():Void
write(chunk:Dynamic, ?encoding:String, ?callback:EitherType<() ‑> Void, Null<Error> ‑> Void>):Bool