Skip to main content

Module metadata

Module metadata 

Source
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§

RateContract
Timing agreement a stream port advertises and must share to connect.
StreamMetadata
Full identity of a stream: id, media kind, direction, clock, and buffer policy.

Enums§

StreamDirection
Flow direction of a stream relative to its owner.
StreamMedia
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/buffer predicate symbol used for buffer-policy facts.
stream_direction_predicate
Returns the stream/direction predicate symbol used for direction facts.
stream_id_predicate
Returns the stream/id predicate symbol used for stream-identity facts.
stream_media_predicate
Returns the stream/media predicate symbol used for media-kind facts.