FromStream

class FromStream(val handler: suspend (OutputStream) -> Unit) : InputSource

Allows custom logic given the Process.getInputStream instance, auto-closed after handler completes.

Constructors

Link copied to clipboard
constructor(handler: suspend (OutputStream) -> Unit)

Properties

Link copied to clipboard
val handler: suspend (OutputStream) -> Unit