22.131. Class GrpcChannelExt
Namespace: ArmoniK.Core.Common.Client
Assembly: ArmoniK.Core.Common.Client.dll
public static class GrpcChannelExt
22.131.1. Inheritance
22.131.2. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
22.131.3. Methods
22.131.3.1. ComputeThroughput(ChannelBase, string, CancellationToken)
public static Task<SessionStats> ComputeThroughput(this ChannelBase channel, string sessionId, CancellationToken cancellationToken = default)
22.131.3.1.1. Parameters
channel ChannelBase
sessionId string
cancellationToken CancellationToken
22.131.3.1.2. Returns
22.131.3.2. ListTasksAsync(ChannelBase, Filters, Sort, int)
public static IAsyncEnumerable<TaskDetailed> ListTasksAsync(this ChannelBase channel, Filters filters, ListTasksRequest.Types.Sort sort, int pageSize = 50)
22.131.3.2.1. Parameters
channel ChannelBase
filters Filters
sort ListTasksRequest.Types.Sort
pageSize int
22.131.3.2.2. Returns
IAsyncEnumerable<TaskDetailed>
22.131.3.3. LogStatsFromSessionAsync(ChannelBase, string, ILogger)
public static Task LogStatsFromSessionAsync(this ChannelBase channel, string sessionId, ILogger logger)
22.131.3.3.1. Parameters
channel ChannelBase
sessionId string
logger ILogger