Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/tools / / ResultReadOutcome
Interface: ResultReadOutcome
Defined in: packages/tools/src/result/reader.ts:50
Outcome of ResultReader.read.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
bytes | readonly | number | Byte length of content. | packages/tools/src/result/reader.ts:54 |
content | readonly | string | The requested slice of the artifact. | packages/tools/src/result/reader.ts:52 |
eof | readonly | boolean | true when content reaches the end of the artifact (no more to read). | packages/tools/src/result/reader.ts:58 |
totalBytes | readonly | number | Total byte size of the full artifact. | packages/tools/src/result/reader.ts:56 |