NestedChunkedUpdatingGeneratorBase<TAggregate,TUpdate> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for nested stream event generators that process chunked updates.
public abstract class NestedChunkedUpdatingGeneratorBase<TAggregate,TUpdate> : Azure.AI.AgentServer.Responses.Invocation.Stream.NestedStreamEventGeneratorBase<TAggregate> where TAggregate : class
type NestedChunkedUpdatingGeneratorBase<'Aggregate, 'Update (requires 'Aggregate : null)> = class
inherit NestedStreamEventGeneratorBase<'Aggregate (requires 'Aggregate : null)>
Public MustInherit Class NestedChunkedUpdatingGeneratorBase(Of TAggregate, TUpdate)
Inherits NestedStreamEventGeneratorBase(Of TAggregate)
Type Parameters
- TAggregate
The type of the aggregate object.
- TUpdate
The type of update items.
- Inheritance
-
NestedChunkedUpdatingGeneratorBase<TAggregate,TUpdate>
- Derived
Constructors
| Name | Description |
|---|---|
| NestedChunkedUpdatingGeneratorBase<TAggregate,TUpdate>() | |
Properties
| Name | Description |
|---|---|
| CancellationToken |
Gets or initializes the cancellation token for the generation process. (Inherited from NestedStreamEventGeneratorBase<TAggregate>) |
| GroupSeq |
Gets the sequence number generator for groups. |
| Seq |
Gets or initializes the sequence number generator for events. (Inherited from NestedStreamEventGeneratorBase<TAggregate>) |
| Updates |
Gets or initializes the async enumerable of updates to process. |
Methods
| Name | Description |
|---|---|
| Changed(TUpdate, TUpdate) |
Determines whether two consecutive updates represent a change. |
| CreateGroup(IAsyncEnumerable<TUpdate>) |
Creates a nested events group from a chunk of updates. |
| Generate() |
Generates groups of nested events by chunking updates. |