Lossy Stream

Requires: Base Development System

Use the Lossy Stream channel to communicate homogeneous data from a single writer to a single reader. If the channel is already full when the writer attempts to write a new data, the writer does not wait for space to be available. Instead, the channel optionally either drops the oldest data element in the channel to make room for this new data or discards this new data. You can use the Lossy Stream readers to identify data gaps.

EndpointDescription
ReadReads an element from a Lossy Stream channel.
Read ScheduledReads an element from a Lossy Stream channel at a scheduled time. The endpoint waits if no element is available in the channel at the scheduled time.
Read With AbortReads an element from a Lossy Stream channel or signals the channel to abort. This endpoint is the same as the Read endpoint except that it has an abort input and an aborted? output. You can use the abort capability of the Lossy Stream channel to close a channel abruptly, ignoring any data left in the channel buffer. You must use this endpoint together with the Write With Abort endpoint.
WriteWrites an element to a Lossy Stream channel. If the channel is full, this endpoint either drops the oldest element in the channel to make room for this new element or discards this new element.
Write ScheduledWrites an element to a Lossy Stream channel at a scheduled time. The endpoint waits until the scheduled time and continues waiting if the channel is full at the scheduled time.
Write With AbortWrites an element to a Lossy Stream channel or signals the channel to abort. The endpoint waits if the channel is full. This endpoint is the same as the Write endpoint except that it has an abort input and an aborted? output. You can use the abort capability of the Lossy Stream channel to close a channel abruptly, ignoring any data left in the channel buffer. You must use this endpoint together with the Read With Abort endpoint.