IDbDataSource.ExecuteReaderAsync<T> Method

NReco.GraphQL Class Library Documentation
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: System.Func<IDataReader, CancellationToken, Task<T>>
cancel
Type: System.Threading.CancellationToken

Type Parameters

T

Return Value

Type: Task<T>
See Also

Reference