Skip to content
Developer Preview

UnframedViewNotification

One element of a view/page result’s events array: an unframed view notification exactly as defines it — the nested pair {"method", "params"}, which is the live notification minus jsonrpc and emittedAtMs, with nothing lifted out of params and nothing spliced into it. is the single normative definition; and both cite it, so the two surfaces cannot drift.

  • method
  • params
Source

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

{
"description": "One element of a `view/page` result's `events` array: an **unframed view\nnotification** exactly as defines it — the nested pair\n`{\"method\", \"params\"}`, which is the live notification minus `jsonrpc`\nand `emittedAtMs`, with nothing lifted out of `params` and nothing spliced\ninto it. is the single normative definition; and\nboth cite it, so the two surfaces cannot drift.",
"properties": {
"method": {
"description": "The event type — the live notification's method name, retained because\nthe type lives only in the notification name and would otherwise be\nlost.",
"type": "string"
},
"params": {
"$ref": "#/$defs/UnframedViewNotificationParams",
"description": "The notification's params object, verbatim."
}
},
"required": [
"method",
"params"
],
"type": "object"
}