Skip to content
Developer Preview

BackgroundTerminalInboxItemDrainedParams

Experimental

backgroundTerminal/inboxItemDrained params (ADR 83474 D2): one background-terminal inbox drain with its recorded stamp. The member set mirrors MonitorInboxItemDrainedParams, like the peer drain’s.

  • deliveryVisible — Experimental
  • drainTargetRunStream — Experimental
  • drainedAt — Experimental
  • itemId — Experimental
  • sessionId — Experimental
  • sourceRange — Experimental
  • viewCursor — Experimental
Source

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

{
"description": "`backgroundTerminal/inboxItemDrained` params (ADR 83474 D2): one\nbackground-terminal inbox drain with its recorded stamp. The member\nset mirrors `MonitorInboxItemDrainedParams`, like the\npeer drain's.",
"properties": {
"deliveryVisible": {
"description": "The drain record's `delivery_visible`: true for a delivery (a\nsnapshot-carrying drain), false for the claim-only settle of a\nserved completion.",
"type": "boolean"
},
"drainTargetRunStream": {
"$ref": "#/$defs/StreamRef",
"description": "The draining run stream (`StreamRef`), absent means the current\ndraining run."
},
"drainedAt": {
"description": "The drain record's recorded stamp (RFC3339).",
"type": "string"
},
"itemId": {
"description": "The drained inbox item id: the served completion's `itemId`.",
"type": "string"
},
"sessionId": {
"description": "The owning session.",
"type": "string"
},
"sourceRange": {
"$ref": "#/$defs/SourceRange",
"description": "The durable records this event folded from."
},
"viewCursor": {
"description": "Opaque, strictly monotonic view cursor.",
"type": "string"
}
},
"required": [
"deliveryVisible",
"drainedAt",
"itemId",
"sessionId",
"sourceRange",
"viewCursor"
],
"type": "object",
"x-msp-descriptor": "backgroundTerminal/inboxItemDrained",
"x-msp-stability": "experimental"
}