IAsyncEnumerableGrainExtension.StartEnumeration<T> Method
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.
Invokes an IAsyncEnumerable<T> request and begins enumeration.
[Orleans.Concurrency.AlwaysInterleave]
public System.Threading.Tasks.ValueTask<(Orleans.Runtime.EnumerationResult Status, object Value)> StartEnumeration<T> (Guid requestId, Orleans.Runtime.IAsyncEnumerableRequest<T> request);
[<Orleans.Concurrency.AlwaysInterleave>]
abstract member StartEnumeration : Guid * Orleans.Runtime.IAsyncEnumerableRequest<'T> -> System.Threading.Tasks.ValueTask<ValueTuple<Orleans.Runtime.EnumerationResult, obj>>
Public Function StartEnumeration(Of T) (requestId As Guid, request As IAsyncEnumerableRequest(Of T)) As ValueTask(Of ValueTuple(Of EnumerationResult, Object))
Type Parameters
- T
The element type.
Parameters
- requestId
- Guid
The request id, generated by the caller.
- request
- IAsyncEnumerableRequest<T>
The request.
Returns
The result of enumeration
- Attributes