1 write to Data
Microsoft.Extensions.AI.OpenAI (1)
src\Shared\ServerSentEvents\SseItem.cs (1)
37Data = data;
2 references to Data
Microsoft.Extensions.AI.OpenAI (2)
OpenAISerializationHelpers.cs (1)
94writer.Write(sseItem.Data.ToMemory().Span);
src\Shared\ServerSentEvents\SseFormatter.cs (1)
42return WriteAsyncCore(source, destination, static (item, writer) => writer.WriteUtf8String(item.Data.AsSpan()), cancellationToken);