Namespace:
NReco.GraphQL
Assembly:
NReco.GraphQL (in NReco.GraphQL.dll) Version: 1.0.0
public Task<T> ExecuteReaderAsync<T>(
Query q,
Func<IDataReader, CancellationToken, Task<T>> handler,
CancellationToken cancel
)
Public Function ExecuteReaderAsync(Of T) (
q As Query,
handler As Func(Of IDataReader, CancellationToken, Task(Of T)),
cancel As CancellationToken
) As Task(Of T)
public:
generic<typename T>
virtual Task<T>^ ExecuteReaderAsync(
Query^ q,
Func<IDataReader^, CancellationToken, Task<T>^>^ handler,
CancellationToken cancel
) sealed
abstract ExecuteReaderAsync :
q : Query *
handler : Func<IDataReader, CancellationToken, Task<'T>> *
cancel : CancellationToken -> Task<'T>
override ExecuteReaderAsync :
q : Query *
handler : Func<IDataReader, CancellationToken, Task<'T>> *
cancel : CancellationToken -> Task<'T>
Parameters
- q
- Type: Query
- handler
- Type: SystemFuncIDataReader, CancellationToken, TaskT
- cancel
- Type: System.ThreadingCancellationToken
Type Parameters
- T
Return Value
Type:
TaskTImplements
IDbDataSourceExecuteReaderAsyncT(Query, FuncIDataReader, CancellationToken, TaskT, CancellationToken)
Reference