OutputModule
PackageAxial.Process
Summary
| Name | Signature | Synopsis |
|---|---|---|
| capture | Output.capture | Retains all output bytes and their decoded text view. |
| captureTail | Output.captureTail maximum | Retains only the final maximum number of bytes. |
| console | Output.console | Forwards redirected bytes through the host console streams. |
| inheritHandles | Output.inheritHandles | Gives the child the host handle directly; this channel cannot also be observed or teed. |
| discard | Output.discard | Drains and discards output. |
| file | Output.file path | Writes output to a truncating file. |
| appendFile | Output.appendFile path | Writes output to an appending file. |
| callback | Output.callback write | Sends exact byte chunks to an asynchronous backpressured callback. |
| tee | Output.tee targets | Sends every byte chunk to each target in order. |
| stream | Output.stream target | Adapts a writable .NET stream into an output target. |
| textWriter | Output.textWriter encoding target | Decodes output incrementally into a .NET text writer. |
Retains all output bytes and their decoded text view.
Returns
OutputTarget
Retains only the final maximum number of bytes.
Parameters
| Name | Type | Description |
|---|---|---|
| maximum | int |
Returns
OutputTarget
Forwards redirected bytes through the host console streams.
Returns
OutputTarget
Gives the child the host handle directly; this channel cannot also be observed or teed.
Returns
OutputTarget
Writes output to a truncating file.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string |
Returns
OutputTarget
Writes output to an appending file.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string |
Returns
OutputTarget
Sends exact byte chunks to an asynchronous backpressured callback.
Parameters
| Name | Type | Description |
|---|---|---|
| write | byte array -> Async<unit> |
Returns
OutputTarget
Sends every byte chunk to each target in order.
Parameters
| Name | Type | Description |
|---|---|---|
| targets | OutputTarget seq |
Returns
OutputTarget
Adapts a writable .NET stream into an output target.
Parameters
| Name | Type | Description |
|---|---|---|
| target | Stream |
Returns
OutputTarget

