← ZIO Process docs

ProcessInput

zio.process.ProcessInput
See theProcessInput companion trait
object ProcessInput

Attributes

Companion
trait
Source
ProcessInput.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class FromStream(stream: ZStream[Any, CommandError, Byte], flushChunksEagerly: Boolean) extends ProcessInput

Attributes

Source
ProcessInput.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait ProcessInput
class Object
trait Matchable
class Any
Show all
case object Inherit extends ProcessInput

Attributes

Source
ProcessInput.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ProcessInput
class Object
trait Matchable
class Any
Show all
Self type
Inherit.type
final case class JavaStream(stream: InputStream, flushChunksEagerly: Boolean) extends ProcessInput

Attributes

Source
ProcessInput.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait ProcessInput
class Object
trait Matchable
class Any
Show all
case object Pipe extends ProcessInput

Attributes

Source
ProcessInput.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait ProcessInput
class Object
trait Matchable
class Any
Show all
Self type
Pipe.type

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

Returns a ProcessInput from an array of bytes.

Returns a ProcessInput from an array of bytes.

Attributes

Source
ProcessInput.scala
def fromFile(file: File, chunkSize: Int = ...): ProcessInput

Returns a ProcessInput from a file.

Returns a ProcessInput from a file.

Attributes

Source
ProcessInput.scala
def fromPath(path: Path, chunkSize: Int = ...): ProcessInput

Returns a ProcessInput from a path to a file.

Returns a ProcessInput from a path to a file.

Attributes

Source
ProcessInput.scala

Returns a ProcessInput from a queue of bytes to send to the process in a controlled manner.

Returns a ProcessInput from a queue of bytes to send to the process in a controlled manner.

Attributes

Source
ProcessInput.scala
def fromStream(stream: ZStream[Any, CommandError, Byte], flushChunksEagerly: Boolean = ...): ProcessInput

Returns a ProcessInput from a stream of bytes.

Returns a ProcessInput from a stream of bytes.

You may want to set flushChunksEagerly to true when doing back-and-forth communication with a process such as interacting with a repl (flushing the command to send so that you can receive a response immediately).

Attributes

Source
ProcessInput.scala
def fromString(text: String, charset: Charset): ProcessInput

Returns a ProcessInput from a String with the given charset.

Returns a ProcessInput from a String with the given charset.

Attributes

Source
ProcessInput.scala

Returns a ProcessInput from a UTF-8 String.

Returns a ProcessInput from a UTF-8 String.

Attributes

Source
ProcessInput.scala