IReadable interface is used as "any Readable".
IReadable
See Readable for actual class documentation.
Readable
read onlydestroyed:Bool
read onlyreadable:Bool
read onlyreadableEncoding:Null<String>
read onlyreadableEnded:Bool
read onlyreadableHighWaterMark:Int
read onlyreadableLength:Int
read onlyreadableObjectMode:Bool
destroy(?error:Error):IReadable
isPaused():Bool
pause():IReadable
pipe<T>(destination:T, ?options:{end:Null<Bool>}):T
read(?size:Int):Null<Dynamic>
resume():IReadable
setEncoding(encoding:String):IReadable
unpipe(?destination:IWritable):IReadable
unshift(chunk:Null<Dynamic>, ?encoding:String):Void
wrap(stream:Dynamic):IReadable