Share via


Streamable.ToEnumerable<TPayload> Method

Definition

Exports a streamable as an enumerable that can be queried at any time for its current state.

public static Microsoft.StreamProcessing.EvolvingStateEnumerable<TPayload> ToEnumerable<TPayload> (this Microsoft.StreamProcessing.IStreamable<Microsoft.StreamProcessing.Empty,TPayload> stream);
static member ToEnumerable : Microsoft.StreamProcessing.IStreamable<Microsoft.StreamProcessing.Empty, 'Payload> -> Microsoft.StreamProcessing.EvolvingStateEnumerable<'Payload>
<Extension()>
Public Function ToEnumerable(Of TPayload) (stream As IStreamable(Of Empty, TPayload)) As EvolvingStateEnumerable(Of TPayload)

Type Parameters

TPayload

The type of object being streamed and output

Parameters

stream
IStreamable<Empty,TPayload>

The stream to convert into an enumerable

Returns

Applies to