io.scalajs.nodejs.stream.PassThrough.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nodejs_sjs0.6_2.11 Show documentation
Show all versions of nodejs_sjs0.6_2.11 Show documentation
NodeJS bindings for Scala.js
package io.scalajs.nodejs.stream
import scala.scalajs.js
/**
* This is a trivial implementation of a Transform stream that simply passes the input bytes across to the output.
* Its purpose is mainly for examples and testing, but there are occasionally use cases where it can come in handy
* as a building block for novel sorts of streams.
* @author [email protected]
*/
@js.native
trait PassThrough extends Transform