QueryAsync Method
Definition
- Assemblies
- Savvyio.Core.dll
QueryAsync<TResult>(IQuery<TResult>, Action<AsyncOptions>)
Queries the specified request asynchronous using Request-Reply/In-Out MEP.
Task<TResult> QueryAsync<TResult>(IQuery<TResult> request, Action<AsyncOptions> setup = null)
Parameters
requestIQuery<TResult>The IQuery<TResult> to request.
setupAction<AsyncOptions>The AsyncOptions which may be configured.
Returns
- Task<TResult>
A Task<TResult> that represents the asynchronous operation. The task result contains the outcome of the query operation.
Type Parameters
TResultThe type of the result to return.