3using System.Threading.Tasks;
22 ValueTask<IOperationResult<TResultData>>
RunOperationAsync<TResultData>(Func<IGraphQLClient, ValueTask<IOperationResult<TResultData>>> operationExecutor, CancellationToken cancellationToken)
23 where TResultData :
class;
33 ValueTask<IOperationResult<TResultData>>
RunOperation<TResultData>(Func<IGraphQLClient, Task<IOperationResult<TResultData>>> operationExecutor, CancellationToken cancellationToken)
34 where TResultData :
class;
44 ValueTask<IDisposable>
Subscribe<TResultData>(Func<IGraphQLClient, IObservable<IOperationResult<TResultData>>> operationExecutor, IObserver<IOperationResult<TResultData>> observer, CancellationToken cancellationToken)
45 where TResultData :
class;
Wrapper for using a TGS IGraphQLClient.
ValueTask< IOperationResult< TResultData > > RunOperationAsync< TResultData >(Func< IGraphQLClient, ValueTask< IOperationResult< TResultData > > > operationExecutor, CancellationToken cancellationToken)
Runs a given operationExecutor . It may be invoked multiple times depending on the behavior of the IG...
ValueTask< IDisposable > Subscribe< TResultData >(Func< IGraphQLClient, IObservable< IOperationResult< TResultData > > > operationExecutor, IObserver< IOperationResult< TResultData > > observer, CancellationToken cancellationToken)
Subcribes to the GraphQL subscription indicated by operationExecutor .
ValueTask< IOperationResult< TResultData > > RunOperation< TResultData >(Func< IGraphQLClient, Task< IOperationResult< TResultData > > > operationExecutor, CancellationToken cancellationToken)
Runs a given operationExecutor . It may be invoked multiple times depending on the behavior of the IG...