---
library: "bootstrap"
slug: "Stream"
name: "Stream"
ref: "Stream#ffa6"
hash: "sema:Stream#mh:SHA-256:ffa6e636cc2ca9f13c23f5862e60aceb0885a35686fb60f12da157316b159b53"
type: "Data Structures"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Stream"
---

# Stream

Continuous data flow

Infrastructure · Data Structures

## Mechanism

An ordered, potentially unbounded sequence of Messages. Represents real-time data pipes, log feeds, or conversational histories. Streams support operations like mapping, filtering, and backpressure. Utilizes [Message](https://semahash.org/vocabularies/bootstrap/patterns/Message.md).

## Invariants

- Ordering: Messages M_n and M_n+1 maintain relative sequence.
- Causality: Effects cannot precede causes in the stream.

## Preconditions

- A Source emitting Messages

## Where this came from

—

## Builds on

- [Message](https://semahash.org/vocabularies/bootstrap/patterns/Message.md) (references)

## Used by

- [Event](https://semahash.org/vocabularies/bootstrap/patterns/Event.md) (references)
- [ExplainBeacon](https://semahash.org/vocabularies/bootstrap/patterns/ExplainBeacon.md) (references)
- [InvariantFilter](https://semahash.org/vocabularies/bootstrap/patterns/InvariantFilter.md) (references)
- [Queue](https://semahash.org/vocabularies/bootstrap/patterns/Queue.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Stream#ffa6
- Hash: sema:Stream#mh:SHA-256:ffa6e636cc2ca9f13c23f5862e60aceb0885a35686fb60f12da157316b159b53

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Stream
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Stream.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
