ProcessInput

Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

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

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

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.

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

Returns a ProcessInput from a file.

Returns a ProcessInput from a file.

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.

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.

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).

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.

def fromUTF8String(text: String): ProcessInput

Returns a ProcessInput from a UTF-8 String.

Returns a ProcessInput from a UTF-8 String.