Data types
TypeSpec.Streams
Section titled “TypeSpec.Streams”Stream
Section titled “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
Section titled “Template Parameters”Name | Description |
---|---|
Type | The type of the stream’s data. |
Properties
Section titled “Properties”None