26.129. Class GrpcChannelExt

Namespace: ArmoniK.Core.Common.Client
Assembly: ArmoniK.Core.Common.Client.dll

public static class GrpcChannelExt

26.129.1. Inheritance

objectGrpcChannelExt

26.129.2. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

26.129.3. Methods

26.129.3.1. ComputeThroughput(ChannelBase, string, CancellationToken)

public static Task<SessionStats> ComputeThroughput(this ChannelBase channel, string sessionId, CancellationToken cancellationToken = default)

26.129.3.1.1. Parameters

channel ChannelBase

sessionId string

cancellationToken CancellationToken

26.129.3.1.2. Returns

Task<SessionStats>

26.129.3.2. ListTasksAsync(ChannelBase, Filters, Sort, int)

public static IAsyncEnumerable<TaskDetailed> ListTasksAsync(this ChannelBase channel, Filters filters, ListTasksRequest.Types.Sort sort, int pageSize = 50)

26.129.3.2.1. Parameters

channel ChannelBase

filters Filters

sort ListTasksRequest.Types.Sort

pageSize int

26.129.3.2.2. Returns

IAsyncEnumerable<TaskDetailed>

26.129.3.3. LogStatsFromSessionAsync(ChannelBase, string, ILogger)

public static Task LogStatsFromSessionAsync(this ChannelBase channel, string sessionId, ILogger logger)

26.129.3.3.1. Parameters

channel ChannelBase

sessionId string

logger ILogger

26.129.3.3.2. Returns

Task