InputModule
PackageAxial.Process
Summary
| Name | Signature | Synopsis |
|---|---|---|
| empty | Input.empty | Supplies no bytes and closes stdin. |
| text | Input.text value | Supplies encoded text incrementally when execution begins. |
| bytes | Input.bytes value | Supplies exact bytes when execution begins. |
| file | Input.file path | Streams bytes from a file when execution begins. |
| read | Input.read producer | Reads one asynchronous byte block when execution begins. |
| produce | Input.produce producer | Produces asynchronous byte blocks with backpressure. |
| stream | Input.stream source | Adapts a .NET stream into a backpressured input source. |
Supplies encoded text incrementally when execution begins.
Parameters
| Name | Type | Description |
|---|---|---|
| value | string |
Returns
InputSource
Supplies exact bytes when execution begins.
Parameters
| Name | Type | Description |
|---|---|---|
| value | byte array |
Returns
InputSource
Streams bytes from a file when execution begins.
Parameters
| Name | Type | Description |
|---|---|---|
| path | string |
Returns
InputSource
Reads one asynchronous byte block when execution begins.
Parameters
| Name | Type | Description |
|---|---|---|
| producer | unit -> Async<byte array> |
Returns
InputSource
Produces asynchronous byte blocks with backpressure.
Parameters
| Name | Type | Description |
|---|---|---|
| producer | (byte array -> Async<unit>) -> Async<unit> |
Returns
InputSource

