Expand description
Stream metadata values and their publication into the runtime claim store.
This module supplies the concrete description of a stream’s identity:
StreamMetadata bundles a stream id, its StreamMedia kind,
StreamDirection, clock symbol, and buffer policy. RateContract
captures the clock-domain/latency/rate agreement two ports must share to
connect.
The kernel defines the claim/fact contract and the clock-domain surface;
this module supplies the streaming-fabric behavior on top of it. The
stream_*_predicate helpers name the predicate symbols, and
publish_metadata_claims writes a stream’s metadata into the runtime as
public facts so other libraries can query a stream’s shape.
Structs§
- Rate
Contract - Timing agreement a stream port advertises and must share to connect.
- Stream
Metadata - Full identity of a stream: id, media kind, direction, clock, and buffer policy.
Enums§
- Stream
Direction - Flow direction of a stream relative to its owner.
- Stream
Media - Media kind carried by a stream.
Functions§
- publish_
metadata_ claims - Publishes a stream’s metadata into the runtime as public facts about
subject. - stream_
buffer_ predicate - Returns the
stream/bufferpredicate symbol used for buffer-policy facts. - stream_
direction_ predicate - Returns the
stream/directionpredicate symbol used for direction facts. - stream_
id_ predicate - Returns the
stream/idpredicate symbol used for stream-identity facts. - stream_
media_ predicate - Returns the
stream/mediapredicate symbol used for media-kind facts.