Skip to main content
Version: Next 🚧

Data types

TypeSpec.Streams

Stream

Defines a model that represents a stream protocol type whose data is described by Type.

This can be useful when the underlying data type is not relevant, or to serve as a base type for custom streams.

model TypeSpec.Streams.Stream<Type>

Template Parameters

NameDescription
TypeThe type of the stream's data.

Properties

None