Bewerken

Delen via


StreamSubscriptionHandle<T>.ResumeAsync Method

Definition

Overloads

ResumeAsync(IAsyncBatchObserver<T>, StreamSequenceToken)

Resume batch consumption from a subscription to a stream.

ResumeAsync(IAsyncObserver<T>, StreamSequenceToken)

Resumed consumption from a subscription to a stream.

ResumeAsync(IAsyncBatchObserver<T>, StreamSequenceToken)

Source:
StreamSubscriptionHandle.cs

Resume batch consumption from a subscription to a stream.

public abstract System.Threading.Tasks.Task<Orleans.Streams.StreamSubscriptionHandle<T>> ResumeAsync (Orleans.Streams.IAsyncBatchObserver<T> observer, Orleans.Streams.StreamSequenceToken token = default);
abstract member ResumeAsync : Orleans.Streams.IAsyncBatchObserver<'T> * Orleans.Streams.StreamSequenceToken -> System.Threading.Tasks.Task<Orleans.Streams.StreamSubscriptionHandle<'T>>
Public MustOverride Function ResumeAsync (observer As IAsyncBatchObserver(Of T), Optional token As StreamSequenceToken = Nothing) As Task(Of StreamSubscriptionHandle(Of T))

Parameters

observer
IAsyncBatchObserver<T>

The batcj bserver object.

token
StreamSequenceToken

The stream sequence to be used as an offset to start the subscription from.

Returns

The new stream subscription handle.

Applies to

ResumeAsync(IAsyncObserver<T>, StreamSequenceToken)

Source:
StreamSubscriptionHandle.cs

Resumed consumption from a subscription to a stream.

public abstract System.Threading.Tasks.Task<Orleans.Streams.StreamSubscriptionHandle<T>> ResumeAsync (Orleans.Streams.IAsyncObserver<T> observer, Orleans.Streams.StreamSequenceToken token = default);
abstract member ResumeAsync : Orleans.Streams.IAsyncObserver<'T> * Orleans.Streams.StreamSequenceToken -> System.Threading.Tasks.Task<Orleans.Streams.StreamSubscriptionHandle<'T>>
Public MustOverride Function ResumeAsync (observer As IAsyncObserver(Of T), Optional token As StreamSequenceToken = Nothing) As Task(Of StreamSubscriptionHandle(Of T))

Parameters

observer
IAsyncObserver<T>

The observer object.

token
StreamSequenceToken

The stream sequence to be used as an offset to start the subscription from.

Returns

The new stream subscription handle.

Applies to