Skip to content
Developer Preview

HistoryNoneReason

Why a result served history.mode: "none" — the server’s typed reason for serving no history, with one push-only exception: projectionRebuildFailed rides only a session/viewHealthChanged notification; no resume or read result carries it (see its variant doc). Open on the client side: an absent (older server) or unknown (newer server) value decodes conservatively as an unknown reason, and viewCursor text never substitutes for it.

  • "cursorSuffix"
  • "excluded"
  • "historyBudget"
  • "projectionReadLimit"
  • "projectionRebuildFailed"
  • "projectionUnavailable"
Source

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

{
"description": "Why a result served `history.mode: \"none\"` — the server's typed reason for\nserving no history, with one push-only exception: `projectionRebuildFailed`\nrides only a `session/viewHealthChanged` notification; no resume or read\nresult carries it (see its variant doc). Open on the client side: an\nabsent (older server) or unknown (newer server) value decodes\nconservatively as an unknown reason, and `viewCursor` text never\nsubstitutes for it.",
"enum": [
"excluded",
"cursorSuffix",
"historyBudget",
"projectionUnavailable",
"projectionReadLimit",
"projectionRebuildFailed"
],
"type": "string",
"x-msp-openness": "open"
}