Table of Contents

Constructor TextWriterStreamHandler

Namespace
LMKit.Agents.Streaming
Assembly
LM-Kit.NET.dll

TextWriterStreamHandler(TextWriter, bool)

Initializes a new instance of the TextWriterStreamHandler class.

public TextWriterStreamHandler(TextWriter writer, bool ownsWriter = false)

Parameters

writer TextWriter

The text writer to write to.

ownsWriter bool

Whether to dispose the writer when this handler is disposed.