log/subscribe
Experimental
Attaches a live tail to one stream, optionally resuming
after a cursor position.
Parameters
Section titled “Parameters”Type: LogSubscribeParams
log/subscribe params.
| Field | Type | Stability | Presence | Description |
|---|---|---|---|---|
after |
RecordPosition | Experimental | optional | Resume position: the server replays (after, tail] before any live record. Omitted tails from now (back-fill with log/page for history). |
sessionId |
string |
Experimental | required | The owning session (must be loaded on this host). |
stream |
StreamRef | Experimental | required | The stream to tail. |
Source
schema/msp/experimental/msp.schema.json#/methods/log~2Fsubscribe
{ "description": "Attaches a live tail to one stream, optionally resuming \\\n after a cursor position.", "params": { "$ref": "#/$defs/LogSubscribeParams" }, "result": { "$ref": "#/$defs/LogSubscribeResult" }, "x-msp-descriptor": "log/subscribe", "x-msp-stability": "experimental"}