ProcessInput

zio.process.ProcessInput$
See theProcessInput companion trait

Attributes

Companion:
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

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

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
case object Inherit extends ProcessInput

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
Inherit.type
case object Pipe extends ProcessInput

Attributes

Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Self type
Pipe.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromByteArray(bytes: Array[Byte]): ProcessInput

Returns a ProcessInput from an array of bytes.

Returns a ProcessInput from an array of bytes.

Attributes

def fromFile(file: File, chunkSize: Int): ProcessInput

Returns a ProcessInput from a file.

Returns a ProcessInput from a file.

Attributes

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

def fromQueue(queue: Queue[Chunk[Byte]]): ProcessInput

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

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

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

def fromUTF8String(text: String): ProcessInput

Returns a ProcessInput from a UTF-8 String.

Returns a ProcessInput from a UTF-8 String.

Attributes