Class AsyncHandler<TParameters, TResponse>
- Namespace
- DotNetBrowser.Handlers
- Assembly
- DotNetBrowser.dll
The default implementation of the IHandler<TParameters, TResponse> interface.
public sealed class AsyncHandler<TParameters, TResponse> : IHandler<TParameters, TResponse>
Type Parameters
TParameters
The handler parameters type.
TResponse
The result type.
- Inheritance
-
AsyncHandler<TParameters, TResponse>
- Implements
-
IHandler<TParameters, TResponse>
- Inherited Members
Constructors
- AsyncHandler(Func<TParameters, Task<TResponse>>)
Initializes an instance of the AsyncHandler<TParameters, TResponse> class.
Methods
- Handle(TParameters)
This method is called when the Chromium callback needs a response that may be determined based on the provided parameters.