StreamEnd
Description
Event to mark the end of an event stream.
The end of a stream can mean a few different things depending on the situation:
- Client shutting down the connection to the server
- Server shutting down the connection to the client
- Various network errors that caused a connection to close, such as "target not reachable", "DNS resolving failure", "connection refused", "reading/writing timeout", etc.
- A runtime script error that caused a pipeline to close
- The end of a task execution
Constructor
new StreamEnd(error?)
Creates an instance of MessageEnd.
Properties
errorError type if any. Possible values include:
- "" (no error)
- "Replay" (used with replay filter)
- "RuntimeError"
- "ReadError"
- "WriteError"
- "CannotResolve"
- "ConnectionAborted"
- "ConnectionReset"
- "ConnectionRefused"
- "ConnectionTimeout"
- "ReadTimeout"
- "WriteTimeout"
- "IdleTimeout"
- "BufferOverflow"
- "ProtocolError"
- "Unauthorized"
Type of the event.