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: System.Func<IDataReader, CancellationToken, Task<T>>
- cancel
- Type: System.Threading.CancellationToken
Type Parameters
- T
Return Value
Type:
Task<T>Implements
IDbDataSource.ExecuteReaderAsync<T>(Query, Func<IDataReader, CancellationToken, Task<T>>, CancellationToken)
Reference