Skip to main content

Module shape

Module shape 

Source
Expand description

Shape protocol integration for the stream-core types.

The kernel defines the Shape protocol – its one shared engine for parsing, checking, binding, and dispatch. This module supplies the concrete behavior of registering stream-core’s types as first-class shape targets without redefining that contract: StreamCoreShapesLib is a loadable Lib that exports one named shape per stream type, and install_stream_core_shapes_lib loads it idempotently into a Cx.

Each registered shape is a DocumentedShape that delegates all matching to the kernel’s total AnyShape and contributes only descriptive ShapeDoc metadata; the stream_*_shape_symbol accessors expose the stable Symbol under which each type’s shape is registered.

Structs§

StreamCoreShapesLib
Loadable library that registers the stream-core types as kernel shapes.

Functions§

install_stream_core_shapes_lib
Installs StreamCoreShapesLib into cx, skipping if already loaded.
stream_backpressure_shape_symbol
Returns the registration symbol for the BackpressureOutcome shape.
stream_buffer_policy_shape_symbol
Returns the registration symbol for the StreamBufferPolicy shape.
stream_capability_shape_symbol
Returns the registration symbol for the StreamCapability shape.
stream_clock_domain_shape_symbol
Returns the registration symbol for the ClockDomain shape.
stream_clock_shape_symbol
Returns the registration symbol for the StreamClock shape.
stream_data_packet_shape_symbol
Returns the registration symbol for the DataPacket shape.
stream_diagnostic_shape_symbol
Returns the registration symbol for the StreamDiagnostic shape.
stream_envelope_shape_symbol
Returns the registration symbol for the StreamEnvelope shape.
stream_latency_class_shape_symbol
Returns the registration symbol for the LatencyClass shape.
stream_media_shape_symbol
Returns the registration symbol for the StreamMedia shape.
stream_metadata_shape_symbol
Returns the registration symbol for the StreamMetadata shape.
stream_packet_shape_symbol
Returns the registration symbol for the StreamPacket shape.
stream_tempo_shape_symbol
Returns the registration symbol for the StreamTempo shape.