Table of Contents

Method GetPositionAsync

Namespace
MVVrus.AspNetCore.ActiveSession
Assembly
MVVrus.AspNetCore.ActiveSession.dll

GetPositionAsync(CancellationToken)

Asynchronous counterpart of the Position property.

ValueTask<int> GetPositionAsync(CancellationToken Token = default)

Parameters

Token CancellationToken

Can be used for cooperative cancellation of the operation initiated by this method (i.e. cancellation of the result task).

Returns

ValueTask<int>

A ValueTask<TResult> wrapping a value of the Position property (possibly obtained from a remote host).