Objects
JobStreamError
The last event of the stream when the Sursa instance stops for an update. The stream closes normally, and the jobs are not affected. It arrives without id:: the client reconnects with the same Last-Event-ID (EventSource does this on its own after retry: 3000), and the snapshot is extended with everything that changed while the connection was down.
Fields
type"error"requiredcodestringrequiredAllowed values:
server_restartretrybooleanrequiredAlways
true: only the stream was interrupted, and reconnecting is safe.messagestringrequired