Skip to content
Developer Preview

RewindReadInputResult

Experimental

session/rewindReadInput result (D7): one chunk of the exact current refill. Concatenating refillText chunks in order yields the exact refill; empty refill is one EOF response with empty text and zero bytes.

  • byteLen — Experimental
  • eof — Experimental
  • nextCursor — Experimental
  • offsetBytes — Experimental
  • refillText — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/RewindReadInputResult

{
"description": "`session/rewindReadInput` result (D7): one chunk of the exact current\nrefill. Concatenating `refillText` chunks in order yields the exact\nrefill; empty refill is one EOF response with empty text and zero bytes.",
"properties": {
"byteLen": {
"description": "Bytes returned in this chunk.",
"type": "integer"
},
"eof": {
"description": "Whether this chunk ends the read.",
"type": "boolean"
},
"nextCursor": {
"description": "The next chunk cursor, null at EOF. Required-nullable.",
"type": [
"string",
"null"
]
},
"offsetBytes": {
"description": "The UTF-8 byte offset of this chunk.",
"type": "integer"
},
"refillText": {
"description": "This chunk's exact text (concatenated stored text blocks, no added\nseparators or trimming; empty whenever the selected input contains\nan asset).",
"type": "string"
}
},
"required": [
"byteLen",
"eof",
"nextCursor",
"offsetBytes",
"refillText"
],
"type": "object",
"x-msp-descriptor": "session/rewindReadInput",
"x-msp-stability": "experimental"
}