Delegate ReportmanAgentClient.ProgressEventHandler
Callback raised for each streamed progress event from the agent, carrying the actor, stage,
chunk type and content, token counts, progress identifier, and prefill percentage.
Assembly: Reportman.Reporting.dll
Syntax
public delegate void ReportmanAgentClient.ProgressEventHandler(object sender, string actor, string stage, string chunkType, string chunk, int inputTokens, int outputTokens, string progressId, int prefillPercent)
Parameters
| Type |
Name |
Description |
| object |
sender |
Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage. |
| string |
actor |
Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage. |
| string |
stage |
Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage. |
| string |
chunkType |
Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage. |
| string |
chunk |
Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage. |
| int |
inputTokens |
Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage. |
| int |
outputTokens |
Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage. |
| string |
progressId |
Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage. |
| int |
prefillPercent |
Callback raised for each streamed progress event from the agent, carrying the actor, stage, chunk type and content, token counts, progress identifier, and prefill percentage. |
Constructors
View Source
ProgressEventHandler(object, nint)
Declaration
public ProgressEventHandler(object @object, nint method)
Parameters
Methods
View Source
BeginInvoke(object, string, string, string, string, int, int, string, int, AsyncCallback, object)
Declaration
public virtual IAsyncResult BeginInvoke(object sender, string actor, string stage, string chunkType, string chunk, int inputTokens, int outputTokens, string progressId, int prefillPercent, AsyncCallback callback, object @object)
Parameters
Returns
View Source
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
View Source
Invoke(object, string, string, string, string, int, int, string, int)
Declaration
public virtual void Invoke(object sender, string actor, string stage, string chunkType, string chunk, int inputTokens, int outputTokens, string progressId, int prefillPercent)
Parameters