# ITextStreamTransform Namespace: LLama.Abstractions Takes a stream of tokens and transforms them. ```csharp public interface ITextStreamTransform ``` ## Methods ### **TransformAsync(IAsyncEnumerable<String>)** Takes a stream of tokens and transforms them, returning a new stream of tokens asynchronously. ```csharp IAsyncEnumerable TransformAsync(IAsyncEnumerable tokens) ``` #### Parameters `tokens` [IAsyncEnumerable<String>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.iasyncenumerable-1)
#### Returns [IAsyncEnumerable<String>](https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.iasyncenumerable-1)
### **Clone()** Copy the transform. ```csharp ITextStreamTransform Clone() ``` #### Returns [ITextStreamTransform](./llama.abstractions.itextstreamtransform.md)