Edit

Share via


IAsyncEnumerableGrainExtension Interface

Definition

Grain extension interface for grains which return IAsyncEnumerable<T> from grain methods.

public interface IAsyncEnumerableGrainExtension : Orleans.Runtime.IGrainExtension
type IAsyncEnumerableGrainExtension = interface
    interface IGrainExtension
    interface IAddressable
Public Interface IAsyncEnumerableGrainExtension
Implements IGrainExtension
Implements

Methods

DisposeAsync(Guid)

Disposes an IAsyncEnumerable<T> value.

MoveNext<T>(Guid)

Continues enumerating an IAsyncEnumerable<T> value.

StartEnumeration<T>(Guid, IAsyncEnumerableRequest<T>)

Invokes an IAsyncEnumerable<T> request and begins enumeration.

Extension Methods

AsReference(IAddressable, Type)

Returns a typed reference to the provided grain.

AsReference<TGrainInterface>(IAddressable)

Returns a typed reference to the provided grain.

BindGrainReference(IAddressable, IGrainFactory)

Binds the grain reference to the provided IGrainFactory.

Cast(IAddressable, Type)

Returns a typed reference to the provided grain.

Cast<TGrainInterface>(IAddressable)

Returns a typed reference to the provided grain.

GetGrainId(IAddressable)

Returns the grain id corresponding to the provided grain.

GetPrimaryKey(IAddressable, String)

Returns the Guid representation of a grain primary key.

GetPrimaryKey(IAddressable)

Returns the Guid representation of a grain primary key.

GetPrimaryKeyLong(IAddressable, String)

Returns the long representation of a grain primary key.

GetPrimaryKeyLong(IAddressable)

Returns the long representation of a grain primary key.

GetPrimaryKeyString(IAddressable)

Returns the string primary key of the grain.

IsPrimaryKeyBasedOnLong(IAddressable)

Returns whether part of the primary key is of type long.

Applies to