Skip to content
Developer Preview

ViewPageResult

view/page result.

  • events
  • nextCursor
  • resolvedAnchor
Source

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

{
"description": "`view/page` result.",
"properties": {
"events": {
"description": "The page's events, always ascending by `viewCursor` in both\ndirections. Durable-sourced only; pages are contiguous and can never\nskip a cursor.",
"items": {
"$ref": "#/$defs/UnframedViewNotification"
},
"type": "array"
},
"nextCursor": {
"description": "The anchor for the next page in the same direction: forward, the last\nevent's cursor; backward, the first's. `null` at the end of the view\nin that direction — never omitted.",
"type": [
"string",
"null"
]
},
"resolvedAnchor": {
"$ref": "#/$defs/ViewPageResolvedAnchor",
"description": "The resolution echo, present exactly when the request used `anchor`."
}
},
"required": [
"events",
"nextCursor"
],
"type": "object"
}