Executes asynchronously specified Query and provides a data reader to specified handler.
Namespace: NReco.GraphQL
Assembly: NReco.GraphQL (in NReco.GraphQL.dll) Version: 1.0.0
Syntax
Task<T> ExecuteReaderAsync<T>( Query q, Func<IDataReader, CancellationToken, Task<T>> handler, CancellationToken cancel )
Parameters
- q
- Type: Query
- handler
- Type: SystemFuncIDataReader, CancellationToken, TaskT
- cancel
- Type: System.ThreadingCancellationToken
Type Parameters
- T
Return Value
Type: TaskTSee Also