17.259. Class SessionTableExt

Namespace: ArmoniK.Core.Common.gRPC.Convertors
Assembly: ArmoniK.Core.Common.dll

public static class SessionTableExt

17.259.1. Inheritance

objectSessionTableExt

17.259.2. Inherited Members

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

17.259.3. Methods

17.259.3.1. ListSessionsAsync(ISessionTable, SessionFilter, CancellationToken)

List all sessions matching a given filter

public static IAsyncEnumerable<string> ListSessionsAsync(this ISessionTable sessionTable, SessionFilter sessionFilter, CancellationToken cancellationToken = default)

17.259.3.1.1. Parameters

sessionTable ISessionTable

Interface to manage sessions lifecycle

sessionFilter SessionFilter

Session filter describing the sessions to be listed

cancellationToken CancellationToken

Token used to cancel the execution of the method

17.259.3.1.2. Returns

IAsyncEnumerable<string>

Collection of sessions that matched the filter