interface AsyncStreamable<T>
An object that can create an AsyncStream of elements of type T.
Companion namespace: AsyncStreamable
Implemented by: AsyncStream<T>, Channel.Read<T>
Type parameters
| Name | Description |
|---|---|
| T | the element type |
Methods
asyncStream
Returns an asynchronous stream containing the elements in this collection.
asyncStreamDefinition
asyncStream(): AsyncStream<T>;